diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2020-05-23 16:12:10 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2020-05-23 16:12:10 +0000 |
commit | 5d359d8bdbe0620ddef153c3795be83d830d8493 (patch) | |
tree | 884df7965c51dee7114d676b33e8446eaf5fb480 /Build/source/texk | |
parent | a2408bf1ffdab16601d33affe9994015fb45597f (diff) |
[CWEB] XeTeX works a bit different than pdfTeX.
The desired effect for PDF output is achieved with both engines.
git-svn-id: svn://tug.org/texlive/trunk@55245 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex index 9da120a7c05..e7a787acc38 100644 --- a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex +++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex @@ -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 |