ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MKIV ownnumber issue
@ 2009-06-22  7:01 Tim Wraight
  2009-06-22  7:40 ` Alan BRASLAU
  2009-06-22  9:49 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Tim Wraight @ 2009-06-22  7:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 259 bytes --]

Hi,

The following example from the manual does not work for me in MKIV  
(2009.06.14 21:01):

\starttext
\setuphead[subsection][ownnumber=yes]
\subsection{399}{The old number}
\subsection[someref]{400}{Another number}
\stoptext


PDF attached.

Cheers,
Tim


[-- Attachment #2: main.pdf --]
[-- Type: application/pdf, Size: 4843 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

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

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

* Re: MKIV ownnumber issue
  2009-06-22  7:01 MKIV ownnumber issue Tim Wraight
@ 2009-06-22  7:40 ` Alan BRASLAU
  2009-06-22  9:49 ` Wolfgang Schuster
  1 sibling, 0 replies; 4+ messages in thread
From: Alan BRASLAU @ 2009-06-22  7:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Monday 22 June 2009 09:01:01 Tim Wraight wrote:
> The following example from the manual does not work for me in MKIV
> (2009.06.14 21:01):
>
> \starttext
> \setuphead[subsection][ownnumber=yes]
> \subsection{399}{The old number}
> \subsection[someref]{400}{Another number}
> \stoptext

Structuring has changed significantly in mkiv and many examples from mkii are 
handled differently (structure sets). Unfortunately, I have yet to figure it out 
as the documentation is behind and the little information that I have gathered 
from this mailing list is too incomplete. What is missing is some basic 
information on the new approach to structuring.

Alan

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


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

* Re: MKIV ownnumber issue
  2009-06-22  7:01 MKIV ownnumber issue Tim Wraight
  2009-06-22  7:40 ` Alan BRASLAU
@ 2009-06-22  9:49 ` Wolfgang Schuster
  2009-06-22 15:01   ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2009-06-22  9:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


Am 22.06.2009 um 09:01 schrieb Tim Wraight:

> Hi,
>
> The following example from the manual does not work for me in MKIV  
> (2009.06.14 21:01):
>
> \starttext
> \setuphead[subsection][ownnumber=yes]
> \subsection{399}{The old number}
> \subsection[someref]{400}{Another number}
> \stoptext

\unprotect

\def\dodosetupstructurehead#1#2%
   {\edef\currentstructurehead{#2}% was missing
    \getparameters[\??nh#2][#1]%
    \the\everystructureheadsetup}

\protect

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
___________________________________________________________________________________


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

* Re: MKIV ownnumber issue
  2009-06-22  9:49 ` Wolfgang Schuster
@ 2009-06-22 15:01   ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-06-22 15:01 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

Wolfgang Schuster wrote:
> 
> Am 22.06.2009 um 09:01 schrieb Tim Wraight:
> 
>> Hi,
>>
>> The following example from the manual does not work for me in MKIV 
>> (2009.06.14 21:01):
>>
>> \starttext
>> \setuphead[subsection][ownnumber=yes]
>> \subsection{399}{The old number}
>> \subsection[someref]{400}{Another number}
>> \stoptext
> 
> \unprotect
> 
> \def\dodosetupstructurehead#1#2%
>   {\edef\currentstructurehead{#2}% was missing
>    \getparameters[\??nh#2][#1]%
>    \the\everystructureheadsetup}
> 
> \protect

thanks. fixed

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


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

end of thread, other threads:[~2009-06-22 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-22  7:01 MKIV ownnumber issue Tim Wraight
2009-06-22  7:40 ` Alan BRASLAU
2009-06-22  9:49 ` Wolfgang Schuster
2009-06-22 15:01   ` 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).