texlive[55245]
commits+ascherer at tug.org
commits+ascherer at tug.org
Sat May 23 18:12:10 CEST 2020
Revision: 55245
http://tug.org/svn/texlive?view=revision&revision=55245
Author: ascherer
Date: 2020-05-23 18:12:10 +0200 (Sat, 23 May 2020)
Log Message:
-----------
[CWEB] XeTeX works a bit different than pdfTeX.
The desired effect for PDF output is achieved with both engines.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex
Modified: trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex 2020-05-23 14:46:38 UTC (rev 55244)
+++ trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex 2020-05-23 16:12:10 UTC (rev 55245)
@@ -21,10 +21,12 @@
% Redefine '\con' to be invoked before the first '\N' (starred section).
\def\con{%
\def\:{\par\hangindent 2em} % Fix for 'bibtex.web'.
- \ifpdftex % reduce size of PDF pages for more screen space
- \pdfpagewidth=\pagewidth \advance\pdfpagewidth by 2cm
- \pdfpageheight=\pageheight \advance\pdfpageheight by 3cm
- \pdfhorigin=1cm \pdfvorigin=1cm \fi
+ % reduce size of PDF pages for more screen space
+ \pdfpagewidth=\pagewidth \advance\pdfpagewidth by 2cm
+ \pdfpageheight=\pageheight \advance\pdfpageheight by 3cm
+ \ifpdftex \pdfhorigin=1cm \pdfvorigin=1cm
+ \else \advance\pdfpageheight by 1cm \global\pageshift=-1.54cm
+ \global\hoffset=-1.54cm \global\voffset=-1.54cm \fi
\begingroup
\let\end\relax
\ORGcon\eject
More information about the tex-live-commits
mailing list.