Re: [NTG-context] Numbering of "sub"-header

2009-09-25 Thread Wolfgang Schuster


Am 23.09.2009 um 09:15 schrieb Flavien Lambert:

Dear all, I am using Mark IV from the minimals. I have a problem  
concerning the numbering fo my "sub-header". I defined exercices in  
the following way :


% Titres
\setuphead[subject][textstyle={\bfc},align=left,after=\hairline]

% Commandes
\def\exnu#1{%
  \framed 
[width 
= 
1.5em 
,corner 
= 
06 
,background 
=color,backgroundcolor=myGray,foreground=color,foregroundcolor=white] 
{#1}%

}
\definehead[exercice][subsection]
\setuphead[exercice][textstyle={\bf},numberstyle={},numbercommand= 
\exnu]


A few months ago, when using Mark II, the numbering of exercice was  
continuous even if new sujects were introduced. But now, the  
numbering is reinitialized when I put a subject. Can I go back to  
the previous behaviour ?


Example!

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
___


Re: [NTG-context] Numbering of "sub"-header

2009-09-23 Thread Flavien Lambert
I condirmed that using MarkII of the minimals, numbering is continuous. Any
hint ?

2009/9/23 Flavien Lambert 

> Dear all, I am using Mark IV from the minimals. I have a problem concerning
> the numbering fo my "sub-header". I defined exercices in the following way :
>
> % Titres
> \setuphead[subject][textstyle={\bfc},align=left,after=\hairline]
>
> % Commandes
> \def\exnu#1{%
>
> \framed[width=1.5em,corner=06,background=color,backgroundcolor=myGray,foreground=color,foregroundcolor=white]{#1}%
> }
> \definehead[exercice][subsection]
> \setuphead[exercice][textstyle={\bf},numberstyle={},numbercommand=\exnu]
>
> A few months ago, when using Mark II, the numbering of exercice was
> continuous even if new sujects were introduced. But now, the numbering is
> reinitialized when I put a subject. Can I go back to the previous behaviour
> ?
>
> Sincerely,
>
> --
> Flavien.
> 
> "Quantum objects are completely crazy but, at least, they are all crazy in
> the same way." R.P. Feynman.
>



-- 
Flavien.

"Quantum objects are completely crazy but, at least, they are all crazy in
the same way." R.P. Feynman.
___
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
___


[NTG-context] Numbering of "sub"-header

2009-09-23 Thread Flavien Lambert
Dear all, I am using Mark IV from the minimals. I have a problem concerning
the numbering fo my "sub-header". I defined exercices in the following way :

% Titres
\setuphead[subject][textstyle={\bfc},align=left,after=\hairline]

% Commandes
\def\exnu#1{%

\framed[width=1.5em,corner=06,background=color,backgroundcolor=myGray,foreground=color,foregroundcolor=white]{#1}%
}
\definehead[exercice][subsection]
\setuphead[exercice][textstyle={\bf},numberstyle={},numbercommand=\exnu]

A few months ago, when using Mark II, the numbering of exercice was
continuous even if new sujects were introduced. But now, the numbering is
reinitialized when I put a subject. Can I go back to the previous behaviour
?

Sincerely,

-- 
Flavien.

"Quantum objects are completely crazy but, at least, they are all crazy in
the same way." R.P. Feynman.
___
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
___