ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Subject marking in MkIV
@ 2010-11-10  5:50 Aditya Mahajan
  2010-11-10 14:35 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Aditya Mahajan @ 2010-11-10  5:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi

I was trying to answer a question on tex.stackexchange 
(http://tex.stackexchange.com/questions/5166/) when I noticed that marking 
does not work the same way in MkIV as it did in MkII. Consider the 
following minimal example:

\startsetups footer
   \getmarking[subject][first]\space - \getmarking[subject][last]\space - 
\pagenumber
\stopsetups

\setupfootertexts[][\setups{footer}]

\starttext
\subject{One}  \input knuth
\subject{Two}  \input knuth
\subject{Three}\input knuth
\subject{Four} \input knuth
\stoptext

In MkII I get "One - Three - 1" in the footer of the first page. In MkIV, 
the subject markings are missing. I think that the reason is that for non 
numbered heads, section key is not set in \definestructurehead, so no 
marking gets defined for them.

What is the easiest way to enable subject marking in MkIV?

I am using an old beta from 2010.10.14 but I do not think that anything 
this fundamental has changed in the last month.

Aditya
___________________________________________________________________________________
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] 2+ messages in thread

* Re: Subject marking in MkIV
  2010-11-10  5:50 Subject marking in MkIV Aditya Mahajan
@ 2010-11-10 14:35 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2010-11-10 14:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 10-11-2010 6:50, Aditya Mahajan wrote:
> Hi
>
> I was trying to answer a question on tex.stackexchange
> (http://tex.stackexchange.com/questions/5166/) when I noticed that
> marking does not work the same way in MkIV as it did in MkII. Consider
> the following minimal example:
>
> \startsetups footer
> \getmarking[subject][first]\space - \getmarking[subject][last]\space -
> \pagenumber
> \stopsetups
>
> \setupfootertexts[][\setups{footer}]
>
> \starttext
> \subject{One} \input knuth
> \subject{Two} \input knuth
> \subject{Three}\input knuth
> \subject{Four} \input knuth
> \stoptext
>
> In MkII I get "One - Three - 1" in the footer of the first page. In
> MkIV, the subject markings are missing. I think that the reason is that
> for non numbered heads, section key is not set in \definestructurehead,
> so no marking gets defined for them.
>
> What is the easiest way to enable subject marking in MkIV?

waiting for a fix

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


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

end of thread, other threads:[~2010-11-10 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-10  5:50 Subject marking in MkIV Aditya Mahajan
2010-11-10 14:35 ` Hans Hagen

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