is this:
>
>
> % TOC setup
>
> \setupcombinedlist[content]%
> [ list={defaultchapter,defaultsection,defaultsubsection},%
>after={\blank[10pt]},%
>alternative=c,%
>criterium=all,%
> ]
> \definelist[defaultchapter][chapter]%default first layer
&
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
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
===
%% LISTS'S FORMAT
%% ===
% unordered list: bullets
\defineitemgroup[bullets][levels=5]
\setupitemgroup[bullets]
[each]
[symbol=bullet,
option=packed,
width=0.65em,
distance=0
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
> 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
>
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
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
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
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
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/
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
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
, 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
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]
>
[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}
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
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 \
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
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
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,
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
]
\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
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
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
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{
\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
\
,
...,
]
\setupcombinedlist [content]
[list={chapter,RVchapter}]
\placebookmarks [chapter,RVchapter,section,subsection,subsubsection]
[chapter]
[force=yes,number=no]
--
Rik
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
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
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
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
; >
> > 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
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]
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
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
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
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
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
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
tion}
\def\stopXX{\stopsubsubsubsubsubsection}
\def\startXXX{\startsubsubsubsubsubsubsection}
\def\stopXXX{\stopsubsubsubsubsubsubsection}
\def\start{\startsubsubsubsubsubsubsubsection}
\def\stop{\stopsubsubsubsubsubsubsubsection}
\setupcombinedlist[content][list={chapter,
section
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
ative=,style=\bf\em]
\setuppagenumbering[alternative=,location={footer,right},style=\bf\em]
\setcounter[userpage][0]
\setupcombinedlist[content][level=1]
\setupexternalfigures[directory={images}]
\stopenvironment
___
If
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
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
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
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
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
.
\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
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
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
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
\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
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
% 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
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
] [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,
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
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
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
\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
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
[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
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
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
>> 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]
>> \
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
\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
\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
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
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
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
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={\simpl
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
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
]
\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
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
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
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[
> 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
&
> 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
alternative=interactiveâ for \setuplist.
>>
>> \setupcombinedlist[content][list=chapter]
>>
>> \definefiller[ChapterFiller]
>>
>> \define[3]\ChapterListEntry
>> {\vbox{Hoofdstuk #1 â #2 \filler[ChapterFiller] #3}}
>>
>> \setuplist[chapter][alternat
>
> 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
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
#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 - 100 of 342 matches
Mail list logo