summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordana <dana@dana.is>2026-04-13 10:43:50 -0500
committerdana <dana@dana.is>2026-04-13 11:07:56 -0500
commit51c1ad361cd401d864350decb1772f5295890bef (patch)
treea8394465325545bb95473226e475c2c0c140a386
parent54318: mathfunc: add isnan() and isinf(). also document NaN + Inf (diff)
downloadzsh-51c1ad361cd401d864350decb1772f5295890bef.tar
zsh-51c1ad361cd401d864350decb1772f5295890bef.tar.gz
zsh-51c1ad361cd401d864350decb1772f5295890bef.tar.bz2
zsh-51c1ad361cd401d864350decb1772f5295890bef.tar.lz
zsh-51c1ad361cd401d864350decb1772f5295890bef.tar.xz
zsh-51c1ad361cd401d864350decb1772f5295890bef.tar.zst
zsh-51c1ad361cd401d864350decb1772f5295890bef.zip
54329 + 54339: docs: replace pdfroff by `groff -Tpdf`
with intro.ms fix from Jun T to retain navigable toc/outline
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Makefile.in4
-rw-r--r--Doc/intro.ms1
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c532eeb4e..976434c8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2026-04-13 dana <dana@dana.is>
+ * dana + Jun T: 54329 + 54339: Doc/Makefile.in, Doc/intro.ms:
+ replace pdfroff by `groff -Tpdf`
+
* 54318: Doc/Zsh/arith.yo, Doc/Zsh/mod_mathfunc.yo,
Functions/Misc/zmathfuncdef, NEWS, Src/Modules/mathfunc.c,
Test/V03mathfunc.ztst: mathfunc: add isnan() and isinf(). also
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index f68f40a9e..d8b49dfd0 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -121,9 +121,9 @@ zsh.pdf zsh_a4.pdf zsh_us.pdf: $(sdir)/zsh.texi
intro.pdf intro.a4.pdf intro.us.pdf: $(sdir)/intro.ms
if test $@ = intro.us.pdf || \
{ test $@ = intro.pdf && test "$(PAPERSIZE)" = us; }; then \
- pdfroff -mspdf --no-kill-null-pages -P-pletter --pdf-output=$@ $(sdir)/intro.ms; \
+ groff -ms -Tpdf -P-pletter $(sdir)/intro.ms > $@; \
else \
- pdfroff -mspdf --no-kill-null-pages -P-pa4 --pdf-output=$@ $(sdir)/intro.ms; \
+ groff -ms -Tpdf -P-pa4 $(sdir)/intro.ms > $@; \
fi
intro.html: $(sdir)/intro.ms
diff --git a/Doc/intro.ms b/Doc/intro.ms
index 49f6cc07f..cb1775490 100644
--- a/Doc/intro.ms
+++ b/Doc/intro.ms
@@ -47,6 +47,7 @@
.de Sh
.NH
.XN \\$1
+.pdfbookmark 1 \\*[SN-DOT] \\$1
..
.\}
.\"