* [PATCH] use pdfroff to produce intro.pdf
@ 2024-06-21 10:03 Jun T
0 siblings, 0 replies; only message in thread
From: Jun T @ 2024-06-21 10:03 UTC (permalink / raw)
To: zsh-workers
Since commit 494444b (July 2012) intro.pdf is created by
roff2ps + ps2pdf "because pdfroff produces doubled output".
But I feel getting roff2ps is becoming difficult these days.
I think we can use pdfroff now since the "doubled output"
problem seems to have been fixed (I don't know when).
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index d9be182e9..401fb942b 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -118,15 +118,13 @@ zsh.pdf zsh_a4.pdf zsh_us.pdf: $(sdir)/zsh.texi
$(TEXI2PDF) -o $@ -t @afourpaper $(sdir)/zsh.texi; \
fi
-# Use roff2ps / ps2pdf because pdfroff produces doubled output.
intro.pdf intro.a4.pdf intro.us.pdf: $(sdir)/intro.ms
if test $@ = intro.us.pdf || \
{ test $@ = intro.pdf && test "$(PAPERSIZE)" = us; }; then \
- roff2ps -ms -P-pletter < $(sdir)/intro.ms > intro.ps; \
+ pdfroff -ms -P-pletter $(sdir)/intro.ms > $@; \
else \
- roff2ps -ms -P-pa4 < $(sdir)/intro.ms > intro.ps; \
- fi; \
- ps2pdf -sOutputFile=$@ intro.ps
+ pdfroff -ms -P-pa4 $(sdir)/intro.ms > $@; \
+ fi
texi: $(sdir)/zsh.texi
.PHONY: texi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-21 10:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-21 10:03 [PATCH] use pdfroff to produce intro.pdf Jun T
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).