=no]
\define[3]\SectionTOC{\ruledhbox{#3 #2}}
\setuplist
[section]
[alternative=interactive,
command=\SectionTOC,
before={\blank[2*line]}]
\starttext
\placecontent
\chapter[title=Chapter]
\dorecurse{4}
{\section{Section}
Level \recurselevel.}
\stoptext
This problem can be fixed
in some cases
\listparameter\c!indent\hbox \strc_lists_get_reference_attribute\v!all
\strc_lists_get_destination_attribute {
Then the usage would look like:
\setuplist[section,][
alternative=interactive,
indent=\noindent,
before=\endgraf,
]
That would leave a clue for maintenance purposes
like:
% Perform a half-line adjustment in some cases
\listparameter\c!indent\hbox \strc_lists_get_reference_attribute\v!all
\strc_lists_get_destination_attribute {
Then the usage would look like:
\setuplist[section,][
alternative=interactive,
indent=\noindent,
before=\endgraf
[chapter,section][page=yes,continue=no,]
\define[3]\SectionTOC{#3 #2}
% Using alternative causes the cross-reference to be off-by-one.
\setuplist[section][
alternative=interactive,
command=\SectionTOC,
]
\starttext
\placecontent
\startchapter[title=Chapter]
\dorecurse{4
On 10/05/2014 02:59 AM, Thangalin wrote:
Try:
\setuplist[chapter][before={\blank[4*big]}]
Many thanks for your reply, Thangalin.
I completely forgot the before option. Of course that was the right way
to set the separation between chapter entries in the TOC.
Many thanks for your help
Dear list,
I have the following sample:
\startsetups[setups:chapterlist]
\setupwhitespace[10*big]
\stopsetups
\setuplist[chapter][setups=setups:chapterlist]
\starttext
\completecontent
\dorecurse{50}{\chapter{My Chapter}}
\stoptext
I thought that setups were
Try:
\setuplist[chapter][
before={\blank[4*big]}
]
\starttext
\completecontent
\dorecurse{50}{\chapter{My Chapter}}
\stoptext
See also:
http://wiki.contextgarden.net/Command/setuplist
http://tex.stackexchange.com/questions/89758
{file} \NC\NR
\stoptabulate}
\setuplist[chapter][alternative=command,command=\ChapterListCommand]
\define[2]\ChapterHeadCommand
{\startframed[align=flushleft,strut=no]
\starttabulate[before=,after=]
\NC Number \NC #1 \NC\NR
\NC Title \NC #2 \NC\NR
\TB[medium]
\NC File
a table of contents that just places one item on the next page,
which is ugly. I'd like to tweak the spacing between lines, but which
parameter do I have to adjust? It wasn't clear to me from the docs.
You can use the before and after keys for \setuplist to set your own values for
spaces before
the \structureuservariable
command.
\define[3]\ChapterListCommand
{\starttabulate
\NC Number \NC #1 \NC\NR
\NC Title \NC #2 \NC\NR
\NC Page \NC #3 \NC\NR
\TB[medium]
\NC File \NC \structurelistuservariable{file} \NC\NR
\stoptabulate}
\setuplist[chapter][alternative=command
a limit for the width of the list entry.
\definelist[chaptertext]
%\setuplist [chaptertext][maxwidth=8cm]
\starttext
\placelist[chapter,chaptertext]
\chapter{This is a chapter}
\writetolist[chaptertext]{}{\input ward }
\stoptext
Wolfgang
the maxwidth key to set a limit for the width of the list
entry.
\definelist[chaptertext]
%\setuplist [chaptertext][maxwidth=8cm]
\starttext
\placelist[chapter,chaptertext]
\chapter{This is a chapter}
\writetolist[chaptertext]{}{\input ward }
\stoptext
Wolfgang
without maxwidth indented on the right?
When you enable the pagenumber context puts some space between the number and
the text.
\definelist[chaptertext]
\setuplist [chaptertext][margin=2em,pagecommand=\gobbleoneargument]
%\setuplist [chaptertext][margin=2em,pagenumber=no]
\starttext
\placelist
indented on the right?
When you enable the pagenumber context puts some space between the
number and the text.
\definelist[chaptertext]
\setuplist [chaptertext][margin=2em,pagecommand=\gobbleoneargument]
%\setuplist [chaptertext][margin=2em,pagenumber=no]
\starttext
\placelist[chapter,chaptertext
On 06/07/2014 10:57 PM, Hans Hagen wrote:
On 6/7/2014 8:41 PM, Pablo Rodriguez wrote:
[...]
AFAIK, no \part could be the last line of a page in the contents.
Well, I’m afraid this isn’t the case.
Could anyone confirm whether I am doing something wrong or this is bug?
\setuplist
Dear list,
sorry for posting this issue twice, but I wonder whether it went
unnoticed because I added it in an answer to an already replied message.
I have the following sample:
\setuppapersize[A6]
\setuplist[part][after={\blank[samepage,big]}]
\starttext
\completecontent
On 6/7/2014 8:41 PM, Pablo Rodriguez wrote:
Dear list,
sorry for posting this issue twice, but I wonder whether it went
unnoticed because I added it in an answer to an already replied message.
I have the following sample:
\setuppapersize[A6]
\setuplist[part][after={\blank[samepage
title.
Am I missing something or is this a bug? And if it were a bug, would it
be related to wrong page breaks with titles?
no, more with before/after settings in the list setup (that you can
change per section)
Hans,
this is the minimal sample:
\setuppapersize[A6]
\setuplist[part
configuration values for any sectioning command.
The file strc-lst.mkvi contains the code for \setuplist and \placelist command
but the default settings for chapter, section etc. entries are set in
strc-def.mkiv.
Many thanks for your reply, Wolfgang.
This is exactly what I was looking for.
Pablo
Dear list,
I don’t have a minimal sample (yet), but I have added the command above
to force part titles in contents to be with the next part title.
Well, the contents take five pages and two of them finish with a part title.
Am I missing something or is this a bug? And if it were a bug, would
On 6/5/2014 6:02 PM, Pablo Rodriguez wrote:
Dear list,
I don’t have a minimal sample (yet), but I have added the command above
to force part titles in contents to be with the next part title.
Well, the contents take five pages and two of them finish with a part title.
Am I missing something
command.
The file strc-lst.mkvi contains the code for \setuplist and \placelist command
but the default settings for chapter, section etc. entries are set in
strc-def.mkiv.
Wolfgang
___
If your question is of interest
Hi,
I would like to remove header numbers for subsections, but keep
subsections properly aligned in the table of contents. However, the
width= parameter seems to be completely ignored in that case.
Here's a nearly-minimal example:
\setuplist[section][width=10mm,style=bold]
\setuplist[subsection
a nearly-minimal example:
\setuplist[section][width=10mm,style=bold]
\setuplist[subsection][width=15mm,headnumber=no]
\setuplist[subsection][distance=20mm,headnumber=no]
Wolfgang
___
If your question is of interest
in that case.
Here's a nearly-minimal example:
\setuplist[section][width=10mm,style=bold]
\setuplist[subsection][width=15mm,headnumber=no]
\setuplist[subsection][distance=20mm,headnumber=no]
Dear Wolfgang,
Perfect, thank you, it works.
Even though I still don't understand why width wouldn't
=no]
\definecombinedlist [content][intro,chapter,section]
\setuplist [intro] [headnumber=no]
\starttext
\startfrontmatter
\setuppagenumber[numberconversion=romannumerals,state=start,number=1]
%\setupnumber[page][1]
\completecontent
\intro{No number}
\input knuth
\input knuth
\input knuth
Hello,
How can I get the following table of contents?
Contents
Chapter first MyTitle
Chapter II MyTitle
Chapter III MyTitle
I have tried:
\MyNumber{\doifelse{\currentsectioncountervalue}{1}{first}{#1}}
setuplist[chapter][numbercommand=\MyNumber]
but it does not work. Actually because
Am 17.04.2014 um 17:27 schrieb Maggyero maggy...@gmail.com:
Hello,
How can I get the following table of contents?
Contents
Chapter first MyTitle
Chapter II MyTitle
Chapter III MyTitle
I have tried:
\MyNumber{\doifelse{\currentsectioncountervalue}{1}{first}{#1}}
setuplist
Hi,
I have this:
\definehead [Fitxa] [subsubject]
\setuphead
[Fitxa][textstyle=sca,align=normal,color=headingcolor,before={},ownnumber=yes,incrementnumber=yes,number=no,strut=no]
\setuplabeltext [Fitxa=Fitxa]
\setuplist[Fitxa] [margin=4em,interaction=text,color=green,textcommand=\WORD
On 3/27/2014 11:55 AM, Xan wrote:
Hi,
I have this:
\definehead [Fitxa] [subsubject]
\setuphead
[Fitxa][textstyle=sca,align=normal,color=headingcolor,before={},ownnumber=yes,incrementnumber=yes,number=no,strut=no]
\setuplabeltext [Fitxa=Fitxa]
\setuplist[Fitxa] [margin=4em,interaction=text
Hans,
I have a the following sample:
\setupinteraction[state=start]
\enabledirectives[references.border]
\setuplist[chapter][alternative=d]
\starttext
\completecontent
\chapter{\TeX}
\stoptext
It shows that the E from \TeX has an extra frame in content list.
I don’t
\setuplist[section][
alternative=command,
command=\SectionToCEntry,
]
\starttext
\placecontent
\dorecurse{4}{
\chapter[title={Chapter}]
\page
\section[title={Section A}]
\dorecurse{5}{\input knuth}
\section[title={Section B}]
\dorecurse{5}{\input ward}
}
\stoptext
title would be useful.
\unprotect
\define[3]\SectionToCEntry{%
\hbox \strc_lists_get_reference_attribute\v!all{%
\par \leftaligned\bgroup
\hbox to 2em{#3}%
\hskip 1em
\vtop{\hsize\dimexpr\textwidth-3em\relax#2}
\egroup \par%
}
}
\protect
\setuplist
Dear list,
I have the following sample:
\setupheads\setuphead[chapter][sectionsegments=chapter, align=center]
\setuphead[section][alternative=inmargin]
\setuplist[section][alternative=d, style=\itx]
\starttext
\placecontent
\startfrontmatter
\dorecurse{2}{\chapter{Chapter}
\dorecurse{10
Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez oi...@gmx.es:
Dear list,
I have the following sample:
\setupheads\setuphead[chapter][sectionsegments=chapter, align=center]
\setuphead[section][alternative=inmargin]
\setuplist[section][alternative=d, style=\itx]
\starttext
\placecontent
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez:
[...]
My question is: how can I achieve
\setuplist[chapter][alternative=inmargin] and
Write your own list layout.
Many thanks for your reply, Wolfgang.
I have no idea about how to do it. What
Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez oi...@gmx.es:
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez:
[...]
My question is: how can I achieve
\setuplist[chapter][alternative=inmargin] and
Write your own list layout.
Many thanks
or \setuplist in combination with
alternative=command.
Many thanks for your reply, Wolfgang.
After reading strc-lst.mkvi (and trying something), I thought of a
different approach:
\showframe\showgrid
\setupinteraction[state=start]
\setupcombinedlist[content][interaction=all]
\setuplist[chapter
://wiki.contextgarden.net/Command/setuplist. The only change
is that I've included [order=command] so that the \hrule ends up at the
right place.
\definelist[Reprints][criterium=all]
\starttext
\section{Sec 1}
\writetolist[Reprints]{1.}{List entry A}
\subsection{Subsec 1}
\writebetweenlist[Reprints
to make sure chapter entries have a certain number of
lines before a page break happens, e.g.
\setuplist[chapter][before={\testpage[4]\blank}]
When you need manual page breaks in the TOC in your final document there is
another mechanism: http://www.ntg.nl/pipermail/ntg-context/2010/052739.html
entries insert a empty line before their content, you can
disable this with
\setuplist[chapter][before=]
Great! I was not aware of that empty line!
I misled all of you by incorrect wording, sorry, but it is fortunately fixed
now!
Thanks a lot.
Jan
can disable
this with
\setuplist[chapter][before=]
Wolfgang___
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
that
run up against the page number, which is ugly and unclear.
What can I do the create a little more space between caption and page number?
In general, of most if not all of the 38 possible arguments for \setuplist, as
shown on http://wiki.contextgarden.net/, I do not know what they do and how
of
lines before a page break happens, e.g.
\setuplist[chapter][before={\testpage[4]\blank}]
When you need manual page breaks in the TOC in your final document there is
another mechanism: http://www.ntg.nl/pipermail/ntg-context/2010/052739.html
2 My list of figures gives the complete captions
I have specified the headnumber of chapter to be the Number chpt.
By using \setuplist and \placelist with the attributes label=yes,
I could get a content with the label as what I want.
But the headnumber of chapter label on bookmarks is still using Number
intead of the Number chpt.
What should
\leftaligned\bgroup
\hbox to 2em{\color[red]{#3}}%
\hskip 1em
\vtop{\hsize\dimexpr\textwidth-3em\relax#2}
\egroup \par}
\setuplist[chapter][headnumber=no,pagenumber=no,style=\bfc]
\setuplist[section][alternative=command,command=\SectionListEntry]
\starttext
[text][after=\hrule]
\setupbodyfont[default]
\definebodyfontswitch [xvii] [17.3pt]
\definebodyfontswitch [xiv] [14.4pt]
\definebodyfontswitch [xii] [12pt]
\setupheadtext[content=\rm\xvii\bf Inhaltsverzeichnis]
\definelist[chapter]
\setuplist[chapter] [style=\rm\xvii\bf, pagenumber
Dear list,
generating a table of contents with the following sample:
\setupinterlinespace[line=3.5ex]
\setuplist[section][alternative=d, style={\itx\setupinterlinespace},
separator={·}]
\starttext
\placecontent
\dorecurse{5}{\chapter{Chapter}\dorecurse{10}{\section{Long Section
Title
Am 06.12.2013 um 21:04 schrieb H. van der Meer h.vanderm...@uva.nl:
\define[1]\ChapterListNumber
{\simplealignedbox{\listparameter{width}}{flushright}{#1}}
\setuplist[chapter][width=2em,distance=1em,numbercommand=\ChapterListNumber]
This now gives a toc looking the way I like.
May I
width, distance, textdistance, itemalign do not have effect on
the toc.
How to accomplish?
Where is the problem, in your table of contents which is controlled by
\setuplist or in your itemize which is controlled by \setupitemgroup?
Wolfgang
will be \setuplist.
There I have set
\setupcombinedlist[content][list=chapter]% [list={chapter,section}]
\setupcombinedlist[section][list=section]
Why I have to use \let\ChapterTOC\relax is a riddle to me. I want the main toc
giving the chapters, whereas in the seperate chapters
is typeset from the completecontent, so I guess the
answer to your question will be \setuplist.
There I have set
\setupcombinedlist[content][list=chapter]%[list={chapter,section}]
\setupcombinedlist[section][list=section]
Why I have to use \let\ChapterTOC\relax is a riddle to me. I want
margin, when the
space for the number
is too narrow you have to increase the width value, e.g.
\setuplist[chapter][width=3em].
Wolfgang
___
If your question is of interest to others as well, please add an entry
Indeed, \setuplist[chapter][width=3em] makes the chapternumber set in a wider
field.
But the alignment is as bad as it was: flushleft, i.e. the 1 of chapter 10
still aligns with the units from the lower chapters instead of aligning to the
zero.
I looked up \setuplist in the command catalogue
Am 06.12.2013 um 20:20 schrieb H. van der Meer h.vanderm...@uva.nl:
Indeed, \setuplist[chapter][width=3em] makes the chapternumber set in a wider
field.
But the alignment is as bad as it was: flushleft, i.e. the 1 of chapter 10
still aligns with the units from the lower chapters instead
\define[1]\ChapterListNumber
{\simplealignedbox{\listparameter{width}}{flushright}{#1}}
\setuplist[chapter][width=2em,distance=1em,numbercommand=\ChapterListNumber]
This now gives a toc looking the way I like.
May I lay at your foot a plea for a change/additional parameter here?
\setuplist
don't know exactly why it works, but it works :-)
\setupcombinedlist
[content]
[list=chapter,
alternative=c]
\setuplist
[chapter]
[aligntitle=yes,
distance=1em,
width=1cm
=-0.5cm,
margin=2cm,
numbercommand={\simplealignedbox{\listparameter{width}}{flushright}},
]
I don't know exactly why it works, but it works :-)
\setupcombinedlist
[content]
[list=chapter,
alternative=c]
\setuplist
[chapter]
[aligntitle=yes,
distance=1em
Am 02.10.2013 um 12:14 schrieb H. Özoguz h.oezo...@mmnetz.de:
This one is still open, is there maybe a workaround to prevent page-breaks in
the TOC between chapter- and sections-titles (or part- and chaptertitles).
\setuplist
[chapter]
[before={\testpage[4]\blank}]
Wolfgang
Hi,
In the attached example, I thought the word *Website* should be *orange*,
but it is *blue*.
If *color=blue* is removed (from \setupinteraction[state=start]), then the
word *Website* is *dark green*, which is also unexpected, because the only
place *dark green* occurs is in the setuplist
:
\setuplist[chapter][
xml={\starttag[h1]#1\stoptag}
]
Would produce, upon export:
h1Chapter/h1
export doesn't happen at that level; something like that would add an
ugly overhead; it's way easier to make some xslt script that converts
the rather systematic export
Hi.
of course we could alternatively export all as div class=tag-subtag-...
but i don't like that too much; html itself is not rich enough for our
purpose
What about giving developers the ability to change the destination element?
For example:
\setuplist[chapter][
xml={\starttag[h1]#1
=no]
% Záložky a PDF
\placebookmarks[kochapter,section][force=yes]
\setupinteractionscreen[option=bookmark]
\setupinteraction[state=start,
title={Neslyšný kočkopes},
author={Psanci}]
% TOC
\setupcombinedlist[content][list={kochapter,section,subsection}]
\setuplist[kochapter][interaction=text,color
pagenumbers (as you see in the attached
jpg)?
\setuplist[chapter][pagenumber=no]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
I have to use Verdana for my project.
What can I do to create a little more space for the first column of the List
of Figures?
\setuplist[figure][width=4em]
Wolfgang
___
If your question is of interest to others
On 25 aug. 2013, at 22:24, Wolfgang Schuster schuster.wolfg...@gmail.com wrote
Am 25.08.2013 um 22:21 schrieb Robert Blackstone
blackstone.rob...@gmail.com:
Dear list,
What can I do to create a little more space for the first column of the List
of Figures?
\setuplist[figure
=none,
sectionsegments=chapter]
\setuplist
[sectiongroup]
[pagenumber=no]
\defineresetset
[none] [] [0]
\setupcombinedlist
[content]
[list={sectiongroup, chapter}]
\starttext
\completecontent
\startsectiongroup [title=First]
\startchapter [title=Foo]
\stopchapter
\startchapter
the table of contents show:
Appendix A In Appendix
But I get:
A In Appendix
How do I get the table of contents to show the heading ‘Appendix’ before A?
You have to enable the label in the TOC with
\setuplist[chapter][label=yes,width=7em].
Wolfgang
{In Appendix}
\stopappendices
\stoptext
I would like to have the table of contents show:
Appendix A In Appendix
But I get:
A In Appendix
How do I get the table of contents to show the heading ?Appendix? before
A?
You have to enable the label in the TOC with
\setuplist[chapter][label=yes
Hi,
I want to color the chapter number in the table of content. The
attribute numbercolor does not exist in setuplist. So I tried to
color the chapter number via numberstlye (numbercommand is also not
working):
---8
\define[1]\listChapterColor{\color[bordeaux]{X #1
On Tue, 9 Jul 2013, Zenlima wrote:
Hi,
I want to color the chapter number in the table of content. The
attribute numbercolor does not exist in setuplist. So I tried to
color the chapter number via numberstlye (numbercommand is also not
working):
---8
\define[1
Am 09.07.2013 um 18:08 schrieb Zenlima p...@zenlima.eu:
Hi,
I want to color the chapter number in the table of content. The
attribute numbercolor does not exist in setuplist. So I tried to
color the chapter number via numberstlye (numbercommand is also not
working):
---8
Am Tue, 9 Jul 2013 12:20:18 -0400 (EDT)
schrieb Aditya Mahajan adit...@umich.edu:
numbercolor=bordeaux
I am so sorry.. I tried that too but I must have mistyped it then.. now it
works :)
Thanks
___
If your
2. You didn’t test numbercolor.
You are correct: after my mistyped try'n'error I did not checked it
any further as the documentation in the wiki. I updated it with that
missing attribute.
thanks
signature.asc
Description: PGP signature
]
%\switchtotypeface [palatino] [14pt]
\setuplist
[chapter]
[before=\blank,after=\blank,style=bold]
\setuplist
[section]
[alternative=d,left=(,right=),pagestyle=slanted,prefix=no]
\setupheader[style=\sc,color=gris]
\setupfooter[style=\sc]
\setupheadertexts[Ilíada][pagenumber]
\setupfootertexts[chapter
Am 26.06.2013 um 16:01 schrieb Sander Maijers s.n.maij...@student.ru.nl:
Is there an nice way in MKIV to force a page break in the table of contents
between items on the parts level (\part)?
It depends on the list alternative but you can try this:
\setuplist[part][before=\page]
Wolfgang
this:
\setuplist[part][before=\page]
Wolfgang
___
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-context
Am 12.06.2013 um 12:19 schrieb Sander Maijers s.n.maij...@student.ru.nl:
How do you suppress/hide the page number in the ToC for Parts, but not for
other headers and without removing page numbers from footers anywhere?
\setuplist[part][pagenumber=no]
Wolfgang
=no]
\defineheadalternative
[myheader]
[alternative=horizontal,
renderingsetup=setup:myheader]
\startsetups [setup:myheader]
\inouter{\headtextcontent}
\stopsetups
\setuplist[chapter][style=bold,before=\blank,alternative=b,width=1.5em,color=HeadColor]
\setuplist[section][margin=1.5em,width=2em
Am 03.05.2013 um 16:27 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
how to change the way (alternative) how a particular level - e.g. sections
- are rendered in TOC?
I tried:
\setupcombinedlist
[content]
[alternative=c]
\setuplist
[section
:
\setupcombinedlist
[content]
[alternative=c]
\setuplist
[section]
[alternative=b]
%\setupcombinedlist
% [content]
% [section]
% [alternative=b]
\starttext
\placecontent
\chapter{Ch}
\section{Sec}
\subsection{SSec}
\input knuth
\stoptext
This should change
Hello,
how to change the way (alternative) how a particular level - e.g. sections -
are rendered in TOC?
I tried:
\setupcombinedlist
[content]
[alternative=c]
\setuplist
[section]
[alternative=b]
%\setupcombinedlist
% [content]
% [section]
% [alternative=b]
\starttext
in
the ConTeXtGarden but the explanation for \completecontent didn't make me any
wiser.For example, I do not understand the meaning of the three successive
[]-pairs in \completecontent[..][..][..] and the link to \setuplist didn't help
me out.
Hans van der Meer
am using \completecontent for calling up the TOC. I looked in
the ConTeXtGarden but the explanation for \completecontent didn't make me any
wiser.For example, I do not understand the meaning of the three successive
[]-pairs in \completecontent[..][..][..] and the link to \setuplist didn't
, maybe it is possible with a combination of \placeongrid and a command,
which forces page-break of the toc on specified titles, or lines. Is there a
pissibility to manually page-break the toc?
%\setuplayout[grid=yes]
\showgrid
\setuplist[chapter][style=\tfb]
\setuplist[section][style=\tfa
example: (I trust the cow and the mill can be found).
%---
\useexternalfigure[SmallCow][cow.pdf][height=2cm]
\useexternalfigure[MediumCow][cow.pdf][height=3cm]
\useexternalfigure[Mill][mill.png][height=3cm]
\definelist[figure]
\setuplist[figure
this
to zero. I tried this:
\setuplist[section]
[alternative=a,before=,after=,distance=1pt]
\completecontent
but this didn't remove the extra space. Hints?
There are no blank lines between the entries.
\starttext
\completecontent
\page
\dorecurse{12}{\section{Section #1
Working with TOC layout and the new manual. The default layout
leaves a blank line between section entries. I want to reduce this to
zero. I tried this:
\setuplist[section]
[alternative=a,before=,after=,distance=1pt]
\completecontent
but this didn't remove the extra space. Hints?
--
John
Am 03.04.2013 um 21:28 schrieb john Culleton j...@wexfordpress.com:
Working with TOC layout and the new manual. The default layout
leaves a blank line between section entries. I want to reduce this to
zero. I tried this:
\setuplist[section]
[alternative=a,before=,after=,distance=1pt
=…]
\setuplabeltext[nl][chapter=…]
In fact, label=no would be the default setup.
\setuplist[chapter][label=yes|no|none|NAME]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
for each language, rather than be empty, so
that it could then be simply turned on or off.
\setuplabeltext[en][chapter=…]
\setuplabeltext[nl][chapter=…]
In fact, label=no would be the default setup.
\setuplist[chapter][label=yes|no|none|NAME]
Wolfgang
All of this does not take care
of citations?
Alan
Hi Alan,
1. should work by default when you have \setupinteraction[state=start]
in your document preamble. 2. is not possible, AFAIK.
In principle you could mess with the list as bib's are using them:
\definelist
[pubs]
\setuplist
[pubs]
[\c!state=\v!start,
\c
Maybe I have not made it clear, what I mean?
My Minexample is:
\setuplist[chapter][pagenumber=no]
\starttext
\completecontent
\chapter{Chapter 1}
\section{Section 1}
\chapter{Chapter 2}
\stoptext
Now Chapter 1 is without pagenumber in the TOC, correct, because it has
a section after
to create
the effect you want.
regards
Keith.
Am 15.03.2013 um 07:46 schrieb H. Özoguz h.oezo...@mmnetz.de:
Maybe I have not made it clear, what I mean?
My Minexample is:
\setuplist[chapter][pagenumber=no]
\starttext
\completecontent
\chapter{Chapter 1}
\section{Section 1}
\chapter
accesses a
Lua-table with the TOC information. It should be easy enough to use
this table to create the effect you want.
regards
Keith.
Am 15.03.2013 um 07:46 schrieb H. Özoguz h.oezo...@mmnetz.de:
Maybe I have not made it clear, what I mean?
My Minexample is:
\setuplist
not made it clear, what I mean?
My Minexample is:
\setuplist[chapter][pagenumber=no]
\starttext
\completecontent
\chapter{Chapter 1}
\section{Section 1}
\chapter{Chapter 2}
\stoptext
Now Chapter 1 is without pagenumber in the TOC, correct, because it
has a section after
Am 15.03.2013 um 07:46 schrieb H. Özoguz h.oezo...@mmnetz.de:
Maybe I have not made it clear, what I mean?
My Minexample is:
\setuplist[chapter][pagenumber=no]
\starttext
\completecontent
\chapter{Chapter 1}
\section{Section 1}
\chapter{Chapter 2}
\stoptext
Now Chapter 1
Hello there,
normally I use
\setuplist[chapter][pagenumber=no]
to prevent pages for chapters in the TOC, because normally (!) after
every chapter-titel comes a section-title, directly, without text
between the two titles. And so it is in this case enough to give the
page-number
Hello there,
normally I use
\setuplist[chapter][pagenumber=no]
to prevent pages for chapters in the TOC, because normally (!) after
every chapter-titel comes a section-title, directly, without text
between the two titles. And so it is in this case enough to give the
page-number
On 2013–02–07 Markus Finke wrote:
\startnarrower doesn’t work for the left margin in lists. What is
wrong in my minimal example?
I did not check why it doesn't work. But to add a left margin you
can use:
\setuplist [margin=3cm]
Marco
signature.asc
Description: Digital signature
301 - 400 of 872 matches
Mail list logo