[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
nd/ register Command/ rightlabeltext Command/ script Command/ section Command/ seeregister Command/ setupcombinedlist Command/ setupitemgroup Command/ setuplabeltext Command/ setuppairedbox Command/ setupregister Command/ shift Command/ sorting Command/ startattachment Command/ startbackground Command/

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
. And, if you want them to appear in the table of contents, modify the combined list of section headers that go into the contents (\setupcombinedlist[content][list=chapter,NPChapter,...]). Perhaps add it to the pdf bookmarks as well (\placebookmarks...). -- RIk

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
ctions are shown in the table of content > because by default only the numbered sections are listed. > begin example 1 > \setuphead [title]  [incrementnumber=list] > \setuphead [subject]    [incrementnumber=list] > \setuphead [subsubject] [incrementnumber=list] > \definehead [conte

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
ject]    [incrementnumber=list] \setuphead [subsubject] [incrementnumber=list] \definehead [contentstitle] [title] \setupcombinedlist [content] [list={chapter,title,section,subject,subsection,subsubject}] \starttext \completecontent \title{Title} \subject{Subject} \subsubject{Subsubject}

[NTG-context] TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
of it compiles (for me) in LMTX. So I tried something different, e.g. \definelist[chapter] \setuplist[chapter][label=yes,distance=1.5cm,alternative=c,style=normal,before=\blank] \definelist[section] \setuplist[section] [textcommand=\setups{SecToc}] \setupcombinedlist [content]o [list={chapter

[NTG-context] ToC filler dots not aligned

2022-10-14 Thread Schister, Roman via ntg-context
. Here’s a working example of my code: \setupcombinedlist[content][alternative=c] \starttext \completecontent \chapter[title={First chapter}] \chapter[title={Second, longer chapter}] \chapter[title={Third chapter}] \stoptext Any help is greatly appreciated. Thanks and best wishes, Roman

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
Its worring now. I have to add \setuplist[subsection][alternative=d] after \setupcombinedlist[content] etc. before that line it has no effect here. \definecombinedlist[content][part,chapter,section,subsection] \setupcombinedlist[content][alternative=c,partnumber=no,placehead=yes,color=black

Re: [NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread fv leung via ntg-context
t before \starttitle as the source is created automatically. > > > \setupheadertexts > [text] > [{\getmarking[chapter]}] > [] > [] > [{\getmarking[chapter]}] > > \setupcombinedlist[content][list={chapter}] > \starttext > \placecontent > \startchapter > [tit

[NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread juh via ntg-context
[chapter]{title headline} right before \starttitle as the source is created automatically. \setupheadertexts [text] [{\getmarking[chapter]}] [] [] [{\getmarking[chapter]}] \setupcombinedlist[content][list={chapter}] \starttext \placecontent \startchapter [title=Lorem] \startsection [title=Lorem

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Hans Hagen via ntg-context
of levels they want in the table of contents with a number. I currently do this by having the sectioning commands be known to the exporter so I can generate a command like     \setupcombinedlist   [content]   [list={section,subsection}] for n=2. I'm considering using  \start

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Bruce Horrocks via ntg-context
ing an exporter for Org mode. In Org, users can specify the > number of levels they want in the table of contents with a number. I > currently do this by having the sectioning commands be known to the exporter > so I can generate a command like >\setupcombinedlist > [co

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
users can specify the number of levels they want in the table of contents with a number. I currently do this by having the sectioning commands be known to the exporter so I can generate a command like \setupcombinedlist [c

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
porter so I can generate a command like \setupcombinedlist [content] [list={section,subsection}] for n=2. I'm considering using \start/stopsectionlevel for sectioning commands instead. That way, users cou

[NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
currently do this by having the sectioning commands be known to the exporter so I can generate a command like \setupcombinedlist [content] [list={section,subsection}] for n=2. I'm considering using \start/stopsectionlevel for sectioning commands instead. That way, users could

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
] \setupcombinedlist [content] [list={part,parttext,chapter,chaptertext}] \starttext \startfrontmatter \completecontent \SectionPrequote{If you think good architecture is expensive, try bad architecture\crlf {\tf Brian Foote and Joseph Yoder}} \startchapter[title={One}] \dorecurse{7}{\input tufte \par \input

Re: [NTG-context] A book with sections

2021-10-24 Thread Duncan Hothersall via ntg-context
m a \definefont >before={\setups{PartSetup}}, >command=\placePartTitle, > ] > > With \setuplayout[location=doublesided] this then comes out on the RHS. > > For the ToC, I use: > > \setuplist [alternative=b] > \setuplist [Part] > [ headnumber=no, >

Re: [NTG-context] A book with sections

2021-10-23 Thread Bruce Horrocks via ntg-context
, width=0cm, distance=0cm, style=\tocStylePartTitle, ] \setuplist [Chapter] [ headnumber=no, margin=1em, width=0cm, distance=0cm, ] \setupcombinedlist [content] [list={Part,Chapter}] then \placecontent prints the chapter tit

Re: [NTG-context] Using Lua to format lecture titles

2021-08-17 Thread Wolfgang Schuster via ntg-context
={Lecture }] \setupcombinedlist [content] [list={lecture}] \define[3]\LectureListCommand {\labeltext{lecture}#1\doiftext{#2}{: #2}\filler[dotfill]#3\par} \setuplist [lecture] [alternative=command, command=\LectureListCommand] \startsetups [footer:left] \labeltext{lecture} \getmarking

[NTG-context] Using Lua to format lecture titles

2021-08-17 Thread noib3 via ntg-context
userdata.format_lecture_title(args) if args.title and args.title ~= '' then context('%s %s: %s', args.label, args.number, args.title) else context('%s %s', args.label, args.number) end end \stopluacode \setupcombinedlist [content] [list={lecture}] \setuplist [lecture

Re: [NTG-context] One chapter with different heading settings

2021-05-23 Thread Rik Kabel
,     ...,       ] \setupcombinedlist [content]                        [list={chapter,RVchapter}] \placebookmarks [chapter,RVchapter,section,subsection,subsubsection]            [chapter]           [force=yes,number=no] -- Rik

[NTG-context] Table of Content

2021-02-11 Thread Ursula Hermann
\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

[NTG-context] header/footer in toc

2020-10-05 Thread jbf
, or more specifically, could I prevent just the header but leave the footer (page number)? I tried using \startmakeup but that ruins the layout of my TOC. I also tried adding [header=empty] to my combinedlist setup: \setupcombinedlist [content][header=empty] but that didn't work either. What am I

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-07 Thread jbf
assumed that having defined foreword, preface and mysection, they would need to be in a \setupcombinedlist. (4) And finally, I thought I would then need a \setuplist and \setuplabeltext for Foreword (as indeed I might for the other two as well, but to start with, I wanted to get one of them working

[NTG-context] author in ToC and other design complications

2020-09-03 Thread jbf
this MWE): %-- \setuphead [subject] [incrementnumber=list] \setuphead [title] [incrementnumber=list] \setupcombinedlist   [content] [list={chapter,title,section,subsection}]\switchtobodyfont[10.5pt] \setuplist[chapter][style=normal,alternative=b, before=] And then I

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

[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

[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

  1   2   3   4   >