Re: [NTG-context] How not to print the chapter number

2015-08-07 Thread Eric Détrez

Le 07-08-2015 15:04, Eric Détrez a écrit :

I wish to print my texte as

I Foo

1 Bar one

1.1 barbar one

1.2 barbar two

2 Bar two

2.1 foofoo one

2.2 foofoo two

I don't want the Roman I printed in the numbering.

With contextmark II I just added
\setupsection[section-3][previousnumber=no]
but it doesn't seem to work in mark IV.

Is there a way to do it ?


An answer (in the mailing-list archives) and also in the wiki (I didn't 
read it well enough)


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


\starttext
\chapter{Eric}
\section{Foo 1}
\subsection{Bar one}
\subsubsection{Barbar one }
\subsubsection{Barbar two}
\subsection{Bar two}
\subsubsection{Barbar one}
\subsubsection{Barbar two}
\section{Foo 2}
\subsection{Bar one}
\subsubsection{Barbar one}
\subsubsection{Barbar two}
\stoptext


As once you changed one you have to change the lower ones ...




--
Eric Détrez
Informatique
Lycée Faidherbe, Lille
http://eric-detrez.fr
___
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] How not to print the chapter number

2015-08-07 Thread Tomas Hala
Hello Eric,

try the following:

\definehead[mysect][section]
\setuphead[mysect][number=no]

\starttext
\mysect{Foo}
\subsection{Bar one}
\subsubsection{Barbar one}
\subsubsection{Barbar two}
\stoptext

Best wishes,

Tomas


Fri, Aug 07, 2015 ve 03:04:04PM +0200 Eric Détrez napsal(a):
# I wish to print my texte as
# 
# I Foo
# 
# 1 Bar one
# 
# 1.1 barbar one
# 
# 1.2 barbar two
# 
# 2 Bar two
# 
# 2.1 foofoo one
# 
# 2.2 foofoo two
# 
# I don't want the Roman I printed in the numbering.
# 
# With contextmark II I just added
# \setupsection[section-3][previousnumber=no]
# but it doesn't seem to work in mark IV.
# 
# Is there a way to do it ?
# 
# 
# -- 
# Eric Détrez
# Informatique
# Lycée Faidherbe, Lille
# http://eric-detrez.fr
# 
___
# 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
# 
___

 Tomáš Hála

Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno,  tel. +420 545 13 22 28

http://akela.mendelu.cz/~thala
___
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] How not to print the chapter number

2015-08-07 Thread Eric Détrez

I wish to print my texte as

I Foo

1 Bar one

1.1 barbar one

1.2 barbar two

2 Bar two

2.1 foofoo one

2.2 foofoo two

I don't want the Roman I printed in the numbering.

With contextmark II I just added
\setupsection[section-3][previousnumber=no]
but it doesn't seem to work in mark IV.

Is there a way to do it ?


--
Eric Détrez
Informatique
Lycée Faidherbe, Lille
http://eric-detrez.fr
___
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
___