texlive[56429] Master/texmf-dist: gentombow (25sep20)
commits+karl at tug.org
commits+karl at tug.org
Fri Sep 25 22:56:00 CEST 2020
Revision: 56429
http://tug.org/svn/texlive?view=revision&revision=56429
Author: karl
Date: 2020-09-25 22:56:00 +0200 (Fri, 25 Sep 2020)
Log Message:
-----------
gentombow (25sep20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/gentombow/LICENSE
trunk/Master/texmf-dist/doc/latex/gentombow/README.md
trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi-en.pdf
trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi-en.tex
trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi.pdf
trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi.tex
trunk/Master/texmf-dist/doc/latex/gentombow/gentombow-ja.pdf
trunk/Master/texmf-dist/doc/latex/gentombow/gentombow-ja.tex
trunk/Master/texmf-dist/doc/latex/gentombow/gentombow.pdf
trunk/Master/texmf-dist/doc/latex/gentombow/gentombow.tex
trunk/Master/texmf-dist/tex/latex/gentombow/bounddvi.sty
Removed Paths:
-------------
trunk/Master/texmf-dist/source/latex/gentombow/
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/LICENSE
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gentombow/LICENSE 2020-09-25 20:55:39 UTC (rev 56428)
+++ trunk/Master/texmf-dist/doc/latex/gentombow/LICENSE 2020-09-25 20:56:00 UTC (rev 56429)
@@ -1,4 +1,4 @@
-Copyright (c) 2016-2019 Hironobu Yamashita
+Copyright (c) 2016-2020 Hironobu Yamashita
All rights reserved.
Redistribution and use in source and binary forms, with or without
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gentombow/README.md 2020-09-25 20:55:39 UTC (rev 56428)
+++ trunk/Master/texmf-dist/doc/latex/gentombow/README.md 2020-09-25 20:56:00 UTC (rev 56429)
@@ -44,6 +44,6 @@
## Release Date
-2019-07-21
+2020-09-25
Hironobu Yamashita
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi-en.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi-en.tex 2020-09-25 20:55:39 UTC (rev 56428)
+++ trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi-en.tex 2020-09-25 20:56:00 UTC (rev 56429)
@@ -130,6 +130,7 @@
\item 2016/10/25 v7.1 (HY) Support for p\LaTeXe\ tombow option,
compatibility with \textsf{graphics}/\textsf{color} packages
\item 2016/12/28 v7.2 (HY) Documentation for the new \texttt{dvips} behavior
+ \item 2020/09/25 v8.0 (HY) Support for \LaTeXe/p\LaTeXe~2020-10-01
\end{itemize}
\end{document}
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi.tex 2020-09-25 20:55:39 UTC (rev 56428)
+++ trunk/Master/texmf-dist/doc/latex/gentombow/bounddvi.tex 2020-09-25 20:56:00 UTC (rev 56429)
@@ -143,6 +143,7 @@
\item 2016/10/25 v7.1 (HY) p\LaTeXe{}のトンボサポート、
2016年の新しい\textsf{graphics}/\textsf{color}に対応
\item 2016/12/28 v7.2 (HY) 新仕様の\texttt{dvips}をドキュメント化
+ \item 2020/09/25 v8.0 (HY) \LaTeXe/p\LaTeXe~2020-10-01(予定)への対応
\end{itemize}
\end{document}
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/gentombow-ja.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/gentombow-ja.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gentombow/gentombow-ja.tex 2020-09-25 20:55:39 UTC (rev 56428)
+++ trunk/Master/texmf-dist/doc/latex/gentombow/gentombow-ja.tex 2020-09-25 20:56:00 UTC (rev 56429)
@@ -393,6 +393,11 @@
\end{verbatim}
\end{dangerous}
+なお、\textsf{geometry}パッケージは用紙サイズ
+(\verb+\paperwidth+, \verb+\paperheight+)を変更する場合もあります。
+こうした場合に備え、\textsf{gentombow}パッケージは
+\textsf{geometry}パッケージよりも後に読み込むようにしてください。
+
\section*{雑記}
発端はこの話です。
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/gentombow.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/gentombow/gentombow.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gentombow/gentombow.tex 2020-09-25 20:55:39 UTC (rev 56428)
+++ trunk/Master/texmf-dist/doc/latex/gentombow/gentombow.tex 2020-09-25 20:56:00 UTC (rev 56429)
@@ -280,6 +280,10 @@
To set page layout correctly, you should adjust \verb+\oddsidemargin+
or \verb+\topmargin+, or leave it to \textsf{geometry} package.
+Note: since the package \textsf{geometry} also has a feature to
+change the paper size (\verb+\paperwidth+, \verb+\paperheight+),
+please load \textsf{gentombow} after \textsf{geometry}.
+
\section*{Change History}
\begin{itemize}
Modified: trunk/Master/texmf-dist/tex/latex/gentombow/bounddvi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/gentombow/bounddvi.sty 2020-09-25 20:55:39 UTC (rev 56428)
+++ trunk/Master/texmf-dist/tex/latex/gentombow/bounddvi.sty 2020-09-25 20:56:00 UTC (rev 56429)
@@ -1,7 +1,7 @@
%
% bounddvi.sty
-% 2016/12/28 v7.2-v7.0 h.y.acetaminophen at gmail.com
-% 2004/12/15 v6.0-v1.0 inoue at ma.ns.tcu.ac.jp
+% 2020/09/25 v8.0-v7.0 h.y.acetaminophen [at] gmail.com
+% 2004/12/15 v6.0-v1.0 inoue [at] ma.ns.tcu.ac.jp
%
% This package, originally written by Koichi Inoue
% and modified by Hironobu Yamashita, is distributed
@@ -10,7 +10,7 @@
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bounddvi}[2016/12/28 v7.2 bounddvi]
+\ProvidesPackage{bounddvi}[2020/09/25 v8.0 bounddvi]
% catcode trick to hide \iftombow ... \else ... \fi
% since \iftombow is defined only in pLaTeX.
@@ -50,6 +50,33 @@
% reset catcode trick
\catcode`\Q=11\relax
+%% Since LaTeX2e 2020-10-01, \@begindocumenthook is deprecated
+%% and \UseHook{begindocument} etc. are used.
+%% This code appends papersize special to the _end_ of the hook.
+%% (Note: support for old dvips is removed.)
+\ifx\AddToHook\@undefined\else
+ \AtBeginDocument{\AtBeginDvi{%
+ \begingroup
+ % if \stockwidth/\stockheight are defined & have effective
+ % values, copy them to \paperwidth/\paperheight
+ % for current group
+ \ifx\stockwidth\@undefined\else \ifdim\stockwidth>\z@
+ \paperwidth\stockwidth
+ \fi\fi
+ \ifx\stockheight\@undefined\else \ifdim\stockheight>\z@
+ \paperheight\stockheight
+ \fi\fi
+ % adjust for \mag and emit papersize special
+ \divide\paperwidth\@m\multiply\paperwidth\mag
+ \divide\paperheight\@m\multiply\paperheight\mag
+ \special{papersize=\the\paperwidth,\the\paperheight}%
+ \endgroup}}
+ \expandafter\endinput
+\fi
+
+%% The rest of this package is meant for
+%% LaTeX2e 2020-02-02 PL5 or older.
+
% following code is almost equivalent to
% \AtBeginDocument{\AtBeginDvi{...}}
% however, we append the specification to the _beginning_ of
@@ -59,9 +86,6 @@
\def\@prependto at begindocumenthook{\global\setbox\@begindvibox
\vbox{\csname yoko\endcsname\unvbox\@begindvibox
\begingroup
- % if \stockwidth/\stockheight are defined & have effective
- % values, copy them to \paperwidth/\paperheight
- % for current group
\ifx\stockwidth\@undefined\else \ifdim\stockwidth>\z@
\paperwidth\stockwidth
\fi\fi
@@ -68,7 +92,6 @@
\ifx\stockheight\@undefined\else \ifdim\stockheight>\z@
\paperheight\stockheight
\fi\fi
- % adjust for \mag and emit papersize special
\divide\paperwidth\@m\multiply\paperwidth\mag
\divide\paperheight\@m\multiply\paperheight\mag
\special{papersize=\the\paperwidth,\the\paperheight}%
More information about the tex-live-commits
mailing list.