summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2023-10-15 12:52:43 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2023-10-15 12:52:43 +0000
commit0f61b9c9d02b7818c0e49a740039bf39ca081e67 (patch)
tree8495ee798b346d757fbf296a3fa5e4f62d47036c /Build/source/texk/web2c/cwebdir
parent63f0957cc427a53e903cbbbbf872a0c7c6a0fdb2 (diff)
[CWEB] Fix page display in Skim and Acrobat Reader on macOS.
Clicking on any 'bookmark' changed the zoom factor to fit the text block instead of the page borders in the viewer window. This occurred on macOS with the Skim viewer (since version 1.6.16) and Adobe Acrobat Reader. The PDF viewer in Firefox (both Linux and macOS), Okular on Linux/KDE, and the Preview app of macOS showed the document 'as intended'. git-svn-id: svn://tug.org/texlive/trunk@68548 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/cwebdir/cwebman-w2c.ch4
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index 6b3450d02f2..1057caf483e 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -1,3 +1,7 @@
+2023-10-15 Andreas Scherer <https://ascherer.github.io>
+
+ * cwebman-w2c.ch: Fix display in Skim and Acrobat Reader on macOS.
+
2023-09-30 Andreas Scherer <https://ascherer.github.io>
* Makefile,
diff --git a/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch b/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch
index 5f02ec1587c..18a0481d626 100644
--- a/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch
+++ b/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch
@@ -51,7 +51,7 @@
\outer\def\section #1.{\penalty-500\bigskip
\centerline{\sectionfont\def\.##1{{\twelvett##1}}
\ifacro\vbox to 0pt{\kern-2.5ex\relax
- \ifpdflua\pdfdest num \destcount fitbh\relax
+ \ifpdflua\pdfdest num \destcount fith\relax
\else\special{pdf: dest (\the\destcount) [ @thispage /FitBH @ypos ]}\fi
\def\.##1{##1}\def\TeX{TeX}%
\ifpdflua\pdfoutline goto num \destcount
@@ -83,7 +83,7 @@
\newcount\subdestcount \subdestcount=151\relax
\outer\def\subsection #1.{\ifacro
- \ifpdflua\pdfdest num \subdestcount fitbh\relax
+ \ifpdflua\pdfdest num \subdestcount fith\relax
\pdfoutline goto num \subdestcount {#1}\relax
\else\special{pdf: dest (\the\subdestcount) [ @thispage /FitBH @ypos ]}%
\special{pdf: outline 1 << /Title (#1)