View all numbers of sub(...)section
![](https://secure.gravatar.com/avatar/af13db75aa1c24fee635c74fecf93090.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/27c34cb91f1e92bd850fe60b3d9ef336.jpg?s=120&d=mm&r=g)
Am 15.09.2012 um 11:46 schrieb Jaroslav Hajtmar
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
![](https://secure.gravatar.com/avatar/af13db75aa1c24fee635c74fecf93090.jpg?s=120&d=mm&r=g)
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
: 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
![](https://secure.gravatar.com/avatar/1930c667fbd3884fd581e95eb4d5b15c.jpg?s=120&d=mm&r=g)
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
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
: 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/af13db75aa1c24fee635c74fecf93090.jpg?s=120&d=mm&r=g)
Thanx Sietse. I wikified it! (http://wiki.contextgarden.net/Command/setuphead). This is my first attempt :-). I finally get to it. It's very simple. I'll try over there now and give good advice. Jaroslav Hajtmar Dne 15.9.2012 14:48, Sietse Brouwer napsal(a):
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
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
: 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/af13db75aa1c24fee635c74fecf93090.jpg?s=120&d=mm&r=g)
Hello Wolfgang, I feel that Your solution insert some vertical space above subsubsection text. Is it possible to get rid of it somehow? I try \removeunwantedspaces, \blank[back] etc., but without efect. Thanx Jaroslav Dne 15.9.2012 16:36, Jaroslav Hajtmar napsal(a):
Thanx Sietse. I wikified it! (http://wiki.contextgarden.net/Command/setuphead). This is my first attempt :-). I finally get to it. It's very simple. I'll try over there now and give good advice.
Jaroslav Hajtmar
Dne 15.9.2012 14:48, Sietse Brouwer napsal(a):
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
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
: 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
Try \setuphead[...][placehead=empty] Aditya On Sat, 15 Sep 2012, Jaroslav Hajtmar wrote:
Hello Wolfgang, I feel that Your solution insert some vertical space above subsubsection text. Is it possible to get rid of it somehow? I try \removeunwantedspaces, \blank[back] etc., but without efect.
Thanx Jaroslav
Dne 15.9.2012 16:36, Jaroslav Hajtmar napsal(a):
Thanx Sietse. I wikified it! (http://wiki.contextgarden.net/Command/setuphead). This is my first attempt :-). I finally get to it. It's very simple. I'll try over there now and give good advice.
Jaroslav Hajtmar
Dne 15.9.2012 14:48, Sietse Brouwer napsal(a):
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
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
: 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 ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/af13db75aa1c24fee635c74fecf93090.jpg?s=120&d=mm&r=g)
Aditya, thankx, BUT here is correction of my previous statement: Wolfgang's solution: \setuphead [section, subsection] [placehead = hidden] works correctly and does not insert any vertical space!!! Unfortunately, it works in my minimal example only, but in my real application, this option does not work because the title added another level of numbering. In my real application works properly choice: \setuphead [section, subsection] [placehead = no], but that in turn inserts vertical space above the subsubsection title. Aditya's option \setuphead [section, subsection] [placehead = empty] for me cause freezing LuaTEX. (I compile MkIV TL2010, because my real source application is now with Standalone (minimals) version incompatible) Jaroslav Hajtmar Dne 15.9.2012 18:23, Aditya Mahajan napsal(a):
Try \setuphead[...][placehead=empty]
Aditya
On Sat, 15 Sep 2012, Jaroslav Hajtmar wrote:
Hello Wolfgang, I feel that Your solution insert some vertical space above subsubsection text. Is it possible to get rid of it somehow? I try \removeunwantedspaces, \blank[back] etc., but without efect.
Thanx Jaroslav
Dne 15.9.2012 16:36, Jaroslav Hajtmar napsal(a):
Thanx Sietse. I wikified it! (http://wiki.contextgarden.net/Command/setuphead). This is my first attempt :-). I finally get to it. It's very simple. I'll try over there now and give good advice.
Jaroslav Hajtmar
Dne 15.9.2012 14:48, Sietse Brouwer napsal(a):
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
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
: > 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 ___________________________________________________________________________________
___________________________________________________________________________________
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 ___________________________________________________________________________________
participants (4)
-
Aditya Mahajan
-
Jaroslav Hajtmar
-
Sietse Brouwer
-
Wolfgang Schuster