[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Gottschalt, Johannes
is this: > > > % TOC setup > > \setupcombinedlist[content]% > [ list={defaultchapter,defaultsection,defaultsubsection},% >after={\blank[10pt]},% >alternative=c,% >criterium=all,% > ] > \definelist[defaultchapter][chapter]%default first layer &

[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Wolfgang Schuster
Am 22.05.2025 um 08:51 schrieb Gottschalt, Johannes: My current setup is this: % TOC setup \setupcombinedlist[content]% [ list={defaultchapter,defaultsection,defaultsubsection},% after={\blank[10pt]},% alternative=c,% criterium=all,% ] \definelist[defaultchapter][chapter]%default

[NTG-context] Re: Hanging indent in TOC

2025-05-21 Thread Gottschalt, Johannes
My current setup is this: % TOC setup \setupcombinedlist[content]% [ list={defaultchapter,defaultsection,defaultsubsection},% after={\blank[10pt]},% alternative=c,% criterium=all,% ] \definelist[defaultchapter][chapter]%default first layer \definelist[defaultsection][section] \setuplist

[NTG-context] Footer issue (for graduated wizards mastering kung-fu)

2025-03-13 Thread roberto . bianchi
=== %% LISTS'S FORMAT %% === % unordered list: bullets \defineitemgroup[bullets][levels=5] \setupitemgroup[bullets] [each] [symbol=bullet, option=packed, width=0.65em, distance=0

[NTG-context] Re: page number in \setuplist

2025-02-09 Thread Hans Hagen
On 2/9/2025 2:47 PM, Bruce Horrocks wrote: On 9 Feb 2025, at 12:00, Bruce Horrocks wrote: Try this: \def\doPageNumber#1{\the\numexpr -1 + #1\relax\ · #1} \setupcombinedlist[content][list={chapter}] \setuplist[chapter][pagecommand=\doPageNumber] \starttext \completecontent \page

[NTG-context] Re: page number in \setuplist

2025-02-09 Thread Bruce Horrocks
> On 9 Feb 2025, at 12:00, Bruce Horrocks wrote: > > > Try this: > > \def\doPageNumber#1{\the\numexpr -1 + #1\relax\ · #1} > \setupcombinedlist[content][list={chapter}] > \setuplist[chapter][pagecommand=\doPageNumber] > > \starttext > \completecontent >

[NTG-context] Re: page number in \setuplist

2025-02-09 Thread Bruce Horrocks
doesn't work for reasons that aren't obvious to me. :-( Try this: \def\doPageNumber#1{\the\numexpr -1 + #1\relax\ · #1} \setupcombinedlist[content][list={chapter}] \setuplist[chapter][pagecommand=\doPageNumber] \starttext \completecontent \page \doloopoverlist {one,two,three,four,fiv

[NTG-context] Re: Searching on the WIKI fails

2025-01-06 Thread Taco Hoekwater
hard cancelled by the installation. Best wishes, Taco (I blocked that particular harvester now, but it could happen again) > > Ryszard > > pon., 6 sty 2025 o 10:36 Mikael Sundqvist napisał(a): > Hi Ryszard, > > If I go to https://wiki.contextgarden.net/Main_Page > > and

[NTG-context] Re: Searching on the WIKI fails

2025-01-06 Thread Ryszard Kubiak
Hi Mikael, Any word input in the search field led to an Internal error. But it works now. Magic... Ryszard pon., 6 sty 2025 o 10:36 Mikael Sundqvist napisał(a): > Hi Ryszard, > > If I go to https://wiki.contextgarden.net/Main_Page > > and write setupcombinedlist in the searc

[NTG-context] Re: Searching on the WIKI fails

2025-01-06 Thread Mikael Sundqvist
Hi Ryszard, If I go to https://wiki.contextgarden.net/Main_Page and write setupcombinedlist in the search field and hit enter, it works. Is that what you do as well? /Mikael On Mon, Jan 6, 2025 at 10:05 AM Ryszard Kubiak wrote: > > Hello Everybody, > > I experience problems whe

[NTG-context] Searching on the WIKI fails

2025-01-06 Thread Ryszard Kubiak
Hello Everybody, I experience problems when traversing the WIKI documentation. An Internal error occurs: [e22f63e5b874c2c5f6e2384e] /index.php?search=setupcombinedlist&title=Special%3ASearch&go=Go Error from line 121 of /var/www/ contextgarden.net/wiki/htdocs/extensions/ConTeXtXML/

[NTG-context] Re: crossreferences

2024-09-27 Thread Jürgen Hanneder via ntg-context
nskip} \setupexternalfigures[directory={images}] \setupfloats[indentnext=no] \setupheadtext[content=Contents] \setuplist[chapter][style=\tfa\bf,pagestyle=bold,numberstyle=bold,alternative=a] \setuplist[section][style=normal, alternative=d] \setupcombinedlist[content][list={chapter,section}] \definedescri

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

2024-04-14 Thread garulfo
Command/ 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 Com

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
, 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
ecify which sections 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] >

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

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

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

2023-09-03 Thread jbf
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
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  \

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

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

2021-12-24 Thread Denis Maier via ntg-context
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,

[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

[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
t from 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, &g

Re: [NTG-context] A book with sections

2021-10-23 Thread Bruce Horrocks via ntg-context
cm, 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 chapte

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

2021-08-17 Thread Wolfgang Schuster via ntg-context
xt [en] [lecture={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{

[NTG-context] Using Lua to format lecture titles

2021-08-17 Thread noib3 via ntg-context
\startluacode userdata = userdata or {} function 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 \

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
ject] \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] \setco

[NTG-context] header/footer in toc

2020-10-05 Thread jbf
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

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

2020-09-07 Thread jbf
st worked - but it doesn't. (3) I also 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 st

[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
; > > > 1 First chapter 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

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
fgang ___ 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

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

2020-05-06 Thread Rik Kabel
ok 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/listinf

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

2020-04-22 Thread Pablo Rodriguez
gt; 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: > > \setupcombinedl

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

2020-04-21 Thread Henning Hraban Ramm
in > the 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

[NTG-context] TOC- removing Contents 0

2020-04-21 Thread jbf
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   [content]   [list={chapter,section,title,subject,subsection}] \setuplist[chapter][st

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

2020-03-21 Thread Richard Mahoney | Indica et Buddhica
argin=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

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

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

[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
ative=,style=\bf\em] \setuppagenumbering[alternative=,location={footer,right},style=\bf\em] \setcounter[userpage][0] \setupcombinedlist[content][level=1] \setupexternalfigures[directory={images}] \stopenvironment ___ If

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
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 ادريس سماوي حامد
s 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. A

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

2018-06-25 Thread Wolfgang Schuster
shows 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

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

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
shows 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

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 ????????
n] \setuptyping[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

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

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
ction] [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={}] new page

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

2018-03-04 Thread Hans Hagen
ection,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 pag

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

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
\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] \setup

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

2018-03-04 Thread Hans Hagen
proach 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},reference={}] new pag

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

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
% but don't 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 \startsectio

Re: [NTG-context] TOC and appendices

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

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

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

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

2017-05-12 Thread cryo shock
stian > > 2017-05-12 22:16 GMT+02:00 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

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

2017-05-12 Thread cryo shock
in=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 : > >> Hi guys, I downloaded a sample presen

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
\setuplist[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

[NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
argin=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 [co

[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
h=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=romannumerals] You’re look

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

2016-07-01 Thread Ursula Hermann
em] \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. \setupuserpagenumbering[conversion=r

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

2016-06-30 Thread Otared Kavian
>> I have written this one: >> >> \mainlanguage[de] >> >> \setupinteraction[state=start] % don't forget this line! >> % make chapter, section bookmarks visible when opening document >> \placebookmarks[chapter,section,subsection][chapter,section] >> \

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

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

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

2016-06-28 Thread Ursula Hermann
\setuplist[section][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

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

2016-06-28 Thread Ursula Hermann
\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 look

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

2016-06-24 Thread Wolfgang Schuster
genumbering \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 \setuppagen

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

2016-06-24 Thread Ursula Hermann
ction,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,se

[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[myf

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={\simpl

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&#

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
number 0 directly after part 1 starts or so?) 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 inhoudsopga

[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
ppendix,back] \setupcombinedlist[content][alternative=c] \setupheadtext[content=Inhoud] \setupheadtext[chapter=Hoofdstuk] \setupheadtext[appendix=Bijlage] \setupheadtext[back=Noten] \definefiller[ChapterFiller] \define[1]\MyContentCommand% {\framed[frame=off,offset=none,frameoffset=0pt] {\vbox{\blank[

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 : > > >> 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 &

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&quo

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

2015-02-03 Thread Wolfgang Schuster
œalternative=interactive” for \setuplist. >> >> \setupcombinedlist[content][list=chapter] >> >> \definefiller[ChapterFiller] >> >> \define[3]\ChapterListEntry >> {\vbox{Hoofdstuk #1 – #2 \filler[ChapterFiller] #3}} >> >> \setuplist[chapter][alternat

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=ch

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

2015-02-03 Thread Wolfgang Schuster
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[content][level=4, alternative=c] > \setuplist[cha

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

2015-02-03 Thread Rob Heusdens
#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 {Zapf} \input zapf} \stoptext As you can see,

  1   2   3   4   >