ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* current head title and current number
@ 2010-08-22 18:35 Peter Schorsch
  2010-08-22 18:48 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Schorsch @ 2010-08-22 18:35 UTC (permalink / raw)
  To: ntg-context

Hi,

I need to get the current *section/chapter title and number. I figured out 
that \fullstructureheadnumber gives the current number. But I can not figure 
out what gives the current head title.

In strc-sec.mkiv I found this comment:

   \def\currentheadtext    {obsolete, use marks}

Is this a hint to use getmarking? I tried 

   \getmarking[current]
   \getmarking[currentsection]
   \getmarking[currenthead]

without success. Does anyone know how to access the current title?



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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-23 12:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-22 18:35 current head title and current number Peter Schorsch
2010-08-22 18:48 ` Wolfgang Schuster
2010-08-23  9:06   ` Peter Schorsch
2010-08-23 12:46     ` Peter Schorsch

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).