From 7addbf548541e700c84f641b900902a2c09b0b41 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Sun, 5 Jul 2020 12:56:40 +0000 Subject: [CTWILL] Fix two issues. (1) Use correct apostrophe in "Editor's Note". (2) Don't ship out the mini-index of the last section twice. (2b) 'pdfctwimac.tex' does ship out an empty page at the very end of 'ctwill.dvi' (with 'tex "\let\pdf+\input ctwill') and 'ctwill.pdf' (with 'xetex', but not with 'pdftex'!) in order to attach the "Names of the sections" outline tag somewhere. If you know a trick that creates the "NOS" outline without that extra empty page, please let me know. git-svn-id: svn://tug.org/texlive/trunk@55756 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/cwebdir/ChangeLog | 5 +++++ Build/source/texk/web2c/cwebdir/ctwill-mini.ch | 2 +- Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index 7df72c56289..f89f28e1346 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,8 @@ +2020-07-05 Andreas Scherer + + * ctwill-mini.ch, + * texinputs/pdfctwimac.tex: Fix two issues with 'ctwill.dvi/pdf'. + 2020-07-02 Andreas Scherer * cwebman-w2c.ch: Add links and bookmarks in PDF. diff --git a/Build/source/texk/web2c/cwebdir/ctwill-mini.ch b/Build/source/texk/web2c/cwebdir/ctwill-mini.ch index 487e4d4664d..8a90004904b 100644 --- a/Build/source/texk/web2c/cwebdir/ctwill-mini.ch +++ b/Build/source/texk/web2c/cwebdir/ctwill-mini.ch @@ -18,7 +18,7 @@ Section 1. @y \bigskip {\font\itt=cmitt10 \font\bit=cmbxti10 -\noindent \bit EditorĀ“s Note: \it Although {\itt CTWILL} is based on +\noindent \bit Editor's Note: \it Although {\itt CTWILL} is based on {\itt cweave.w}, new and modified material is incorporated all over the place, without taking special care to keep the original section numbering intact. \smallskip diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex index 64f17fcd8f9..7d81ad2795a 100644 --- a/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex +++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex @@ -663,7 +663,8 @@ \def\X##1:##2\X{\firstsecno##1.% {\toksF={}\makeoutlinetoks##2\outlinedone\outlinedone}% \pdfoutline goto num \the\toksA \expandafter{\the\toksE}} - \else \special{pdf: outline -1 << /Title (\outsecname) >>}% + \else \output={\shipout\box255} + \special{pdf: outline -1 << /Title (\outsecname) >>}% \def\X##1:##2\X{\firstsecno##1.% {\toksF={}\makeoutlinetoks##2\outlinedone\outlinedone}% \special{pdf: outline 0 << /Title (\the\toksE) -- cgit v1.2.3