From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15284 invoked by alias); 4 Mar 2016 04:16:23 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38088 Received: (qmail 15396 invoked from network); 4 Mar 2016 04:16:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=eNzwcF0q7VpSUAlGbg3Kh/gu0Ghf1sez4Hl+RySJKI4=; b=Uc8o0YoQ5F6fHDPTf0zPRMKGosTQ5lWppC6ZW4C3n4B8wzKE1Rsjd9LSYNL49ulnJ6 /OhYaNAN5IeFTFq9ApQyan8tvIHg60Qk6OQJMG5fzde3OGju1DtAEO5ItBLON3+jMfPS J/CDHJ6aqy+62SvadP2jghmVqLTukhrTxoy0phgNnNa/4aWEdEoeKNcB+zTxlYZPOxjN Jh3Jp3++a7FNOo+MoLyq6FPKCq1Bd1AiMfWiRj8YKLkjrPE3tN4kabW0fz3Gm0lN251i XYWB4kwH3/I+nvyWq+RDn4dSGlG0Vpik/nh092+U0VqBGrm1nprvPtkGPF4AXf3lhFyY OroQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=eNzwcF0q7VpSUAlGbg3Kh/gu0Ghf1sez4Hl+RySJKI4=; b=KfaFTWotRjRYaIOLZf7UPI3Z4mHKZ5vfgSqr0QQdM1QYzqx0ClvtsrVFKQTQHk4FhI ojmrOnUfSgMECjdTidEwJPmHY33QOtZiWOm0asQQXTiOjxyGSbcialNMmBFOsoPXveX6 bcuI62U7xct9R6XFnEDckRP0Imv+cit27jN1ZARauc8N99RbbhtcA5tVUzIG7fJV8ZEm WHv1iZOGbtCmoCtSRvKFTKDfMVpRVAQS+QqO/ix27q3Gdq0s2oZMzfxj6dIUC4T6U34X EfvRODobyaeP1gHz46YQQjmPZrfPbpnDWhO//fcddkJerPm1lqWmxzP2TI9RcdDdAfBb Kvmw== X-Gm-Message-State: AD7BkJIjQIBUYULzEfLQKQ4SXDtB+WjX3BlqIruKCPh++nuiri0BAoBpqw8vNx3GRfAo6p9vtrmiGHlsVP1SMg== MIME-Version: 1.0 X-Received: by 10.140.81.231 with SMTP id f94mr7435510qgd.25.1457064978006; Thu, 03 Mar 2016 20:16:18 -0800 (PST) In-Reply-To: <36FD86DF-3BA9-4277-B587-38EC212BDDEB@kba.biglobe.ne.jp> References: <22229.42616.86422.222557@lwm.klanderman.net> <87vb55leop.fsf@lwm.klanderman.net> <194AAF32-4EB5-412D-A200-27AE7832EF86@kba.biglobe.ne.jp> <87egbs7usn.fsf@lwm.klanderman.net> <1850B214-73A8-4373-A9AE-0C533702A6CD@kba.biglobe.ne.jp> <87si07lj6s.fsf@lwm.klanderman.net> <36FD86DF-3BA9-4277-B587-38EC212BDDEB@kba.biglobe.ne.jp> Date: Fri, 4 Mar 2016 05:16:17 +0100 Message-ID: Subject: Re: zsh manual - missing bookmarks in pdf file? From: Mikael Magnusson To: "Jun T." Cc: "zsh-workers@zsh.org" Content-Type: text/plain; charset=UTF-8 On Fri, Mar 4, 2016 at 4:33 AM, Jun T. wrote: > > On 2016/03/03, at 23:39, Greg Klanderman 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 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