Re: [NTG-context] Lower the title of TOC

2014-05-02 Thread Wolfgang Schuster
Am 02.05.2014 um 09:38 schrieb H. Özoguz : > Hi, > > how to lower the TOC-title, s.t. it begins with a greater distance to the top? > Here a min-examlpe. > > \starttext > \completecontent > \chapter{Blub1} > \chapter{Blub2} > \stoptext > > > I mean s

[NTG-context] Lower the title of TOC

2014-05-02 Thread H. Özoguz
Hi, how to lower the TOC-title, s.t. it begins with a greater distance to the top? Here a min-examlpe. \starttext \completecontent \chapter{Blub1} \chapter{Blub2} \stoptext I mean something like: \starttext \strut\blank[2cm] \completecontent \chapter{Blub1} \chapter{Blub2} \stoptext But

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

2014-04-17 Thread Wolfgang Schuster
qual to one (first chapter). \define[1]\Weirdnumber {\ifcase#1\relax % 0 \or First% 1 \else \convertnumber{Romannumerals}{#1}% \fi} \defineconversion[Weirdnumber][\Weirdnumber] \defineconversionset[Weirdchapter][number,Weirdnumber][number] \setuplist[chapter][width=3em,

[NTG-context] Problem with pdf output for FeedARead.com

2014-04-15 Thread Keith McKay
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

Re: [NTG-context] another issue with PDF bookmarks

2014-04-09 Thread Andreas Schneider
On 08.04.2014 16:20, Pablo Rodriguez wrote: > Dear list, > > I have a sample that shows an issue with PDF bookmarks: > > \setupinteraction[state=start] > \placebookmarks[chapter] > \setupheadertexts[chapter] > \starttext > \completecontent > &g

[NTG-context] another issue with PDF bookmarks

2014-04-08 Thread Pablo Rodriguez
Dear list, I have a sample that shows an issue with PDF bookmarks: \setupinteraction[state=start] \placebookmarks[chapter] \setupheadertexts[chapter] \starttext \completecontent \chapter{Footnote\footnote{Only in bookmarks}} \stoptext Sorry, but I don’t know why

[NTG-context] PDF bookmarks issue with heads

2014-03-29 Thread Pablo Rodriguez
Hans, just accidentally, I discovered that adding a head (the content list itself) before the front matter disorders PDF bookmarks (bodymatter is before frontmatter). Here is a sample \setupinteraction[state=start] \placebookmarks[chapter,section] \starttext \completecontent

[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] What’s wrong with \nomarking{\crlf}?

2014-03-06 Thread Henning Hraban Ramm
way to go}] \include knuth \stopchapter \completecontent \stoptext Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your que

Re: [NTG-context] Interaction's focus for footnotes/index entries

2014-02-24 Thread Jan Tosovsky
> > > > \setupinteraction[state=start,focus=standard] > > \starttext > > \startfrontmatter > > \completecontent > > \stopfrontmatter > > \startbodymatter > > \section{Primary}\index{primary} > > Dummy text\footnote{footnote}. > > \stopbod

Re: [NTG-context] Interaction's focus for footnotes/index entries

2014-02-23 Thread Rik Kabel
rontmatter \completecontent \stopfrontmatter \startbodymatter \section{Primary}\index{primary} Dummy text\footnote{footnote}. \stopbodymatter \startbackmatter \completeindex \stopbackmatter \stoptext Just generate the output, zoom the second or third page in and click any hyperlink on that scaled page. It

[NTG-context] Interaction's focus for footnotes/index entries

2014-02-23 Thread Jan Tosovsky
Dear All, 'focus=standard' settings for interaction seems to be supported for ToC only... When any hyperlink for footnote or index is clicked, the zoom is set to FitPage: \setupinteraction[state=start,focus=standard] \starttext \startfrontmatter \completecontent \stopfrontmatter \start

Re: [NTG-context] \completecontent affects text height

2014-02-18 Thread Thangalin
Thank you Wolfgang! The header=high and mixed columns works perfectly. > \define[1]\IngredientMeasure > {\doifsomething{#1}{#1}} This didn't work. For example, "24 snail" became "24snail" because there is no measurement involved. I tried using { #!} (extra space), but it didn't produce the

Re: [NTG-context] \completecontent affects text height

2014-02-18 Thread Wolfgang Schuster
ur.com/VLwssnl.png ) > 5. Edit garlic.tex. > 6. Remove \completecontent > 7. Run: context garlic.tex > 8. View page 3 of the PDF ( http://i.imgur.com/HVAoavQ.png ) > > The Table of Contents affects the column height in the body. The > available height for the text body should be

[NTG-context] \completecontent affects text height

2014-02-18 Thread Thangalin
Hi, First question: 1. Save http://pastebin.com/raw.php?i=8DQNCcvC as setup.tex 2. Save http://pastebin.com/raw.php?i=KgcxCxGB as garlic.tex 3. Run: context garlic.tex 4. View page 3 of the PDF ( http://i.imgur.com/VLwssnl.png ) 5. Edit garlic.tex. 6. Remove \completecontent 7. Run: context

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

2014-02-10 Thread Wolfgang Schuster
rst page of the ToC, > with its sections on the next page. I have tried \completecontent[3.7], as > described on p. 53 of "ConTeXt an excursion", but that does not work for me > (I'm on mkiv). > What can be done about it? You can use \testpage to make sure chapt

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

2014-02-10 Thread Robert Blackstone
\completecontent[3.7], as described on p. 53 of "ConTeXt an excursion", but that does not work for me (I'm on mkiv). What can be done about it? 2 My list of figures gives the complete captions, some of which are long. Those exceeding their allotted space break off, which is OK, but ther

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

2014-02-01 Thread Wolfgang Schuster
\hskip 1em \NC \currentlistentrytitle{} \NR >\stoptabulate >\stopsetups > >\definelistalternative > [TOC] > [renderingsetup=list:TOC] > >% Format the ToC style. >\setupcombinedlist[content][ > alternative=TOC, >] > >\starttext >

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

2014-01-31 Thread Thangalin
ToC style. \setupcombinedlist[content][ alternative=TOC, ] \starttext \completecontent \startchapter [title=alpha] \stopchapter \startsection[title=alphasec] \stopsection \startchapter [title=beta] \stopchapter \startsection[title=alphasec] \s

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

2014-01-23 Thread Wolfgang Schuster
2014/1/23 Hans Hagen > On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: > >> 2014/1/23 Hans Hagen mailto:pra...@wxs.nl>> >> >> >> we can do this: >> >> \startsetups[\??__listrenderings:abc] >> >> \endgraf % are we grouped? >> \advance\leftskip\__listparameter\c!margin % a

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

2014-01-23 Thread Hans Hagen
On 1/23/2014 10:24 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen mailto:pra...@wxs.nl>> On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen mailto:pra...@wxs.nl> >> we can do this:

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

2014-01-23 Thread Hans Hagen
On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen mailto:pra...@wxs.nl>> we can do this: \startsetups[\??__listrenderings:abc] \endgraf % are we grouped? \advance\leftskip\__listparameter\c!margin % after \endgraf ! but it needs testing I don

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

2014-01-23 Thread Wolfgang Schuster
2014/1/23 Hans Hagen > > we can do this: > > \startsetups[\??listrenderings:abc] > \endgraf % are we grouped? > \advance\leftskip\listparameter\c!margin % after \endgraf ! > > but it needs testing > I don’t think this is an option because it will change the layout of the TOC in many exi

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

2014-01-23 Thread Hans Hagen
On 1/22/2014 11:20 PM, Wolfgang Schuster wrote: Hi Rudolf, what you try doesn’t work because the narrower environment and the list alternative you use try to change the same internal register for the distance from the left margin. What you have to do is to write your own layout for the section

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

2014-01-23 Thread Rudolf Bahr
On Wed, Jan 22, 2014 at 11:20:45PM +0100, Wolfgang Schuster wrote: > > Hi Rudolf, > > what you try doesn’t work because the narrower environment and the list > alternative you use try to change the same internal register for the distance > from the left margin. What you have to do is to write

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

2014-01-22 Thread Wolfgang Schuster
which both didn't work as expected. 1. attempt with "\startnarrower[left,right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower": The output of the following minimalistic example is partly attached as .pdf file. I shortened there the textheight to 80mm. a.) I would

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

2014-01-22 Thread Rudolf Bahr
Hello listmembers, ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2014.1.6 I'm typesetting a book in A4 landscape and would like to indent the TOC at both sides. I tried two solutions which both didn't work as expected. 1. attempt with "\startnarrower[left,right] \

Re: [NTG-context] Unnumbered chapters before the ToC

2014-01-15 Thread Zhichu Chen
hich should not be at the very beginning of the > book? > But you have suggested the answer already: Changing \title{Contents} to > \prechapter{Contents} does just that. Clean solution for an, imho, odd > request. > Please use: \complet

[NTG-context] Weird page numbering

2014-01-12 Thread Zhichu Chen
minimal code: === \setuppagenumbering[alternative=doublesided] \starttext \startstandardmakeup TITLE \stopstandardmakeup \startfrontmatter \chapter{Preface} \completecontent[criterium=all] \stopfrontmatter \stoptext

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

2013-12-06 Thread H. van der Meer
an der Meer <h.vanderm...@uva.nl>:The table of contents results from:\startfrontmatter \input front \let\ChapterTOC\relax % Only then chapters typeset !? \completecontent\stopfrontmatterThe table of contents is typeset from the completecontent, so I guess the answer to your ques

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

2013-12-06 Thread Wolfgang Schuster
Am 06.12.2013 um 14:59 schrieb H. van der Meer : > The table of contents results from: > > \startfrontmatter > \input front > \let\ChapterTOC\relax % Only then chapters typeset !? > \completecontent > \stopfrontmatter > > The t

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

2013-12-06 Thread H. van der Meer
The table of contents results from: \startfrontmatter \input front \let\ChapterTOC\relax % Only then chapters typeset !? \completecontent \stopfrontmatter The table of contents is typeset from the completecontent, so I guess the answer to your question

Re: [NTG-context] PDF bookmarks - incorrect titles for registers

2013-11-26 Thread Jan Tosovsky
pinteraction[state=start] > >> \placebookmarks[chapter] > >> \setupinteractionscreen[option=bookmark] > >> > >> \defineregister[indexname][indexnames] > >> \defineregister[indexsubject][indexsubjects] > >> \setupheadtext[indexname=Name Index] > >> \setu

Re: [NTG-context] PDF bookmarks - incorrect titles for registers

2013-11-26 Thread Hans Hagen
] \defineregister[indexsubject][indexsubjects] \setupheadtext[indexname=Name Index] \setupheadtext[indexsubject=Subject Index] \starttext \completecontent \chapter{Chapter}text\indexname{primary}\indexsubject{primary} \startbackmatter \completeindexname \completeindexsubject \stopbackmatter \stoptext

Re: [NTG-context] PDF bookmarks - incorrect titles for registers

2013-11-26 Thread Jan Tosovsky
dexnames] > \defineregister[indexsubject][indexsubjects] > \setupheadtext[indexname=Name Index] > \setupheadtext[indexsubject=Subject Index] > > \starttext > \completecontent > \chapter{Chapter}text\indexname{primary}\indexsubject{primary} > \startbackmatter > \completeindexname

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

2013-11-25 Thread Jan Tosovsky
setupcombinedlist[content][list=chapter, alternative=c] > >> \setupcombinedlist[chapter][ > >> distance=1em, > >> width=1cm, > >> > numbercommand={\simplealignedbox{\listparameter{width}}{flushright}}, > >> ] > >> > >>

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

2013-11-25 Thread Hans Hagen
}}, ] \starttext \completecontent \startfrontmatter \chapter{Preface}text \stopfrontmatter \startbodymatter \chapter{Chapter}text\index{primary} \stopbodymatter \startbackmatter \completeindex \stopbackmatter \stoptext Is there any way how to indent these non-numbered titles so that they start where the

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

2013-11-24 Thread Jan Tosovsky
parameter{width}}{flushright}}, > ] > > \starttext > \completecontent > > \startfrontmatter > \chapter{Preface}text > \stopfrontmatter > > \startbodymatter > \chapter{Chapter}text\index{primary} > \stopbodymatter > > \startbackmatter > \completeindex > \

Re: [NTG-context] Linespacing in TOC

2013-11-22 Thread Hans Hagen
hapter{Appendix}text \stopbackmatter \stoptext I cannot use simply the \completecontent command as the linespacing is effective already between the title and the first entry line... so I am splitting the title and the rest and set the linespacing just before list rendering. Finally I am resetting the

Re: [NTG-context] Linespacing in TOC

2013-11-22 Thread Jan Tosovsky
> > \chapter{Intro}text > > > > text > > > > text > > \startfrontmatter > > \startbodymatter > > \chapter{Chapter}text > > \stopbodymatter > > \startbackmatter > > \chapter{Appendix}text > > \stopbackmatter > > \stoptext > &g

Re: [NTG-context] Linespacing in TOC

2013-11-19 Thread Hans Hagen
ll, just for testing \placecontent \setupinterlinespace[line=2.75ex] %\setupinterlinespace[reset] \startfrontmatter \chapter{Intro}text text text \startfrontmatter \startbodymatter \chapter{Chapter}text \stopbodymatter \startbackmatter \chapter{Appendix}text \stopbackmatter \stoptext I cannot use simply

[NTG-context] Linespacing in TOC

2013-11-19 Thread Jan Tosovsky
inespace[line=2.75ex] %\setupinterlinespace[reset] \startfrontmatter \chapter{Intro}text text text \startfrontmatter \startbodymatter \chapter{Chapter}text \stopbodymatter \startbackmatter \chapter{Appendix}text \stopbackmatter \stoptext I cannot use simply the \completecontent command as the linespacing

[NTG-context] PDF bookmarks - incorrect titles for registers

2013-11-18 Thread Jan Tosovsky
=Name Index] \setupheadtext[indexsubject=Subject Index] \starttext \completecontent \chapter{Chapter}text\indexname{primary}\indexsubject{primary} \startbackmatter \completeindexname \completeindexsubject \stopbackmatter \stoptext Is it necessary to switch something else on? Thanks, Jan ConTeXt

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

2013-11-18 Thread Jan Tosovsky
and thus aligned improperly: \setupcombinedlist[content][list=chapter, alternative=c] \setupcombinedlist[chapter][ distance=1em, width=1cm, numbercommand={\simplealignedbox{\listparameter{width}}{flushright}}, ] \starttext \completecontent \startfrontmatter \chapter{Preface}text \stopfr

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

2013-11-18 Thread Jan Tosovsky
ternative=c] > > > > \setupcombinedlist > > [chapter] > > [distance=1em, > >width=1cm, > >numbercommand={\simplealignedbox{\listparameter{width}}{flushright}} > > ] > > > > \starttext > > \completecontent > > \chapter{Foo} >

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

2013-11-17 Thread Jan Tosovsky
numbercommand={\simplealignedbox{\listparameter{width}}{flushright}} > ] > > \starttext > \completecontent > \chapter{Foo} > \chapter{Bar} > \stoptext > Whereas this works for basic test cases, in my document it ends with an error: structure > sectioning > title

[NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Jan Tosovsky
combinedlist[content][list=chapter, alternative=c] \starttext \completecontent \chapter{Foo}text \chapter{Bar}text \stoptext Thanks, Jan ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
et to FitPage :-( Preserving of zoom seems to be working for TOC only... \setupinteraction[state=start,focus=standard] \starttext \startfrontmatter \completecontent \blank \section{Primary}\index{primary} Dummy text. \stopbod

Re: [NTG-context] bookmarks: frontpart, bodypart, etc. ???

2013-11-07 Thread pol stra
only get "introduction" > > and "content" bookmarks, while not using a meta-structure, I have my > > part and chapter (which is the desired behaviour). How can I get the > > same behaviour in both structures? > > (by the way, how can I change the bookmarks of th

Re: [NTG-context] Aligning Part-Title in TOC

2013-11-06 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, a bit ugly but working somehow \setuphead[part][number=no] %\showboxes \starttext \completecontent \part{\inframed[frame=off]{Part 2:} \inframed [frame=off,width=fit,align=flushleft,location=high] {This is the title of the first part, it is very

Re: [NTG-context] Pdf bookmarks with meta-structure (frontmatter, bodymatter etc)

2013-11-05 Thread Pol Stra
e, I have my > > part and chapter (which is the desired behaviour). How can I get the > > same behaviour in both structures? > > (by the way, how can I change the bookmarks of the table of contents, I > > tried \completecontent[bookmark=mytitle] and \setupcombinedlist[mytitle]

Re: [NTG-context] Pdf bookmarks with meta-structure (frontmatter, bodymatter etc)

2013-11-04 Thread Hans Hagen
both structures? (by the way, how can I change the bookmarks of the table of contents, I tried \completecontent[bookmark=mytitle] and \setupcombinedlist[mytitle] without success). Thank you all Here is my sample code: \setupinteraction [state=start] \placebookmarks[part, chapter, section, title

[NTG-context] Aligning Part-Title in TOC

2013-10-23 Thread H. Özoguz
Hello together, my question today is about aligning the part-title in the toc, see this simple example: \setuphead[part][number=no] \starttext \completecontent \part{Part 1: This is the title of the first part, it is very very long, but actually not a real title of a part in a book

[NTG-context] Pdf bookmarks with meta-structure (frontmatter, bodymatter etc)

2013-10-21 Thread pol stra
change the bookmarks of the table of contents, I tried \completecontent[bookmark=mytitle] and \setupcombinedlist[mytitle] without success). Thank you all Here is my sample code: \setupinteraction [state=start] \placebookmarks[part, chapter, section, title, subject][force=yes] \setup

Re: [NTG-context] Breaks in TOC

2013-10-07 Thread H. Özoguz
http://www.ntg.nl/pipermail/ntg-context/2013/072485.html Wolfgang Thanks Wolfgang, so I guess the key I was looking for is "list". But see what happens here: \starttext \completecontent \startsection[ title={Eine sehr, sehr lange Überschrift, die auf jeden Fall irgendei

[NTG-context] Breaks in TOC

2013-10-01 Thread H. Özoguz
Hi there, two questions about formatting the TOC or the titles in the TOC: 1. How to formate the titles different in the text and in the TOC respectively? I only mean line breaks. E.g., see this minexample: \starttext \completecontent \startsection[ title={Eine sehr, sehr lange

Re: [NTG-context] EPUB XHTML Format

2013-09-05 Thread Thangalin
Title page \stopstandardmakeup \startstandardmakeup Copyright \stopstandardmakeup \completecontent \stopfrontmatter This produced "*Title pageCopyright*" as text without any markup, which makes the EPUB output a bit difficult to parse. I thought the software sho

[NTG-context] Unexpected EPUB Output

2013-09-03 Thread Thangalin
standardmakeup Title page \stopstandardmakeup \startstandardmakeup Copyright \stopstandardmakeup \completecontent \stopfrontmatter The front matter produces correct PDF output (with three separate pages for the title page, copyright page, and ToC, respectively). What must I do to wra

Re: [NTG-context] Different counters for titles

2013-09-03 Thread H. Özoguz
}] \starttext \completecontent \startmychapter[ownnumber=0,title=Vorwort] \chapter{First Chapter} \section{Some section in the first chapter} \chapter{Second chapter} \section{Some section in the second chapter} \stoptext Still "first chapter" has the number 2 etc. Of course I could change al

Re: [NTG-context] Different counters for titles

2013-09-03 Thread Hans Hagen
{mychapter, chapter, section}] \starttext \completecontent \mychapter{Vorwort} \chapter{First Chapter} \section{Some section in the first chapter} \chapter{Second chapter} \section{Some section in the second chapter} \stoptext The problem is now: Obviously the counter of mychapter and chapter i

[NTG-context] Different counters for titles

2013-09-02 Thread H. Özoguz
\completecontent \mychapter{Vorwort} \chapter{First Chapter} \section{Some section in the first chapter} \chapter{Second chapter} \section{Some section in the second chapter} \stoptext The problem is now: Obviously the counter of mychapter and chapter is the same. Because "first chapter" begins w

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

2013-08-25 Thread Robert Blackstone
r the first column of the List of Figures? Thanks in advance for any advice. Best regards, Robert Blackstone ME: -- \useMPlibrary[dum] \usemodule[simplefonts] \setmainfont[Verdana] \setupbodyfont[9pt] \starttext \completecontent \completelistoffigures[

Re: [NTG-context] Part numbers

2013-08-12 Thread Tim Steenvoorden
I think this is what you need: \definestructureresetset[default][1,0,1][1] \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=chapter:section] \starttext \completecontent \dorecurse{5}{\part{Part} \dorecurse{2}{\chapter{Chapter} \dorecurse{2}{\section{Section \stoptex

Re: [NTG-context] Part numbers

2013-08-11 Thread Pablo Rodríguez
sectionsegments=chapter:section] \starttext \completecontent \dorecurse{5}{\part{Part} \dorecurse{2}{\chapter{Chapter} \dorecurse{2}{\section{Section \stoptext I hope it helps, Pablo -- http://www.ousia.tk _

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

2013-08-06 Thread Marco Patzer
up] [part] [placehead=empty, page=no, number=no] \setuphead [chapter] [sectionresetset=none, sectionsegments=chapter] \setuplist [sectiongroup] [pagenumber=no] \defineresetset [none] [] [0] \setupcombinedlist [content] [list={sectiongroup, chapter}] \starttext \completecon

Re: [NTG-context] [***SPAM***] Section without numbering

2013-07-25 Thread H. Özoguz
\setuphead[subject][incrementnumber=list] Wolfgang Thanks Wolfgang, but that does not work here. My minexample: \setupcombinedlist [content] [alternative=b, list={chapter, section, subject %subsubsection, }] \setuphead[subject][incrementnumber=list] \starttext \completecontent \subject

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

2013-07-09 Thread Wolfgang Schuster
or (bordeaux), but the chapter number is > still uncolored - same color like rest of that line (black). > > What am I doing wrong here? 1. You forgot a minimal example which demonstrates the problem. 2. You didn’t test numbercolor. \setuplist [chapter] [color=green, number

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

2013-06-03 Thread honyk
; \setupheadnumber[chapter][48] > > \setupcombinedlist > [content] > [alternative=c] > > \setupcombinedlist > [chapter] > [distance=1em, >width=1cm, > > numbercommand={\simplealignedbox{\listparameter{width}}{flushright}}] > > \starttext > \completecon

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

2013-06-03 Thread Marco Patzer
tive=c] \setupcombinedlist [chapter] [distance=1em, width=1cm, numbercommand={\simplealignedbox{\listparameter{width}}{flushright}}] \starttext \completecontent \chapter{Foo} \chapter{Bar} \stoptext > In addition, the specified width and distance seem to be somehow > ignored so that labe

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

2013-06-03 Thread honyk
=Romannumerals] \setupheadnumber[chapter][48] \setupcombinedlist[content][ alternative=c, distance=1em, width=3cm, ] \starttext \completecontent \chapter{Foo} \chapter{Bar} \stoptext Here is the link with several screenshots of desired formatting: http

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

2013-05-12 Thread Zenlima
istance=0mm,balance=yes]}% \ignorespaces} \def\stopParagraphTocColumns{% \writebetweenlist[paragraphHead][location=here]{\stopcolumns\stopnarrower}% \ignorespaces} \starttext \setupcombinedlist[content][list={chapter,section,subsection,textdividerHead,paragraphHead}] \completecontent \s

Re: [NTG-context] How do you customize the chapter number format?

2013-04-29 Thread Wolfgang Schuster
s up in > the table of contents as well? \define[1]\ChapterConversion {\convertnumber{Numbers}{#1}.0} \defineconversion[ChapterConversion][\ChapterConversion] \setuphead[chapter][conversion=ChapterConversion] \starttext \completecontent \chapter{First

Re: [NTG-context] Supressing a heading from the table of contents

2013-04-28 Thread lance.c.lar...@gmail.com
he list for the \completecontent. \setupcombinedlist[content][list={chapter,section}] Wolfgang___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-contex

Re: [NTG-context] Supressing a heading from the table of contents

2013-04-27 Thread Wolfgang Schuster
included in the table of contents. > I think I came across this, but am having trouble finding it again. > You can use \placelist where list only the headings which should appear, e.g. \placelist[chapter,section] or you change the list for the \completecontent. \setupcombinedlis

Re: [NTG-context] Vanishing chapter title from Contents

2013-04-17 Thread Tim Li
\definehead[backmatterchapter][chapter] […] The chapter title "Backmatter" in the backmatter won't appear in the Contents. Why? How can I make it appear in the Contents? You have to redefine the \completecontent command to include “backmatterchapter” in the l

Re: [NTG-context] typesetting TOC

2013-04-17 Thread Meer, H. van der
It took me quite a while to find the solution for this problem. By posting it here, I hope this will be useful to others. \completecontent set the list composed of the chapters with a previous call to: \setupcombinedlist[content][list=chapter] and the list of chapters and included sections

Re: [NTG-context] Vanishing chapter title from Contents

2013-04-17 Thread Wolfgang Schuster
s. Why? How can I make it appear in the Contents? You have to redefine the \completecontent command to include “backmatterchapter” in the list of headings. \definecombinedlist[content][part,chapter,backmatterchapter,section,subs

[NTG-context] Vanishing chapter title from Contents

2013-04-17 Thread Tim Li
Hi, maybe, codes is our language :-) % define a new head\definehead[backmatterchapter][chapter] \starttext \startfrontmatter \title{Preface} \completecontent \stopfrontmatter \startbodymatter \chapter{First Chapter} \stopbodymatter \startbackmatter \backmatterchapter{Backmatter} \stopbackmatter

Re: [NTG-context] where is completecontent defined?

2013-04-16 Thread Hans Hagen
On 4/16/2013 9:12 PM, Meer, H. van der wrote: Your statement doesn't seem true. In neither of the files you mentioned is there a string 'completecontent' to be found. Always assuming I can trust my BBEdit search, of course. In fact 'completecontent' occ

Re: [NTG-context] where is completecontent defined?

2013-04-16 Thread Meer, H. van der
Your statement doesn't seem true. In neither of the files you mentioned is there a string 'completecontent' to be found. Always assuming I can trust my BBEdit search, of course. In fact 'completecontent' occurs in one place only, as %\completecontent in strc-pag.mkiv

Re: [NTG-context] where is completecontent defined?

2013-04-16 Thread Wolfgang Schuster
Am 16.04.2013 um 17:51 schrieb "Meer, H. van der" : > I tried to find the definition of \completecontent in the source, but > searching for it doesn't turn up its occurence. Where do I have to look? The \completecontent command is created with \definecombinedlist[content]

[NTG-context] where is completecontent defined?

2013-04-16 Thread Meer, H. van der
I tried to find the definition of \completecontent in the source, but searching for it doesn't turn up its occurence. Where do I have to look? Hans van der Meer ___ If your question is of interest to othe

Re: [NTG-context] select TOC elements

2013-04-16 Thread Wolfgang Schuster
At the moment I 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 l

[NTG-context] select TOC elements

2013-04-16 Thread Meer, H. van der
With \placecontents I am able to put the TOC for a chapter right after the chapter heading. So far so good. But now I would like to suppress in the overall TOC all elements below the chapters. How to? At the moment I am using \completecontent for calling up the TOC. I looked in the

Re: [NTG-context] Deactivating gridsetting for TOC

2013-04-15 Thread Wolfgang Schuster
d \setuplist[chapter][style=\tfb] \setuplist[section][style=\tfa] \starttext \setuplayout[grid=no] \completecontent \page \setuplayout[grid=yes] \dorecurse{10} {\chapter{Chapter #1} \dorecurse{10} {\sec

Re: [NTG-context] Deactivating gridsetting for TOC

2013-04-15 Thread Wolfgang Schuster
een two titles in the toc. I understand that behaviour, it is > because of the different sizes. > > Instead of involved testings with different sizes and vertical spaces, can I > simply switch off the grid-setting for the toc? That would be the easiest. > I tried > \placeongrid{

[NTG-context] Deactivating gridsetting for TOC

2013-04-15 Thread H. Özoguz
different sizes. Instead of involved testings with different sizes and vertical spaces, can I simply switch off the grid-setting for the toc? That would be the easiest. I tried \placeongrid{\completecontent}, and that works, no more blank lines. But now the complete toc is set on one page only

[NTG-context] float combinations

2013-04-13 Thread Robert Blackstone
][MediumCow1]{{\bf b}. A larger cow.} {\externalfigure[MediumCow]} And here comes a mill. \placefigure[here][Mill1]{A mill.} {\externalfigure[Mill]} \page {\bf List of Figures} \placelist[figure] \completecontent \stoptext % This way "a&qu

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster
ately, they do not work! >>> >>> \definehead [intro] [chapter] \setuphead [intro] [number=no] >>> will increment the chapter number, as does >>> \setuphead [title] [incrementnumber=yes,number=no] >>> >>> trying "coupling=no" gives missing n

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Alan BRASLAU
no] > > will increment the chapter number, as does > > \setuphead [title] [incrementnumber=yes,number=no] > > > > trying "coupling=no" gives missing number errors (in the toc). > > Use > > \placelist[chapter,intro,section,…] > > to flush

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster
trying "coupling=no" gives missing number errors (in the toc). Use \placelist[chapter,intro,section,…] to flush a list with your intro heading or extend \completecontent with \intro: \definecombinedlist[content][chapter,intro,section,…] Wolfgang __

Re: [NTG-context] single spacing TOC

2013-04-04 Thread john Culleton
nt 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? > > There are no blank lines between the e

Re: [NTG-context] single spacing TOC

2013-04-03 Thread Wolfgang Schuster
tive=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}} \stoptext Wolfgang ___

[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. H

Re: [NTG-context] start page numbering in MKIV

2013-04-01 Thread Wolfgang Schuster
Am 01.04.2013 um 22:42 schrieb john Culleton : > The command > \setuppagenumber[number=3,state=start] seems not to work under > MKIV. Here is the sequence: > > \setuppagenumber[number=3,state=start] > \completecontent > \chapter[Introduction} > > but Chapter 1 Intro

[NTG-context] start page numbering in MKIV

2013-04-01 Thread john Culleton
The command \setuppagenumber[number=3,state=start] seems not to work under MKIV. Here is the sequence: \setuppagenumber[number=3,state=start] \completecontent \chapter[Introduction} but Chapter 1 Introduction is shown in the TOC with page 3. It should be page 5 since the TOC starts on physical

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

2013-03-27 Thread Willi Egger
Hi Wolfgang, nice feature. However when applying it, the numbering of the chapters is not correct. - See attached minimal example Willi \starttext \completecontent \startchapter[title=Chapter in list] \stopchapter \startchapter[title=Chapter not in list, saveinlist=no] \stopchapter

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 : > 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} > \stopt

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

2013-03-15 Thread Jonathan Barchi
On Fri, Mar 15, 2013 at 11:53 AM, john Culleton wrote: > On Fri, 15 Mar 2013 09:07:33 +0100 > "Keith J. Schultz" wrote: > >> Hi, >> >> I could find any options to do what you want. >> >> I assume you would have to redefine completecontent comm

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

2013-03-15 Thread john Culleton
On Fri, 15 Mar 2013 09:07:33 +0100 "Keith J. Schultz" wrote: > Hi, > > I could find any options to do what you want. > > I assume you would have to redefine completecontent command to get > the functionality you need. > > I have not checked, but I assume tha

<    1   2   3   4   5   6   7   8   9   10   >