[NTG-context] Expansion of date inside \section

Pablo Rodriguez oinos at gmx.es
Mon Jun 20 07:34:08 CEST 2016


On 06/19/2016 11:51 PM, Hans Hagen wrote:
> [...]
> another possibility is
> 
> \enabledirectives[references.bookmarks.preroll]

Many thanks for this extremely useful directive, Hans.

I have two improvement suggestions for it, shown in the following sample:

    \def\BookTitle{{\em A \ConTeXt\ Book}}
    \setupinteraction[state=start, title=\BookTitle]
    \enabledirectives[references.bookmarks.preroll]
    \placebookmarks[chapter,section][chapter,section]

    \starttext
    \chapter{\BookTitle}
    \section{\ConTeXt\ is \TeX, but not \LaTeX}
    \stoptext

Would it be possible that \TeX (or \TEX) is translated as TeX? (ConTeXt
is the PDF creator in the PDF documentation info).

Would it be possible that this bookmark prerolling could be applied to
PDF info fields?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list