texlive[55244]

commits+ascherer at tug.org commits+ascherer at tug.org
Sat May 23 16:46:38 CEST 2020


Revision: 55244
          http://tug.org/svn/texlive?view=revision&revision=55244
Author:   ascherer
Date:     2020-05-23 16:46:38 +0200 (Sat, 23 May 2020)
Log Message:
-----------
[CWEB] Experiment with reduced PDF page size.

Smaller margins give more space for screen reading.

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:16:49 UTC (rev 55243)
+++ trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex	2020-05-23 14:46:38 UTC (rev 55244)
@@ -21,6 +21,10 @@
   % 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
     \begingroup
       \let\end\relax
       \ORGcon\eject



More information about the tex-live-commits mailing list.