Thank you very much for the example. Indeed, now the structure of the table of contents looks OK. Unfortunately, it breaks the PDF bookmarks (which was initially my main concern). For this file (based on your MWE), I get only Prologue in the bookmarks, although the links in the table of contents work perfectly:

\setupinteraction[state=start]
\placebookmarks[part,chapter][part,chapter][number=no]

\starttext
\placecontent

\startfrontmatter
 \startchapter[title=Prologue]
 \input knuth
 \stopchapter
\stopfrontmatter

\startpart[title={Part A}]
 \startchapter[title=One]
 \input knuth
 \stopchapter
\stoppart

\startbackmatter
 \startchapter[title=Epilogue]
 \input knuth
 \stopchapter
\stopbackmatter

\stoptext


Regards
Michał

W dniu 2014-10-15 14:25, Keith Schultz napisał(a):

Below I have a MWE to show the FLAW.

MWE:

\starttext
\placecontent

 %\startfrontmatter  % uncomment line to show what you would expect


\startchapter[title=Prologue]
\input knuth
\stopchapter

%\stopfrontmatter % uncomment line to show what you would expect

\startpart[title={Part A}]
 \startchapter[title=One]
 \input knuth
 \stopchapter
\stoppart

% FLAW: sectioned under Part A should expect sectioning  level 1
% or throw error that part needed here!
\startchapter[title={not at top level}]
\input knuth
\stopchapter

\startpart[title={Part B}]
 \startchapter[title=One]
 \input knuth
 \stopchapter
\stoppart

% \startbackmatter  % uncomment line to show what you would expect


% FLAW:  sectioned under Part B should expect sectioning  level 1
% or throw error that part needed here!
\startchapter[title=Epilogue]
\input knuth
\stopchapter


%\stopbackmatter % uncomment line to show what you would expect

\stoptext

regards
        Keith.
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to