Re: [NTG-context] Error with alternative (interactive) TOC

2014-10-10 Thread Wolfgang Schuster
=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

Re: [NTG-context] Error with alternative (interactive) TOC

2014-10-10 Thread Thangalin
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

Re: [NTG-context] Error with alternative (interactive) TOC

2014-10-10 Thread Hans Hagen
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

[NTG-context] Error with alternative (interactive) TOC

2014-10-09 Thread Thangalin
[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

Re: [NTG-context] whitespace in \setuplist[chapter]

2014-10-05 Thread Pablo Rodriguez
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

[NTG-context] whitespace in \setuplist[chapter]

2014-10-04 Thread Pablo Rodriguez
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

Re: [NTG-context] whitespace in \setuplist[chapter]

2014-10-04 Thread Thangalin
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

[NTG-context] Generate Authorlist example fails, was Re: authors in the toc

2014-10-03 Thread Rik Kabel
{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

Re: [NTG-context] Influencing the vertical spacing of the table of contents? No possible?

2014-10-02 Thread Wolfgang Schuster
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

Re: [NTG-context] authors in the toc

2014-10-02 Thread Wolfgang Schuster
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

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
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

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
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

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
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

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
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

Re: [NTG-context] bug with \setuplist?

2014-06-08 Thread Pablo Rodriguez
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

[NTG-context] bug with \setuplist?

2014-06-07 Thread Pablo Rodriguez
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

Re: [NTG-context] bug with \setuplist?

2014-06-07 Thread Hans Hagen
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

Re: [NTG-context] bug with \setuplist[part][after={\blank[samepage, big]}]

2014-06-06 Thread Pablo Rodriguez
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

Re: [NTG-context] standard setup values for titles in heads and lists?

2014-06-05 Thread Pablo Rodriguez
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

[NTG-context] bug with \setuplist[part][after={\blank[samepage, big]}]

2014-06-05 Thread Pablo Rodriguez
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

Re: [NTG-context] bug with \setuplist[part][after={\blank[samepage, big]}]

2014-06-05 Thread Hans Hagen
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

Re: [NTG-context] standard setup values for titles in heads and lists?

2014-06-04 Thread Wolfgang Schuster
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

[NTG-context] \setuplist ignores width=dim in combination with headnumber=no

2014-05-23 Thread Mojca Miklavec
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

Re: [NTG-context] \setuplist ignores width=dim in combination with headnumber=no

2014-05-23 Thread Wolfgang Schuster
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

Re: [NTG-context] \setuplist ignores width=dim in combination with headnumber=no

2014-05-23 Thread Mojca Miklavec
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

[NTG-context] setuppage is ignored

2014-05-07 Thread Thomas Möbius
=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

[NTG-context] Getting the current chapter number in the TOC

2014-04-17 Thread Maggyero
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

Re: [NTG-context] Getting the current chapter number in the TOC

2014-04-17 Thread Wolfgang Schuster
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

[NTG-context] Problems with XML and table of contents

2014-03-27 Thread Xan
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

Re: [NTG-context] Problems with XML and table of contents

2014-03-27 Thread Hans Hagen
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

[NTG-context] extra link border with alternative=c

2014-03-24 Thread Pablo Rodriguez
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

[NTG-context] Feature Request: ToC page number alternative

2014-02-26 Thread Thangalin
\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

Re: [NTG-context] Feature Request: ToC page number alternative

2014-02-26 Thread Wolfgang Schuster
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

[NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Pablo Rodriguez
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

Re: [NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Wolfgang Schuster
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

Re: [NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Pablo Rodriguez
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

Re: [NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Wolfgang Schuster
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

Re: [NTG-context] \setuplist[alternative=inmargin?

2014-02-19 Thread Pablo Rodriguez
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

[NTG-context] writetolist doesn't include sectionnumber in mkiv?

2014-02-15 Thread Sanjoy Mahajan
://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

Re: [NTG-context] (Combined)lists, two questions

2014-02-14 Thread Robert Blackstone
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

Re: [NTG-context] Linespacing in TOC

2014-02-12 Thread Jan Tosovsky
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

Re: [NTG-context] Linespacing in TOC

2014-02-11 Thread Wolfgang Schuster
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

[NTG-context] (Combined)lists, two questions

2014-02-10 Thread Robert Blackstone
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

Re: [NTG-context] (Combined)lists, two questions

2014-02-10 Thread Wolfgang Schuster
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

[NTG-context] Bookmarks with the specified label on

2014-02-06 Thread Lei WANG
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

Re: [NTG-context] Rearrange Table of Contents section page numbers

2014-02-01 Thread Wolfgang Schuster
\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

[NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-22 Thread Rudolf Bahr
[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

[NTG-context] issues with \setuplist

2014-01-17 Thread Pablo Rodriguez
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

Re: [NTG-context] wider item numbering in toc

2013-12-07 Thread Wolfgang Schuster
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

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread Wolfgang Schuster
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

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
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

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread Wolfgang Schuster
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

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread Wolfgang Schuster
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

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
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

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread Wolfgang Schuster
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

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
\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

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-25 Thread Hans Hagen
don't know exactly why it works, but it works :-) \setupcombinedlist [content] [list=chapter, alternative=c] \setuplist [chapter] [aligntitle=yes, distance=1em, width=1cm

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-25 Thread Jan Tosovsky
=-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

Re: [NTG-context] No page break between chapter-title and section-title in TOC

2013-10-02 Thread Wolfgang Schuster
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

[NTG-context] Confounding colour conundrums

2013-09-22 Thread Thangalin
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

Re: [NTG-context] EPUB XHTML Format

2013-09-05 Thread Hans Hagen
: \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

Re: [NTG-context] EPUB XHTML Format

2013-09-04 Thread Thangalin
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

[NTG-context] Another issue with my magazine

2013-09-03 Thread Mikoláš Štrajt
=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

Re: [NTG-context] TOC: Chapter-titles without page-numbers

2013-08-26 Thread Wolfgang Schuster
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

Re: [NTG-context] Problem with horizontal space in List of Figures

2013-08-25 Thread Wolfgang Schuster
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

Re: [NTG-context] Problem with horizontal space in List of Figures

2013-08-25 Thread Robert Blackstone
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

Re: [NTG-context] Hiding \part completely except for in the ToC

2013-08-06 Thread Marco Patzer
=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

Re: [NTG-context] Appendix Numbering and TOC value

2013-08-02 Thread Wolfgang Schuster
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

Re: [NTG-context] Appendix Numbering and TOC value

2013-08-02 Thread Lance Larsen
{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

[NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Zenlima
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

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Aditya Mahajan
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

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Wolfgang Schuster
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

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Zenlima
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

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Zenlima
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

Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Manuel González Suárez
] %\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

Re: [NTG-context] Page break in ToC between parts?

2013-06-26 Thread Wolfgang Schuster
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

Re: [NTG-context] Page break in ToC between parts?

2013-06-26 Thread Sander Maijers
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

Re: [NTG-context] Suppressing page number for part in ToC

2013-06-12 Thread Wolfgang Schuster
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

[NTG-context] [***SPAM***] unwanted space and error in combination of writebetweenlist and placecontent[criterium= local]

2013-05-12 Thread Zenlima
=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

Re: [NTG-context] Alternative rendering of some TOC levels

2013-05-04 Thread Wolfgang Schuster
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

Re: [NTG-context] Alternative rendering of some TOC levels

2013-05-04 Thread Lukáš Procházka
: \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

[NTG-context] Alternative rendering of some TOC levels

2013-05-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
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

[NTG-context] select TOC elements

2013-04-16 Thread Meer, H. van der
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

Re: [NTG-context] select TOC elements

2013-04-16 Thread Wolfgang Schuster
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

Re: [NTG-context] Deactivating gridsetting for TOC

2013-04-15 Thread Wolfgang Schuster
, 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

[NTG-context] float combinations

2013-04-13 Thread Robert Blackstone
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

Re: [NTG-context] single spacing TOC

2013-04-04 Thread john Culleton
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

[NTG-context] single spacing TOC

2013-04-03 Thread john Culleton
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

Re: [NTG-context] single spacing TOC

2013-04-03 Thread Wolfgang Schuster
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

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Wolfgang Schuster
=…] \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

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Alan BRASLAU
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

Re: [NTG-context] bibliography (interaction)

2013-03-21 Thread Hans Hagen
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

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread H. Özoguz
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

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread Keith J. Schultz
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

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread john Culleton
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

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread Jonathan Barchi
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

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread Wolfgang Schuster
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

[NTG-context] TOC: Chapters with and without page-numbers

2013-03-13 Thread H. Özoguz
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

[NTG-context] TOC: Chapters with and without page-numbers

2013-03-12 Thread H. Özoguz
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

Re: [NTG-context] \startnarrower and ToC

2013-02-07 Thread Marco Patzer
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

<    1   2   3   4   5   6   7   8   9   >