texlive[42842] Master/texmf-dist: platex-tools (28dec16)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 3 00:50:18 CET 2017


Revision: 42842
          http://tug.org/svn/texlive?view=revision&revision=42842
Author:   karl
Date:     2017-01-03 00:50:18 +0100 (Tue, 03 Jan 2017)
Log Message:
-----------
platex-tools (28dec16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/platex-tools/README.md
    trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi-en.pdf
    trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi-en.tex
    trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi.pdf
    trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi.tex
    trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.pdf
    trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex
    trunk/Master/texmf-dist/tex/latex/platex-tools/bounddvi.sty
    trunk/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty

Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/README.md	2017-01-02 23:50:05 UTC (rev 42841)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/README.md	2017-01-02 23:50:18 UTC (rev 42842)
@@ -57,8 +57,11 @@
 ## Repository
 
 The bundle is maintained on GitHub:
-https://github.com/aminophen/platex-tools
+  https://github.com/aminophen/platex-tools
 
+You can also obtain this bundle from CTAN:
+  https://www.ctan.org/pkg/platex-tools
+
 ## License
 
 The bundle may be distributed and/or modified under the terms of
@@ -66,6 +69,6 @@
 
 ## Release Date
 
-2016-10-25
+2016-12-28
 
 Hironobu Yamashita

Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi-en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi-en.tex	2017-01-02 23:50:05 UTC (rev 42841)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi-en.tex	2017-01-02 23:50:18 UTC (rev 42842)
@@ -44,10 +44,28 @@
 
 \begin{enumerate}
 \item The compatibility with \textsf{geometry} package may not be
-perfect. When \texttt{dvips} is used, the specification which
-appears \emph{first} in DVI takes effect. On the other hand,
-when \texttt{dvipdfmx} is used, the specification which appears
-\emph{at last} in DVI takes effect. For this reason,
+perfect, as both \textsf{geometry} and \textsf{bounddvi} embeds
+papersize special into a DVI file. The loading order of these
+two packages may affect the actual size of output.
+\item This package supports ``\textsf{jsclasses}-like employment''
+of \verb+\mag+, because it's more widely used in Japan. This may
+be incompatible with some classes or packages which employ
+\verb+\mag+ in other ways.
+\end{enumerate}
+The details are described in the sections below.
+
+\subsection*{The behavior of multiple papersize specials}
+
+Sometimes multiple papersize specials may be embedded into a DVI
+file. Among these specials, the specification which appears
+\emph{at last} in DVI takes effect when \texttt{dvipdfmx} or
+\texttt{dvips} (\TeX\ Live 2017 or later) is used\footnote{%
+When \texttt{dvips} in \TeX\ Live 2016 or earlier is used,
+the specification which appears \emph{first} in DVI took effect,
+but the default behavior was changed in \TeX\ Live r42420 to
+be compatible with \texttt{dvipdfmx}. The new option \texttt{-L0}
+can be used to recover the old behavior.}. For example, when the
+following source is processed with \texttt{dvipdfmx},
 \begin{verbatim}
   % latex + dvipdfmx
   \documentclass{...}
@@ -54,12 +72,7 @@
   \usepackage{bounddvi}
   \usepackage[dvipdfm]{geometry}
 \end{verbatim}
-can sometimes fail to set proper paper size.
-\item This package supports ``\textsf{jsclasses}-like employment''
-of \verb+\mag+, because it's more widely used in Japan. This may
-be incompatible with some classes or packages which employ
-\verb+\mag+ in other ways (see descriptions below).
-\end{enumerate}
+the specification by \textsf{geometry} wins.
 
 \section*{Note about \texttt{\char92mag} handling}
 
@@ -68,8 +81,8 @@
 (official or practical) ``standard'' in \verb+\mag+ treatment.
 
 When the output is going to the physical size of A4
-($210\,\mathrm{mm} \times 297\,\mathrm{mm}$),
-there are two ways: some classes/packages can set
+($210\,\mathrm{mm} \times 297\,\mathrm{mm}$) with the setting of
+\verb+\mag=2000+, there are two ways: some classes/packages can set
 \begin{quote}
   \texttt{\char92mag=2000}\\
   \texttt{\char92paperwidth=210mm} ($= 420\,\mathrm{truemm}$)\\
@@ -107,13 +120,14 @@
 
 \begin{itemize}
   \item 2002/03/10 v1.0 (KI) First version
-  \item 2002/10/30 v2.0 (KI) Add dvipdfm pdf:pagesize special
-  \item 2003/03/22 v3.2 (KI) Compatibility with hyperref
+  \item 2002/10/30 v2.0 (KI) Add \texttt{dvipdfm} \texttt{pdf:pagesize} special
+  \item 2003/03/22 v3.2 (KI) Compatibility with \textsf{hyperref}
   \item 2004/05/08 v4.0 (KI) Support for $\mathtt{\char92mag} \ne 1000$
-  \item 2004/12/08 v5.2 (KI) Compatibility with geometry
-  \item 2004/12/15 v6.0 (KI) Not to use dvipdfm(x) pdf:pagesize special
+  \item 2004/12/08 v5.2 (KI) Compatibility with \textsf{geometry}
+  \item 2004/12/15 v6.0 (KI) Not to use \texttt{dvipdfm(x)} \texttt{pdf:pagesize special}
   \item 2016/10/25 v7.1 (HY) Support for p\LaTeXe\ tombow option,
-                             compatibility with graphics/color packages
+                             compatibility with \textsf{graphics}/\textsf{color} packages
+  \item 2016/12/28 v7.2 (HY) Documentation for the new \texttt{dvips} behavior
 \end{itemize}
 
 \end{document}

Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi.tex	2017-01-02 23:50:05 UTC (rev 42841)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/bounddvi.tex	2017-01-02 23:50:18 UTC (rev 42842)
@@ -21,11 +21,11 @@
 用紙サイズを規定するフォーマットへ変換するプログラム(\texttt{dvips}や
 \texttt{dvipdfmx})は、\verb+\special+命令によってDVIファイルに埋め込ま
 れた用紙サイズ情報を解釈します。
-% たとえば、幅100mm、高さ200mmの用紙に出力したい場合は
-%\begin{verbatim}
-%  \special{papersize=100mm,200mm}
-%\end{verbatim}
-% のように指定してやることができます。
+たとえば、幅100mm、高さ200mmの用紙に出力したい場合は
+\begin{verbatim}
+  \special{papersize=100mm,200mm}
+\end{verbatim}
+のように指定してやることができます。
 
 \textsf{bounddvi}パッケージは、クラスファイルなどが想定している用紙
 サイズ情報(\verb+\paperwidth+, \verb+\paperheight+)をDVIファイルに
@@ -73,13 +73,15 @@
       うまくいく可能性があります(付録を参照)。
 \end{itemize}
 
-\section*{付録:\texttt{dvips}と\texttt{dvipdfmx}の違い}
+\section*{付録:複数の用紙サイズ指定が発行された場合の挙動}
 
 一つのDVIファイルに複数の用紙サイズ指定\verb+\special+命令が
-埋め込まれる場合があります。このうち、\texttt{dvips}ではDVIファイル
-の\emph{最初}に指定されたものが有効になります。
-逆に\texttt{dvipdfmx}では、DVIファイルの\emph{最後}に指定されたもの
-が有効になります。このため、たとえば\textsf{bounddvi}と
+埋め込まれる場合があります。このうち、\texttt{dvipdfmx}および
+\TeX\ Live 2017以降の\texttt{dvips}では、DVIファイルの\emph{最後}に
+指定されたものが有効になります\footnote{\TeX\ Live 2016以前の
+\texttt{dvips}では、DVIファイルの\emph{最初}に指定されたものが有効
+でしたが、\TeX\ Live r42420で挙動が変更されました。\texttt{-L0}オプ
+ションを指定すると従来の挙動に戻ります。}。たとえば\textsf{bounddvi}と
 \textsf{geometry}を併用したソース
 \begin{verbatim}
   \documentclass{...}
@@ -86,8 +88,9 @@
   \usepackage{bounddvi}
   \usepackage[dvipdfm]{geometry}
 \end{verbatim}
-を\textsf{dvipdfmx}でPDFに変換すると、用紙サイズの設定が正しくなさ
-れない可能性があります。
+を\textsf{dvipdfmx}でPDFに変換すると、\textsf{geometry}パッケージの
+指定が優先されます。このとき、用紙サイズの設定が正しいかどうかは
+\textsf{geometry}パッケージに依存します。
 
 \section*{付録:\texttt{\char92mag}の扱いについて}
 
@@ -96,8 +99,8 @@
 しかし、\verb+\mag+の使い方はCTANにある多様なパッケージの中で統一
 されておらず、大きく分けて二通りの使い方があるようです。
 
-たとえば、物理的なA4サイズ($210\,\mathrm{mm}\times297\,\mathrm{mm}$)
-の出力を得たい場合
+たとえば、版面を2倍に拡大 (\verb+\mag=2000+) して物理的なA4サイズ
+($210\,\mathrm{mm}\times297\,\mathrm{mm}$)の出力を得たい場合
 \begin{quote}
   \texttt{\char92mag=2000}\\
   \texttt{\char92paperwidth=210mm} ($= 420\,\mathrm{truemm}$)\\
@@ -126,4 +129,18 @@
   \texttt{https://www.ma.ns.tcu.ac.jp/Pages/TeX/bounddvi.sty.html}
 \end{itemize}
 
+\section*{変更履歴}
+
+\begin{itemize}
+  \item 2002/03/10 v1.0 (KI) 最初の公開版
+  \item 2002/10/30 v2.0 (KI) \texttt{dvipdfm}の\texttt{pdf:pagesize special}を使用
+  \item 2003/03/22 v3.2 (KI) \textsf{hyperref}との互換性を改良
+  \item 2004/05/08 v4.0 (KI) $\mathtt{\char92mag} \ne 1000$に対応
+  \item 2004/12/08 v5.2 (KI) \texttt{dvips}で\textsf{geometry}との互換性を改良
+  \item 2004/12/15 v6.0 (KI) \texttt{dvipdfm(x)}の\texttt{pdf:pagesize special}を不使用に
+  \item 2016/10/25 v7.1 (HY) p\LaTeXe{}のトンボサポート、
+                             2016年の新しい\textsf{graphics}/\textsf{color}に対応
+  \item 2016/12/28 v7.2 (HY) 新仕様の\texttt{dvips}をドキュメント化
+\end{itemize}
+
 \end{document}

Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex	2017-01-02 23:50:05 UTC (rev 42841)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex	2017-01-02 23:50:18 UTC (rev 42842)
@@ -8,7 +8,7 @@
 \usepackage{pxeverysel}
 \GetFileInfo{pxeverysel.sty}
 \title{Package \textsf{pxeverysel} \fileversion}
-\author{Takayuki Yato}
+\author{Takayuki Yato \& Hironobu Yamashita}
 \date{\filedate}
 \begin{document}
 

Modified: trunk/Master/texmf-dist/tex/latex/platex-tools/bounddvi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/platex-tools/bounddvi.sty	2017-01-02 23:50:05 UTC (rev 42841)
+++ trunk/Master/texmf-dist/tex/latex/platex-tools/bounddvi.sty	2017-01-02 23:50:18 UTC (rev 42842)
@@ -1,6 +1,6 @@
 %
 % bounddvi.sty
-% 2016/10/25 v7.0-v7.1 h.y.acetaminophen at gmail.com
+% 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
 %
 % This package, originally written by Koichi Inoue
@@ -10,7 +10,7 @@
 %
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bounddvi}[2016/10/25 v7.1 bounddvi]
+\ProvidesPackage{bounddvi}[2016/12/28 v7.2 bounddvi]
 
 % catcode trick to hide \iftombow ... \else ... \fi
 % since \iftombow is defined only in pLaTeX.
@@ -53,7 +53,8 @@
 % following code is almost equivalent to
 %   \AtBeginDocument{\AtBeginDvi{...}}
 % however, we append the specification to the _beginning_ of
-% \@begindocumenthook; this ensures proper papersize on dvips.
+% \@begindocumenthook; this ensures proper papersize when
+% dvips (TeX Live 2016 or earlier) is used.
 \begingroup
 \def\@prependto at begindocumenthook{\global\setbox\@begindvibox
   \vbox{\csname yoko\endcsname\unvbox\@begindvibox
@@ -76,10 +77,9 @@
   {\expandafter\@prependto at begindocumenthook\@begindocumenthook}
 \xdef\@begindocumenthook{\the\toks@}
 % append papersize special again to the _end_ of the
-% current \@begindocumenthook; this will be meaningful when
-% geometry is loaded before bounddvi and dvipdfm(x) is used.
-% (geometry adds \AtBeginDocument{\AtBeginDvi{...}}, but
-% `sandwich' specification can inactivate the effect of geometry)
+% current \@begindocumenthook; this will be meaningful e.g. when
+% geometry is loaded before bounddvi.
+% (geometry adds \AtBeginDocument{\AtBeginDvi{...}} specification)
 \expandafter\g at addto@macro\expandafter\@begindocumenthook
   \expandafter{\@prependto at begindocumenthook}
 \endgroup

Modified: trunk/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty	2017-01-02 23:50:05 UTC (rev 42841)
+++ trunk/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty	2017-01-02 23:50:18 UTC (rev 42842)
@@ -12,12 +12,10 @@
 %% package declaration
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{pxeverysel}
-    [2016/09/09 v0.4 Patch to everysel for (u)pLaTeX]
+    [2016/12/28 v0.5 Patch to everysel for (u)pLaTeX]
 
-%% if ctex classes/packages are already loaded, exit silently
-\ifdefined\CTEXoptions % defined at least CTeX 2007/05/06
-  \expandafter\endinput
-\fi
+%% previous code for ctex support has been removed in v0.5,
+%% as ctex has depended on pxeverysel since 2016/12/27 v2.4.7
 
 %% preparations
 \def\pxys at pkgname{pxeverysel}
@@ -89,7 +87,7 @@
   \pxys at patch@cmd\pxys at selectfont
     {\pickup at font\font at name}{\size at update\pxys at term}%      % plfonts/ptrace
     {\pickup at font\font at name\pxys at self@hook\pxys at everysel@hook
-     \size at update\enc at update}%
+     \size at update}%
   \ifx\pxys at fragment\relax
     \let\pxys at selectfont\pxys at org@selectfont
     % extract "pre-\enc at update" insertion
@@ -107,6 +105,7 @@
   \fi
   \let\pxys at new@selectfont\pxys at selectfont
   % prepare for everysel routine
+  \let\pxys at CheckCommand\CheckCommand
   \let\CheckCommand\@gobble
   % hack for disabling duplicate font info
   \expandafter\let\expandafter\pxys at ver@tracefnt



More information about the tex-live-commits mailing list