* Table of Content
@ 2021-02-11 11:11 Ursula Hermann
2021-02-12 14:43 ` Pablo Rodriguez
0 siblings, 1 reply; 7+ messages in thread
From: Ursula Hermann @ 2021-02-11 11:11 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 995 bytes --]
Dear List!
I did this example, which works perfect. If i would like to take a new page after the Table of Content, is \page the right way?
% mode=mkiv
\setuppapersize[A7][A7]
\language[de]
%list the "subject" sections in the ToC but don't modify the "section" counter:
\setuphead[subject] [incrementnumber=list]
%"width": distance between number and text in the ToC entry, "margin" : indent of ToC entry relative to left page margin
\setuplist[section][width=1.5em]
\setuplist[subsection][width=2.5em, margin=1.5em]
\setuplist[subject]
\setuplist[subject, section, subsection]
\setupcombinedlist[content][list={subject,section,subsection}, alternative=c]
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][5]
\page
\subject{Vorwort}
\page
\setupuserpagenumber[numberconversion=numbers]
\setcounter[userpage][12]
\section{One}
\subsection{Sec A}
\section{Two}
\subject{Bibliography}
\stoptext
Uschi
[-- Attachment #1.2: Type: text/html, Size: 1989 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Table of Content
2021-02-11 11:11 Table of Content Ursula Hermann
@ 2021-02-12 14:43 ` Pablo Rodriguez
[not found] ` <44f0a7dd-c259-b100-ee44-b9fecffcd95e@xs4all.nl>
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2021-02-12 14:43 UTC (permalink / raw)
To: ntg-context
On 2/11/21 12:11 PM, Ursula Hermann wrote:
> Dear List!
>
>
> I did this example, which works perfect. If i would like to take a new
> page after the Table of Content, is \page the right way?
Hi Ursula,
"\page\null\page" does the trick in your case.
"\setuppagenumber[alternative=doublesided]" is a much more consistent
approach, but I don’t know what your requirements might be.
Just in case it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Table of Content
[not found] ` <44f0a7dd-c259-b100-ee44-b9fecffcd95e@xs4all.nl>
@ 2021-02-12 15:52 ` Pablo Rodriguez
2021-02-12 16:09 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2021-02-12 15:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 2/12/21 4:40 PM, Hans Hagen wrote:
> On 2/12/2021 3:43 PM, Pablo Rodriguez wrote:
>> [...]
>> "\page\null\page" does the trick in your case.
>
> \page[left,empty,right] etc
Hans,
I never thought this were possible:
\starttext
\page[left,empty,right,
left,empty,right,
left,empty,right]
\stoptext
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Table of Content
2021-02-12 15:52 ` Pablo Rodriguez
@ 2021-02-12 16:09 ` Hans Hagen
0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2021-02-12 16:09 UTC (permalink / raw)
To: mailing list for ConTeXt users, Pablo Rodriguez
On 2/12/2021 4:52 PM, Pablo Rodriguez wrote:
> On 2/12/21 4:40 PM, Hans Hagen wrote:
>> On 2/12/2021 3:43 PM, Pablo Rodriguez wrote:
>>> [...]
>>> "\page\null\page" does the trick in your case.
>>
>> \page[left,empty,right] etc
>
> Hans,
>
> I never thought this were possible:
>
> \starttext
> \page[left,empty,right,
> left,empty,right,
> left,empty,right]
> \stoptext
pretty old feature ... there are more options
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Table of content
2005-12-26 11:46 ` Hans Hagen
@ 2005-12-26 19:40 ` Willi Egger
0 siblings, 0 replies; 7+ messages in thread
From: Willi Egger @ 2005-12-26 19:40 UTC (permalink / raw)
Hans, bedankt, dat werkt!
Willi
Hans Hagen wrote:
> Willi Egger wrote:
>
>> Dear ConTeXters,
>>
>> At the moment I am bit at a loss.
>> I should prepare a document, wherein there will be a difference
>> between one chapter title and the respective row in the table of
>> contents. What it should become looks as follows:
>>
>> \chapter{This is the title of the chapter}
>>
>> In the table of contents it should show up as:
>>
>> Epilog: This is the title of the chapter
>>
>> So the question is, how to get the word Epilog into the table of
>> contents in front of the chapter title, neatly aligned with the rest
>> of the table of contents.
>
>
> each time ... then hook it into the list command
>
> once: then do something like:
>
> \def\Epilog{Epilog: }
>
> \placelist[chapter]
>
> \def\Epilog{}
>
> \chapter{\Epilog This...}
>
> Hans
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Table of content
2005-12-25 22:32 Table of content Willi Egger
@ 2005-12-26 11:46 ` Hans Hagen
2005-12-26 19:40 ` Willi Egger
0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2005-12-26 11:46 UTC (permalink / raw)
Willi Egger wrote:
> Dear ConTeXters,
>
> At the moment I am bit at a loss.
> I should prepare a document, wherein there will be a difference
> between one chapter title and the respective row in the table of
> contents. What it should become looks as follows:
>
> \chapter{This is the title of the chapter}
>
> In the table of contents it should show up as:
>
> Epilog: This is the title of the chapter
>
> So the question is, how to get the word Epilog into the table of
> contents in front of the chapter title, neatly aligned with the rest
> of the table of contents.
each time ... then hook it into the list command
once: then do something like:
\def\Epilog{Epilog: }
\placelist[chapter]
\def\Epilog{}
\chapter{\Epilog This...}
Hans
^ permalink raw reply [flat|nested] 7+ messages in thread
* Table of content
@ 2005-12-25 22:32 Willi Egger
2005-12-26 11:46 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Willi Egger @ 2005-12-25 22:32 UTC (permalink / raw)
Dear ConTeXters,
At the moment I am bit at a loss.
I should prepare a document, wherein there will be a difference between
one chapter title and the respective row in the table of contents. What
it should become looks as follows:
\chapter{This is the title of the chapter}
In the table of contents it should show up as:
Epilog: This is the title of the chapter
So the question is, how to get the word Epilog into the table of
contents in front of the chapter title, neatly aligned with the rest of
the table of contents.
Cheers
Willi
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-02-12 16:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-11 11:11 Table of Content Ursula Hermann
2021-02-12 14:43 ` Pablo Rodriguez
[not found] ` <44f0a7dd-c259-b100-ee44-b9fecffcd95e@xs4all.nl>
2021-02-12 15:52 ` Pablo Rodriguez
2021-02-12 16:09 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2005-12-25 22:32 Table of content Willi Egger
2005-12-26 11:46 ` Hans Hagen
2005-12-26 19:40 ` Willi Egger
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).