Re: [NTG-context] something like \setnumber[chapter]{0}

2007-06-06 Thread Aditya Mahajan
On Wed, 6 Jun 2007, Steffen Wolfrum wrote:
>
> Sometimes ConTeXt's syntax looks kind of "female" to me:
> It certainly has an inner logic, but this is far more ... rich and varied as 
> my single-minded, male structured mind would expect -)

ROTFL
___
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] something like \setnumber[chapter]{0}

2007-06-06 Thread Wolfgang Schuster
2007/6/6, Steffen Wolfrum <[EMAIL PROTECTED]>:
> On Wed, 6 Jun 2007 10:26:20 +0200, Wolfgang Schuster wrote:
> > 2007/6/6, Steffen Wolfrum <[EMAIL PROTECTED]>:
> >> Hi Duncan, thanks for help!
> >>
> >> On Wed, 06 Jun 2007 08:07:43 +0100, Duncan Hothersall wrote:
> >>> Hi Steffen:
>  Hi,
> 
>  I am looking for a number-reset-command for sections, comparable to
> 
>  \setnumber[footnote]{0}
> 
> >>> \setupheadnumber[chapter][0]
> >>
> >>
> >>
> >> Jesus ... this combination would never ever come to my mind.
> >>
> >> How do you know that it is ...
> >> \setnumber[footnote]{0} % with braces
> >> \setupheadnumber[chapter][0] % with square brackets??
> >
> > I think he looked into the source, ...
>
>
>
> I also *looked* into the source. But if you don't know what the command is 
> called you are looking for, it is not that easy to be seen...
>
> Maybe he got magic glasses.
>
>
> Steffen

Hi,

it is not as hard as you think, you know after looking a few times for
something where
you should start searching for information to you problem.

If you search for numbers and counters in combination with headers it
should be enough
to look into core-num or core-sec or for general commands in core-ext.

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] something like \setnumber[chapter]{0}

2007-06-06 Thread Steffen Wolfrum
On Wed, 6 Jun 2007 10:26:20 +0200, Wolfgang Schuster wrote:
> 2007/6/6, Steffen Wolfrum <[EMAIL PROTECTED]>:
>> Hi Duncan, thanks for help!
>> 
>> On Wed, 06 Jun 2007 08:07:43 +0100, Duncan Hothersall wrote:
>>> Hi Steffen:
 Hi,
 
 I am looking for a number-reset-command for sections, comparable to
 
 \setnumber[footnote]{0}
 
>>> \setupheadnumber[chapter][0]
>> 
>> 
>> 
>> Jesus ... this combination would never ever come to my mind.
>> 
>> How do you know that it is ...
>> \setnumber[footnote]{0} % with braces
>> \setupheadnumber[chapter][0] % with square brackets??
> 
> I think he looked into the source, ...



I also *looked* into the source. But if you don't know what the command is 
called you are looking for, it is not that easy to be seen...

Maybe he got magic glasses.


Steffen
___
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] something like \setnumber[chapter]{0}

2007-06-06 Thread Wolfgang Schuster
2007/6/6, Steffen Wolfrum <[EMAIL PROTECTED]>:
> Hi Duncan, thanks for help!
>
> On Wed, 06 Jun 2007 08:07:43 +0100, Duncan Hothersall wrote:
> > Hi Steffen:
> >> Hi,
> >>
> >> I am looking for a number-reset-command for sections, comparable to
> >>
> >> \setnumber[footnote]{0}
> >>
> > \setupheadnumber[chapter][0]
>
>
>
> Jesus ... this combination would never ever come to my mind.
>
> How do you know that it is ...
> \setnumber[footnote]{0} % with braces
> \setupheadnumber[chapter][0] % with square brackets??

I think he looked into the source, \setupheadnumber can also do more than just
set the headnumber to the give value, you can set +/- values like +2 or -1.

Wolfgang

> Sometimes ConTeXt's syntax looks kind of "female" to me:
> It certainly has an inner logic, but this is far more ... rich and varied as 
> my single-minded, male structured mind would expect -)
>
> Steffen
___
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] something like \setnumber[chapter]{0}

2007-06-06 Thread Steffen Wolfrum
Hi Duncan, thanks for help!

On Wed, 06 Jun 2007 08:07:43 +0100, Duncan Hothersall wrote:
> Hi Steffen:
>> Hi,
>> 
>> I am looking for a number-reset-command for sections, comparable to
>> 
>> \setnumber[footnote]{0}
>>   
> \setupheadnumber[chapter][0]



Jesus ... this combination would never ever come to my mind.

How do you know that it is ...
\setnumber[footnote]{0} % with braces
\setupheadnumber[chapter][0] % with square brackets??

Sometimes ConTeXt's syntax looks kind of "female" to me:
It certainly has an inner logic, but this is far more ... rich and varied as my 
single-minded, male structured mind would expect -)

Steffen
___
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] something like \setnumber[chapter]{0}

2007-06-06 Thread Duncan Hothersall
Hi Steffen:
> Hi,
>
> I am looking for a number-reset-command for sections, comparable to
>
> \setnumber[footnote]{0}
>   
\setupheadnumber[chapter][0]


Duncan
___
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
___