Re: [NTG-context] No chapter prefixes in section numbers

2011-06-19 Thread Wolfgang Schuster
Am 03.06.2011 um 21:43 schrieb Mathieu DUPONT:Is there an exhaustive list of all the parameters the \setuphead function can take ?Neither the 2011 ConTeXt Commands Manual nor the Wiki Command Reference page mention this one (sectionsegments).Where can I find all the parameters one ConTeXt command can take ?I attached a updated list with a valid parameters for \setuphead and \startchapter, you can use it to update the wiki.Wolfgang

reference.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-19 Thread Mathieu Dupont


Thanks !
It's done, except for \startchapter, as I did not figure out how to create a 
new page...



Mathieu

Subject: Re: [NTG-context] No chapter prefixes in section numbers
From: schuster.wolfg...@googlemail.com
Date: Sun, 19 Jun 2011 10:02:34 +0200
CC: mathieudup...@hotmail.com
To: ntg-context@ntg.nl




Am 03.06.2011 um 21:43 schrieb Mathieu DUPONT:Is there an exhaustive list of 
all the parameters the \setuphead function can take ?
Neither the 2011 ConTeXt Commands Manual nor the Wiki Command Reference page 
mention this one (sectionsegments).
Where can I find all the parameters one ConTeXt command can take ?
I attached a updated list with a valid parameters for \setuphead and 
\startchapter, you can use it to update the wiki.
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-06 Thread Wolfgang Schuster

Am 06.06.2011 um 01:20 schrieb Mathieu Dupont:

 Ok, thank you very much for the great work Wolfgang !
 
 For now I guess I could look at the source code of a command to find out its 
 properties (I am not familiar with TeX but maybe I can figure out a few 
 things).

Yes but it isn’t so easy as you thing because you have know first if the 
requested command was generated (in your case with \definehead) or coded 
without intermediate commands. Then you have to follow all dependencies of the 
command to find more keys and at least the valid arguments for them. If this 
would be easy my new command reference would have been already finished but it 
takes often a lot of time to write the complete description for a command.

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

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-05 Thread Mathieu Dupont


Ok, thank you very much for the great work Wolfgang !
For now I guess I could look at the source code of a command to find out its 
properties (I am not familiar with TeX but maybe I can figure out a few things).
I tried http://source.contextgarden.net/ but I can't find out how to find the 
script of a command.
Can you help me out ?
Thanks !



Mathieu



From: schuster.wolfg...@googlemail.com
Date: Sat, 4 Jun 2011 14:35:04 +0200
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] No chapter prefixes in section numbers




Am 03.06.2011 um 21:43 schrieb Mathieu DUPONT:Is there an exhaustive list of 
all the parameters the \setuphead function can take ?
Neither the 2011 ConTeXt Commands Manual nor the Wiki Command Reference page 
mention this one (sectionsegments).
Where can I find all the parameters one ConTeXt command can take ?
I’m working on a update for the command reference but it will stilltake some 
time unless i have looked in all source files. Even wheni have the list it 
won’t always help you because the reference isonly a list with all valid keys 
and values but it doesn’t explainthe meaning of them and how they need to be 
combined to havea certain output.
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
   ___
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
___

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-04 Thread Wolfgang Schuster

Am 03.06.2011 um 21:43 schrieb Mathieu DUPONT:

 
 Is there an exhaustive list of all the parameters the \setuphead function can 
 take ?
 
 Neither the 2011 ConTeXt Commands Manual nor the Wiki Command Reference page 
 mention this one (sectionsegments).
 
 Where can I find all the parameters one ConTeXt command can take ?

I’m working on a update for the command reference but it will still
take some time unless i have looked in all source files. Even when
i have the list it won’t always help you because the reference is
only a list with all valid keys and values but it doesn’t explain
the meaning of them and how they need to be combined to have
a certain output.

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

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-03 Thread Mathieu DUPONT


Is there an exhaustive list of all the parameters the \setuphead function can 
take ?
Neither the 2011 ConTeXt Commands Manual nor the Wiki Command Reference page 
mention this one (sectionsegments).
Where can I find all the parameters one ConTeXt command can take ?
Thanks for enlightenment !


Mathieu



 From: schuster.wolfg...@googlemail.com
 Date: Thu, 2 Jun 2011 05:28:02 +0200
 To: ntg-context@ntg.nl
 Subject: Re: [NTG-context] No chapter prefixes in section numbers
 
 
 Am 02.06.2011 um 02:28 schrieb Aditya Mahajan:
 
  Hi,
  
  I do not want chapter number to be prefixed in section and subsection 
  numbers. Thus,
  
  \starttext
  \chapter{One}
  \section{Two}
  \subsection{Three}
  \stoptext
  
  should give:
  
  1 One
  1 Two
  1.1 Three
  
  How to achieve that? I tried
  
  \setuphead[section][prefixset=none]
  
  but to no affect.
 
 \setuphead[section]   [sectionsegments=section]
 \setuphead[subsection][sectionsegments=section:subsection]
 
 Prefixes are used from commands which show the section numbers
 in front of their own number, e.g. floats or enumerations.
 
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
  ___
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
___

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-02 Thread Aditya Mahajan

On Thu, 2 Jun 2011, Wolfgang Schuster wrote:



Am 02.06.2011 um 02:28 schrieb Aditya Mahajan:


Hi,

I do not want chapter number to be prefixed in section and subsection numbers. 
Thus,

\starttext
\chapter{One}
\section{Two}
\subsection{Three}
\stoptext

should give:

1 One
1 Two
1.1 Three

How to achieve that? I tried

\setuphead[section][prefixset=none]

but to no affect.


\setuphead[section]   [sectionsegments=section]
\setuphead[subsection][sectionsegments=section:subsection]


Thanks.


Prefixes are used from commands which show the section numbers
in front of their own number, e.g. floats or enumerations.


Ah, that is why strc-sec did not use any prefixset.

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
___


[NTG-context] No chapter prefixes in section numbers

2011-06-01 Thread Aditya Mahajan

Hi,

I do not want chapter number to be prefixed in section and subsection 
numbers. Thus,


\starttext
\chapter{One}
\section{Two}
\subsection{Three}
\stoptext

should give:

1 One
1 Two
1.1 Three

How to achieve that? I tried

\setuphead[section][prefixset=none]

but to no affect.

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
___


Re: [NTG-context] No chapter prefixes in section numbers

2011-06-01 Thread Wolfgang Schuster

Am 02.06.2011 um 02:28 schrieb Aditya Mahajan:

 Hi,
 
 I do not want chapter number to be prefixed in section and subsection 
 numbers. Thus,
 
 \starttext
 \chapter{One}
 \section{Two}
 \subsection{Three}
 \stoptext
 
 should give:
 
 1 One
 1 Two
 1.1 Three
 
 How to achieve that? I tried
 
 \setuphead[section][prefixset=none]
 
 but to no affect.

\setuphead[section]   [sectionsegments=section]
\setuphead[subsection][sectionsegments=section:subsection]

Prefixes are used from commands which show the section numbers
in front of their own number, e.g. floats or enumerations.

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