[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 question

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

2014-02-24 Thread Jan Tosovsky
] \starttext \startfrontmatter \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

[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 \startbodymatter

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

2014-02-23 Thread Rik Kabel
\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 points

[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] \completecontent affects text height

2014-02-18 Thread Wolfgang Schuster
/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 independent of \completecontent

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

[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 there are some

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

2014-02-10 Thread Wolfgang Schuster
of the first 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 chapter entries have a certain number

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

2014-02-01 Thread Wolfgang Schuster
[TOC] [renderingsetup=list:TOC] % Format the ToC style. \setupcombinedlist[content][ alternative=TOC, ] \starttext \completecontent \startchapter [title=alpha] \stopchapter \startsection[title=alphasec] \stopsection \startchapter

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

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

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 your

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 Wolfgang Schuster
2014/1/23 Hans Hagen 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’t think this is an option because it will change the layout of the TOC in

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 pra...@wxs.nl 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

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 pra...@wxs.nl mailto:pra...@wxs.nl On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl mailto:pra...@wxs.nl mailto:pra...@wxs.nl we can do

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

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

[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] \completecontent

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

2014-01-22 Thread Wolfgang Schuster
solutions 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 expect the TOC

[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
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] wider item numbering in toc

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

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

2013-12-06 Thread H. van der Meer
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 question will be \setuplist.There

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

2013-11-26 Thread Jan Tosovsky
][indexsubjects] \setupheadtext[indexname=Name Index] \setupheadtext[indexsubject=Subject Index] \starttext \completecontent \chapter{Chapter}text\indexname{primary}\indexsubject{primary} \startbackmatter \completeindexname \completeindexsubject \stopbackmatter \stoptext Is it necessary

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
=bookmark] \defineregister[indexname][indexnames] \defineregister[indexsubject][indexsubjects] \setupheadtext[indexname=Name Index] \setupheadtext[indexsubject=Subject Index] \starttext \completecontent \chapter{Chapter}text\indexname{primary}\indexsubject{primary} \startbackmatter

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

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

2013-11-25 Thread Jan Tosovsky
={\simplealignedbox{\listparameter{width}}{flushright}}, ] \starttext \completecontent \startfrontmatter \chapter{Preface}text \stopfrontmatter \startbodymatter \chapter{Chapter}text\index{primary} \stopbodymatter \startbackmatter \completeindex \stopbackmatter \stoptext

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

2013-11-24 Thread Jan Tosovsky
/index titles without numbering and thus aligned improperly: \setupcombinedlist[content][list=chapter, alternative=c] \setupcombinedlist[chapter][ distance=1em, width=1cm, numbercommand={\simplealignedbox{\listparameter{width}}{flushright}}, ] \starttext \completecontent

Re: [NTG-context] Linespacing in TOC

2013-11-22 Thread Jan Tosovsky
\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 value

Re: [NTG-context] Linespacing in TOC

2013-11-22 Thread Hans Hagen
\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 value manually

[NTG-context] Linespacing in TOC

2013-11-19 Thread Jan Tosovsky
] %\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 is effective already

Re: [NTG-context] Linespacing in TOC

2013-11-19 Thread Hans Hagen
\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 the \completecontent

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

2013-11-18 Thread Jan Tosovsky
{\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: structuresectioning title @ level 2 : 0.0 - \headtext {content} ! Argument of \147flushright

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

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

[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

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

2013-11-17 Thread Jan Tosovsky
][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 the Wiki! maillist

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

2013-11-17 Thread Jan Tosovsky
\completecontent \chapter{Foo} \chapter{Bar} \stoptext Whereas this works for basic test cases, in my document it ends with an error: structuresectioning title @ level 2 : 0.0 - \headtext {content} ! Argument of \147flushright has an extra }. How can I decode this message and fix

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

2013-11-07 Thread pol stra
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] without success). Thank you all Here is my

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

2013-11-07 Thread honyk
... \setupinteraction[state=start,focus=standard] \starttext \startfrontmatter \completecontent \blank \section{Primary}\index{primary} Dummy text. \stopbodymatter \startbackmatter \completeindex \stopbackmatter \stoptext Jan

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
). 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] without success). Thank you all Here is my sample code: \setupinteraction

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

2013-11-04 Thread Hans Hagen
? (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, subject][force=yes

[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
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] \setupcombinedlist[content][ list

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 irgendeine Art von Formatierung

[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
was this: \startfrontmatter \startstandardmakeup 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

[NTG-context] Different counters for titles

2013-09-03 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 with number 2

Re: [NTG-context] Different counters for titles

2013-09-03 Thread Hans Hagen
, 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 is the same

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 all chapter

[NTG-context] Unexpected EPUB Output

2013-09-03 Thread Thangalin
is coded: \startfrontmatter \startstandardmakeup 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

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

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

Re: [NTG-context] Part numbers

2013-08-12 Thread Tim Steenvoorden
[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 \stoptext I hope it helps, Pablo

Re: [NTG-context] Part numbers

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

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] [***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
(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, numbercolor=red, %pagecolor=orange, textcolor=blue] \starttext \completecontent \chapter{Test} \stoptext

[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

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

2013-06-03 Thread Marco Patzer
] \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 label interferes

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

2013-06-03 Thread honyk
[content] [alternative=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

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

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

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

2013-04-29 Thread Wolfgang Schuster
]\ChapterConversion {\convertnumber{Numbers}{#1}.0} \defineconversion[ChapterConversion][\ChapterConversion] \setuphead[chapter][conversion=ChapterConversion] \starttext \completecontent \chapter{First Chapter} \section{First Section} \stoptext Wolfgang

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

2013-04-28 Thread lance.c.lar...@gmail.com
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-context@ntg.nl / http://www.ntg.nl

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

2013-04-27 Thread Wolfgang Schuster
heading level 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. \setupcombinedlist

[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] Vanishing chapter title from Contents

2013-04-17 Thread Wolfgang Schuster
in the Contents? You have to redefine the \completecontent command to include “backmatterchapter” in the list of headings. \definecombinedlist[content][part,chapter,backmatterchapter,section,subsection,subsubsection,subsubsubsection] Wolfgang

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 Tim Li
:-) % define a new head \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 list of headings

[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

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

[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 others

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 h.vanderm...@uva.nl: 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

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, that is all. I excluded

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' occurs in one place only

[NTG-context] Deactivating gridsetting for TOC

2013-04-15 Thread H. Özoguz
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{\completecontent}, and that works, no more blank lines. But now the complete toc is set on one page only

Re: [NTG-context] Deactivating gridsetting for TOC

2013-04-15 Thread Wolfgang Schuster
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{\completecontent}, and that works

Re: [NTG-context] Deactivating gridsetting for TOC

2013-04-15 Thread Wolfgang Schuster
] \starttext \setuplayout[grid=no] \completecontent \page \setuplayout[grid=yes] \dorecurse{10} {\chapter{Chapter #1} \dorecurse{10} {\section{Section #1.##1} \input ward\par}} \stoptext Wolfgang

[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 and b

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

2013-04-09 Thread Wolfgang Schuster
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] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Alan BRASLAU
, 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 a list with your intro heading or extend \completecontent with \intro: \definecombinedlist[content

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

2013-04-09 Thread Wolfgang Schuster
[intro] [number=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 a list with your intro heading or extend \completecontent

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
] \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] 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] start page numbering in MKIV

2013-04-01 Thread Wolfgang Schuster
Am 01.04.2013 um 22:42 schrieb john Culleton j...@wexfordpress.com: 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

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 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
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 that completecontent accesses a Lua-table with the TOC information. It should be easy enough to use this table

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 keithjschu...@web.de 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 that completecontent

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 j...@wexfordpress.com wrote: On Fri, 15 Mar 2013 09:07:33 +0100 Keith J. Schultz keithjschu...@web.de wrote: Hi, I could find any options to do what you want. I assume you would have to redefine completecontent command to get

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] Indentation in TOC

2013-02-04 Thread Devendra Ghate
of *\framed* are valid for *setuplist*) also, but doesn't seem to have any effect. Please point out the mistake. Regards, Devendra *MWE* \definehspace[myem][2em] \def\secnum#1{\hspace[myem]#1} \setuplist [section] [numbercommand={\secnum}] \starttext \completecontent[alternative=c

[NTG-context] Invisibile page numbers for TOC

2013-01-31 Thread Eslamica-Beratung
Hi together, I use \completecontent for the TOC. How to deactivate the printing of the pagenumbers on TOC-pages? But they should be counted invisibely, so that the first text-page begins with the real page number. Best Regards Huseyin

[NTG-context] Invisibile page numbers for TOC

2013-01-30 Thread H. Özoguz
Hi together, I use \completecontent for the TOC. How to deactivate the printing of the pagenumbers on TOC-pages? But they should be counted invisibely, so that the first text-page begins with the real page number. Best Regards Huseyin

Re: [NTG-context] Invisibile page numbers for TOC

2013-01-30 Thread Wolfgang Schuster
Am 30.01.2013 um 12:23 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi together, I use \completecontent for the TOC. How to deactivate the printing of the pagenumbers on TOC-pages? But they should be counted invisibely, so that the first text-page begins with the real page number

<    1   2   3   4   5   6   7   8   9   >