From: Sietse Brouwer <sbbrouwer@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 14:48:28 +0200 [thread overview]
Message-ID: <CAF=dkzx_0F09=5zJ_Vu1b7hHm6hcHoY_UqQ6UrM8XjSs_cnZpA@mail.gmail.com> (raw)
In-Reply-To: <505467D9.2070703@gyza.cz>
Hi Jaroslav,
> While I was looking, I could not find it. I wanted to put your example into
> the wiki, but the wiki shows the numbers and hidden sections, so I did not
> there yet.
That might be because the wiki uses mkii by default; to use mkiv write
<context mode=mkiv>
If you can't get an example to work at all, simply write the code inside
<texcode>...</texcode>,
instead. The picture of the output is nice to have, but not essential.
The code is still useful.
Cheers,
Sietse
> Thanx Wolfgang.
> Thank you. Everything works.
> While I was looking, I could not find it. I wanted to put your example into
> the wiki, but the wiki shows the numbers and hidden sections, so I did not
> there yet.
>
> Thanks again
> Jaroslav
On Sat, Sep 15, 2012 at 1:34 PM, Jaroslav Hajtmar <hajtmar@gyza.cz> wrote:
> Thanx Wolfgang.
> Thank you. Everything works.
> While I was looking, I could not find it. I wanted to put your example into
> the wiki, but the wiki shows the numbers and hidden sections, so I did not
> there yet.
>
> Thanks again
> Jaroslav
>
>
> Dne 15.9.2012 12:37, Wolfgang Schuster napsal(a):
>
>> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-09-15 12:48 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
2012-09-15 11:34 ` Jaroslav Hajtmar
2012-09-15 12:48 ` Sietse Brouwer [this message]
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='CAF=dkzx_0F09=5zJ_Vu1b7hHm6hcHoY_UqQ6UrM8XjSs_cnZpA@mail.gmail.com' \
--to=sbbrouwer@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).