Skip to content

Commit

Permalink
[CTWILL] Switch on PDF outlines.
Browse files Browse the repository at this point in the history
Using the Firefox web browser as my PDF viewer at least on macOS and
accumulating expert knowledge of the CTWILL process, I noticed that the
set of PDF files created from the MMIXware sources (with fundamental
modifications in the form of two sets of ever growing changefiles; see
https://github.com/ascherer/mmix/releases/tag/2023-11-25) were opened
without the PDF outlines, which one had to turn on manually.

This small change switches the PDF outlines on by default.

Also by default, Firefox applies some kind of "automatic scaling"
somewhere between "single page" and "page width". As CWEB/CTWILL uses
"FitB" for all its links, it is irritating that the "first" page after
opening a PDF file is handled differently. If you don't like this, go to
"about:config" and set "pdfZoomValue" to "page-width".

git-svn-id: svn://tug.org/texlive/trunk/Build/source@73450 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
Andreas Scherer committed Jan 14, 2025
1 parent 0d4b95c commit b16c6d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions texk/web2c/cwebdir/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2025-01-14 Andreas Scherer <https://ascherer.github.io>

* texinputs/pdfctwimac.tex: Switch on PDF outlines.

2025-01-11 Andreas Scherer <https://ascherer.github.io>

* ctwill-proofsort: Support multiple definitions of identifiers.
Expand Down
2 changes: 1 addition & 1 deletion texk/web2c/cwebdir/texinputs/pdfctwimac.tex
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
\def\rlhead{NAMES OF THE SECTIONS} % running left headline
\let\rrhead=\rlhead % running right headline
\output={\normaloutput\page\rightheadline\leftheadline}
\setpage
\setpage \startpdf
\def\outsecname{Names of the sections}
\ifpdflua \makebookmarks \countsections
\pdfdest name {NOS} fith
Expand Down

0 comments on commit b16c6d8

Please sign in to comment.