zsh-workers
 help / color / mirror / code / Atom feed
From: Jun T <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: [PATCH] use pdfroff to produce intro.pdf
Date: Fri, 21 Jun 2024 19:03:48 +0900	[thread overview]
Message-ID: <B458F990-4B3F-437B-9431-3F3B6C2EA65E@kba.biglobe.ne.jp> (raw)

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





                 reply	other threads:[~2024-06-21 10:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B458F990-4B3F-437B-9431-3F3B6C2EA65E@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).