Re: [NTG-context] (announcement) from pandoc to ConTeXt

2015-07-10 Thread Pablo Rodriguez
[chapter,hiddentitle] \definehead[hiddentitle][chapter] \setuphead [hiddentitle] [placehead=empty, incrementnumber=list, number=no, before=, after=] \starttext \completecontent \startmakeup[copyright][top

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Pablo Rodriguez
On 07/06/2015 05:56 PM, Hans Hagen wrote: [...] \setupinteraction[state=start] \placebookmarks[chapter,hiddentitle] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=list] \starttext \completecontent \hiddentitle{Prologue} aa\page aa \chapter

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Hans Hagen
On 7/5/2015 7:54 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \showframe \setupinteraction[state=start] \placebookmarks[chapter] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=no] \starttext \completecontent

[NTG-context] bug with bookmarks?

2015-07-05 Thread Pablo Rodriguez
contain section bookmarks). Removing \placelist[part,chapter] shows the same issue (part bookmarks not containing chapter bookmarks). And replacing \placelist[part,chapter] with \completecontent places bookmarks from front matter after the ones from the body matter. (Besides the fact that I don’t

[NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \setupinteraction[state=start] \placebookmarks[chapter] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=no] \starttext \completecontent \hiddentitle{Prologue} aa\page aa \chapter

Re: [NTG-context] Blank line before placehead=empty

2015-06-02 Thread Pablo Rodriguez
, not to the TOC. At least, this sample works: \setuphead[chapter][placehead=no] \showgrid \showstruts \starttext \completecontent \dorecurse{10}{\startchapter [title={My Chapter}] cows cows hasselt \stopchapter} \stoptext Or have I misread your

Re: [NTG-context] toc and macro

2015-05-28 Thread Harry
What I want to do is something like this: ___ \starttext \completecontent[criterium=all] % how i have to do it \startchapter[colors][Colors] \startsection,[black][Black] black is a dark color \stopsection, \startsection[white][White] white

Re: [NTG-context] toc and macro

2015-05-28 Thread Wolfgang Schuster
Am 28.05.2015 um 23:08 schrieb Harry irgk...@gmx.de: What I want to do is something like this: ___ \starttext \completecontent[criterium=all] % how i have to do it \startchapter[colors][Colors] \startsection,[black][Black] black is a dark color

[NTG-context] toc and macro

2015-05-28 Thread Harry
{#1} %... \startchapter[title={\tit},reference={#2}] #3 \stopchapter %... } \protect \starttext \completecontent \doTeil[Hallo][hallo]{Text Text Text Text Text Text Text} \stoptext ___ It works if i use #1 direct (like this): \startchapter[title=#1,reference

Re: [NTG-context] toc and macro

2015-05-28 Thread Wolfgang Schuster
!} \def\Teil{\dodoubleempty\doTeil} \def\doTeil[#1][#2]#3{% \def\tit{#1} %... \startchapter[title={\tit},reference={#2}] #3 \stopchapter %... } \protect \starttext \completecontent \doTeil[Hallo][hallo]{Text Text Text Text Text Text Text} Why do you \doTeil

Re: [NTG-context] Controlling linespacing in a TOC

2015-05-19 Thread Pablo Rodriguez
with \setuplinespace and my TOC looks exactly like I want it. Thank you! Hi Mari, if I’m not getting it wrong, another way to do it would be: \setuplist[chapter][before=, after=,] \starttext \completecontent \dorecurse{10}{\chapter{Chapter}} \stoptext Just in case it might help, Pablo

[NTG-context] adding extra space before section blocks in the TOC

2015-04-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \completecontent \startfrontmatter \chapter{Foreword} \chapter{Introduction} \stopfrontmatter \startbodymatter \chapter{First Chapter} \chapter{Second Chapter

Re: [NTG-context] adding extra space before section blocks in the TOC

2015-04-26 Thread Pablo Rodriguez
On 04/26/2015 08:16 PM, Wolfgang Schuster wrote: Am 26.04.2015 um 20:09 schrieb Pablo Rodriguez: [...] How could I add some extra space in the TOC before each section block? I mean, a visual separation before “First Chapter”, “Conclusions” and “Appendix One” in \completecontent

Re: [NTG-context] adding extra space before section blocks in the TOC

2015-04-26 Thread Wolfgang Schuster
Am 26.04.2015 um 20:09 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \starttext \completecontent \startfrontmatter \chapter{Foreword} \chapter{Introduction} \stopfrontmatter \startbodymatter

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Wolfgang Schuster
]}, command=] \starttext \completecontent \startchapter[title={Understanding the Food Industry}][image=mill.png] \input knuth \stopchapter Wolfgang___ If your question is of interest to others as well, please add

[NTG-context] Help with \setuplist number width (for appendices)

2015-03-23 Thread Robin.Kirkham
. Any help appreciated, Robin \setuplist[chapter][ width=12mm, % but want 30mm for appendices label=yes, alternative=c] \setuplabeltext[appendix=Appendix\space] \starttext \completecontent \chapter{One} \chapter{Two} \startappendices \chapter{First} \chapter{Second

Re: [NTG-context] footnote link destionations in interactive documents

2015-03-11 Thread Hans Hagen
On 3/11/2015 6:52 PM, Pablo Rodriguez wrote: On 03/10/2015 10:12 PM, Hans Hagen wrote: On 3/10/2015 6:04 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter{Chapter 1

Re: [NTG-context] footnote link destionations in interactive documents

2015-03-11 Thread Pablo Rodriguez
On 03/10/2015 10:12 PM, Hans Hagen wrote: On 3/10/2015 6:04 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter{Chapter 1} a\footnote{b} \stoptext The sample

[NTG-context] footnote link destionations in interactive documents

2015-03-10 Thread Pablo Rodriguez
Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter{Chapter 1} a\footnote{b} \stoptext The sample above has a /XYZ link destination for the table of contents, but two /Fit link destinations for footnotes

Re: [NTG-context] footnote link destionations in interactive documents

2015-03-10 Thread Hans Hagen
On 3/10/2015 6:04 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter{Chapter 1} a\footnote{b} \stoptext The sample above has a /XYZ link destination for the table

[NTG-context] head stopper and hang

2015-02-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplabeltext[subsection=Activity~] \setuphead[subsection][sectionsegments=subsection] \setuplist[subsection][width=fit, stopper={: }] \setuplabeltext[section=Area~] \setuphead[section][hang=broad, stopper={· }] \starttext \completecontent \dorecurse{5

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Rob Heusdens
,alternative=command,command=\ChapterToc] \setuplist[appendix][headnumber=no,style=bold,textcommand=\AppendixToc] \setuplist[back][headnumber=no,style=bold,textcommand=\BackToc] \starttext \completecontent \startfrontmatter \intro{Intro} \stopfrontmatter \startbodymatter \dorecurse{5}{ \chapter {Knuth

[NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
[content][level=4, alternative=c] \setuplist[chapter][headnumber=yes,style=bold,width=8em,numbercommand=\ChapterNumberToc] \starttext \completecontent \dorecurse{5}{ \chapter {Knuth} \input knuth \chapter {Zapf} \input zapf} \stoptext As you can see, there is a different between the 9-th and 10-th

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
] \define[3]\ChapterListEntry {\vbox{Hoofdstuk #1 – #2 \filler[ChapterFiller] #3}} \setuplist[chapter][alternative=interactive,command=\ChapterListEntry] \starttext \completecontent \dorecurse{5}{ \chapter {Knuth} \input knuth \chapter {Zapf} \input zapf} \stoptext Wolfgang Hello

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Wolfgang Schuster
. \setupcombinedlist[content][list=chapter] \definefiller[ChapterFiller] \define[3]\ChapterListEntry {\vbox{Hoofdstuk #1 – #2 \filler[ChapterFiller] #3}} \setuplist[chapter][alternative=interactive,command=\ChapterListEntry] \starttext \completecontent \dorecurse{5}{ \chapter {Knuth} \input

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Wolfgang Schuster
% {Hoofdstuk #1 -- } \definecombinedlist[content][chapter] \setupcombinedlist[content][level=4, alternative=c] \setuplist[chapter][headnumber=yes,style=bold,width=8em,numbercommand=\ChapterNumberToc] \starttext \completecontent \dorecurse{5}{ \chapter {Knuth} \input knuth \chapter

Re: [NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
in your document, the only difference is that you use the header-type as argument in the first case while in the second case the head-type is part of the command name. When you print your table of contents with the \placecontent or \completecontent commands ConTeXt uses only headers which

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
=, beforesection={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page

Re: [NTG-context] More headache with \setuphead

2015-02-01 Thread Pablo Rodriguez
{chapter} #1}\blank\unhyphenated{#2 \setuphead[chapter] [header=nomarking, command=\MyChapterCommand, aligntitle=yes, align={flushleft,nothyphenated,verytolerant}] \setuphead[title] [command=, textcommand=\MyContentCommand] \starttext \completecontent \chapter{Chapter

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
] \setupinteractionscreen[width=fit] \starttext \completecontent \chapter{Chapter} \stoptext Link destination for “Chapter” seems to be: /D [27 0 R /XYZ 70.867 689.409 null] But both chapter headings are placed at x,y (70.87, 122.22), according to poppler-glib-demo. Anyway

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
][5] % - without this, the page number = 3 \setuppagenumbering[location={footer,middle}] \completecontent \chapter{Introduction} \dorecurse{4}{\input zapf} \stopfrontmatter \startbodymatter \setuppagenumbering[location={header,middle}] \dorecurse{21}{\chapter{Knuth} \dorecurse{10}{\input

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
Hi Rob, there is a minimal sample: \setupcolors[state=start] \setupinteraction[state=start, focus=standard] \setupinteractionscreen[width=fit] \definecombinedlist[content][all] \setuphead[part][placehead=yes] \starttext \completecontent \dorecurse{5

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
focus=width is the problematic part. Replace it with focus=standard and it will work better (it isn’t perfect either [there is a bug reported before]). \enabletrackers[*destinations*] \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
=standard] \setupinteractionscreen[width=fit] \starttext \completecontent \chapter{Chapter} \stoptext Link destination for “Chapter” seems to be: /D [27 0 R /XYZ 70.867 689.409 null] But both chapter headings are placed at x,y (70.87, 122.22), according to poppler

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
and it will work better (it isn’t perfect either [there is a bug reported before]). \enabletrackers[*destinations*] \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter{Chapter} \dorecurse{5}{\input knuth} \stoptext It took me a while

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
focus=width is the problematic part. Replace it with focus=standard and it will work better (it isn’t perfect either [there is a bug reported before]). \enabletrackers[*destinations*] \setupinteraction[state=start, focus=standard] \starttext \completecontent

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Hans Hagen
*] \setupinteraction[state=start, focus=standard] \setupinteractionscreen[width=fit] \starttext \completecontent \chapter{Chapter} \stoptext Link destination for “Chapter” seems to be: /D [27 0 R /XYZ 70.867 689.409 null] But both chapter headings are placed at x,y (70.87

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
][placehead=yes] \starttext \completecontent \dorecurse{5} {\part{Part} \input zapf \chapter{Chapter} \input zapf \section{Section} \input zapf \subsection{Subsection} \input zapf} \stoptext It doesn’t show what you meant, the link destination

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Hans Hagen
][all] \setuphead[part][placehead=yes] \starttext \completecontent \dorecurse{5} {\part{Part} \input zapf \chapter{Chapter} \input zapf \section{Section} \input zapf \subsection{Subsection} \input zapf} \stoptext

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page \dorecurse{9

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page \dorecurse{9}{ \startsection[title={Knuth -- \recurselevel}] \input{knuth} \stopsection

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-30 Thread Rob Heusdens
[content][level=4, alternative=c] \setbreakpoints[compound] \starttext \completecontent \chapter{Noten bij de digitale (her)uitgave} \chapter{Noten bij de digitale (her)\-uitgave} \chapter{Tries: her)uit} \chapter{Tries: her)ui} \chapter{Tries: er)uit} \stoptext [...] Output

[NTG-context] Strange bug in interactive table of content...

2015-01-29 Thread Rob Heusdens
[compound] \starttext \completecontent \chapter{Noten bij de digitale (her)uitgave} \chapter{Noten bij de digitale (her)\-uitgave} \chapter{Tries: her)uit} \chapter{Tries: her)ui} \chapter{Tries: er)uit} \stoptext If I comment \setbreakpoint[compound] the bug does not show. It seems to matter what

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-29 Thread Pablo Rodriguez
] \setupcombinedlist[content][level=4, alternative=c] \setbreakpoints[compound] \starttext \completecontent \chapter{Noten bij de digitale (her)uitgave} \chapter{Noten bij de digitale (her)\-uitgave} \chapter{Tries: her)uit} \chapter{Tries: her)ui} \chapter{Tries: er)uit} \stoptext [...] Output

Re: [NTG-context] Simple tocs

2015-01-26 Thread Hans Hagen
also. Using mkiv I came up with this: \startmakeup \setupcombinedlist[content][list={chapter}] \placelist[content] \stopmakeup \startmakeup \setupcombinedlist[content][list={chapter,section}] \completecontent[content] \stopmakeup \startmakeup \null \stopmakeup I get no results at all, just blank

[NTG-context] Simple tocs

2015-01-25 Thread John Culleton
with this: \startmakeup \setupcombinedlist[content][list={chapter}] \placelist[content] \stopmakeup \startmakeup \setupcombinedlist[content][list={chapter,section}] \completecontent[content] \stopmakeup \startmakeup \null \stopmakeup I get no results at all, just blank pages. Any suggestions? -- John Culleton

Re: [NTG-context] how to (re)set section numbers

2015-01-01 Thread j. van den hoff
=yes, number=no] \setuplist[section][width=1.5em] \setuplist[subsection][width=2.25em, margin=1.5em] %`margin' determines alignment \setuplist[subject][margin=1.5em] \setupcombinedlist[content] [list={chapter,section,subsection,subject,subsubject}] \starttext \completecontent \subject

Re: [NTG-context] how to (re)set section numbers

2015-01-01 Thread Wolfgang Schuster
][margin=1.5em] \setupcombinedlist[content] [list={chapter,section,subsection,subject,subsubject}] \starttext \completecontent \subject{this subject messes up the further enumeration of numbered sections} bla \section{this should be sec. 1} bla \subsection{this should be subsec. 1.1} bla

Re: [NTG-context] Reference text differing from title

2014-12-29 Thread Christoph Reller
\completecontent \startchapter[reference=sec:short,title=\select{chaptertitle}{Long title for the chapter}{Short title}] \input knuth \about[sec:short] \stopchapter \stoptext Wolfgang Thank you Wolfgang! This is a perfect solution. Christoph Dear Wolfgang, The example you have provided

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-21 Thread Mark Szepieniec
is infinitely strechable space. However, that doesn't seem to work when the first element in the makeup page is \completecontent: Hi Mark, this is what it happens when you start a makeup page with a \chapter command. \chapter inserts a page break before the heading. [...] Here, the table

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-21 Thread Pablo Rodriguez
. However, that doesn't seem to work when the first element in the makeup page is \completecontent: Hi Mark, this is what it happens when you start a makeup page with a \chapter command. \chapter inserts a page break before the heading. [...] Here, the table

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-21 Thread Mark Szepieniec
cancels the default value of \vss, which is infinitely strechable space. However, that doesn't seem to work when the first element in the makeup page is \completecontent: Hi Mark, this is what it happens when you start a makeup page with a \chapter

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-20 Thread Pablo Rodriguez
in the makeup page is \completecontent: Hi Mark, this is what it happens when you start a makeup page with a \chapter command. \chapter inserts a page break before the heading. [...] Here, the table of contents and the section are both placed on the makeup page, but they are centered

[NTG-context] vertical alignment of table of contents in makeup

2014-12-19 Thread Mark Szepieniec
There is a trick mentioned on the wiki for top-aligning the contents of a makeup page, namely adding top=,, which cancels the default value of \vss, which is infinitely strechable space. However, that doesn't seem to work when the first element in the makeup page is \completecontent: \starttext

[NTG-context] Latest beta: bug with 'convert()'?

2014-12-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .
\completecontent 5 \page 6 \stoptext 7 backend xmp using file 'c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml' I guess it has to do something with latest XML/Lua extension; I don't have MnWE at the moment - but it might be fixed anyway... Best regards, Lukas -- Ing

Re: [NTG-context] Latest beta: bug with 'convert()'?

2014-12-12 Thread Hans Hagen
-TZ.mkiv 2 3 \starttext 4 \completecontent 5 \page 6 \stoptext 7 backend xmp using file 'c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml' I guess it has to do something with latest XML/Lua extension; I don't have MnWE at the moment - but it might

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Gerben Wierda
] %\completecontent[level=chapter] The %-outcommented was the original list. In the chapter file, it now says \chapter[h:foo]{Foo} \writetolist[chaptertext]{}{\input tufte} The effect of this is that every chapter name in the list is typeset as \itx, not just the summary chaptertext. The chapter

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
] %\completecontent[level=chapter] The %-outcommented was the original list. In the chapter file, it now says \chapter[h:foo]{Foo} \writetolist[chaptertext]{}{\input tufte} The effect of this is that every chapter name in the list is typeset as \itx, not just the summary chaptertext. The chapter numbers

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Gerben Wierda
][style=\itx,margin=3em,pagecommand=\gobbleoneargument] and the contents list is created by \title[h:toc]{Contents} \placelist[chapter,chaptertext] %\completecontent[level=chapter] The %-outcommented was the original list. In the chapter file, it now says \chapter

Re: [NTG-context] Reference text differing from title

2014-11-25 Thread Wolfgang Schuster
][textcommand={\setupselector[chaptertitle][n=1]}] \starttext \completecontent \startchapter[reference=sec:short,title=\select{chaptertitle}{Long title for the chapter}{Short title}] \input knuth \about[sec:short] \stopchapter \stoptext Wolfgang

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
by \title[h:toc]{Contents} \placelist[chapter,chaptertext] %\completecontent[level=chapter] The %-outcommented was the original list. In the chapter file, it now says \chapter[h:foo]{Foo} \writetolist[chaptertext]{}{\input tufte} The effect of this is that every chapter name

Re: [NTG-context] Reference text differing from title

2014-11-25 Thread Christoph Reller
for the title. \defineselector[chaptertitle][max=2,n=2] \setuplist[chapter][textcommand={\setupselector[chaptertitle][n=1]}] \setuphead[chapter][textcommand={\setupselector[chaptertitle][n=1]}] \starttext \completecontent \startchapter[reference=sec:short,title=\select{chaptertitle}{Long title

[NTG-context] Contents again

2014-11-15 Thread Gerben Wierda
I’ve got \start \switchtobodyfont[9pt] \completecontent[level=chapter] \stop to keep the Table of Contents on one page. But with one more chapter, it is now again spread over two. There is however a lot of whitespace between entries. Can I make the vertical whitespace between entries

Re: [NTG-context] Contents again

2014-11-15 Thread Pablo Rodriguez
On 11/15/2014 07:24 PM, Gerben Wierda wrote: I’ve got \start \switchtobodyfont[9pt] \completecontent[level=chapter] \stop to keep the Table of Contents on one page. But with one more chapter, it is now again spread over two. There is however a lot of whitespace between entries. Can I

[NTG-context] Bug with custom TOC

2014-11-07 Thread Michał Goliński
, command=\SectionToCEntry] \setuplist [chapter] [alternative=interactive, command=\SectionToCEntry] \setuplist [section] [alternative=interactive, command=\SectionToCEntry] \starttext \startcolor[darkgreen] \completecontent[criterium=all] \stopcolor \page[yes] \part{I} \chapter

[NTG-context] Strange error with bookmarks

2014-10-14 Thread Michał Goliński
}] \chapter{3} \chapter{4} \chapter{5} \chapter{6} \chapter{7} \chapter{8} \chapter{9} \chapter{10} \stoppart \completecontent[criterium=all] \stoptext While the following files gives no problems in the applications that I have tested (note the last command): \pdfcompresslevel=0

[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

Re: [NTG-context] authors in the toc

2014-10-03 Thread Rik Kabel
%40ntg.nl/msg75670.html. The following may be a useful starting point: \starttext \completecontent \chapter{This is a chapter} \writebetweenlist[chapter][location=here]{\hskip4em\it Author Name} \input ward \section{A section} \section{Another section} \chapter{Another

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

2014-10-03 Thread Rik Kabel
\NC \structureuservariable{file} \NC\NR \stoptabulate \stopframed} \setuphead[chapter][command=\ChapterHeadCommand] \starttext \completecontent \startchapter[title=Knuth example][file=knuth.tex] \input knuth \stopchapter \startchapter[title=Zapf example][file=zapf.tex] \input zapf

Re: [NTG-context] authors in the toc

2014-10-03 Thread Andrea Valle
with the subject Chapter precis. The following may be a useful starting point: \starttext \completecontent \chapter{This is a chapter} \writebetweenlist[chapter][location=here]{\hskip4em\it Author Name} \input ward \section{A section} \section{Another section} \chapter{Another chapter} \stoptext

Re: [NTG-context] authors in the toc

2014-10-02 Thread Wolfgang Schuster
} \setuphead[chapter][command=\ChapterHeadCommand] \starttext \completecontent \startchapter[title=Knuth example][file=knuth.tex] \input knuth \stopchapter \startchapter[title=Zapf example][file=zapf.tex] \input zapf \stopchapter \stoptext Wolfgang

[NTG-context] Weird error

2014-09-10 Thread Aditya Mahajan
] \starttext \completecontent \chapter{Creating device driver} \section{How to create the} Chapter text \stoptext which gives lua errorerror on line 8 in file /tmp/test.tex: ...uild/src/tex/texmf-context/tex/context/base/strc-doc.lua:904: attempt to index field 'numbers' (a nil

Re: [NTG-context] Weird error

2014-09-10 Thread Wolfgang Schuster
[\namedheadnumber{chapter}] \setuppagenumbering[location=,alternative=doublesided] \starttext \completecontent \chapter{Creating device driver} \section{How to create the} Chapter text \stoptext which gives lua errorerror on line 8 in file /tmp/test.tex: ...uild/src/tex

Re: [NTG-context] Weird error

2014-09-10 Thread Aditya Mahajan
shows the same error \setupfootertexts[\namedheadnumber{chapter}] \setuppagenumbering[location=,alternative=doublesided] \starttext \completecontent \chapter{Creating device driver} \section{How to create the} Chapter text \stoptext which gives lua errorerror on line 8 in file /tmp

Re: [NTG-context] Chapter precis

2014-08-30 Thread Alan BRASLAU
? Hard to tell without a example which demonstrates the error because the following works for me. \starttext \completecontent \chapter{This is a chapter} \writetolist[chapter]{}{This is a summary of the chapter with \tex{writetolist}.} \writebetweenlist[chapter][location=here

Re: [NTG-context] Strange error with bookmarks

2014-08-29 Thread Hans Hagen
,chapter][part,chapter][number=no] \starttext \chapter{0} \startpart[title={A}] \chapter{1} \chapter{2} \stoppart \startpart[title={B}] \chapter{3} \chapter{4} \chapter{5} \chapter{6} \chapter{7} \chapter{8} \chapter{9} \chapter{10} \stoppart \completecontent[criterium=all

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
this in ConTeXt with \writebetweenlist[chapter]{XYZ} or with \weitetolist[chapter]{XYZ} But both produce only a fatal error. What’s wrong here? Hard to tell without a example which demonstrates the error because the following works for me. \starttext \completecontent \chapter

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
to tell without a example which demonstrates the error because the following works for me. \starttext \completecontent \chapter{This is a chapter} \writetolist[chapter]{}{This is a summary of the chapter with \tex{writetolist}.} \writebetweenlist[chapter][location=here]{This is a summary

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
with \writebetweenlist[chapter]{XYZ} or with \weitetolist[chapter]{XYZ} But both produce only a fatal error. What’s wrong here? Hard to tell without a example which demonstrates the error because the following works for me. \starttext \completecontent \chapter{This is a chapter} \writetolist[chapter

[NTG-context] Strange error with bookmarks

2014-08-26 Thread Michał Goliński
\chapter{0} \startpart[title={A}] \chapter{1} \chapter{2} \stoppart \startpart[title={B}] \chapter{3} \chapter{4} \chapter{5} \chapter{6} \chapter{7} \chapter{8} \chapter{9} \chapter{10} \stoppart \completecontent[criterium=all] \stoptext ConTeXt would generate a file in which

[NTG-context] How do I tell \completecontent not to include anything below the \chapter level?

2014-08-20 Thread Gerben Wierda
See subject. Same question for other levels. G ___ 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] How do I tell \completecontent not to include anything below the \chapter level?

2014-08-20 Thread Wolfgang Schuster
Am 20.08.2014 um 16:14 schrieb Gerben Wierda gerben.wie...@rna.nl: See subject. Same question for other levels. Method 1 (MkII only): \starttext \completecontent[level=chapter] \dorecurse{10} {\chapter{Chapter #1} \dorecurse{2} {\section{Section #1.##1} \dorecurse{2

[NTG-context] Suppressing the page number

2014-08-12 Thread Gerben Wierda
\blank[force,2*big] \stopsetups My main product file has \startfrontmatter \startbuffer [chapter:quote] A Quote\crlf {\tf An author} \stopbuffer \completecontent \component c_introduction \stopfrontmatter \startbodymatter Now, before the content chapter and after that initial

Re: [NTG-context] Suppressing the page number

2014-08-12 Thread Aditya Mahajan
[right] \noheaderandfooterlines \blank[force,2*big] \stopsetups My main product file has \startfrontmatter \startbuffer [chapter:quote] A Quote\crlf {\tf An author} \stopbuffer \completecontent \component c_introduction \stopfrontmatter \startbodymatter Now, before the content

Re: [NTG-context] Suppressing the page number

2014-08-12 Thread Gerben Wierda
] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines \blank[force,2*big] \stopsetups My main product file has \startfrontmatter \startbuffer [chapter:quote] A Quote\crlf {\tf An author} \stopbuffer \completecontent \component

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Rik Kabel
\completecontent and not \placelist[chapter,section], having excluded lower-level sectioning headers via \setupcombinedlist. I am asking if there is a way to take advantage of user-defined or system modes, or section blocks, to accomplish this without requiring explicit markup (silentsection in your example

[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
,big]}] \starttext \completecontent \dorecurse{4}{\part{Part} \chapter{Chapter} \chapter{Chapter}} \stoptext 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

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

2014-06-06 Thread Pablo Rodriguez
][after={\blank[samepage,big]}] \starttext \completecontent \dorecurse{4}{\part{Part} \chapter{Chapter} \chapter{Chapter}} \stoptext Is this a real bug or am i missing something? Many thanks for your help, Pablo -- http://www.ousia.tk

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

2014-05-23 Thread Mojca Miklavec
][width=15mm,headnumber=no] \setuplist[subsubsection][width=20mm,style=slanted,pagestyle=normal] \starttext \completecontent \page[yes] \section{First section} \subsection{First subsection} \subsubsection{First subsubsection} \subsubsubsection{First subsubsubsection} \section{Second section

[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] Empty heads after leading whitespace

2014-05-06 Thread Maggyero
] \setuphead [section] [placehead=empty, page=yes, after={\blank[none]\blank[nowhite, disable]}] \setuphead [subsection] [placehead=yes, before={\blank[line]}, after={\blank[line]}] \setupheadertexts[section] \showframe \starttext \completecontent \dorecurse{2} {\section{My

[NTG-context] Empty heads after leading whitespace

2014-05-04 Thread Maggyero
] [placehead=empty, page=yes, after={\vskip 0em\blank[disable]}] \setuphead [subsection] [placehead=yes, before={\blank[line]}, after={\blank[line]}] \setupheadertexts[section] \showframe \starttext \completecontent \dorecurse{2} {\section{My section} \dorecurse

[NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Maggyero
\completecontent \dorecurse{2} {\section{My section} \dorecurse{2} {\subsection{My subsection} \input knuth}} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki

[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

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

2014-05-02 Thread Wolfgang Schuster
Am 02.05.2014 um 09:38 schrieb H. Özoguz h.oezo...@mmnetz.de: 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

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

2014-04-17 Thread Wolfgang Schuster
\relax % 0 \or First% 1 \else \convertnumber{Romannumerals}{#1}% \fi} \defineconversion[Weirdnumber][\Weirdnumber] \defineconversionset[Weirdchapter][number,Weirdnumber][number] \setuplist[chapter][width=3em,numberconversionset=Weirdchapter] \starttext \completecontent

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

2014-04-15 Thread Keith McKay
and 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 \chapter{Footnote\footnote{Only

<    1   2   3   4   5   6   7   8   9   >