Re: [NTG-context] Chapter numbering that does not follow a regular pattern

2020-07-13 Thread Julian Fox
er title with number > > > > second chapter title unnumbered > > > > 2 Second chapter title with number > > > > 3 Third chapter title with number > > Use \title (or \starttitle[title={}]) for unnumbered and \chapter > (\startchaper) for numbered. > > If y

Re: [NTG-context] Chapter numbering that does not follow a regular pattern

2020-07-13 Thread Henning Hraban Ramm
ed > > 2 Second chapter title with number > > 3 Third chapter title with number Use \title (or \starttitle[title={}]) for unnumbered and \chapter (\startchaper) for numbered. If you need the unnumbered chapters in your ToC, you must add them like \setupcombinedlist[content]

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-06 Thread jbf
___ You may want the new /mychapter/ head to appear in the TOC and pdf bookmarks as well, so take a look at /\setupcombinedlist/ and /\placebookmarks/. -- Rik ___ If your

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-06 Thread Rik Kabel
at /\setupcombinedlist/ and /\placebookmarks/. -- Rik ___ 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

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Pablo Rodriguez
ts  0 > > In fact the ToC appears on page 1, but regardless of the page it is > appearing on, is there a way I can prevent that line from being produced > as part of the ToC? I assume it would be something I need to do in the > following setup: > > \setupcombinedlist >

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Henning Hraban Ramm
he ToC: > > Contents 0 > > In fact the ToC appears on page 1, but regardless of the page it is appearing > on, is there a way I can prevent that line from being produced as part of the > ToC? I assume it would be something I need to do in the following setup: > &g

[NTG-context] TOC- removing Contents 0

2020-04-21 Thread jbf
of the page it is appearing on, is there a way I can prevent that line from being produced as part of the ToC? I assume it would be something I need to do in the following setup: \setupcombinedlist   [content]   [list={chapter,section,title,subject,subsection}] \setuplist[chapter][style=normal

Re: [NTG-context] Indenting entries in the table of contents?

2020-03-21 Thread Richard Mahoney | Indica et Buddhica
=18pt,style={\tf}] \setupcombinedlist[content][alternative=c,aligntitle=no,width=2.5em,li st={part,chapter,section,subsection}] Best, Richard -- Richard Mahoney | Indica et Buddhica Littledene Bay Road Oxford NZ T: +6433121699 M: +64210640216 r.maho...@indica-et-buddhica.org https

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-03 Thread Hans Hagen
\stopXX{\stopsubsubsubsubsubsection} \def\startXXX{\startsubsubsubsubsubsubsection} \def\stopXXX{\stopsubsubsubsubsubsubsection} \def\start{\startsubsubsubsubsubsubsubsection} \def\stop{\stopsubsubsubsubsubsubsubsection} \setupcombinedlist[content][list={chapter,     section,     sub

[NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-02 Thread Daniel Haid
topsubsubsubsubsubsection} \def\startXXX{\startsubsubsubsubsubsubsection} \def\stopXXX{\stopsubsubsubsubsubsubsection} \def\start{\startsubsubsubsubsubsubsubsection} \def\stopXXXX{\stopsubsubsubsubsubsubsubsection} \setupcombinedlist[content][list={chapter, section, subsection,

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
bottomheight=1mm, footerdistance=10mm] \usetypescript[pagella] \setupbodyfont[pagella,12pt] \setupcolors[state=start] \setupfootertexts[section][] \setupfooter[alternative=,style=\bf\em] \setuppagenumbering[alternative=,location={footer,right},style=\bf\em] \setcounter[userpage][0] \setu

[NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
=,style=\bf\em] \setuppagenumbering[alternative=,location={footer,right},style=\bf\em] \setcounter[userpage][0] \setupcombinedlist[content][level=1] \setupexternalfigures[directory={images}] \stopenvironment ___ If your

Re: [NTG-context] local ToC after each chapter title

2019-01-10 Thread Otared Kavian
le leads to a "TeX capacity exceeded" error: > > \setupcombinedlist[content][% > list={chapter,section},] > > \setuplist[chapter][ > before=, > after={\placecombinedlist[content][criterium=local]},] > > \starttext > > \completecontent > > \chapter{One} > > \

[NTG-context] local ToC after each chapter title

2019-01-10 Thread Henning Hraban Ramm
Hello again, in my current book project I need a local ToC after each chapter title. What’s wrong with my use of "after"? The following example leads to a "TeX capacity exceeded" error: \setupcombinedlist[content][% list={chapter,section},] \setuplist[chapter]

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
] %\setupuserpagenumber[numberconversion=romannumerals] %\setuppagenumbering[alternative=doublesided] %\setuppagenumber[number=1] %\stopsectionblockenvironment \setupcombinedlist[content][list={title,chapter}]%,section,subsection}] \setuplist[chapter, title][width=5mm, style=,textstyle={\ss\bf }]%,after={\blank

Re: [NTG-context] unwanted page break in contents

2018-08-26 Thread Wolfgang Schuster
. Is it possible to list them continuously? Best regards, Dalyoung \starttext \definepagebreak[emptyodd][yes,header, footer, odd] \setuphead[chapter][page=emptyodd] \setuphead[title][incrementnumber=list] \setupcombinedlist[content][list={title,chapter,section,subsection}] \setuplist[chapter, title

[NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
, Dalyoung \starttext \definepagebreak[emptyodd][yes,header, footer, odd] \setuphead[chapter][page=emptyodd] \setuphead[title][incrementnumber=list] \setupcombinedlist[content][list={title,chapter,section,subsection}] \setuplist[chapter, title][width=5mm, style=,textcommand={\ss\bf

Re: [NTG-context] Align TOC section numbers flushright

2018-06-26 Thread Idris Samawi Hamid ادريس سماوي حامد
are valid for \setupcombinedlist. Ah, our npp-4-context config files for calltips need updating, I have \definecombinedlist [NAME] [LIST] [INHERIT: \setuplist] but that should be \definecombinedlist [NAME] [LIST] [INHERIT: \setupcombinedlist] I have the changes only in my local files. Ah, ok

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
which values are valid for \setupcombinedlist. Ah, our npp-4-context config files for calltips need updating, I have \definecombinedlist [NAME] [LIST] [INHERIT: \setuplist] but that should be \definecombinedlist [NAME] [LIST] [INHERIT: \setupcombinedlist] I have the changes only in my local

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
which values are valid for \setupcombinedlist. Ah, our npp-4-context config files for calltips need updating, I have \definecombinedlist [NAME] [LIST] [INHERIT: \setuplist] but that should be \definecombinedlist [NAME] [LIST] [INHERIT: \setupcombinedlist] Many thanks. Idris -- Idris Samawi Hamid

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
. \setuplist [chapter] [alternative=c, width=2.8em, distance=1em, numberalign=flushright] The attached file shows which values are valid for \setupcombinedlist. Wolfgang i-list.pdf Description: Adobe PDF document

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
etuptyping[bodyfont=9pt, numbering=line, before=\blank, after=\blank] \setupitemize[paragraph, packed, broad] % \setupcombinedlist[content][alternative=c,aligntitle=yes,interaction=pagenumber] \setuplist[section][margin=2em,] \setuplist[subsection][margin=5em,] \setuplist[subsubsection][margin=8em,

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
ection,subsubsection] [alternative=c,style=bold] \setupcombinedlist[content] [list={subject,section,subsection,subsubsection}] % \placecontent % line 12 \placelist[content] % line 13 [subject,section,subsection,subsubsection] \stop \stoptitle \page \startsection[title={Section One},reference={

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
ection,subsection,subsubsection]   [alternative=c,style=bold] \setupcombinedlist[content]   [list={subject,section,subsection,subsubsection}] \placecontent \placelist[content] [subject,section,subsection,subsubsection] \stop \stoptitle \page \startsection[title={Section One},reference={}] new page

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
Idris == \setuphead[subject] [incrementnumber=yes, % keep track of the number number=no]% but don't show it \starttext % Approach I \starttitle[title={Table of Contents},reference={}] \start \setuplist[subject,section,subsection,subsubsection] [alternative=c,style=bold] \setupcombin

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
[title={Table of Contents},reference={}] \start \setupcombinedlist[content] [list={subject,section,subsection,subsubsection},alternative=c,style=bold] \setupinterlinespace[line=1.4ex] \placecontent \stop \stoptitle \page \startsection[title={Section One},reference={}] new page \page \stopsection

[NTG-context] Table of contents: style and subject

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
show it \starttext % Approach I \starttitle[title={Table of Contents},reference={}] \start \setupcombinedlist[content] [list={subject,section,subsection,subsubsection},alternative=c,style=bold] \setupinterlinespace[line=1.4ex] \placecontent \stop \stoptitle \page \startsection[title={Section One

Re: [NTG-context] TOC and appendices

2018-01-08 Thread Procházka Lukáš Ing .
TZ.sty \definestructureconversionset[Sec2A][,,A][n] %\definehead[SectionA][section] %\definehead[SubSectionA][subsection] %\definehead[SubSubSectionA][subsubsection] %\setuphead[SectionA,SubSectionA,SubSubSectionA][sectionconversionset=Sec2A] %\setupcombinedlist[content][list={chapter,section

[NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Stephens, Kenny
,section,subsection] [sectionconversionset=appendixset] \setuphead [chapter][style={\rm\bf}] \setuphead [section][style={\sans}] \setuphead [subsection] [style={\sl}] \stopsectionblockenvironment \setupcombinedlist [content] [list={chapter,section,subsection}] \setuplist [chapter

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
t; > 2017-05-12 22:16 GMT+02:00 cryo shock <axteff...@gmail.com>: > >> I forgot to add that I also tried a modified \setuplist: >> >> \setuplist[subject][width=2cm,margin=2cm] >> and >> \setuplist[subject][margin=2cm] >> >> I also added the

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
ct][margin=2cm] > > I also added the following line to the component: > > \setupcombinedlist[content][list={chapter,subject, > subsubject,section,subsection,slide}] > > Yet the Toc page stays blank... > > 2017-05-12 22:08 GMT+02:00 cryo shock <axteff...@gmail.com>: > >>

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
I forgot to add that I also tried a modified \setuplist: \setuplist[subject][width=2cm,margin=2cm] and \setuplist[subject][margin=2cm] I also added the following line to the component: \setupcombinedlist[content][list={chapter,subject,subsubject,section,subsection,slide}] Yet the Toc page

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
[chapter] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [chapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
hapter] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [chapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntit

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
, margin=0.6em] \setuplist[subject][margin=1.5em] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [chapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c, interaction=all] \setuphead [chapter

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
uplist[section][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [c

[NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
=0.6em] \setuplist[subject][margin=1.5em] \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsect ion}] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [chapter] [after={\blank[line]}] \setupcombinedlist [content

[NTG-context] Set Contents

2016-07-13 Thread Fabrice Couvreur
[section] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c] \starttext \title [content] {Sommaire} \placecontent \startchapter[title={First chapter}] \startsection[title={Activity},number=no] \stopsection \startsection[title={Second section

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
gin=0.6em] \setuplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=romannumerals] You’re

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
ection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=roman

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
bsection][chapter,section] >> \setupinteractionscreen[option=bookmark]\starttext >> \setuplist[chapter] >> \setuplist[section][width=1em] >> \setuplist[subsection][width=1.5em, margin=0.6em] >> \setuplist[subject][margin=1.5em] >> \setuppagenumbering >> \setupcom

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
rget this line! >> % make chapter, section bookmarks visible when opening document >> \placebookmarks[chapter,section,subsection][chapter,section] >> \setupinteractionscreen[option=bookmark]\starttext >> \setuplist[chapter] >> \setuplist[section][width=1em] >> \set

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
ction][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupu

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
uplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=romannumerals] You’re l

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-24 Thread Wolfgang Schuster
bering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=romannumerals] You’re looking for the \setupuserpagenumber command (but \setuppagenumber

[NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-24 Thread Ursula Hermann
,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section

[NTG-context] listalternative and filler throws error

2016-05-05 Thread Marco Patzer
Hi, the following used to work with 2014.02.14 17:07 but a current 2016.05.01 09:52 throws the error: Use of \syst_helpers_set_local_hsize_yes doesn't match its definition \definefiller [myfiller] \setupcombinedlist [content] [alternative=c] \setuplistalternative [c] [filler={\filler[myfiller

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Wolfgang Schuster
merals, ] % this alignment has no effect in 0.81 \define[1]\ChapterListNumbercommand {\simplealignedbox{\listparameter{width}}{flushright}{#1}} \setupcombinedlist[content][list=chapter, alternative=c] \setupcombinedlist[chapter][ before=, distance=0.5cm, width=-0.5cm, margin=2cm, numberc

Re: [NTG-context] tex error in curent beta

2015-10-24 Thread Jan Tosovsky
e MWE: > > > > \setuphead[chapter][ > >alternative=middle, > >before={\blank[force,10mm]}, > >after={\blank[1*line]}, > >style=\bfc, > >numberstyle={\kerncharacters[0.125]\bfa}, > >numbercommand=\groupedcommand{}{\blank[4mm]}, &g

Re: [NTG-context] tex error in curent beta

2015-10-22 Thread Jan Tosovsky
>numberstyle={\kerncharacters[0.125]\bfa}, >numbercommand=\groupedcommand{}{\blank[4mm]}, >sectionstopper={.}, >conversion=Romannumerals, > ] > > \define[1]\ChapterListNumbercommand > {\simplealignedbox{\listparameter{width}}{flushright}{#1}} > >

Re: [NTG-context] tex error in curent beta

2015-10-16 Thread Jan Tosovsky
command {\simplealignedbox{\listparameter{width}}{flushright}{#1}} \setupcombinedlist[chapter][ before=, distance=0.5cm, width=-0.5cm, margin=2cm, numbercommand=\ChapterListNumbercommand, pageconversionset=pagenumber, ] \starttext \startfrontmatter \title{TOC} \placecontent

Re: [NTG-context] tex error in curent beta

2015-10-15 Thread Wolfgang Schuster
Jan Tosovsky <mailto:j.tosov...@email.cz> 15. Oktober 2015 um 22:33 Hi Wolfgang, thanks, you are right, I've created this MWE (but not sure if it still makes sense). \setupcombinedlist[chapter][ before=, distance=0.5cm, width=-0.5cm, margin=2cm, numbercommand={\simplealig

Re: [NTG-context] tex error in curent beta

2015-10-15 Thread Jan Tosovsky
bol ->\edef > > \p_symbol {\listparameter \c!symbol > > }\doifelseins... > > \14>:113>:abc ...numbercommand \currentlistsymbol > > > What I can take from the error message is that you have a problem with > the list mechanism. you are right, I'v

Re: [NTG-context] Sectioning and structure

2015-09-13 Thread Fabrice Couvreur
Hi Wolfgang, Is this the best approach ? Thank you. Fabrice \mainlanguage[fr] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [chapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c, interaction=all

[NTG-context] put titles in toc

2015-09-08 Thread John Culleton
] \definelist[chapter] \setuplist[chapter][style=bold] \setuplist[title][style=bold] \setupcombinedlist[content][chapter,title][level=title,alternative d,aligntitle=yes] \starttext \noheaderandfooterlines \title{Contents} \placecontent \page[yes] \chapter{foo} \input knuth.tex \page[yes] \title{bar

[NTG-context] Formatting TOC

2015-08-03 Thread robheus
?) Greetings, Rob The code I use now, is below: \setupheadtext[content=INHOUDSOPGAVE] % Kop boven de inhoudsopgave \setuphead[title][align=flushleft] \definecombinedlist[content][part,chapter] % welke structuur-elementen in de inhoudsopgave komen \setupcombinedlist[content][level=2

[NTG-context] minimum number of dots in lists (TOC, LOF)

2015-05-05 Thread Csikos Bela
Hello list members: I have set up a document showing the table of contents with dots between section titles and page numbers. (\setupcombinedlist[content][level=3,alternative=c]) Some of the titles are longer and between the title and page number only one dot is inserted, which is not nice. Can

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Rob Heusdens
You have to write a working minimal example for further help. Wolfgang So this is the example: \setupinteraction[state=start] \definehead[intro][chapter] \definehead[back][chapter] \definehead[appendix][chapter] \definecombinedlist[content][chapter,intro,appendix,back] \setupcombinedlist

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Wolfgang Schuster
Am 03.02.2015 um 12:43 schrieb Rob Heusdens robh...@xs4all.nl: Remove the line above (the level key down’t work with MkIV) and use \setuplist to set “alternative=c” for the list entries where you want to apply this layout. Wolfgang I commented out the \setupcombinedlist

[NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
don't take the same width. So, some other solution is needed. I tried using the command option, which needs 3 arguments, but could not get it to work. Here is how it looks now: \define[1]\ChapterNumberToc% {Hoofdstuk #1 -- } \definecombinedlist[content][chapter] \setupcombinedlist

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
You have to write your own layout for the complete list entry. When you don’t need hyperlinks for the list entries you can use “alternative=command” instead of “alternative=interactive” for \setuplist. \setupcombinedlist[content][list=chapter] \definefiller[ChapterFiller

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Wolfgang Schuster
. \setupcombinedlist[content][list=chapter] \definefiller[ChapterFiller] \define[3]\ChapterListEntry {\vbox{Hoofdstuk #1 – #2 \filler[ChapterFiller] #3}} \setuplist[chapter][alternative=interactive,command=\ChapterListEntry] \starttext \completecontent \dorecurse{5}{ \chapter {Knuth} \input

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
Remove the line above (the level key down’t work with MkIV) and use \setuplist to set “alternative=c” for the list entries where you want to apply this layout. Wolfgang I commented out the \setupcombinedlist command and placed alternative=c into the other \setuplist entries

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Wolfgang Schuster
% {Hoofdstuk #1 -- } \definecombinedlist[content][chapter] \setupcombinedlist[content][level=4, alternative=c] \setuplist[chapter][headnumber=yes,style=bold,width=8em,numbercommand=\ChapterNumberToc] \starttext \completecontent \dorecurse{5}{ \chapter {Knuth} \input knuth \chapter

Re: [NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
are in the list for the “content” list. To print additional headers which are defined with \definehead in your document you can either use \placelist[chapter,MYHEADER,section,…] instead of \placecontent or you extend the list for “content” with \setupcombinedlist[content][list={chapter,MYHEADER

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
=, beforesection={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page \dorecurse{9

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page \dorecurse{9}{ \startsection[title={Knuth -- \recurselevel}] \input{knuth} \stopsection

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-30 Thread Rob Heusdens
On 01/30/2015 03:18 AM, Rob Heusdens wrote: A right parenthesis ')' shows up as black in the interactive table of contents (which otherwise displays as green). Here is a MWE: \setupcolors[state=start] \setupinteraction[state=start] \definecombinedlist[content][chapter] \setupcombinedlist

[NTG-context] Strange bug in interactive table of content...

2015-01-29 Thread Rob Heusdens
A right parenthesis ')' shows up as black in the interactive table of contents (which otherwise displays as green). Here is a MWE: \setupcolors[state=start] \setupinteraction[state=start] \definecombinedlist[content][chapter] \setupcombinedlist[content][level=4, alternative=c] \setbreakpoints

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-29 Thread Pablo Rodriguez
] \setupcombinedlist[content][level=4, alternative=c] \setbreakpoints[compound] \starttext \completecontent \chapter{Noten bij de digitale (her)uitgave} \chapter{Noten bij de digitale (her)\-uitgave} \chapter{Tries: her)uit} \chapter{Tries: her)ui} \chapter{Tries: er)uit} \stoptext [...] Output

Re: [NTG-context] Simple tocs

2015-01-26 Thread Hans Hagen
also. Using mkiv I came up with this: \startmakeup \setupcombinedlist[content][list={chapter}] \placelist[content] \stopmakeup \startmakeup \setupcombinedlist[content][list={chapter,section}] \completecontent[content] \stopmakeup \startmakeup \null \stopmakeup I get no results at all, just blank

[NTG-context] Simple tocs

2015-01-25 Thread John Culleton
with this: \startmakeup \setupcombinedlist[content][list={chapter}] \placelist[content] \stopmakeup \startmakeup \setupcombinedlist[content][list={chapter,section}] \completecontent[content] \stopmakeup \startmakeup \null \stopmakeup I get no results at all, just blank pages. Any suggestions? -- John Culleton

Re: [NTG-context] how to (re)set section numbers

2015-01-01 Thread j. van den hoff
=yes, number=no] \setuplist[section][width=1.5em] \setuplist[subsection][width=2.25em, margin=1.5em] %`margin' determines alignment \setuplist[subject][margin=1.5em] \setupcombinedlist[content] [list={chapter,section,subsection,subject,subsubject}] \starttext \completecontent \subject

Re: [NTG-context] how to (re)set section numbers

2015-01-01 Thread Wolfgang Schuster
][margin=1.5em] \setupcombinedlist[content] [list={chapter,section,subsection,subject,subsubject}] \starttext \completecontent \subject{this subject messes up the further enumeration of numbered sections} bla \section{this should be sec. 1} bla \subsection{this should be subsec. 1.1} bla

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Rik Kabel
\completecontent and not \placelist[chapter,section], having excluded lower-level sectioning headers via \setupcombinedlist. I am asking if there is a way to take advantage of user-defined or system modes, or section blocks, to accomplish this without requiring explicit markup (silentsection in your example

[NTG-context] Problem with pdf output for FeedARead.com

2014-04-15 Thread Keith McKay
and copyright notice goes here. \setupcombinedlist[content][list={chapter,section,subsection}] \completecontent \page[empty] \setuppagenumbering[state=start,alternative=doublesided,location=footer] \startsection[title={Knuth}] \input knuth\par \stopsection \page \startsection[title={Zapf

[NTG-context] Problems with XML and table of contents

2014-03-27 Thread Xan
] %\setuplist [Fitxa] [width=2em,criterium=all,interaction=all] \newcounter\FitxaNumber \def\fitxa#1% {\doglobal\increment\FitxaNumber \Fitxa{\FitxaNumber}{#1}} \setupcombinedlist[content][list={chapter,section,subsection,Fitxa,tasca},interaction=all,textcolor=black] and \startxmlsetups xml:demo:titol

Re: [NTG-context] Problems with XML and table of contents

2014-03-27 Thread Hans Hagen
,color=green,textcommand=\WORD] %\setuplist [Fitxa] [width=2em,criterium=all,interaction=all] \newcounter\FitxaNumber \def\fitxa#1% {\doglobal\increment\FitxaNumber \Fitxa{\FitxaNumber}{#1}} \setupcombinedlist[content][list={chapter,section,subsection,Fitxa,tasca},interaction=all,textcolor=black

[NTG-context] Feature Request: ToC page number alternative

2014-02-26 Thread Thangalin
,] \setupcombinedlist[content][interaction=all,] \unprotect \define[3]\SectionToCEntry{% \hbox \strc_lists_get_reference_attribute\v!all{% \par \leftaligned\bgroup \hbox to 2em{#3}% \hskip 1em \vtop{\hsize\dimexpr\textwidth-3em\relax#2} \egroup \par% } } \protect

Re: [NTG-context] \setuplist[alternative=inmargin?

2014-02-19 Thread Pablo Rodriguez
or \setuplist in combination with alternative=command. Many thanks for your reply, Wolfgang. After reading strc-lst.mkvi (and trying something), I thought of a different approach: \showframe\showgrid \setupinteraction[state=start] \setupcombinedlist[content][interaction=all] \setuplist[chapter

Re: [NTG-context] Rearrange Table of Contents section page numbers

2014-02-01 Thread Wolfgang Schuster
[TOC] [renderingsetup=list:TOC] % Format the ToC style. \setupcombinedlist[content][ alternative=TOC, ] \starttext \completecontent \startchapter [title=alpha] \stopchapter \startsection[title=alphasec] \stopsection \startchapter

[NTG-context] Rearrange Table of Contents section page numbers

2014-01-31 Thread Thangalin
. \setupcombinedlist[content][ alternative=TOC, ] \starttext \completecontent \startchapter [title=alpha] \stopchapter \startsection[title=alphasec] \stopsection \startchapter [title=beta] \stopchapter \startsection[title=alphasec] \stopsection

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
will be \setuplist. There I have set \setupcombinedlist[content][list=chapter]% [list={chapter,section}] \setupcombinedlist[section][list=section] Why I have to use \let\ChapterTOC\relax is a riddle to me. I want the main toc giving the chapters, whereas in the seperate chapters

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread Wolfgang Schuster
is typeset from the completecontent, so I guess the answer to your question will be \setuplist. There I have set \setupcombinedlist[content][list=chapter]%[list={chapter,section}] \setupcombinedlist[section][list=section] Why I have to use \let\ChapterTOC\relax is a riddle to me. I want

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
I have set\setupcombinedlist[content][list=chapter]% [list={chapter,section}]\setupcombinedlist[section][list=section]Why I have to use \let\ChapterTOC\relax is a riddle to me. I want the main toc giving the chapters, whereas in the seperate chapters the sections therin should appear in their own

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-25 Thread Hans Hagen
when chapters are combined with preface/index titles without numbering and thus aligned improperly: \setupcombinedlist[content][list=chapter, alternative=c] \setupcombinedlist[chapter][ distance=1em, width=1cm, numbercommand={\simplealignedbox{\listparameter{width}}{flushright

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-25 Thread Jan Tosovsky
almost there, but things get complicated when chapters are combined with preface/index titles without numbering and thus aligned improperly: \setupcombinedlist[content][list=chapter, alternative=c] \setupcombinedlist[chapter][ distance=1em, width=1cm, numbercommand

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-24 Thread Jan Tosovsky
/index titles without numbering and thus aligned improperly: \setupcombinedlist[content][list=chapter, alternative=c] \setupcombinedlist[chapter][ distance=1em, width=1cm, numbercommand={\simplealignedbox{\listparameter{width}}{flushright}}, ] \starttext \completecontent

Re: [NTG-context] Linespacing in TOC

2013-11-22 Thread Jan Tosovsky
On 2013-11-20 Hans Hagen wrote: On 11/19/2013 11:48 PM, Jan Tosovsky wrote: I'd like to tweak a default TOC linespacing... I've 'invented' this: \setupcombinedlist[content][list=chapter, alternative=c] \starttext \title{Table of Contents} \setupinterlinespace[line=0.8ex

Re: [NTG-context] Linespacing in TOC

2013-11-22 Thread Hans Hagen
On 11/22/2013 9:44 PM, Jan Tosovsky wrote: On 2013-11-20 Hans Hagen wrote: On 11/19/2013 11:48 PM, Jan Tosovsky wrote: I'd like to tweak a default TOC linespacing... I've 'invented' this: \setupcombinedlist[content][list=chapter, alternative=c] \starttext \title{Table of Contents

[NTG-context] Linespacing in TOC

2013-11-19 Thread Jan Tosovsky
Dear All, I'd like to tweak a default TOC linespacing... I've 'invented' this: \setupcombinedlist[content][list=chapter, alternative=c] \starttext \title{Table of Contents} \setupinterlinespace[line=0.8ex] % too small, just for testing \placecontent \setupinterlinespace[line=2.75ex

Re: [NTG-context] Linespacing in TOC

2013-11-19 Thread Hans Hagen
On 11/19/2013 11:48 PM, Jan Tosovsky wrote: Dear All, I'd like to tweak a default TOC linespacing... I've 'invented' this: \setupcombinedlist[content][list=chapter, alternative=c] \starttext \title{Table of Contents} \setupinterlinespace[line=0.8ex] % too small, just for testing

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-18 Thread Jan Tosovsky
list, not the content list, see example \setuphead[chapter][conversion=Romannumerals] \setupheadnumber[chapter][48] \setupcombinedlist [content] [alternative=c] \setupcombinedlist [chapter] [distance=1em, width=1cm, numbercommand={\simplealignedbox

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-18 Thread Jan Tosovsky
improperly: \setupcombinedlist[content][list=chapter, alternative=c] \setupcombinedlist[chapter][ distance=1em, width=1cm, numbercommand={\simplealignedbox{\listparameter{width}}{flushright}}, ] \starttext \completecontent \startfrontmatter \chapter{Preface}text \stopfrontmatter

[NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Jan Tosovsky
][features={default, quality}] \setupbodyfont[palatino] \setuplabeltext[en][chapter=chapter~] \setuphead[chapter][ alternative=middle, style=\bfc, conversion=Romannumerals, numbercommand=\groupedcommand{\sc \setcharactercasing[word]}{.\blank[0.4cm]}, ] \setupcombinedlist[content

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-17 Thread Jan Tosovsky
\setuphead[chapter][conversion=Romannumerals] \setupheadnumber[chapter][48] \setupcombinedlist [content] [alternative=c] \setupcombinedlist [chapter] [distance=1em, width=1cm, numbercommand={\simplealignedbox{\listparameter{width}}{flushright}} ] \starttext

Re: [NTG-context] bookmarks: frontpart, bodypart, etc. ???

2013-11-07 Thread pol stra
and chapter (which is the desired behaviour). How can I get the same behaviour in both structures? (by the way, how can I change the bookmarks of the table of contents, I tried \completecontent[bookmark=mytitle] and \setupcombinedlist[mytitle] without success). Thank you all Here is my

Re: [NTG-context] Pdf bookmarks with meta-structure (frontmatter, bodymatter etc)

2013-11-05 Thread Pol Stra
). How can I get the same behaviour in both structures? (by the way, how can I change the bookmarks of the table of contents, I tried \completecontent[bookmark=mytitle] and \setupcombinedlist[mytitle] without success). Thank you all Here is my sample code: \setupinteraction

Re: [NTG-context] Pdf bookmarks with meta-structure (frontmatter, bodymatter etc)

2013-11-04 Thread Hans Hagen
? (by the way, how can I change the bookmarks of the table of contents, I tried \completecontent[bookmark=mytitle] and \setupcombinedlist[mytitle] without success). Thank you all Here is my sample code: \setupinteraction [state=start] \placebookmarks[part, chapter, section, title, subject][force=yes

  1   2   3   >