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/
.
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
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
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}
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
.
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
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
t before \starttitle as the source is created automatically.
>
>
> \setupheadertexts
> [text]
> [{\getmarking[chapter]}]
> []
> []
> [{\getmarking[chapter]}]
>
> \setupcombinedlist[content][list={chapter}]
> \starttext
> \placecontent
> \startchapter
> [tit
[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
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
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
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
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
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
]
\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
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,
>
,
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
={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
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
,
...,
]
\setupcombinedlist [content]
[list={chapter,RVchapter}]
\placebookmarks [chapter,RVchapter,section,subsection,subsubsection]
[chapter]
[force=yes,number=no]
--
Rik
\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
, 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
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
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
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
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]
___
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
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
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
>
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
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
=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
topsubsubsubsubsubsection}
\def\startXXX{\startsubsubsubsubsubsubsection}
\def\stopXXX{\stopsubsubsubsubsubsubsection}
\def\start{\startsubsubsubsubsubsubsubsection}
\def\stopXXXX{\stopsubsubsubsubsubsubsubsection}
\setupcombinedlist[content][list={chapter,
section,
subsection,
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
=,style=\bf\em]
\setuppagenumbering[alternative=,location={footer,right},style=\bf\em]
\setcounter[userpage][0]
\setupcombinedlist[content][level=1]
\setupexternalfigures[directory={images}]
\stopenvironment
___
If your
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}
>
> \
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]
]
%\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
.
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
,
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
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
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
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
.
\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
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,
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={
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
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
[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
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
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
,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
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
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>:
>
>>
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
[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
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
, 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
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
=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
[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
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
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
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
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
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
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
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
,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
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
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
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
>numberstyle={\kerncharacters[0.125]\bfa},
>numbercommand=\groupedcommand{}{\blank[4mm]},
>sectionstopper={.},
>conversion=Romannumerals,
> ]
>
> \define[1]\ChapterListNumbercommand
> {\simplealignedbox{\listparameter{width}}{flushright}{#1}}
>
>
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
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
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
]
\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
?)
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
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
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
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
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
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
.
\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
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
%
{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
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
=,
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
={\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
={\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
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
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
]
\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
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
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
=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
][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
\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
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
]
%\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 - 100 of 310 matches
Mail list logo