* No chapter prefixes in section numbers
@ 2011-06-02 0:28 Aditya Mahajan
2011-06-02 3:28 ` Wolfgang Schuster
0 siblings, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2011-06-02 0:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: No chapter prefixes in section numbers
2011-06-02 0:28 No chapter prefixes in section numbers Aditya Mahajan
@ 2011-06-02 3:28 ` Wolfgang Schuster
2011-06-03 4:40 ` Aditya Mahajan
2011-06-03 19:43 ` Mathieu DUPONT
0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2011-06-02 3:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: No chapter prefixes in section numbers
2011-06-02 3:28 ` Wolfgang Schuster
@ 2011-06-03 4:40 ` Aditya Mahajan
2011-06-03 19:43 ` Mathieu DUPONT
1 sibling, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2011-06-03 4:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: No chapter prefixes in section numbers
2011-06-02 3:28 ` Wolfgang Schuster
2011-06-03 4:40 ` Aditya Mahajan
@ 2011-06-03 19:43 ` Mathieu DUPONT
2011-06-04 12:35 ` Wolfgang Schuster
2011-06-19 8:02 ` Wolfgang Schuster
1 sibling, 2 replies; 9+ messages in thread
From: Mathieu DUPONT @ 2011-06-03 19:43 UTC (permalink / raw)
To: ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 1736 bytes --]
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.wolfgang@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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2617 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: No chapter prefixes in section numbers
2011-06-03 19:43 ` Mathieu DUPONT
@ 2011-06-04 12:35 ` Wolfgang Schuster
2011-06-05 23:20 ` Mathieu Dupont
2011-06-19 8:02 ` Wolfgang Schuster
1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-06-04 12:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 710 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1733 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: No chapter prefixes in section numbers
2011-06-03 19:43 ` Mathieu DUPONT
2011-06-04 12:35 ` Wolfgang Schuster
@ 2011-06-19 8:02 ` Wolfgang Schuster
2011-06-19 23:42 ` Mathieu Dupont
1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-06-19 8:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 476 bytes --]
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
[-- Attachment #1.2.1: Type: text/html, Size: 1432 bytes --]
[-- Attachment #1.2.2: reference.pdf --]
[-- Type: application/pdf, Size: 20722 bytes --]
[-- Attachment #1.2.3: Type: text/html, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: No chapter prefixes in section numbers
2011-06-19 8:02 ` Wolfgang Schuster
@ 2011-06-19 23:42 ` Mathieu Dupont
0 siblings, 0 replies; 9+ messages in thread
From: Mathieu Dupont @ 2011-06-19 23:42 UTC (permalink / raw)
To: schuster.wolfgang, ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 792 bytes --]
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.wolfgang@googlemail.com
Date: Sun, 19 Jun 2011 10:02:34 +0200
CC: mathieudupont@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
[-- Attachment #1.2: Type: text/html, Size: 1909 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-06-19 23:42 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-02 0:28 No chapter prefixes in section numbers Aditya Mahajan
2011-06-02 3:28 ` Wolfgang Schuster
2011-06-03 4:40 ` Aditya Mahajan
2011-06-03 19:43 ` Mathieu DUPONT
2011-06-04 12:35 ` Wolfgang Schuster
2011-06-05 23:20 ` Mathieu Dupont
2011-06-06 10:44 ` Wolfgang Schuster
2011-06-19 8:02 ` Wolfgang Schuster
2011-06-19 23:42 ` Mathieu Dupont
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).