ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tomas Hala <tomas.hala@mendelu.cz>
To: info@eric-detrez.fr, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How not to print the chapter number
Date: Fri, 7 Aug 2015 15:35:45 +0200	[thread overview]
Message-ID: <20150807133545.GA22828@akela.mendelu.cz> (raw)
In-Reply-To: <134228bac3bb4c624e5c6fef9fe9ef6a@eric-detrez.fr>

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
___________________________________________________________________________________

  reply	other threads:[~2015-08-07 13:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07 13:04 Eric Détrez
2015-08-07 13:35 ` Tomas Hala [this message]
2015-08-07 14:00 ` Eric Détrez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150807133545.GA22828@akela.mendelu.cz \
    --to=tomas.hala@mendelu.cz \
    --cc=info@eric-detrez.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).