ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: hajtmar@gyza.cz, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: View all numbers of sub(...)section
Date: Sat, 15 Sep 2012 12:37:22 +0200	[thread overview]
Message-ID: <5995E0D6-0268-41EA-84BC-ABBCB9D478DE@gmail.com> (raw)
In-Reply-To: <50544E7F.6070207@gyza.cz>


Am 15.09.2012 um 11:46 schrieb Jaroslav Hajtmar <hajtmar@gyza.cz>:

> Hello ConTeXist.
> Is there possibility view all subsubsection number (ie in format 2.3.4 - it mean with section and also subsection number) without \section{} and \subsection{} command using previously?
> 
> I need to start a separate section number from a certain number (inserted into an existing document)
> 
> Thanx Jaroslav Hajtmar
> 
> Here is my example:
> 
> 
> \setupheadnumber[section][2]
> \setupheadnumber[subsection][3] %
> \setupheadnumber[subsubsection][4] %
> \setuppagenumber[number=234]
> 
> \starttext
> 
> %\section{} % I can't view section here
> 
> %\subsection{} % I can't view subsection here too
> 
> \subsubsection{TEST}
> 
> I would like get 2.3.5 TEST
> 
> blablabla
> 
> \stoptext

How about this:

\setupheadnumber[section]      [1]
\setupheadnumber[subsection]   [2]
\setupheadnumber[subsubsection][4]

\setuphead[section,subsection][placehead=hidden]
\setuphead[subsubsection]     [placehead=yes]

\starttext

\section{}

\subsection{}

\subsubsection{TEST}

\stoptext

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
___________________________________________________________________________________


  reply	other threads:[~2012-09-15 10:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-15  9:46 Jaroslav Hajtmar
2012-09-15 10:37 ` Wolfgang Schuster [this message]
2012-09-15 11:34   ` Jaroslav Hajtmar
2012-09-15 12:48     ` Sietse Brouwer
2012-09-15 14:36       ` Jaroslav Hajtmar
2012-09-15 16:11         ` Jaroslav Hajtmar
2012-09-15 16:23           ` Aditya Mahajan
2012-09-15 17:38             ` Jaroslav Hajtmar

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=5995E0D6-0268-41EA-84BC-ABBCB9D478DE@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=hajtmar@gyza.cz \
    --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).