[NTG-context] Manipulating the pagenumber in the TOC

2019-04-21 Thread Willi Egger
nt.0f”,(\pagenumber+1)/2}} \setuplist [section] [pagecommand=\SectionTOCPagenumber] My question is: is there a way to manipulate the pagenumber in the TOC such, that it reflects the pagenumbers in the document? Kind re

Re: [NTG-context] Omitting part number in chapter numbers

2019-02-20 Thread Wolfgang Schuster
1, just 1, for example). This behaviour should apply both to the titles in the text and in the TOC.. With the code: \definestructureresetset[default][1,0,1][1] % reset part and section, but not chapter, from wiki \setuphead[sectionresetset=default] \setuphead[part] [placehead=yes, number=yes,] \setup

[NTG-context] Omitting part number in chapter numbers

2019-02-19 Thread Simon Collier
apply both to the titles in the text and in the TOC.. With the code: \definestructureresetset[default][1,0,1][1] % reset part and section, but not chapter, from wiki \setuphead[sectionresetset=default] \setuphead[part] [placehead=yes, number=yes,] \setuplist [part] [number=yes,] \setuphead [chapter]

Re: [NTG-context] local ToC after each chapter title

2019-01-10 Thread Henning Hraban Ramm
Am 2019-01-10 um 15:21 schrieb Otared Kavian : > Hi Hraban, > > Probably instead of > >> \setuplist[chapter][ >> before=, >> after={\placecombinedlist[content][criterium=local]},] > > you wanted to say > > \setuphead[chapter][ > befor

Re: [NTG-context] local ToC after each chapter title

2019-01-10 Thread Otared Kavian
Hi Hraban, Probably instead of > \setuplist[chapter][ > before=, > after={\placecombinedlist[content][criterium=local]},] you wanted to say \setuphead[chapter][ before=, after={\placecombinedlist[content][criterium=local]}] which gives the expected result without an

[NTG-context] local ToC after each chapter title

2019-01-10 Thread Henning Hraban Ramm
Hello again, in my current book project I need a local ToC after each chapter title. What’s wrong with my use of "after"? The following example leads to a "TeX capacity exceeded" error: \setupcombinedlist[content][% list={chapter,section},] \setuplist[chapter]

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
] %\setupuserpagenumber[numberconversion=romannumerals] %\setuppagenumbering[alternative=doublesided] %\setuppagenumber[number=1] %\stopsectionblockenvironment \setupcombinedlist[content][list={title,chapter}]%,section,subsection}] \setuplist[chapter, title][width=5mm, style=,textstyle={\ss\bf }]%,after={\blank

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Henning Hraban Ramm
e.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD Am 2018-09-20 um 17:26 schrieb Wolfgang Schuster : > \setupinteraction[state=start] > > \define[3]\ChapterTocEntry > {\maxaligned{#2\hfill#3}} > > \setuplist > [chapter] > [alternative=interactive

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Wolfgang Schuster
\setupinteraction[state=start] \define[3]\ChapterTocEntry   {\maxaligned{#2\hfill#3}} \setuplist   [chapter]   [alternative=interactive,    before=\endgraf,    after=\endgraf,    command=\ChapterTocEntry] \usemodule[visual] \starttext \placelist[chapter][criterium=all] \dorecurse{5

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Henning Hraban Ramm
oto{\currentlistentrypagenumber}[page(\currentlistentrypagenumber)]} %%% %\at{}[\structurelistvariable{reference}] % #3 = \currentlistentrypagenumber \par } \setuplist[chapter][% alternative=command, interaction=pagenumber, textcolor=black, before=, inbetween=, after=, comm

Re: [NTG-context] Table of contents setup

2018-08-30 Thread Wolfgang Schuster
of the font. \setuplist[...][textstyle=...] Secondly I would like to have the page numbers all in the same size, irrespective from the level. Thirdly, I would love to adapt the distance between the leader-dots to a bigger size. How to do that? Create your own leaders setup with the \definefiller

Re: [NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
Dear Wolfgang, > > \setuplist > [section] > [width=10mm, > style=, > textstyle=\ss, > after={\blank[preference]}] It works perfectly. Thank you so much. Best regards, Dalyoung ___

Re: [NTG-context] unwanted page break in contents

2018-08-26 Thread Wolfgang Schuster
. Is it possible to list them continuously? Best regards, Dalyoung \starttext \definepagebreak[emptyodd][yes,header, footer, odd] \setuphead[chapter][page=emptyodd] \setuphead[title][incrementnumber=list] \setupcombinedlist[content][list={title,chapter,section,subsection}] \setuplist[chapter, title

[NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
, Dalyoung \starttext \definepagebreak[emptyodd][yes,header, footer, odd] \setuphead[chapter][page=emptyodd] \setuphead[title][incrementnumber=list] \setupcombinedlist[content][list={title,chapter,section,subsection}] \setuplist[chapter, title][width=5mm, style=,textcommand={\ss\bf

Re: [NTG-context] page interaction in contents list entry

2018-07-26 Thread Henning Hraban Ramm
Am 2018-07-23 um 13:06 schrieb Henning Hraban Ramm : > Dear wizards, > > in a list command (i.e. \setuplist[command=\MyCmd]) I use > \currentlistentrypagenumber to show the page number. > Now I’d like to make this a link, like in a normal ToC. I didn’t find a > suitable com

[NTG-context] page interaction in contents list entry

2018-07-23 Thread Henning Hraban Ramm
Dear wizards, in a list command (i.e. \setuplist[command=\MyCmd]) I use \currentlistentrypagenumber to show the page number. Now I’d like to make this a link, like in a normal ToC. I didn’t find a suitable command. Is there one? Greetlings, Hraban --- https://www.fiee.net http

Re: [NTG-context] Some questions about the presentation of a book

2018-07-21 Thread Fabrice Couvreur
t; \setupheadertexts[{\getmarking[section]}] > [pagenumber] > [{\getmarking[chapter]}] > [pagenumber] > > > \setuppagenumbering[alternative=,location=] > > > \setuplabeltext[fr][chapter=Chapitre ] > > \definestructureconversionset >

[NTG-context] Some questions about the presentation of a book

2018-07-20 Thread Fabrice Couvreur
n, R, n, n, n] \definestructureconversionset [digits] [n, n, n, n, n] \setupheads[sectionconversionset=structure] \setuplist[chapter][style=bold,width=5mm] \starttext \starttitle[title={\bf Sommaire}] \placelist [chapter,section,subsection] [criterium=all, alternative=c]

Re: [NTG-context] Align TOC section numbers flushright

2018-06-26 Thread Idris Samawi Hamid ادريس سماوي حامد
are valid for \setupcombinedlist. Ah, our npp-4-context config files for calltips need updating, I have \definecombinedlist [NAME] [LIST] [INHERIT: \setuplist] but that should be \definecombinedlist [NAME] [LIST] [INHERIT: \setupcombinedlist] I have the changes only in my local files. Ah, ok

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. Juni 2018 um 21:42 On Mon, 25 Jun 2018 13:17:40 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 13:17:40 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternative=c, numberalign=flushright] Use \setuplist

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternative=c, numberalign=flushright] Use \setuplist to change the numeralign setting, you need also a distance value

[NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Trying to get the sectioning numerals in the left margin of the TOC to be fushright; by default they are flushleft; see attached and below: === \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
edlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local] \setuphead[section][alternative=inmargin] \setupitemize[1][inmargin][stopper=] \placecontent \starttext \startsection[title= First] \input ward \stopsection \startsection[title= Second] \startitemize[r] \sta

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Wolfgang Schuster
edlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local] \setuphead[section][alternative=inmargin] \setupitemize[1][inmargin][stopper=] \placecontent \starttext \startsection[title= First] \input ward \stopsection \startsection[title= Second] \startitemize[r] \sta

[NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombinedlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local] \setuphead[section

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
etuptyping[bodyfont=9pt, numbering=line, before=\blank, after=\blank] \setupitemize[paragraph, packed, broad] % \setupcombinedlist[content][alternative=c,aligntitle=yes,interaction=pagenumber] \setuplist[section][margin=2em,] \setuplist[subsection][margin=5em,] \setuplist[subsubsection][margin=8em,

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
below: Line 13 makes the TOC disappear entirely: == \setuphead[subject] [incrementnumber=yes, % keep track of the number number=no]% but don't show it \starttext % Approach I \starttitle[title={Table of Contents},reference={}] \start \setuplist[subject,section,subs

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
he TOC, but style=bold doesn't work.  In approach II) style=bold works, but the subject heading doesn't show up.  For each approach, how do we get both subject heading and style=bold in the TOC? you set up individual lists elements at another level \setuplist[subject,section,subsection,subsubs

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
works, but the subject heading doesn't show up. For each approach, how do we get both subject heading and style=bold in the TOC? you set up individual lists elements at another level \setuplist[subject,section,subsection,subsubsection][alternative=c,style=bold] Ok - see below. loo

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
get both subject heading and style=bold in the TOC? you set up individual lists elements at another level \setuplist[subject,section,subsection,subsubsection][alternative=c,style=bold] looks bad this: \setupinterlinespace[line=1.4ex] Between I) and II), which is the current recommended

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-19 Thread Otared Kavian
he uses the apa specification) > DON'T try this, as we do not implement it (yet)! > > > For the other requests: > > \setupbtx [apa:list:title] [style=italic] > (the default for apa) > > \setupbtx [apa:list:title:book] [style={slanted,sans}] > (untested) >

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Hans Hagen
ons, a rendering uses the standard list mechanism, so some of the parameters (such as pagestate) get passed on. See \setuplist Others, such as numbering= yes no num index tag short page controls the numbering of the list. It is numbering=num (or yes for default and aps) but numbering=no (for apa). numbering=inde

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-17 Thread Alan Braslau
{slanted,sans}] (untested) \setupbtx [apa:list:volume] [style=bold] (apa default is italic) On your other questions, a rendering uses the standard list mechanism, so some of the parameters (such as pagestate) get passed on. See \setuplist Others, such as numbering= yes no num index tag short page controls

Re: [NTG-context] structureuservariable in ToC

2018-01-24 Thread Wolfgang Schuster
fine[3]\SectionListCommand {\doiftextelse{\structurelistuservariable{test}}{YES}{NO}% \endgraf} % \define[3]\SectionListCommand % {\doifsomethingelse{\rawstructurelistuservariable{test}}{YES}{NO}% %\endgraf} \setuplist[section][alternative=command,command=\SectionListCommand] \starttext \pla

Re: [NTG-context] structureuservariable in ToC

2018-01-24 Thread Henning Hraban Ramm
tureuservariable{author}\crlf >> }% >> #1% >> \doifnotempty{\structurelistuservariable{subtitle}}{\crlf\structureuservariable{subtitle}}} >> >> But author/subtitle still don’t show up in the ToC. > > You’re still using the wrong command to pr

Re: [NTG-context] structureuservariable in ToC

2018-01-24 Thread Wolfgang Schuster
{\crlf\structureuservariable{subtitle}}} But author/subtitle still don’t show up in the ToC. You’re still using the wrong command to print the variables. \setuplist --> \structurelistuservariable \setuphead --> \structureuservariab

Re: [NTG-context] structureuservariable in ToC

2018-01-23 Thread Henning Hraban Ramm
}% > #1% > > \doifnotempty{\structureuservariable{subtitle}}{\crlf\structureuservariable{subtitle}}} > > \setuplist[chapter][textcommand=\ChapterTocEntry] > > \starttext > \completelist[chapter][criterium=all] > > \startchapter[ > title={The Use of Typef

[NTG-context] structureuservariable in ToC

2018-01-14 Thread Henning Hraban Ramm
Now, my second issue with user variables: """ \define[1]\ChapterTocEntry{% \doifnotempty{\structureuservariable{author}}{\structureuservariable{author}\crlf }% #1% \doifnotempty{\structureuservariable{subtitle}}{\crlf\structureuservariable{subtitle}}} \setuplist[chapt

Re: [NTG-context] \setuplist with numbercommand renders wrongly

2017-12-11 Thread Henri
If you want to format the TOC line you have to use command=... together with alternative=command. \define[3]\ChapterNumber{\line{Chapter #1: #2\hfill#3}} \setuplist   [section]   [alternative=command,    command=\ChapterNumber] \starttext \completecontent \startsection[title={blabla

[NTG-context] \setuplist with numbercommand renders wrongly

2017-12-10 Thread SteamedFish
I don’t know if I use it wrongly, or it’s a bug in ConTeXt, but use \setuplist with numbercommand renders wrongly % this is not working, ``chapter’’ and chapter name overlapped \define[2]\ChapterNumber{chapter #1: #2} % have to add extra spaces here to avoid overlapping % \define[2

[NTG-context] Problem with WinEdt

2017-09-19 Thread Ursula Hermann
\stoptabulate} \setuplist[chapter][alternative=command,command=\ChapterListCommand] \define[2]\ChapterHeadCommand {\startframed[align=flushleft,strut=no] \starttabulate[before=,after=] \NC Number \NC #1 \NC\NR \NC Title \NC #2 \NC\NR \TB[medium] \NC

[NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Stephens, Kenny
,section,subsection] [sectionconversionset=appendixset] \setuphead [chapter][style={\rm\bf}] \setuphead [section][style={\sans}] \setuphead [subsection] [style={\sl}] \stopsectionblockenvironment \setupcombinedlist [content] [list={chapter,section,subsection}] \setuplist [chapter

[NTG-context] Draw a line under the headertext in ConTeXt except some pages

2017-08-24 Thread Fabrice Couvreur
] \setuplist [chapter] [ style=bold, ] \starttext \placelist[chapter,section][alternative=c] \startchapter[title=Espaces probabilisés] \startsection[title=Expérience aléatoire et univers] \dorecurse{5}{\input knuth} \stopsection \startsection[title=Événements] \dorecurse{5}{\input

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
was to place a "ghost box" or > something like that at the end or top respectively of the document. Yet I > can't finde the article anymore. Can anybody provide some help with this > or is there maybe a more elegant way to solve the whole TOC situation? > > Greetings, Sebastian &g

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
be a more elegant way to solve the whole TOC situation? Greetings, Sebastian 2017-05-12 22:16 GMT+02:00 cryo shock <axteff...@gmail.com>: > I forgot to add that I also tried a modified \setuplist: > > \setuplist[subject][width=2cm,margin=2cm] > and > \setuplist[subje

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
I forgot to add that I also tried a modified \setuplist: \setuplist[subject][width=2cm,margin=2cm] and \setuplist[subject][margin=2cm] I also added the following line to the component: \setupcombinedlist[content][list={chapter,subject,subsubject,section,subsection,slide}] Yet the Toc page

[NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
, % keep track of the number* * number=no % but don't show it* ] I also added the following line: \setuplist[subject][width=2cm] The example .tex then starts with \starttext \setvariables ... \startslide ... \stopslide ... \stoptext So I inserted another \startslide

Re: [NTG-context] sorting languages

2017-03-21 Thread Pablo Rodriguez
line above, isn’t "ὰ" replaced by two different values? Is this ok? > > As I can see \setuplist[order=title] has no language specific settings. Is there a way to specify the language? Couldn’t it use by default \currentlanguage of the \placelist command? Many thanks

Re: [NTG-context] sorting languages

2017-03-21 Thread Wolfgang Schuster
uot; }, { "ὰ", "αc" }, { "ὰ", "αd" } In the line above, isn’t "ὰ" replaced by two different values? Is this ok? As I can see \setuplist[order=title] has no language specific settings. Wolfgang

Re: [NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
On 03/06/2017 09:45 PM, Henning Hraban Ramm wrote: > Am 2017-03-06 um 21:23 schrieb Pablo Rodriguez: >> [...] >> I’m afraid I wasn’t clear. This is required for: >> >>\placelist[section][alternative=d]. >> >> I’m afraid it doesn’t work there. > >

Re: [NTG-context] list items not broken in lines

2017-03-06 Thread Henning Hraban Ramm
>> >> \def\MySection#1{\hbox{#1}} >> \setuphead[section][textcommand=\MySection] > > Hraban, > > I’m afraid I wasn’t clear. This is required for: > >\placelist[section][alternative=d]. > > I’m afraid it doesn’

[NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
] [alternative=d, pagenumber=no, headnumber=no, style=\itx, criterium=local] \par \stopalign \stopsetups \setuplist[chapter][after=\directsetup{placelist:section}] \starttext \placelist[chapter] \dorecurse{4}{\chapter{Chapter} \dorecurse{20}{\section{Section

[NTG-context] interlinespace for \setuplist

2016-12-06 Thread Pablo Rodriguez
\setuplist[section][style=\scb, setups=interlinesp:section] \setuplist[subsection] [style=\itx, alternative=d, pagenumber=no, headnumber=no, setups=interlinesp:subsection] \starttext \completecontent \section{Zweites Hauptstück. Von der Deduction der reinen

Re: [NTG-context] bug in \directsetup?

2016-11-17 Thread Hans Hagen
[line=2.8ex] \placelist [section] [alternative=d, numbersegments=section, pagenumber=no, style=\itx] \par \stop \stopsetups \setuplist [chapter] [before={\blank[medium]}, after=\directsetup

[NTG-context] bug in \directsetup?

2016-11-17 Thread Pablo Rodriguez
[section] [alternative=d, numbersegments=section, pagenumber=no, style=\itx] \par \stop \stopsetups \setuplist [chapter] [before={\blank[medium]}, after=\directsetup{placesect}] \starttext \placelist[chapter

[NTG-context] interline space for \setuplist[alternative=d]

2016-11-02 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppapersize[A6] \setupinteraction[state=start, focus=standard] \placebookmarks[chapter, section][chapter, section] \startsetups[lsect] \setupinterlinespace[line=28ex] \stopsetups \setuplist[section][style=\tfxx, alternative=d

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
, in such that upon clicking on that portion one jumps to the corresponding page? Best regards: OK %%% begin example-swoosh-topics.tex \usemodule[simpleslides] [style=swoosh] \setupinteraction[state=start] \definelist[ListOfTopics] \setuplist[ListOfTopics][alternative=f] \define[1]\Topic

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
Am 15.07.2016 16:51, schrieb Wolfgang Schuster: Ursula Hermann 15. Juli 2016 um 16:27 High Wolfgang! Now i have tried this one: \mainlanguage[de] \setuppapersize[A4] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 15. Juli 2016 um 16:27 High Wolfgang! Now i have tried this one: \mainlanguage[de] \setuppapersize[A4] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[c

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
High Wolfgang! Now i have tried this one: \mainlanguage[de] \setuppapersize[A4] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
age[de] \setuppapersize[A4] \setupinteraction[state=start] % don't forget this line! % make chapter, section bookmarks visible when opening document \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter][width=fit] \set

[NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
this line! % make chapter, section bookmarks visible when opening document \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter][width=fit] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em, margin

Re: [NTG-context] Set Contents

2016-07-13 Thread Fabrice Couvreur
in the > ToC use this: > > \defineconversionset[chapterconversion][n,R][n] > > \setuplist > [chapter] > [numberconversionset=chapterconversion] > > but when you want it in the entire document use this: > > \defineconversionset[chapterconversio

Re: [NTG-context] Set Contents

2016-07-13 Thread Wolfgang Schuster
ionset[chapterconversion][n,R][n] \setuplist [chapter] [numberconversionset=chapterconversion] but when you want it in the entire document use this: \defineconversionset[chapterconversion][n,R][n] \setuphead [chapter] [sectionconversionset=chapterconv

[NTG-context] Set Contents

2016-07-13 Thread Fabrice Couvreur
Hello, I wish that in the table of contents and only one, the number of chapters are I, II, III, IV ... I would also have this: I First chapter Activity 1.1 Second section 1.2 Third section thanks, Fabrice \setuplist [chapter] [after={\blank[line]}, style=bold] \setuplist

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
t] % don't forget this line! % make chapter, section bookmarks visible when opening document \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em, mar

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
setupinteraction[state=start] % don't forget this line! % make chapter, section bookmarks visible when opening document \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter] \setuplist[section][width=1em] \setuplist[subs

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
s. >> >> I have written this one: >> >> \mainlanguage[de] >> >> \setupinteraction[state=start] % don't forget this line! >> % make chapter, section bookmarks visible when opening document >> \placebookmarks[chapter,section,su

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
nivie.ac.at> >> 24. Juni 2016 um 15:53 >> Hello evrybody! >> >> I need in a Toc pagenumberings with romannumrals and numbers. >> >> I have written this one: >> >> \mainlanguage[de] >> >> \setupinteraction[state=start] % don't fo

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
written this one: \mainlanguage[de] \setupinteraction[state=start] % don't forget this line! % make chapter, section bookmarks visible when opening document \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter] \setuplist[se

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
forget this line! % make chapter, section bookmarks visible when opening document \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \set

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-24 Thread Wolfgang Schuster
kmarks visible when opening document \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setuppagenum

[NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-24 Thread Ursula Hermann
,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section

[NTG-context] issue with bookmark for sections

2016-04-21 Thread Pablo Rodriguez
, pagenumber=no, style=\itxx] \par \stop \stopsetups \setuplist [chapter] [after=\directsetup{placelist:section}] \starttext \completecontent \dorecurse{5}{\chapter{Chapter \Romannumerals{\recurselevel}} \dorecurse{10}{\section{Section}\input zapf\par

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
>>> If I am correct then one should be able to enable the font feature tnum for >>> the page-numbers with “pagecommand=“. >>> >>> I have >>> >>> \setuphead >>> [section] >>> [aftersection=\page, textstyle=\bfd, numberstyle=\bfd

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
>> >> If I am correct then one should be able to enable the font feature tnum for >> the page-numbers with “pagecommand=“. >> >> I have >> >> \setuphead >> [section] >> [aftersection=\page, textstyle=\bfd, numberstyle=\bfd, align=middle, >

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Wolfgang Schuster
e=\bfd, align=middle, after={\godown[-1\lineheight]}, number=no] \setuplist[section][pagecommand={\addfeature[tnum]#1\subtractfeature[tnum]}] However if I do this then I get the pagenumber prefixed with ‘section’ e.g. bbb bar buch bühne section3 What am I doing in the wrong way? \setuplist[c

[NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
]}, number=no] \setuplist[section][pagecommand={\addfeature[tnum]#1\subtractfeature[tnum]}] However if I do this then I get the pagenumber prefixed with ‘section’ e.g. bbb bar buch bühne section3 What am I doing in the wrong way? Kind regards Willi

Re: [NTG-context] placelist not working in latest beta

2016-03-21 Thread Hans Hagen
\doTopic[#1]{% \gdef\MyMark{#1}% \writetolist[MyTopics][location=none]{#1}{}} \define[3]\FancyEntry{% \doifelse{\rawstructurelistfirst}{\MyMark}% {\quad\color[red]{#1}\quad} {\quad #1\quad}} \setuplist[MyTopics] [pagenumber=no, alternative=command

[NTG-context] placelist not working in latest beta

2016-03-21 Thread Schmitz Thomas A.
=all] \def\MyMark{} \def\Topic% {\dosingleargument\doTopic} \def\doTopic[#1]{% \gdef\MyMark{#1}% \writetolist[MyTopics][location=none]{#1}{}} \define[3]\FancyEntry{% \doifelse{\rawstructurelistfirst}{\MyMark}% {\quad\color[red]{#1}\quad} {\quad #1\quad}} \setuplist[MyTopics

Re: [NTG-context] horizontal list of sections/topics?

2016-02-12 Thread Alan BRASLAU
r=, etc. Maybe this can give you some ideas. Alan I use it as follows: \def\MarkPage{4} % first 3 slides are title, introduction and outline... I then put this whenever I want to begin a new topic. \Topic [A new topic] \definelist [MyTopics] [criterium=all] \setuplist [MyTopics]

[NTG-context] is there a bug in the startappendices commend?

2016-01-21 Thread Matthias Wende
[section] [appendixlabel=appendix] \setuplist [section] [label=yes] \starttext \title{Contents} \placelist[title,chapter,section][criterium=all,alternative=c] \chapter{First Chapter} \section{First Section} \chapter{Second Chapter} \startappendices \chapter

Re: [NTG-context] is there a bug in the startappendices commend?

2016-01-21 Thread Wolfgang Schuster
simple example. - \setuplabeltext [appendix=Appendix~] \setuphead [chapter] [page=no] \setuphead [section] [appendixlabel=appendix] \setuplist [section] [label=yes] \starttext \startfrontmatter \title{Contents} \placelist[title,chapter,section][criterium=all,alterna

[NTG-context] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Sytse Knypstra
is achieved when uncommenting only the second option. How can I realize both simultaneously ?

 Thank you in advance, 

Sytse %%% 
\definehead[special][subject]
 \setuphead[special]
 [
 %number=no, 
%incrementnumber=yes,
 ] 
\setuplist[special

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Wolfgang Schuster
matter \stoptext Try to make shorter examples by removing layout and font changes when when they are not necessary. \define[1]\ChapterListNumbercommand {\offset[x=-2cm,width=0pt]{\simplealignedbox{1.5cm}{flushright}{#1}}} \setuplist [chapter] [distance=0cm, width=0cm, marg

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Jan Tosovsky
Hi Wolfgang, On 2015-10-26 Wolfgang Schuster wrote: > > Try to make shorter examples by removing layout and font changes when > when they are not necessary. > > \define[1]\ChapterListNumbercommand >{\offset[x=-2cm,width=0pt]{\simplealignedbox{1.5cm}{flushright}{#1}

Re: [NTG-context] tex error in curent beta

2015-10-24 Thread Jan Tosovsky
simplealignedbox{\listparameter{width}}{flushright}{#1}} > > > > > > \setuplist > > > [chapter] > > > [ > > > before=, > > > distance=0.5cm, > > > width=-0.5cm, > > > margin=2cm, > > &g

Re: [NTG-context] tex error in curent beta

2015-10-22 Thread Jan Tosovsky
On 2015-10-16 Jan Tosovsky wrote: > On 2015-10-15 Wolfgang Schuster wrote: > > > > Create a command and apply it to the numbercommand key. > > > > \define[1]\ChapterListNumbercommand > > {\simplealignedbox{\listparameter{width}}{flushright}{#1}} &g

Re: [NTG-context] tex error in curent beta

2015-10-16 Thread Jan Tosovsky
On 2015-10-15 Wolfgang Schuster wrote: > > Create a command and apply it to the numbercommand key. > > \define[1]\ChapterListNumbercommand > {\simplealignedbox{\listparameter{width}}{flushright}{#1}} > > \setuplist > [chapter] > [ > bef

Re: [NTG-context] tex error in curent beta

2015-10-15 Thread Wolfgang Schuster
nedbox{\listparameter{width}}{flushright}}, pageconversionset=pagenumber, ] Create a command and apply it to the numbercommand key. \define[1]\ChapterListNumbercommand {\simplealignedbox{\listparameter{width}}{flushright}{#1}} \setuplist [chapter] [ before=, distance=0.5cm,

Re: [NTG-context] tex error in curent beta

2015-10-15 Thread Wolfgang Schuster
ake from the error message is that you have a problem with the list mechanism. To try fixing the problem comment first a list settings where you apply your own commands (e.g. the pagecommand key) and when this doesn't help (don't forget to delete the tuc-file) you can comment the complete

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Hans Hagen
{\dimexpr\textwidth-\IDWidth+1cm} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad} {\doboundtext{#String}{\STWidth

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Wolfgang Schuster
later, including the current standalone beta. % macros=mkvi \setwidthof {99}\to\IDWidth\relax \def\STWidth{\dimexpr\textwidth-\IDWidth+1cm} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Rik Kabel
{99}\to\IDWidth\relax \def\STWidth{\dimexpr\textwidth-\IDWidth+1cm} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad

[NTG-context] Regression with \doboundtext in \writetolist

2015-10-10 Thread Rik Kabel
} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad} {\doboundtext{#String}{\STWidth}{…} \stoptexdefinition \starttext

[NTG-context] Questions on registers, and on processors used with registers

2015-10-04 Thread Rik Kabel
ast requirement would be served by building a list with the quote number and quotation precis, suppressing the page numbers with pagenumber=\gobbleoneargument. But placelist does not seem to behave as one would hope. The example in the wiki for setuplist (shown below) does not print the numbers (1.

Re: [NTG-context] Sectioning and structure

2015-09-13 Thread Fabrice Couvreur
Hi Wolfgang, Is this the best approach ? Thank you. Fabrice \mainlanguage[fr] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [chapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c, interaction=all

[NTG-context] put titles in toc

2015-09-08 Thread John Culleton
] \definelist[chapter] \setuplist[chapter][style=bold] \setuplist[title][style=bold] \setupcombinedlist[content][chapter,title][level=title,alternative d,aligntitle=yes] \starttext \noheaderandfooterlines \title{Contents} \placecontent \page[yes] \chapter{foo} \input knuth.tex \page[yes] \title{bar

[NTG-context] Formatting TOC

2015-08-03 Thread robheus
DEEL part number part title 3. Chapter entries are on consecutive lines, except that between the first and second, and before the last chapter entry there is a blank line. (I use \setuplist[chapter][before=] and tried to use \writebetweenlist[content]{\blank} at the specified locations to get

  1   2   3   4   5   6   7   8   >