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

2018-09-20 Thread Henning Hraban Ramm
and=\ChapterTocEntry, ] \usemodule[visual] \starttext \placelist[chapter][criterium=all] \dorecurse{5}{ \chapter{\fakewords{2}{7}} \dorecurse{5}{ \fakewords{10}{300}\par } } \stoptext - 8< - Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net

Re: [NTG-context] How to cite online websites (reloaded)

2018-09-03 Thread cryo shock
. Example: @ELECTRONIC{hh2010, author = hh, year = {2010}, title = {Metafun. \CONTEXT\ mkiv}, url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, } This is the output from the PDF-file: *As [[error 2]] already indicated...* The output in the placelist section (no entries): *1

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

2018-07-21 Thread Fabrice Couvreur
[structure] > [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 So

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

[NTG-context] Problem of compiling a file with Emacs

2018-07-19 Thread Fabrice Couvreur
phead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber, ] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad, align={broad,nothyphenated,left}] {#1\blank[nowhite]#2}} \starttext \starttit

Re: [NTG-context] ToC as itemize

2018-06-10 Thread Henning Hraban Ramm
> before=, > after=, > command=\ChapterTocEntry] So I was missing alternative=command. If you consider my attached MWE one problem remains: The usual space between items is missing between the last manual item and the ToC list: ... \startitem Test entry \stopitem %\blank[1em

Re: [NTG-context] ToC as itemize

2018-06-10 Thread Hans Hagen
/#3 \stopitem } \definelist[chapter][% alternative=command, interaction=all, criterium=all, before=, after=, command=\ChapterTocEntry] \startitemize \placelist[chapter] \stopitemize \chapter{one} \chapter{two} \chapter{three} \stoptext Greetlings, Hraban --- https

Re: [NTG-context] ToC as itemize

2018-06-10 Thread Henning Hraban Ramm
ChapterTocEntry, >pagecommand=\gobbleoneargument, > ] > > \startContentsList > %\sym{}Preface\leaderfill\at{Preface} % Preface unnumbered > > \startitem Test entry\leaderfill 123 \stopitem > > \placelist[chapter][criterium=all] > > \stopContentsList >

Re: [NTG-context] First example in xml-mkiv.pdf

2018-06-06 Thread Keith McKay
o:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \stoptitle \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:demo:section \startchapter[title=\xmlfirst{#1}{/title}] \xmlfirst{#1}{/content} \stopcha

Re: [NTG-context] First example in xml-mkiv.pdf

2018-06-06 Thread Hans Hagen
pasted from pages 5 and 6 of xml-mkiv.pdf: \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \sto

[NTG-context] First example in xml-mkiv.pdf

2018-06-05 Thread Keith McKay
df: \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \stoptitle \xmlflush{#1} \stopxmlset

[NTG-context] ToC as itemize

2018-05-03 Thread Henning Hraban Ramm
unnumbered \startitem Test entry\leaderfill 123 \stopitem \placelist[chapter][criterium=all] \stopContentsList The actual problem: The chapter list entries don’t adhere to the formatting of the itemize. I guess there’s some expansion problem, due to the \startitem inside if the textcommand?

Re: [NTG-context] Question to sectioning

2018-04-23 Thread Tomas Hala
[chapter] # #\setuphead #  [specialpage] #  [incrementnumber=list, #   header=empty] # #\starttext # #\placelist[levelA,specialpage] # #\levelA{A1} #\levelA{A2} #\specialpage{Special page 1} #\levelA{A3} #\levelA{A4} #\specialpage{Special page 2} #

Re: [NTG-context] Question to sectioning

2018-04-18 Thread Wolfgang Schuster
alpage] [incrementnumber=list, header=empty] \starttext \placelist[levelA,specialpage] \levelA{A1} \levelA{A2} \specialpage{Special page 1} \levelA{A3} \levelA{A4} \specialpage{Special page 2} \levelA{A5} \levelA

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

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 04 Mar 2018 06:29:53 -0700, Hans Hagen <pra...@wxs.nl> wrote: A working minimal example follows. Is this the recommended practice? Can it be streamlined further? : \placecontent \placelist[content] [subject,section,subsection,subsubsection] Hm, toggling lines 12-13

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

2018-03-04 Thread Hans Hagen
ection,subsection,subsubsection]   [alternative=c,style=bold] \setupcombinedlist[content]   [list={subject,section,subsection,subsubsection}] \placecontent \placelist[content] [subject,section,subsection,subsubsection] \stop \stoptitle \page \startsection[title={Section One},reference={}] new page

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

[NTG-context] uservariables in heads and lists

2018-01-14 Thread Henning Hraban Ramm
#2} {\inouter{\structureuservariable{subtitle}}} } \setuphead[chapter][ page=right, command=\ChapterCmd, ] \starttext %\showlayout \starttitle[title={Content}][subtitle={}] %\placelist[chapter][criterium=all] \stoptitle \startchapter [title=My Title,][% is this necessary? subti

Re: [NTG-context] \listfigures in context..

2017-12-16 Thread Alan Braslau
AKA \placelistoffigures [criterium=all] Alan On Sat, 16 Dec 2017 18:26:10 +0100 Otared Kavian <ota...@gmail.com> wrote: > Hi John, > > You are maybe looking for > > \placelist[figure] > > Best regards: OK > > > > On 16 Dec 2017, at 18:13, John Cul

Re: [NTG-context] \listfigures in context..

2017-12-16 Thread Otared Kavian
Hi John, You are maybe looking for \placelist[figure] Best regards: OK > On 16 Dec 2017, at 18:13, John Culleton <j...@wexfordpress.com> wrote: > > > Latex has a \llistfigures command. Does context have an equivalent command? &

[NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-06 Thread Fabrice Couvreur
Hello, I would like that on the pages with the title of the chapter the header is empty. Fabrice \setupheadertexts[{\getmarking[section]}][pagenumber] [{\getmarking[chapter]}][pagenumber] \setuppagenumbering[alternative=,location=] \starttext \placelist[chapter

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

2017-08-24 Thread Fabrice Couvreur
Hi Pablo, Thank you so much ! Fabrice %\setupbackgrounds[header][text][bottomframe=on] \setuphead [chapter] [header=empty] \setupheader[text][after=\vskip 1pt \hrule] \starttext \starttitle[title={\bf My Book}] \stoptitle \placelist[chapter,section][alternative=c] \stoptext 2017-08

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

2017-08-24 Thread Pablo Rodriguez
not want the rule in those pages. Play with the options: %~ \setupheader[text][after=\vskip 3pt \hrule] \setupheader[text][after={\blackrule[ width=\textwidth, height=1em]}] It is wiser (not only to solve the problem), that you write a \title before \placelist. I hope it helps, Pablo

[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] \xmlfirst broken?

2017-07-17 Thread Hans Hagen
} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \stoptitle \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:demo:section \startchapter[title=\xmlfirst{#1}{/title}] \xmlfirst{#1}{/content} \stopchapter \stopxmlsetups \startxmlsetups xml:demo:p

[NTG-context] \xmlfirst broken?

2017-07-16 Thread Henri Menke
={Contents}] \placelist[chapter]   \stoptitle   \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:demo:section   \startchapter[title=\xmlfirst{#1}{/title}] \xmlfirst{#1}{/content}   \stopchapter \stopxmlsetups \startxmlsetups xml:demo:p   \xmlflush{#1}\endgraf \stopxmlsetups \starttext

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

2017-05-13 Thread Hans Hagen
On 5/12/2017 10:08 PM, cryo shock wrote: \placecontent \placelist[chapter,section][criterium=all] by default you get a local one (you can also ask for one level up and so) - Hans

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] 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’

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

2017-03-06 Thread Pablo Rodriguez
e "{this is a >> expression}" with no line break inside (and not using "~"). > > Usually you can use \hbox{this doesn’t break}. > > Try something like > > \def\MySection#1{\hbox{#1}} > \setuphead[section][command=\MySection] Hraban, I’m afraid I wasn’t

[NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start, color=, style=, contrastcolor=] \enabledirectives[references.border] \startsetups[placelist:section] \startalign[center] \setupinterlinespace[line=2.8ex] \placelist[section

[NTG-context] issue with linenotes and columns

2017-02-25 Thread Pablo Rodriguez
of linenotes (dict) have a bigger interlinespace than the second group? Another question is how I should get columns for \placelist[dict]? Is the columnn breaking issue a bug or am I missing something? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] keep interaction with \insertpages and \filterpages

2017-01-18 Thread Hans Hagen
\placelist[chapter] \chapter{one} \chapter{two} \stoptext 2.tex: \setupinteraction[state=start] \starttext % \startTEXpage \externalfigure[1.pdf][page=1,interaction=all]\stopTEXpage % \startTEXpage \externalfigure[1.pdf][page=2,interaction=all]\stopTEXpage % \startTEXpage \externalfigure

Re: [NTG-context] align natural tables left and right

2016-12-30 Thread Rik Kabel
within the text or in lists of floats (via \placelist), then you do not need \startplacefloat. -- Rik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

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
Dear list, I have the following sample: \setuppapersize[A6] \setupinteraction[state=start, focus=standard] \placebookmarks[chapter, section][chapter, section] \startsetups[placesect] \start \setupinterlinespace [line=2.8ex] \placelist

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

2016-11-02 Thread Pablo Rodriguez
] \setupinteraction[state=start, focus=standard] \placebookmarks[chapter, section][chapter, section] \startsetups[plsect] \start \setupinterlinespace [line=2.8ex] \placelist [section] [alternative=d, numbersegments=section

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-06 Thread Robert Blackstone
but >>> it does not seem to work anymore. >>> >>> MWE (from the first-mentioned site): >>> %%% >>> >>> \definelistextra[page][before=\page,after=\page] >>> >>> \starttext >>> >>>\placelist[chapter,section][crit

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Robert Blackstone
ntext/2010/052739.html, and >> still on http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break, >> but >> it does not seem to work anymore. >> >> MWE (from the first-mentioned site): >> %%% >> >> \definelistextra[page][before=\

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Hans Hagen
/Table_of_Contents#Forced_Page_Break, but it does not seem to work anymore. MWE (from the first-mentioned site): %%% \definelistextra[page][before=\page,after=\page] \starttext \placelist[chapter,section][criterium=text,extras={1.1=page}] \chapter{x1} \section{xx1

[NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Robert Blackstone
, but it does not seem to work anymore. MWE (from the first-mentioned site): %%% \definelistextra[page][before=\page,after=\page] \starttext \placelist[chapter,section][criterium=text,extras={1.1=page}] \chapter{x1} \section{xx1} \section{xx2} \chapter{y2

Re: [NTG-context] Captions numbering

2016-09-04 Thread Jose Luis Arellano
no,incrementnumber=list] \starttext \starttitle[title={Contents}] \stoptitle \placelist[chapter,section,subsubsection] \starttitle[title={Figures}] \stoptitle \placelist[figure] \startchapter[title=Chapter title] \input ward \startsection[title=Section title1] \input ward \placefigure[her

[NTG-context] issue with TOC

2016-06-24 Thread Pablo Rodriguez
Dear list, I have the following sample \starttext \placelist[chapter][alternative=c] \chapter{\input zapf} \stoptext Which is the key that controls the separation between title and page number, similar to "distance" for number and title? Sorry, I checked both i-context.pd

[NTG-context] [NTG-ConTeXt] Wrong order of sections and subsections

2016-06-18 Thread Marcus Vinicius Mesquita
Dear List In the wiki, http://wiki.contextgarden.net/Titles, there is a MWE of how to flush section head data without typesetting it in the text. But then \placelist gives a wrong order of sections and subsections: 1 First section 1.1 First subsection 2 Second section 1.2 Second

[NTG-context] issue with bookmark for sections

2016-04-21 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A5] \setupinteraction[state=start, focus=standard] \startsetups[placelist:section] \start \setupinterlinespace [line=2.8ex] \placelist [section] [alternative=d

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

2016-03-21 Thread Schmitz Thomas A.
> On 21 Mar 2016, at 15:28, Hans Hagen wrote: > > when playign with some new feature i commented too much > > around line 722, uncomment: > > \setuplistalternative > [\c!command=\strictlistparameter\c!command, > \c!symbol=.] > > Done, and it works again! Thanks Hans!

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

2016-03-21 Thread Hans Hagen
On 3/21/2016 9:57 AM, Schmitz Thomas A. wrote: Hi all, example attached with output from latest beta and an older one. The \placelist command appears to have changed recently; the older beta I tested is from November, but this used to work in February as well, the change must be recent

[NTG-context] placelist not working in latest beta

2016-03-21 Thread Schmitz Thomas A.
Hi all, example attached with output from latest beta and an older one. The \placelist command appears to have changed recently; the older beta I tested is from November, but this used to work in February as well, the change must be recent. Thanks a lot Thomas \definelist[MyTopics][criterium

Re: [NTG-context] in next beta

2016-03-10 Thread Procházka Lukáš Ing .
:59 PM, Wolfgang Schuster wrote: Hans Hagen <mailto:pra...@wxs.nl> 4. März 2016 um 12:01 \starttext \setuplistalternative [c] [filler=symbol, symbol=\hbox to .25em{\periodcentered}, symcolor=darkred, symstyle=\bf] \startsubject[title=Contents]

Re: [NTG-context] in next beta

2016-03-08 Thread Hans Hagen
[title=Contents] \placelist[section][criterium=all,alternative=c] \stopsubject \startsection[title=D. Ward] \input ward \stopsection \startsection[title=E.R. Tufte] \input tufte \stopsection \stoptext Is there a reason why you haven’t used the filler comman

Re: [NTG-context] in next beta

2016-03-07 Thread Wolfgang Schuster
Hans Hagen <mailto:pra...@wxs.nl> 4. März 2016 um 12:01 \starttext \setuplistalternative [c] [filler=symbol, symbol=\hbox to .25em{\periodcentered}, symcolor=darkred, symstyle=\bf] \startsubject[title=Contents] \placelist[section][criteri

Re: [NTG-context] Enumeration lists (was: \definedescription and setupdescription options)

2016-03-06 Thread Alan BRASLAU
On Mon, 7 Mar 2016 04:42:09 +0100 Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: > \defineenumeration > [fact] > [list=fact] > > \starttext > > \startfact [title=First fact] > Many commands in \CONTEXT\ are obvious. > \stopfact > > \plac

Re: [NTG-context] \definedescription and setupdescription options

2016-03-06 Thread Alan BRASLAU
[list=fact] \starttext \startfact [title=First fact] Many commands in \CONTEXT\ are obvious. \stopfact \placelist [enumeration:fact] [criterium=all] \stoptext does not produce a list. Alan ___ If your question is of intere

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Willi Egger
list[name]{number}{ext} does not end up in the list. — What do I >> miss? >> >> \starttext >> \startsubject[title=Contents] >> \placelist[section][criterium=all] >> \stopsubject >> >> \startsubject[title=A Paragraph as Subject] &g

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Hans Hagen
On 3/4/2016 5:37 AM, Willi Egger wrote: Hi all, I need to write to a list, however it appears that the second argument from \writetolist[name]{number}{ext} does not end up in the list. — What do I miss? \starttext \startsubject[title=Contents] \placelist[section

[NTG-context] in next beta

2016-03-04 Thread Hans Hagen
\starttext \setuplistalternative [c] [filler=symbol, symbol=\hbox to .25em{\periodcentered}, symcolor=darkred, symstyle=\bf] \startsubject[title=Contents] \placelist[section][criterium=all,alternative=c] \stopsubject

[NTG-context] \writetolist command...

2016-03-03 Thread Willi Egger
Hi all, I need to write to a list, however it appears that the second argument from \writetolist[name]{number}{ext} does not end up in the list. — What do I miss? \starttext \startsubject[title=Contents] \placelist[section][criterium=all] \stopsubject

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

2016-02-12 Thread Alan BRASLAU
l]} } \setuptexttexts[margin][\ifnum\realpageno>\MarkPage\vbox{\placelist[MyTopics]}\fi][] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / h

[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

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

2015-10-11 Thread Hans Hagen
{A list testing text xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx} \OLister4{Different list testing text xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx} \subject{List half width} \startcolumns[n=2] \placelist[OList

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

2015-10-11 Thread Wolfgang Schuster
xx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx} \subject{List half width} \startcolumns[n=2] \placelist[OList] \stopcolumns \stoptext With the 20150325 ConTeXt, there are .tuc file entries like: ["second"]="\\hbox {\\simplealignedbox {\\IDWidth }{left}{2\

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

2015-10-11 Thread Rik Kabel
=2] \placelist[OList] \stopcolumns \stoptext With the 20150325 ConTeXt, there are .tuc file entries like: ["second"]="\\hbox {\\simplealignedbox {\\IDWidth }{left}{2\\quad }{\\doboundtext {Yet another list testing text xxx xxx xxx xxx xxx xxx xxx xxx xxx

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

2015-10-10 Thread Rik Kabel
xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx} \OLister4{Different list testing text xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx} \subject{List half width} \startcolumns[n=2] \placelist[OList] \stopcolumns \stoptext With the 20150325 ConTeXt

[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] Section head without numbers, ToC with numbers

2015-10-04 Thread Aditya Mahajan
ents 1 First section 2 Second section (Untested): \setuphead[section][numbercommand=\gobbleoneargument] thanks for your answer! This comes close, but has the problem, that the section head is indented. \starttext \setuphead[section][numbercommand=\gobbleoneargument] \placelist[section] \section

Re: [NTG-context] Section head without numbers, ToC with numbers

2015-10-04 Thread Erik Margraf
t;>>> >>>> Table of Contents >>>> 1 First section >>>> 2 Second section >>>> >>>> >>>> (Untested): >>> >>> \setuphead[section][numbercommand=\gobbleoneargument] >>> >>> t

Re: [NTG-context] table of contents

2015-09-28 Thread Wolfgang Schuster
You can use the \placelist command, e.g. \title{Content} \placelist[chapter] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] put titles in toc

2015-09-09 Thread John Culleton
file: > > Hi John, > > I think this might do what you want: > > \definehead[titleintoc][chapter][number=no] > \starttext > \noheaderandfooterlines > \title{Contents} > \placelist[chapter,titleintoc] > \chapter{foo} > \input knuth.tex >

Re: [NTG-context] Forced page break in a TOC

2015-09-08 Thread Hans Hagen
). Any ideas on how to fix the problem? \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index

Re: [NTG-context] put titles in toc

2015-09-08 Thread Pablo Rodriguez
\starttext \noheaderandfooterlines \title{Contents} \placelist[chapter,titleintoc] \chapter{foo} \input knuth.tex \titleintoc{bar} \input knuth.tex \stoptext I hope it helps, Pablo -- http://

Re: [NTG-context] Expand a part of TOC

2015-08-24 Thread Hans Hagen
the result in the wiki. \placelist[section,subsection][criterium=...] in this case use criterium 'local' or 'previous' (depends a bit on where exactly it is called) - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Formatting of page number in table of contents

2015-08-12 Thread Aditya Mahajan
: \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] The page numbers are formatted correctly on each page, but not in the table of contents. For example, \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] \starttext \placelist[part,section][alternative=c, criterium=all

[NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Aditya Mahajan
page, but not in the table of contents. For example, \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] \starttext \placelist[part,section][alternative=c, criterium=all] \part{Part 1} \section{one} \input knuth \page \section{two} \input knuth \page \section{three} \input knuth \page

Re: [NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Wolfgang Schuster
, prefixset=part] The page numbers are formatted correctly on each page, but not in the table of contents. For example, \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] \starttext \placelist[part,section][alternative=c, criterium=all] Change this to \placelist[part,section

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread tala...@fastmail.fm
[suction][section][number=no] \starttext \placelist[section] \page \section{foo} \page \suction{bar} \page \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread Hans Hagen
the subject and the chapter to both be printed in the header. Many thanks for any help. \setupheadertexts[{\getmarking[section]}] \definehead[suction][section][number=no] \starttext \placelist[section] \page \section{foo} \page \suction{bar} \page \stoptext

Re: [NTG-context] Colored descriptions

2015-08-03 Thread Eric Détrez
in inbetween, it must be in before. More : a placelist[description] is no longer effective if there are sections and chapters :( So I have to use a register : is there a way to get the title of a description, something like #1 or /descriptiontitle ? -- Eric Détrez Informatique Lycée Faidherbe, Lille

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

2015-07-09 Thread Wolfgang Schuster
instead of \mbox. 2. To create a language dependant header for the TOC etc. you can use the \headtext command, e.g. \title{\headtext{content}} \placelist[part,chapter] 3. Be careful when you use _ in command names, e.g. \TOC_Title because it your case you created the command \TOC

[NTG-context] bug with bookmarks?

2015-07-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \placebookmarks [part,chapter,section,subsection,subsubsection] [part,chapter] \starttext \placelist[part,chapter] \startfrontmatter \chapter{Introduction} \stopfrontmatter

Re: [NTG-context] How to limit level of sections in TOC?

2015-06-20 Thread Wolfgang Schuster
) but without success. The level key doesn't work with MkIV but you can use the following two methods. 1. Use the \placelist command and list the sections you want to show, e.g. \placelist[chapter,section,subsection] 2. Use the list key for \placecontent to show only the listed entries, e.g

Re: [NTG-context] How to limit level of sections in TOC?

2015-06-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
} \subsubsection{SSSec} \stoptext I studied wiki (http://wiki.contextgarden.net/Command/setuplist) and also contextref.pdf (pg. 218) but without success. The level key doesn't work with MkIV but you can use the following two methods. 1. Use the \placelist command and list the sections you want to show

[NTG-context] First page after standardmakeup gets page number 0 in table of contents

2015-06-11 Thread Mojca Miklavec
\stopstandardmakeup \chapter{first} \chapter{second} \title{TOC} \placelist[chapter,section][criterium=all,alternative=c] \stoptext This prints TOC 1 first .. 0 2 second . 3 But the first chapter is on page 1. A temporary workaround was to prepare a separate document with the initial

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Wolfgang Schuster
}] \placeheadtext[Volume] \stopframed \else % Hide the Volume title \fi \stopsetups \starttext \placelist[Volume,Library,Manpage] \startVolume[title=Section 1: Programs] \dorecurse{3}{\startManpage[title=progxyz(1)] \input lorem \stopManpage} \stopVolume

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Kate F
\stopsetups %\showframe[text][text] \starttext \placelist[Volume,Library,Manpage] \startVolume[title=Section 1: Programs] \dorecurse{3}{\startManpage[title=progxyz(1)] \input lorem \stopManpage} \stopVolume \startVolume[title=Section 2: Syscalls] \dorecurse{3} {\startManpage[title

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Wolfgang Schuster
=\textwidth,height=\dimexpr\textheight-\strutdp\relax,align={middle,lohi}] \placeheadtext[Volume] \stopframed \else \setfalse\libraryentries \fi \stopsetups %\showframe[text][text] \starttext \placelist[Volume,Library

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

2015-05-19 Thread Mari Voipio
On Mon, May 18, 2015 at 6:38 PM, Hans Hagen pra...@wxs.nl wrote: On 5/18/2015 3:08 PM, Mari Voipio wrote: just wrap the list: \start ... all kind of settings ... \placelist[...] \stop Wow, that was easy. A bit of experimenting with \setuplinespace and my TOC looks exactly like I want

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

2015-05-19 Thread Pablo Rodriguez
On 05/19/2015 08:31 AM, Mari Voipio wrote: On Mon, May 18, 2015 at 6:38 PM, Hans Hagen pra...@wxs.nl wrote: On 5/18/2015 3:08 PM, Mari Voipio wrote: just wrap the list: \start ... all kind of settings ... \placelist[...] \stop Wow, that was easy. A bit of experimenting

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

2015-05-18 Thread Hans Hagen
somewhere else that makes my TOC so airily laid out. (It looks nice, but I'd rather squish it into fewer pages...) just wrap the list: \start ... all kind of settings ... \placelist[...] \stop

Re: [NTG-context] How to exclude certain figures from list of figures in ConTeXt?

2015-04-17 Thread Geert Verhaag
caption entries in its own nofigure list and when you show only the figure entries in the list the others are hidden. \setupexternalfigures[location=default] \definefloat[nofigure][nofigures][figure] \starttext \subject{Figure entries} \placelist[figure] \subject{Figure and nofigure entries

Re: [NTG-context] How to exclude certain figures from list of figures in ConTeXt?

2015-04-16 Thread Wolfgang Schuster
caption entries in its own nofigure list and when you show only the figure entries in the list the others are hidden. \setupexternalfigures[location=default] \definefloat[nofigure][nofigures][figure] \starttext \subject{Figure entries} \placelist[figure] \subject{Figure and nofigure entries

Re: [NTG-context] How to exclude certain figures from list of figures in ConTeXt?

2015-04-15 Thread Geert Verhaag
. \setupexternalfigures[location=default] \definefloat[nofigure][nofigures][figure] \starttext \placelist[figure] \blank[4*line] \startplacefigure[title=A duth cow] \externalfigure[cow][width=6cm] \stopplacefigure \startplacenofigure[title=A duth mill] \externalfigure[mill][width=6cm

Re: [NTG-context] How to exclude certain figures from list of figures in ConTeXt?

2015-04-13 Thread Wolfgang Schuster
can create a new float environment which inherits all values (including the counter) from the figure environment. \setupexternalfigures[location=default] \definefloat[nofigure][nofigures][figure] \starttext \placelist[figure] \blank[4*line] \startplacefigure[title=A duth cow

Re: [NTG-context] alphabetically ordered notes

2015-04-08 Thread Pablo Rodriguez
, in next beta: \placelist[dict][order=title] (no language control yet .. no time now) Many thanks for this improvement, Hans. Is there a way to remove page number from the final list? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] alphabetically ordered notes

2015-04-08 Thread Hans Hagen
to synchronization issues Many thanks for your help, in next beta: \placelist[dict][order=title] (no language control yet .. no time now) Many thanks for this improvement, Hans. Is there a way to remove page number from the final list? it's just a list so you can use all list variants and key

Re: [NTG-context] alphabetically ordered notes

2015-04-08 Thread Hans Hagen
to synchronization issues Many thanks for your help, in next beta: \placelist[dict][order=title] (no language control yet .. no time now) - Hans Hagen | PRAGMA ADE

Re: [NTG-context] alphabetically ordered notes

2015-04-08 Thread Pablo Rodriguez
command. quite tricky due to synchronization issues Many thanks for your help, in next beta: \placelist[dict][order=title] (no language control yet .. no time now) Many thanks for this improvement, Hans. Is there a way to remove page number from the final list? it's just

Re: [NTG-context] problem with interaction and TOC

2015-03-22 Thread Wolfgang Schuster
Am 22.03.2015 um 11:53 schrieb Pablo Rodriguez oi...@gmx.es: On 03/22/2015 12:27 AM, Hans Hagen wrote: On 3/21/2015 10:49 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupinteraction[state=start] \starttext \placelist[chapter

Re: [NTG-context] problem with interaction and TOC

2015-03-22 Thread Pablo Rodriguez
On 03/22/2015 12:27 AM, Hans Hagen wrote: On 3/21/2015 10:49 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupinteraction[state=start] \starttext \placelist[chapter] %~ \uppercasestring{context}\to\ascii %~ \chapter{\getvalue{\ascii

<    1   2   3   4   5   6   7   >