From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Appendix Page Numbering
Date: Thu, 13 Feb 2014 16:17:18 +0100 [thread overview]
Message-ID: <52FCE1FE.2050306@wxs.nl> (raw)
In-Reply-To: <CAFP+xF+J49nxEoiRJHsrcZba7VJKo_4_jRyN61X_JEWghe3Tww@mail.gmail.com>
On 2/13/2014 1:39 PM, Troy Henderson wrote:
> Andreas,
>
> Thank you for the reply. I'm afraid that I don't know how to manually
> manipulate the PDF Catalog. I was able to successfully build the code
> on this page
>
> http://www.ntg.nl/pipermail/ntg-context/2008/036947.html
>
> but I had to add
>
> \placebookmarks[chapter,section][chapter][force=yes]
>
> and although I have Evince's "Index" visible, all of the PageLabels are
> "1" and when I click on the entry it doesn't change to the correct
> page. I do get an error from Evince that says "failed to look up aut:3"
> or another number.
>
> I'm not sure what my options are.
mkiv:
\nopdfcompression
\setupinteraction
[state=start]
\defineconversionset[frontpart:pagenumber][][romannumerals]
\defineconversionset[bodypart:pagenumber] [][numbers]
\defineconversionset[appendix:pagenumber] [][Characters]
\setupuserpagenumber[numberconverionset=pagenumber,way=byblock]
\setupheadertexts[Page \userpagenumber\ of \lastuserpagenumber]
\starttext
\startfrontmatter
\startchapter[title=Fontpart]
\dorecurse{20}{\input knuth \footnote{test}\par}
\stopchapter
\stopfrontmatter
\startbodymatter
\startchapter[title=Bodypart]
\dorecurse{20}{\input tufte\par}
\stopchapter
\stopbodymatter
\startappendices
\startchapter[title=Appendix]
\dorecurse{20}{\input zapf\par}
\stopchapter
\stopappendices
\stoptext
gigves in the pdf:
/PageLabels << /Nums [ 0 << /S /r >> 6 << /S /D >> 11 << /S /A >> ] >>
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2014-02-13 15:17 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-05 16:55 Troy Henderson
2014-02-06 3:17 ` Troy Henderson
2014-02-06 10:53 ` Wolfgang Schuster
2014-02-06 11:59 ` Troy Henderson
2014-02-10 19:33 ` Troy Henderson
2014-02-13 6:53 ` Andreas Schneider
2014-02-13 12:39 ` Troy Henderson
2014-02-13 15:17 ` Hans Hagen [this message]
2014-02-13 15:28 ` Troy Henderson
2014-02-13 15:36 ` Hans Hagen
2014-02-13 16:00 ` Aditya Mahajan
2014-02-13 16:46 ` Troy Henderson
2014-02-13 22:16 ` Troy Henderson
2014-02-14 15:54 ` Hans Hagen
2014-02-15 1:30 ` Troy Henderson
2014-02-15 7:50 ` Wolfgang Schuster
2014-02-15 13:43 ` Troy Henderson
2014-02-21 1:20 ` Troy Henderson
2014-02-26 1:42 ` Troy Henderson
2014-02-26 2:09 ` Aditya Mahajan
2014-02-26 2:37 ` Troy Henderson
2014-02-26 11:38 ` Troy Henderson
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=52FCE1FE.2050306@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/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.
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).