zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: zsh manual - missing bookmarks in pdf file?
Date: Fri, 4 Mar 2016 05:16:17 +0100	[thread overview]
Message-ID: <CAHYJk3Tp0i4xFYrM0OsTNGE8vBEbFgPAaS9J9q6EpW7obSkq-Q@mail.gmail.com> (raw)
In-Reply-To: <36FD86DF-3BA9-4277-B587-38EC212BDDEB@kba.biglobe.ne.jp>

On Fri, Mar 4, 2016 at 4:33 AM, Jun T. <takimoto-j@kba.biglobe.ne.jp> wrote:
>
> On 2016/03/03, at 23:39, Greg Klanderman <gak@klanderman.net> wrote:
>
>> Looking at the Makefile, maybe pdfetex vs texi2pdf?
>
> No, texi2pdf is just a simple wrapper script which calls
> 'texi2dvi --pdf', which in tern calls pdfetex.
>
>>>>>>> On March 3, 2016 Jun T <takimoto-j@kba.biglobe.ne.jp> wrote:
>>> I don't know how the US version was created.
>
> It seems zsh_us.pdf was created from zsh.dvi (so it is not
> surprising that it has no bookmarks).
>
> In order to create a US-sized PDF with bookmarks, we need to modify
> zsh.texi because a command @afourpaper is embedded in it and
> it seems there is no texinfo command to cancel it (or to change the
> paper size to US letter).
>
> The patch below removes the @afourpaper from zsh.texi, and
> add it by "-t @afourpaper" when A4 output is required.
>
> A few minor points to discuss:
> (1) A4 and US versions are named zsh_a4.pdf and zsh_us.pdf,
>     as in the download page. Other possibility is
>     zsh.a4.pdf and zsh.us.pdf (as intro.{a4,us}.pdf).
>     Also we can use zsh.pdf for A4 version.
> (2) 'make pdf' creates both zsh_a4.pdf and zsh_us.pdf.
>     Is it better to create just on of them by default?
> (3) zsh.dvi is for A4 paper, as before.
> (4) Is it really necessary to have both A4 and US?
>     Or just A4 is enough?

We could somehow use LC_PAPER to determine which to build, and allow
overriding/building both with a configure option?

-- 
Mikael Magnusson


  reply	other threads:[~2016-03-04  4:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-01 14:26 Greg Klanderman
     [not found] ` <DE24867B-712C-46A4-85B4-BDD290E91154@kba.biglobe.ne.jp>
2016-03-02  3:52   ` Greg Klanderman
2016-03-02  5:20     ` Jun T.
2016-03-02 15:40       ` Greg Klanderman
2016-03-03  5:03         ` Jun T.
2016-03-03 14:39           ` Greg Klanderman
2016-03-04  3:33             ` Jun T.
2016-03-04  4:16               ` Mikael Magnusson [this message]
2016-03-04 14:25                 ` Jun T.
2016-03-04 15:08                   ` Peter Stephenson
2016-03-07  3:15                     ` Jun T.
2016-03-04 18:45                   ` Greg Klanderman
2016-03-04 19:23                     ` Jun T.

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=CAHYJk3Tp0i4xFYrM0OsTNGE8vBEbFgPAaS9J9q6EpW7obSkq-Q@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=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).