On 7/5/2015 7:54 PM, Pablo Rodriguez wrote:
Dear list,

I have the following sample:

     \showframe
     \setupinteraction[state=start]
     \placebookmarks[chapter]
     \definehead[hiddentitle][chapter]
     \setuphead[hiddentitle][incrementnumber=no]
     \starttext
     \completecontent
     \hiddentitle{Prologue}
     aa\page aa
     \chapter{Foreword}
     aa
     \chapter{Introduction}
     \stoptext

I would like to have a \hiddentitle command that doesn’t display the
heading in text (and adds no extra space), that it doesn’t add it to the
table of contents, but that it adds it as a bookmark.

How should I define \hiddentitle to get that?

something

\setupinteraction[state=start]
\placebookmarks[chapter,hiddentitle]
\definehead[hiddentitle][chapter]
\starttext
    \completecontent
    \writetolist[hiddentitle]{!!}{xxx}
    aa\page aa
    \chapter{Foreword}
    aa
    \chapter{Introduction}
\stoptext

or

\setupinteraction[state=start]
\placebookmarks[chapter,hiddentitle]
\definehead[hiddentitle][chapter]
\setuphead[hiddentitle][incrementnumber=list]
\starttext
    \completecontent
    \hiddentitle{Prologue}
    aa\page aa
    \chapter{Foreword}
    aa
    \chapter{Introduction}
\stoptext


-----------------------------------------------------------------
                                          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
___________________________________________________________________________________

Reply via email to