Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] docs: eliminate pdfroff



pdfroff (part of pdfmark) is no longer distributed with groff as of
version 1.24. the commit message for its removal said that it would be
maintained elsewhere, but the url given doesn't work for me, and i can't
find it packaged for homebrew, arch, fedora, or debian. so it doesn't
seem like a good option

this replaces it by `groff -Tpdf`

jun had made a change in workers/53137 to retain blank pages and to
generate an index/toc. i don't think the former is an issue with this
method, but it seems like we do lose the latter -- the spdf macros were
provided by pdfmark

ps: i had to make a similar change to the web-site release script
because the roff2* tools (aka groffer) were removed from groff 1.23.
that script does an intermediate postscript conversion and then uses
ps2pdf to generate the intro pdfs on its own. maybe that's an option
here too. but i didn't look into it. i would be surprised if anyone
cares about the pdf manual tbh

dana


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




Messages sorted by: Reverse Date, Date, Thread, Author