From: "Michał Goliński" <golinski@amu.edu.pl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with PDF bookmarks (outline)
Date: Wed, 05 Nov 2014 15:36:38 +0100 [thread overview]
Message-ID: <3e72e28152f2f5707e4368217a185402@amu.edu.pl> (raw)
In-Reply-To: <20141105140127.279d21ab@iram-ha-003840.extra.cea.fr>
W dniu 2014-11-05 14:01, Alan BRASLAU napisał(a):
> On Wed, 5 Nov 2014 12:36:38 +0100
> Hans Hagen <pragma@wxs.nl> wrote:
>
>> bookmarks assume some hierarchical structure and the parts mixed with
>> no parts and sections confuses it ... i can have a look at it but not
>> today
>
> I use parts, not chapters in frontmatter/backmatter
> when using parts in bodymatter.
>
> Alan
Thanks to Hans's reply I am able to make it work with the current
structure.
I am nevertheless curious, how one could change the chapters in
frontmatter/backmatter to parts without affecting the numbering of later
parts (or correct the numbering, \decrementnumber[part] doesn't seem to
work).
I have tried to mimic the chapter style with
\definehead[chapterpart][part][command=\MyFancyChapterStyle, number=no,
incrementnumber=yes]
And it either disrupts the numbering (incrementnumber=yes) or doesn't
show up in bookmarks (incrementnumber=no).
I have tried also a "ghost part" to use around chapters:
\definehead[ghostpart][part][placehead=no, incrementnumber=no]
but turns out it doesn't help:
\startpart[title=First]
\startchapter[title=A]
\stopchapter
\stoppart
\startghostpart
\startchapter[title=Epilogue]
\stopchapter
\stopghostpart
Epilogue is still a child of the First part in the bookmarks.
Regards,
Michał
___________________________________________________________________________________
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-11-05 14:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.248.1415111268.2277.ntg-context@ntg.nl>
2014-11-04 19:00 ` Robert Blackstone
2014-11-05 9:34 ` Michał Goliński
2014-11-05 11:36 ` Hans Hagen
2014-11-05 13:01 ` Alan BRASLAU
2014-11-05 14:36 ` Michał Goliński [this message]
2014-11-05 14:53 ` Alan BRASLAU
2014-11-05 14:56 ` Hans Hagen
2014-11-05 13:43 ` Hans Hagen
2014-11-05 11:33 ` Gareth Jones
2014-11-04 12:29 Michał Goliński
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=3e72e28152f2f5707e4368217a185402@amu.edu.pl \
--to=golinski@amu.edu.pl \
--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).