ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* View all numbers of sub(...)section
@ 2012-09-15  9:46 Jaroslav Hajtmar
  2012-09-15 10:37 ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Jaroslav Hajtmar @ 2012-09-15  9:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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




___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: View all numbers of sub(...)section
  2012-09-15  9:46 View all numbers of sub(...)section Jaroslav Hajtmar
@ 2012-09-15 10:37 ` Wolfgang Schuster
  2012-09-15 11:34   ` Jaroslav Hajtmar
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2012-09-15 10:37 UTC (permalink / raw)
  To: hajtmar, mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: View all numbers of sub(...)section
  2012-09-15 10:37 ` Wolfgang Schuster
@ 2012-09-15 11:34   ` Jaroslav Hajtmar
  2012-09-15 12:48     ` Sietse Brouwer
  0 siblings, 1 reply; 8+ messages in thread
From: Jaroslav Hajtmar @ 2012-09-15 11:34 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: View all numbers of sub(...)section
  2012-09-15 11:34   ` Jaroslav Hajtmar
@ 2012-09-15 12:48     ` Sietse Brouwer
  2012-09-15 14:36       ` Jaroslav Hajtmar
  0 siblings, 1 reply; 8+ messages in thread
From: Sietse Brouwer @ 2012-09-15 12:48 UTC (permalink / raw)
  To: hajtmar, mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: View all numbers of sub(...)section
  2012-09-15 12:48     ` Sietse Brouwer
@ 2012-09-15 14:36       ` Jaroslav Hajtmar
  2012-09-15 16:11         ` Jaroslav Hajtmar
  0 siblings, 1 reply; 8+ messages in thread
From: Jaroslav Hajtmar @ 2012-09-15 14:36 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

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<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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: View all numbers of sub(...)section
  2012-09-15 14:36       ` Jaroslav Hajtmar
@ 2012-09-15 16:11         ` Jaroslav Hajtmar
  2012-09-15 16:23           ` Aditya Mahajan
  0 siblings, 1 reply; 8+ messages in thread
From: Jaroslav Hajtmar @ 2012-09-15 16:11 UTC (permalink / raw)
  To: ntg-context

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<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
> ___________________________________________________________________________________ 
>
>

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: View all numbers of sub(...)section
  2012-09-15 16:11         ` Jaroslav Hajtmar
@ 2012-09-15 16:23           ` Aditya Mahajan
  2012-09-15 17:38             ` Jaroslav Hajtmar
  0 siblings, 1 reply; 8+ messages in thread
From: Aditya Mahajan @ 2012-09-15 16:23 UTC (permalink / raw)
  To: hajtmar, mailing list for ConTeXt users

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<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
>> ___________________________________________________________________________________ 
>> 
>
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: View all numbers of sub(...)section
  2012-09-15 16:23           ` Aditya Mahajan
@ 2012-09-15 17:38             ` Jaroslav Hajtmar
  0 siblings, 0 replies; 8+ messages in thread
From: Jaroslav Hajtmar @ 2012-09-15 17:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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<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
>>> ___________________________________________________________________________________ 
>>>
>>
>> ___________________________________________________________________________________ 
>>
>> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-09-15 17:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-15  9:46 View all numbers of sub(...)section Jaroslav Hajtmar
2012-09-15 10:37 ` Wolfgang Schuster
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

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).