On 4/6/2014 6:53 PM, Pablo Rodriguez wrote:
Hans,
the following sample shows three long-standing issues with ConTeXt (I’m afraid they might be bugs):
\definestructureconversionset[chapternumbers][0,I,a,n,g][n] \setupheads[sectionconversionset=chapternumbers] \setupsectionblock[bodypart][page=no] \setupheadertexts[chapter] \setupinteraction[state=start] \placebookmarks[chapter] \starttext \chapter{\TeX} \input knuth\par
\startfrontmatter \dorecurse{5}{\chapter{Front matter} \input zapf\par} \stopfrontmatter
\startbodymatter \dorecurse{5}{\chapter{Body matter} \input zapf\par} \stopbodymatter \stoptext
1. PDF bookmarks don’t contain Roman capital numerals (as I think they should).
be verbose : \definestructureconversionset[chapternumbers][0,Romannumerals,a,n,g][n]
2. \setupsectionblock[...][page=no] causes the last page in bodypart to have its header removed.
make sure not have a \page someplace (as the last setting applies till a page has been flushed)
3. \chapter{\TeX} causes bookmarks from bodymatter to be located before bookmarks from frontmatter.
wrap the first chapters in some sectionblock too ... i could do more extensive checking in bookmark construction but a messy structure is kind of asking for troubles
I have tested this file against ConTeXt from TeX Live 2013 (2013.05.28 00:36), ConTeXt Suite stable (2014.01.03 00:40), and latest beta (2014.04.06 13:09).
Except issue 3 and ConTeXt from TeX Live 2013, all three versions suffer from these issues.
Could you fix these issues?
Many thanks for your help,
Pablo
-- ----------------------------------------------------------------- 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 -----------------------------------------------------------------