texlive[67159] Master/texmf-dist/tex/plain/cweb: [CWEB] Improve
commits+ascherer at tug.org
commits+ascherer at tug.org
Fri May 19 19:56:57 CEST 2023
Revision: 67159
http://tug.org/svn/texlive?view=revision&revision=67159
Author: ascherer
Date: 2023-05-19 19:56:57 +0200 (Fri, 19 May 2023)
Log Message:
-----------
[CWEB] Improve readability of /Destination.
Modified Paths:
--------------
trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex
trunk/Master/texmf-dist/tex/plain/cweb/cwebmac.tex
Modified: trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex 2023-05-19 17:55:14 UTC (rev 67158)
+++ trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex 2023-05-19 17:56:57 UTC (rev 67159)
@@ -452,8 +452,8 @@
\expandafter\xdef\csname curr#1\endcsname{\secno}
\ifnum#1>0\countB=#1 \advance\countB by-1
\advancenumber{chunk\the\countB.\expnumber{curr\the\countB}}\fi
- \else \special{pdf: outline #1 << /Title (\the\toksE) /Dest
- [ @thispage /FitH @ypos ] >>}\fi\fi
+ \else \special{pdf: outline #1 << /Title (\the\toksE)
+ /Dest [ @thispage /FitH @ypos ] >>}\fi \fi
\startsection{\bf\ignorespaces#3.\quad}\ignorespaces}
\def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0%
\else \csname#1\endcsname \fi} % Petr Olsak's macros from texinfo.tex
Modified: trunk/Master/texmf-dist/tex/plain/cweb/cwebmac.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/cweb/cwebmac.tex 2023-05-19 17:55:14 UTC (rev 67158)
+++ trunk/Master/texmf-dist/tex/plain/cweb/cwebmac.tex 2023-05-19 17:56:57 UTC (rev 67159)
@@ -350,8 +350,8 @@
\ifpdf \ifpdftex\expandafter\xdef\csname curr#1\endcsname{\secno}
\ifnum#1>0\countB=#1 \advance\countB by-1
\advancenumber{chunk\the\countB.\expnumber{curr\the\countB}}\fi
- \else \special{pdf: outline #1 << /Title (\the\toksE) /Dest
- [ @thispage /FitH @ypos ] >>}\fi \fi
+ \else \special{pdf: outline #1 << /Title (\the\toksE)
+ /Dest [ @thispage /FitH @ypos ] >>}\fi \fi
\ifon\startsection{\bf#3.\quad}\ignorespaces}
\def\MN#1{\par % common code for \M, \N
{\xdef\secstar{#1}\let\*=\empty\xdef\secno{#1}}% remove \* from section name
More information about the tex-live-commits
mailing list.