Re: [NTG-context] should \getmarking[title] work?

2009-06-26 Thread Hans Hagen

Michael Green wrote:

On Jun 25, 2009, at 3:00 AM, Wolfgang Schuster wrote:


Am 25.06.2009 um 00:51 schrieb Michael Green:


I expected \getmarking[title] to give me the contents of \title. It
used to work (as of late spring). Perhaps something has changed.

MTXrun | current version: 2009.06.14 21:01
This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009)
luatex.web >= v2471

Test file:

\starttext
\title{This is the title}

The title should be here: \getmarking[title]. But it's just a blank
space.

\stoptext


\starttext

\title[sec:title]{This is the title}

The title should be here: \ref[s][sec:title].

\stoptext

Wolfgang



Thanks! That worked using Mk II but not with Mk IV. Is that to be expected?


markings are only available (reliable) in the page builder

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] should \getmarking[title] work?

2009-06-25 Thread Michael Green

On Jun 25, 2009, at 3:00 AM, Wolfgang Schuster wrote:


Am 25.06.2009 um 00:51 schrieb Michael Green:


I expected \getmarking[title] to give me the contents of \title. It
used to work (as of late spring). Perhaps something has changed.

MTXrun | current version: 2009.06.14 21:01
This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009)
luatex.web >= v2471

Test file:

\starttext
\title{This is the title}

The title should be here: \getmarking[title]. But it's just a blank
space.

\stoptext


\starttext

\title[sec:title]{This is the title}

The title should be here: \ref[s][sec:title].

\stoptext

Wolfgang



Thanks! That worked using Mk II but not with Mk IV. Is that to be  
expected?


Michael
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] should \getmarking[title] work?

2009-06-25 Thread Wolfgang Schuster


Am 25.06.2009 um 00:51 schrieb Michael Green:

I expected \getmarking[title] to give me the contents of \title. It  
used to work (as of late spring). Perhaps something has changed.


MTXrun | current version: 2009.06.14 21:01
This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009)  
luatex.web >= v2471


Test file:

\starttext
\title{This is the title}

The title should be here: \getmarking[title]. But it's just a blank  
space.


\stoptext


\starttext

\title[sec:title]{This is the title}

The title should be here: \ref[s][sec:title].

\stoptext

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___