[NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Willi Egger
\startalignment[middle] {TRANSLATED BY ALEXANDER TEIXEIRA DE MATTOS, F.Z.S.} \stopalignment \stopstandardmakeup \starttitle[title={TRANSLATOR'S NOTE.}] \input ward \stoptitle \setupcounter[userpagenumber][state=start,number=7] \starttitle[title=Contents] \placelist

[NTG-context] About the table of contents

2020-07-11 Thread Fabrice Couvreur
Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this: 1 My first chapter 1.1 My first section 1.1.1 My first subsection \setuplist [chapter] [style=bold,width=10mm] \starttext \placelist

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Rudolf Bahr
> \setupbackgrounds[page][background=pgnumber] > \starttext > \placelist[section][alternative=d] > \dorecurse{16}{\section{Section}} > \pagenumber/\lastpagenumber > \setlayer[pgnumber] > {\comment{\pagenumber}} > \stoptext > > Could anyone confirm the iss

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
>> Could anyone confirm the issue? > > \pagenumber is only reliable headers/footer texts or page backgrounds, > for everything else you need a multi pass mechanism (save the page > number in the first run and provide it in the second). Many thanks for your reply, Wolfgang. I thought this

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Wolfgang Schuster
] \starttext \placelist[section][alternative=d] \dorecurse{16}{\section{Section}} \pagenumber/\lastpagenumber \setlayer[pgnumber] {\comment{\pagenumber}} \stoptext Could anyone confirm the issue? \pagenumber is only reliable headers/footer texts or page backgrounds

[NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
Dear list, I have the following number with wrong annotation placement and wrong page number, which would be both on the second page: \setupinteraction[state=start] \definelayer[pgnumber] \setupbackgrounds[page][background=pgnumber] \starttext \placelist[section][alternative=d

Re: [NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Hans Hagen
Table of Contents} \placelist[chapter] \startchapter[title=Tufte 1] \input tufte \stopchapter \startchapter[title=Tufte 2] \input tufte \stopchapter \stoptext %%% End %%% It's hard. Maybe I need to make a more low level accessor for that but multipass etc gets in the way. When you knwo

[NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Bruce Horrocks
} \define\myTOCbefore{ \starttabulate[|pw(8.75cm)|l|lw(4.2cm)|r|] \NC \underbars{Title} \NC \underbars{Subject} \NC \underbars{Author} \NC \underbars{Page} \NC\NR } \define\myTOCafter{% \stoptabulate } \starttext \title{Tabulated Table of Contents} \placelist[chapter] \startchapter[title

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Pablo Rodriguez
  [content] >   [list={chapter,section,title,subject,subsection}] > \setuplist[chapter][style=normal,alternative=b, before=] Hi Julian, \completecontent is similar to simply use: \title{Contents} \placelist[content] If you include title in \setupcombinedlist[content], you are

Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Pablo Rodriguez
On 4/11/20 2:53 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.04.2020 um 13:54: >> [...] >> I really need that, since the document I’m composing needs chapter and >> part page numbering independent from the whole document page numbering. >> >> Am I missing something or have I hit a

Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 11.04.2020 um 13:54: Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t \placelist

[NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Pablo Rodriguez
Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t \placelist[chapter] use the realpage counter? According to i

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Pablo Rodriguez
On 3/16/20 7:00 PM, Wolfgang Schuster wrote: > [...] > A way to fix the wrong spacing here is to add a strut option to > \setuplist (or use always the upright font to set the strut values). Any of these ones would be great to avoid the corner cases. Pablo -- http://www.ousia.tk

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Hans Hagen schrieb am 16.03.2020 um 18:42: On 3/16/2020 6:01 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Hans Hagen
On 3/16/2020 6:01 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You can avoid this when you use a fixed

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You can avoid this when you use a fixed lineheight (e.g. \setupinterlinespace[line=14pt])

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Henning Hraban Ramm
> Am 2020-03-16 um 14:35 schrieb Hans Hagen : >> Yes, pagella is a extreme case but when you use bold text the vertical >> spacing is also messed up. You can avoid this when you use a fixed >> lineheight (e.g. \setupinterlinespace[line=14pt]) because the default >> distance is font dependant

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Hans Hagen
On 3/16/2020 1:27 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 16.03.2020 um 10:01: On 3/15/20 10:56 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 15.03.2020 um 20:32: [...] Everthing is fine when italic fonts aren’t used. It can be fixed with a strut option for lists,

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.03.2020 um 10:01: On 3/15/20 10:56 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 15.03.2020 um 20:32: [...] Everthing is fine when italic fonts aren’t used. It can be fixed with a strut option for lists, e.g. \setuplist[strut=no]. The problem in this

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Pablo Rodriguez
On 3/15/20 10:56 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 15.03.2020 um 20:32: >> [...] >> Everthing is fine when italic fonts aren’t used. > > It can be fixed with a strut option for lists, e.g. > \setuplist[strut=no]. The problem in this case is that the ex-height for > the

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 15.03.2020 um 20:32: Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d

[NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Pablo Rodriguez
Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d, style=\it] \section{Section 1} \section

Re: [NTG-context] How to sort list of sections?

2019-11-08 Thread Rik Kabel
On 11/7/2019 16:22, jdh wrote: I get no difference using criterium=previous versus criterium=local. Try this extended example to see the difference:  \setuphead[section][number=no]  \starttext  \startchapter[title=foo]   \placelist[section][criterium=local,order=title

Re: [NTG-context] How to sort list of sections?

2019-11-08 Thread Hans Hagen
On 11/7/2019 9:45 PM, Kerry Sainsbury wrote: Thanks Hans. For the sake of any future users who may have stumbled across this post I want to point out that if you want the list of sections to appear at the /end /of your document you need to use "criterium=previous" \placeli

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread jdh
nt > you need to use > "criterium=previous" > > \placelist[section][criterium=previous,order=title] > > On Fri, 8 Nov 2019 at 04:52, Hans Hagen wrote: > > On 11/7/2019 12:13 AM, Kerry Sainsbury wrote: > > Hi Folks, > > > > If sec

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Kerry Sainsbury
Thanks Hans. For the sake of any future users who may have stumbled across this post I want to point out that if you want the list of sections to appear at the *end *of your document you need to use "criterium=previous" \placelist[section][criterium=previous,order=title] On Fri,

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Hans Hagen
... \setuphead[section][number=no] \starttext \startchapter[title=foo] \placelist[section][criterium=local,order=title] \startsection[title={Beta}] \input sapolsky \stopsection \startsection[title={Alpha}] \input sapolsky \stopsection \startsection[title={Gamma}] \input sapolsky

[NTG-context] How to sort list of sections?

2019-11-06 Thread Kerry Sainsbury
to sort sections. I was wrong :-) \definesorting[section][sections] \setupsorting[sections][criterium=all] % I thought something like this might work too \definesorting[wahs] \definesorting[wah][wahs][\getmarking[section]][\getmarking[section]] \starttext placelist (not sorted, as you would

[NTG-context] chapter-number prefixes on figure, etc, numbers, even in unnumbered section appearing in TOC

2019-05-31 Thread Sanjoy Mahajan
ithin)? -Sanjoy The code: \setupcaption[figure][way=bytext,prefixset=1:2] \definehead[unnumberedsection][section] \setuphead [unnumberedsection][incrementnumber=list] \starttext \placelist[chapter,section,unnumberedsection] \chapter{One} \placefigure{one}{1} \section{Two} \placefigure{two}{2} \chap

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
[preference]}] \setuplist[section][width=10mm, style=,textstyle=\ss,after={\blank[preference]}] \setuplist[subsection][style=,textstyle={\ss}] % \startfrontmatter \title{Contents} \placelist[chapter,title] \stopfrontmatter \startbodymatter \title{First} \page

Re: [NTG-context] two different outputs.

2019-01-01 Thread Wolfgang Schuster
} \placelist[chapter,title] \title{Title} \title{타이틀} \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

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

2018-09-20 Thread Henning Hraban Ramm
, >before=\endgraf, >after=\endgraf, >command=\ChapterTocEntry] > > \usemodule[visual] > > \starttext > > \placelist[chapter][criterium=all] > > \dorecurse{5}{ > \chapter{\fakewords{2}{7}} > \dorecurse{5}{ > \fakewords{10}{300}\par >

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

  1   2   3   4   5   6   >