ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Expansion of date inside \section
Date: Mon, 20 Jun 2016 07:34:08 +0200	[thread overview]
Message-ID: <00efea0a-eaee-b0c2-06e8-998eabaee75a@gmx.es> (raw)
In-Reply-To: <4ea7ef3d-a17e-4e5c-c40e-38490eff4a78@wxs.nl>

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
___________________________________________________________________________________
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	other threads:[~2016-06-20  5:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-19 20:17 Mojca Miklavec
2016-06-19 20:38 ` Mojca Miklavec
2016-06-19 21:37 ` Thomas A. Schmitz
2016-06-19 21:51 ` Hans Hagen
2016-06-20  5:34   ` Pablo Rodriguez [this message]

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=00efea0a-eaee-b0c2-06e8-998eabaee75a@gmx.es \
    --to=oinos@gmx.es \
    --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).