diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2021-10-24 10:47:36 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2021-10-24 10:47:36 +0000 |
commit | a2876d3064fc2d343cfbbb39398b09168e7340ce (patch) | |
tree | e686bc51ffff3305b32c89fa8d98759f078be0e4 /Build/source/texk/web2c/cwebdir | |
parent | d6f6d187f784f096c23b1903a4652e467ee8ba53 (diff) |
[CWEB] Restore 'classic' PDF page dimensions.
Heiko's PDF files of 2014 used 'Executive' page dimensions, i.e.,
7.5in times 10in. C/WEB's internal inch values suggest to use those
plus a 1in border on each side.
git-svn-id: svn://tug.org/texlive/trunk@60857 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index 88a12b2088e..a59bfab2b8f 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,7 @@ +2021-10-24 Andreas Scherer <https://ascherer.github.io> + + * texinputs/pdfwebtocfront.tex: Restore 'classic' PDF layout. + 2021-10-14 Andreas Scherer <https://ascherer.github.io> * ctproofmac.tex, diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex index 3fc5f64de2f..62ec61be8a1 100644 --- a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex +++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex @@ -21,11 +21,11 @@ \let\ORGcon\con \def\con{% % 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 + \pdfpagewidth=\pagewidth \advance\pdfpagewidth by 1in + \pdfpageheight=\fullpageheight \advance\pdfpageheight by 1in + \ifpdftex \pdfhorigin=0.5in \pdfvorigin=0.5in + \else \global\pageshift=-0.5in + \global\hoffset=-0.5in \global\voffset=-0.5in \fi \begingroup \let\end\relax \ORGcon |