From 686b8c1b72aa8e5986d19d49831672173308d250 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Sat, 30 Sep 2023 21:31:01 +0000 Subject: [CWEB] Adapt pdfwebtocfront to LuaTeX. git-svn-id: svn://tug.org/texlive/trunk@68414 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctproofmac.tex | 2 +- Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex | 2 +- Master/texmf-dist/tex/plain/cweb/cwebbin/pdfwebtocfront.tex | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/plain') diff --git a/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctproofmac.tex b/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctproofmac.tex index f4acc0f2159..53c184ac507 100644 --- a/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctproofmac.tex +++ b/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctproofmac.tex @@ -1,7 +1,7 @@ % standard macros for CWEB listings (in addition to plain.tex) % Version 4.11 --- September 2023 % modified for proofs in CTWILL -% modified for PDF output with 'tex "\let\pdf+', 'pdftex', 'xetex', and 'hitex' +% modified for PDF/HINT output with 'tex "\let\pdf+' or '{hi|lua|pdf|xe}tex' % This file is not copyrighted and can be used freely. \ifx\renewenvironment\undefined\else\endinput\fi % LaTeX will use other macros \xdef\fmtversion{\fmtversion+CTWILL4.11+PROOFS+PDF} diff --git a/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex b/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex index 65704bd4014..7e820d16427 100644 --- a/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex +++ b/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex @@ -2,7 +2,7 @@ % Version 4.11 --- September 2023 % modified for pages produced by CTWILL % further modified for page size of the MMIXware book -% modified for PDF output with 'tex "\let\pdf+', 'pdftex', and 'xetex' +% modified for PDF output with 'tex "\let\pdf+' or '{lua|pdf|xe}tex' % This file is not copyrighted and can be used freely. \ifx\renewenvironment\undefined\else\endinput\fi % LaTeX will use other macros \xdef\fmtversion{\fmtversion+CTWILL4.11+LNCS+PDF} diff --git a/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfwebtocfront.tex b/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfwebtocfront.tex index 62ec61be8a1..e26e628b0bb 100644 --- a/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfwebtocfront.tex +++ b/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfwebtocfront.tex @@ -23,7 +23,7 @@ % reduce size of PDF pages for more screen space \pdfpagewidth=\pagewidth \advance\pdfpagewidth by 1in \pdfpageheight=\fullpageheight \advance\pdfpageheight by 1in - \ifpdftex \pdfhorigin=0.5in \pdfvorigin=0.5in + \ifpdflua \pdfhorigin=0.5in \pdfvorigin=0.5in \else \global\pageshift=-0.5in \global\hoffset=-0.5in \global\voffset=-0.5in \fi \begingroup -- cgit v1.2.3