[NTG-context] Re: Adding a line after the TOC

2024-10-08 Thread Wolfgang Schuster
eader can be used to create additional toc entries on the chapter level. begin example \definehead [chapternote] [chapter] [page=no, number=no, placehead=no] \setuplist [chapternote] [margin=2em, pagenumber=no] \startdocument \completecontent[list={chapter,chapte

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Wolfgang Schuster
umber \stopsectionblockenvironment \starttext \startfrontmatter \completecontent \dorecurse{4} {\chapter{Chapter #1} \dorecurse{\numexpr#1*2\relax}{\samplefile{lorem}}} \stopfrontmatter \startbodymatter \dorecurse{4} {\chapter{Chapter #1} \dorecurse{\numexpr#1*2\relax}{\samplefile{

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Wolfgang Schuster
l you want. \setuplabeltext [en] [chapter=Chapter , appendix=Appendix , hraban=Hraban ] %\setuplist[chapter][label=hraban,width=3cm] \setuplist[chapter][label=yes,width=3cm] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{First chapter} \chapter{Seco

[NTG-context] Re: last page number for a list

2024-04-03 Thread Wolfgang Schuster
[alanindex]\relax}% \thinspace --\thinspace \pagestaterealpage{alanpage}{\number\numexpr\incrementedcounter[alanindex]\relax}} \setuplist[chapter][pagecommand=\ChapterListPage] \setuplist[chapter][pagecommand=\ChapterListPage] \showgrid \starttext \completecontent \startchapter [title=Knuth

[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
eating a custom list and use \writetolist immediately > before each \stopchapter command? > > \definelist[LastPages][criterium=all] > \starttext > \completecontent > \page > \completelist[LastPages] > \page > \dorecurse{10}{ > \startchapter[title={This is my ch

[NTG-context] Re: last page number for a list

2024-04-03 Thread Bruce Horrocks
mmand? \definelist[LastPages][criterium=all] \starttext \completecontent \page \completelist[LastPages] \page \dorecurse{10}{ \startchapter[title={This is my chapter}] This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \writetolist[LastPages]{3.}{\namedstructurevariable{ch

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
/context/base/mkxl/context.mkxl >> mtx-context | current version: 2024.01.24 22:39 >> -- >> Stripped down MWE: >> \setuppapersize[A4] [A4] >> \starttext >> \completecontent[criterium=all] >> % ToC >> \page >> \chapter{CHAP 1} >> TEXT &g

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Wolfgang Schuster
-context | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2024.01.24 22:39 -- Stripped down MWE: \setuppapersize[A4] [A4] \starttext \completecontent[criterium=all] % ToC \page \chapter{CHAP 1} TEXT

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
/context/base/mkiv/context.mkiv >> mtx-context | current version: 2024.01.24 22:39 >> mtx-context | main context file: >> /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl >> mtx-context | current version: 2024.01.24 2

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Taco Hoekwater
text.mkxl > mtx-context | current version: 2024.01.24 22:39 > -- > > Stripped down MWE: > > \setuppapersize[A4] [A4] > \starttext > \completecontent[criterium=all] > % ToC > \page > \chapter{CHAP 1} > TEXT > \startbackmatter >

[NTG-context] Section numbering does not work

2024-02-12 Thread Oliver Marugg
/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2024.01.24 22:39 -- Stripped down MWE: \setuppapersize[A4] [A4] \starttext \completecontent[criterium=all] % ToC \page \chapter{CHAP 1} TEXT \startbackmatter \startchapter[title=Literature

[NTG-context] Re: (again) wrong destination types?

2023-12-04 Thread Bruce Horrocks
gt; In PDF terms (simplified), fit to page destinations are /Fit > destinations and placed destinations are /XYZ destinations. > > This sample shows what might be the root issue here: > > \setupinteraction[state=start, page=name, focus=standard] > \starttext > \completecontent

[NTG-context] Re: (again) wrong destination types?

2023-12-03 Thread Pablo Rodriguez via ntg-context
tupinteraction[state=start, page=name, focus=standard] \starttext \completecontent \chapter{Chapter} a\footnote{b} \stoptext ConTeXt handles internally links in categories. For some reason unknown to me, "page=name" triggers that special operation links contain /Fit instead /XYZ d

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
rtada] \setuppagenumbering[location=] \input{03_portadaEval.tex}%this is my title page \stopsectionblock \startfrontmatter[] \start \setuplayout[reset] \setupinterlinespace[.8ex] \completecontent \stop \stopfrontmatter \startbodymatter[] \

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-10 Thread Jim
at 21:38 (+0200), Lutz Haseloff wrote: > Hi Jim, > perhaps does this work for you? > > \setuplist[chapter][headnumber=no] > \setuphead[chapter][number=no] > \starttext > \completecontent > \page > \chapter{Chapter one} > \input knuth > \chapter{Chapt

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
s. >> The above wiki reference says "the following might do that trick" but I >> think "might" is the keyword, since even the wiki doesn't show the "No >> number" entry in the \completecontent. >> I find it hard to imagine that I am the onl

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Lutz Haseloff
Hi Jim, perhaps does this work for you? \setuplist[chapter][headnumber=no] \setuphead[chapter][number=no] \starttext \completecontent \page \chapter{Chapter one} \input knuth \chapter{Chapter two} \input ward \stoptext Greetings Lutz Am 9. September 2023 20:11:55 MESZ schrieb

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
t" is the keyword, since even the wiki doesn't show the "No number" entry in the \completecontent. I find it hard to imagine that I am the only Context user who wants to do this. Can anyone point me in the direction of a working example? And am I misinterpreting the wiki, or is t

[NTG-context] Table of contents of unnumbered titles

2023-09-09 Thread Jim
the wiki doesn't show the "No number" entry in the \completecontent. I find it hard to imagine that I am the only Context user who wants to do this. Can anyone point me in the direction of a working example? And am I misinterpreting the wiki, or is the wiki page broken? Tha

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-03 Thread Wolfgang Schuster
* (which include some dummy content) examples. The example below results in section entries which are listed as a paragraph, what output do you expect here. \setuplist[chapter][alternative=c] \setuplist[section][alternative=d] \starttext \completecontent \dorecurse{2}   {\chapter{Chapter #1

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Mikael Sundqvist
\usebtxdefinitions[aps] > > % el text > > \starttext > > \startfrontmatter > \input ng-pre-portada.conTeXt > \input ng-pre-llicencia.conTeXt > \input ng-pre-informacio-document.conTeXt > \completecontent > \stopfrontmatter > > > \startbodymatter > > \

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
btxdataset[default][ng-bibliografia.bib] \setupbtx[dataset=default] \usebtxdefinitions[aps] % el text \starttext \startfrontmatter \input ng-pre-portada.conTeXt \input ng-pre-llicencia.conTeXt \input ng-pre-informacio-document.conTeXt \completecontent \stopfrontmatter \startbodymatter \start

Re: [NTG-context] hyperlinks not working with current latest

2023-05-29 Thread Hans Hagen via ntg-context
\completecontent \dorecurse{5} {a\footnote{}} \stoptext LuaTeX generates fine hyperlinks for footnotes. My guess is that the issue is in the LuaMetaTeX binary. Could anyone confirm this issue? i'll upload a fix later today (some sensitivity to an extra return value of a helper)

Re: [NTG-context] hyperlinks not working with current latest

2023-05-28 Thread Hans Hagen via ntg-context
\completecontent \dorecurse{5} {a\footnote{}} \stoptext LuaTeX generates fine hyperlinks for footnotes. My guess is that the issue is in the LuaMetaTeX binary. Could anyone confirm this issue? i'll check it but (maybe side effect of some ref things Alan and I are working on). The engin

[NTG-context] hyperlinks not working with current latest

2023-05-28 Thread Pablo Rodriguez via ntg-context
Dear list, in the following sample, hyperlinks for footnotest don’t work with current latest (2023.05.28 18:57) with current LMTX (20230528): \setupinteraction [state=start, focus=standard] \starttext \completecontent \dorecurse{5} {a\footnote{}} \stoptext LuaTeX

Re: [NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Alan Braslau via ntg-context
Try: \completecontent [criterium=all] Alan On Tue, 18 Apr 2023 01:06:02 +0200 Kalouguine Andre via ntg-context wrote: > Hi, > > I was trying to have my "Acknowledgements" section/chapter before the > table of contents but be contained within it. > > Is

[NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Kalouguine Andre via ntg-context
Hi, I was trying to have my "Acknowledgements" section/chapter before the table of contents but be contained within it. Is it normal that the table of contents is empty if there is a chapter that begins before it? ``` \starttext \chapter{Acknowledgements} Thank you \compl

Re: [NTG-context] [ TEXpage empty lines ]

2023-03-08 Thread Wolfgang Schuster via ntg-context
\crlf. I would even say that I read it somewhere in ConTeXt’s source. The result of \\ depends on the environment/command. \starttext \completecontent \chapter{space or\\newline?} \stoptext Wolfgang ___ If your

[NTG-context] list not following "focus=standard"?

2023-01-30 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \dorecurse{25} {\section{Section} a\footnote{b}} \stoptext Using current latest (from 2023.01.26 18:34), destinations for TOC are pages (/D [ 7 0 R /Fit ]) and

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
oterlines \completecontent \PY \PB } { \setupheadtext[tables=Tables of Vol.~i.] \setupheadertexts[Tables of Vol.~i.][pagenumber][pagenumber][Tables of Vol.~i.] \noheaderandfooterlines \completelistoftables \PY \PB } { \setupheadtext[figures=Figures of Vol.~i.] \setupheadertexts[Figures

Re: [NTG-context] list not following "focus=standard"

2022-10-16 Thread Pablo Rodriguez via ntg-context
On 10/14/22 23:24, Pablo Rodriguez via ntg-context wrote: > Hi Hans, > > I have the following sample: > > \setupinteraction[state=start, > focus=standard] > \starttext > \completecontent > \section{section} > a\footnote{\contextversion} > \stoptext

[NTG-context] list not following "focus=standard"

2022-10-14 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \section{section} a\footnote{\contextversion} \stoptext With version from 2022.09.11 20:44, the link from the TOC reads in the PDF file: 4 0 obj << /D [

[NTG-context] ToC filler dots not aligned

2022-10-14 Thread Schister, Roman via ntg-context
. Here’s a working example of my code: \setupcombinedlist[content][alternative=c] \starttext \completecontent \chapter[title={First chapter}] \chapter[title={Second, longer chapter}] \chapter[title={Third chapter}] \stoptext Any help is greatly appreciated. Thanks and best wishes, Roman

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alain Delmotte via ntg-context
Hi! Le 14/10/2022 à 16:24, Pablo Rodriguez via ntg-context a écrit : Dear list, I have the following sample: \setuppapersize[A7] \setupinteraction[state=start, color=darkred, contrastcolor=darkred, focus=standard] \starttext \completecontent \startsection[title

[NTG-context] issues with current latest

2022-10-14 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A7] \setupinteraction[state=start, color=darkred, contrastcolor=darkred, focus=standard] \starttext \completecontent \startsection[title={sec}, list=(before \&\ now), reference=a] \page \in[a] (after 2022.10.1

Re: [NTG-context] TOC colors and in-page anchors

2022-10-11 Thread Sylvain Hubert via ntg-context
h links here: > > \setupinteraction[state=start, > color=darkred, > contrastcolor=darkred, > focus=standard] > \starttext > \completecontent > \section[a]{b} > \about[a] > \stoptext > > And this is a regression. I think it was introduced in

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Pablo Rodriguez via ntg-context
mpare both links here: \setupinteraction[state=start, color=darkred, contrastcolor=darkred, focus=standard] \starttext \completecontent \section[a]{b} \about[a] \stoptext And this is a regression. I think it was introduced in latest from 2022.07.06 21:42, since latest from

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Sylvain Hubert via ntg-context
Thanks for the pointers, but unfortunately I cannot reproduce the second fix with either the system pdf viewer or the browser one. \usemodule[ipsum] \setupinteraction[state=start,focus=standard] \starttext \completecontent \section{s1}\ipsum \section{s2}\ipsum

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Bruce Horrocks via ntg-context
> On 28 Sep 2022, at 09:18, Sylvain Hubert via ntg-context > wrote: > > Dear list, > > \usemodule[ipsum] > \setupinteraction[state=start] > > \starttext > \completecontent > \section{s1}\ipsum > \section{s2}\ipsum > \sec

[NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Sylvain Hubert via ntg-context
Dear list, \usemodule[ipsum] \setupinteraction[state=start] \starttext \completecontent \section{s1}\ipsum \section{s2}\ipsum \section{s3}\ipsum \section{s4}\ipsum \section{s5}\ipsum \section{s6}\ipsum \stoptext In the table of contents, s1 and s2 (at

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Wolfgang Schuster via ntg-context
you have to create a new section command where you can apply different list settings. \starttext \completecontent You're now placing \completecontent (and the associated \title) outside of any sectionblock. Wol

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Pablo Rodriguez via ntg-context
n. Many thanks for your reply, Hraban. Using current latest (from 2022.05.11 11:36) with current sample outputs no different setup for chapters from bodypart: \startsectionblockenvironment[bodypart] \setuplist[chapter] [alternative=d] \stopsectionblockenvironment

Re: [NTG-context] Table of Contents empty for unknown reason

2022-06-13 Thread Aditya Mahajan via ntg-context
On Sun, 12 Jun 2022, Joel via ntg-context wrote: > I need to display a table of contents, but only displaying chapters. > > Here is my minimum working example: You need to add "criterium=all" to both placelist and completecontent. See below: > \starttext &

[NTG-context] Table of Contents empty for unknown reason

2022-06-12 Thread Joel via ntg-context
I need to display a table of contents, but only displaying chapters. Here is my minimum working example: \starttext     \startfrontmatter         \startchapter[title={Contents}]             \placelist[chapter]         \stopchapter         \completecontent     \stopfrontmatter     \startbodymatter

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Willi Egger via ntg-context
Hi Joel, I think you can achieve what you want by using \placelist[chapter,section] instead of \completecontent. Then you can start the TOC by \startchapter[Content] \placelist…. \stopchapter. The same approach can be used for other lists/indexes. Kind regards Willli > On 8 May 2022, at

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Taco Hoekwater via ntg-context
lt;-- the article begins about how to keep fish >> - >> >> \definefontsize[a]% >> \definefontsize[b]% >> \definefontsize[c]% >> \definefontsize[l]% >> \setupbodyfontenvironment[default]% >>[% >>a=1.200, >>b=1.440, >

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Denis Maier via ntg-context
c=1.728, > l=8.916 > ]% > % > > \setuplabeltext[chapter=\strut] > \setuphead[chapter][style=\ssc,placehead=yes,expansion=yes,page=yes, > numbercommand=\groupedcommand{}{\blank[1cm]}, > alternative=middle, > numberstyle=ssl, > numbercolor=green, > strut=yes] >

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-08 Thread Denis Maier via ntg-context
tyle=\ssc,placehead=yes,expansion=yes,page=yes, numbercommand=\groupedcommand{}{\blank[1cm]}, alternative=middle, numberstyle=ssl, numbercolor=green, strut=yes] \starttext \completecontent \chapter{Test} \input knuth \chapter{Test} \input knuth \stoptext The problem I

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-08 Thread Denis Maier via ntg-context
k[1cm]}, alternative=middle, numberstyle=ssl, numbercolor=green, strut=yes] \starttext \completecontent \chapter{Test} \input knuth \chapter{Test} \input knuth \stoptext The problem I'm facing, is anytime a chapter title is called, such as "Content"

[NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-07 Thread Joel via ntg-context
     c=1.728,         l=8.916     ]% % \setuplabeltext[chapter=\strut] \setuphead[chapter][style=\ssc,placehead=yes,expansion=yes,page=yes, numbercommand=\groupedcommand{}{\blank[1cm]}, alternative=middle, numberstyle=ssl, numbercolor=green, strut=yes] \starttext     \completecontent          \

[NTG-context] Custom Table of Contents

2022-01-20 Thread andrei--- via ntg-context
blown away by after using LaTeX godawful tables for years, it’s soo good). After digging into the documentation (again, wow, it’s soo detailed and approachable after LaTeX😂), I found out that \completecontent doesn't provide such extreme level of customization. Therefore I need reimpleme

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
] \setupcombinedlist [content] [list={part,parttext,chapter,chaptertext}] \starttext \startfrontmatter \completecontent \SectionPrequote{If you think good architecture is expensive, try bad architecture\crlf {\tf Brian Foote and Joseph Yoder}} \startchapter[title={One}] \dorecurse{7}{\input tufte \par \input

Re: [NTG-context] My setup almost works

2021-10-23 Thread Pablo Rodriguez via ntg-context
On 10/23/21 6:09 PM, Gerben Wierda wrote: > [...] Replying a private to the list, since it could be useful for (future?) reference. > This works, except: > - Parts are not mentioned in the table of contents. If I use > \completecontent, I do not get the abstracts Wel

Re: [NTG-context] A book with sections

2021-10-23 Thread Pablo Rodriguez via ntg-context
sectionsegments=chapter] \setuphead[section][sectionsegments=chapter:section] \starttext \completecontent \dorecurse{25}{\part{Part} \chapter{Chapter} \section{Section} \section{Section}} \stoptext Pablo -- http://www.ousia.tk __

Re: [NTG-context] A book with sections

2021-10-23 Thread Wolfgang Schuster via ntg-context
Don't reset the counter for parts and chapters \defineresetset [default] [0,0] [1] \starttext \completecontent \dorecurse{4}   {\expanded{\part{Part \recurselevel}}    \dorecurse{5}{\expanded{\chapter{Chapter \recurselevel \stoptext

[NTG-context] Setting up the double pages of part beginnings

2021-09-10 Thread Christian Dekant via ntg-context
EXpage\externalfigure[#1][width=\printpaperwidth,height=\printpaperheight]\stopTEXpage\incrementpagenumber} % tried page=yes/no/right/odd \setuphead [part] [placehead=yes, page=right, before={\nowhitespace}, % ??? ] \starttext \completecontent \FullScreen{cow} \startpart[title={A nice part}]

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Richard Mahoney via ntg-context
table or \placefigure > > to control the Table of Figure Title appearing in: > > \completelistoftables and \completelistoffigures > > > At the moment one can do this for the output of: > > \completecontent > > with something such as the following: > > \start

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Adam Reviczky via ntg-context
conversionset [bodypart:chapternumber] [] [bodypartnumber->n] > \defineconversionset [appendix:chapternumber] [] [appendixnumber->A] > > \setuphead >[chapter] >[sectionconversionset=chapternumber] > > \startsectionblockenvironment [frontpart] > >

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Wolfgang Schuster via ntg-context
number] \startsectionblockenvironment [frontpart] \defineprocessor [bodypartnumber] [left=Chapter~] \defineprocessor [appendixnumber] [left=Appendix~] \stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbody

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Taco Hoekwater via ntg-context
ome syntax that one can use in: > > \placetable or \placefigure > > to control the Table of Figure Title appearing in: > > \completelistoftables and \completelistoffigures > > > At the moment one can do this for the output of: > > \completecontent > >

[NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-24 Thread Richard Mahoney via ntg-context
List, I've been wondering if there is some syntax that one can use in: \placetable or \placefigure to control the Table of Figure Title appearing in: \completelistoftables and \completelistoffigures At the moment one can do this for the output of: \completecontent with something su

[NTG-context] TOC labeltext and no partlabel

2021-08-24 Thread Adam Reviczky via ntg-context
ttext \startfrontmatter \completecontent[label=section] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \chapter{Appendix} \stopappendices \stoptext But that does not show the labels in the TOC (trying it with LMTX and MKIV). I must be doing something wrong. Any

Re: [NTG-context] Using Lua to format lecture titles

2021-08-17 Thread Wolfgang Schuster via ntg-context
lecture} \getmarking[lecturenumber] \doiftext{\getmarking[lecture]}{: \getmarking[lecture]} \stopsetups \setupfootertexts [\directsetup{footer:left}] [] \starttext \completecontent \startlecture [title={Foo}] Foo bar baz \stoplecture \page \startlecture Foo bar baz \stoplecture

[NTG-context] Using Lua to format lecture titles

2021-08-17 Thread noib3 via ntg-context
stopluacode \setupcombinedlist [content] [list={lecture}] \setuplist [lecture] [ alternative=c, command=\Lecture, % this seems to have no effect? ] \starttext \completecontent % Both title and left footer should be 'Lecture 1: Foo' \startlecture [title={Foo}] Foo bar b

Re: [NTG-context] issue with footnote in TOC

2021-08-05 Thread Pablo Rodriguez via ntg-context
On 8/5/21 11:58 PM, Hans Hagen via ntg-context wrote: > On 8/5/2021 4:34 PM, Pablo Rodriguez via ntg-context wrote: >> \starttext >>\completecontent >>\chapter{Chapter Title\footnote{With footnote}} >>\stoptext > > fixed in next beta (different escapi

Re: [NTG-context] issue with footnote in TOC

2021-08-05 Thread Hans Hagen via ntg-context
On 8/5/2021 4:34 PM, Pablo Rodriguez via ntg-context wrote: \starttext \completecontent \chapter{Chapter Title\footnote{With footnote}} \stoptext fixed in next beta (different escaping

[NTG-context] issue with footnote in TOC

2021-08-05 Thread Pablo Rodriguez via ntg-context
Dear list, compiling the following sample with current latest (2021.08.04 17:51): \starttext \completecontent \chapter{Chapter Title\footnote{With footnote}} \stoptext The entry in the TOC for the chapter seems to have problems with the footnote command (backslash seems to be

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-07-02 Thread denis.maier
;   \startchapter    [title=Notes] > \setupheadertexts[{\it\getmarking[part]}][\setups{noteHeadingsText}] > [\setups{noteHeadingsText}][{\it\getmarking[part]}] >   \placenotes  [endnote] >   \page > \setupheadertexts[{\it\getmarking[part]}][{\it\getmarking[section]}] >   

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Rik Kabel
%--% \starttext \completecontent \startpart[title=Part 1] \dorecurse{3}{   \startchapter[title=Chapter #1]     If a man wants to read good books, he must make a point of     avoiding bad ones; for life is short, and time and energy     limited.     \startfootnote   T.\,Baily Saunders

Re: [NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread Adam Reviczky
lor=blue > ] > > > \starttext > \completecontent > \section{Section A} > \subsection{SubSection A.A} > \pagebreak[yes] > \section {Section B — on another page} > \subsection {SubSection B.A — on another page} > \stoptext > > When I format it with ConTeXt (ConTeXt ver: 2

[NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread T. Kurt Bond
I'm trying to make all the hyperlinks in my document blue. Here's my example: \setupinteraction [state=start, color=blue, contrastcolor=blue ] \starttext \completecontent \section{Section A} \subsection{SubSection A.A} \pagebreak[yes] \section {Section B — on another page} \

Re: [NTG-context] ToC filler dots/leaders not aligned in LMTX

2021-04-23 Thread Hans Hagen
the same behaviour: the leading dots are not aligned. Compiling the same document with MkIV leads to correct alignment of the filler dots in both instances. Here is an MWE: \setuplistalternative[c][width=2em] \starttext \completecontent[alternative=c] \chapter{Short title} Lorem ipsum

[NTG-context] ToC filler dots/leaders not aligned in LMTX

2021-04-23 Thread Schister, Roman
aligned. Compiling the same document with MkIV leads to correct alignment of the filler dots in both instances. Here is an MWE: \setuplistalternative[c][width=2em] \starttext \completecontent[alternative=c] \chapter{Short title} Lorem ipsum \hskip.5em\gleaders\hbox to .5\emwidth{\hss.\hss

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
\leftaligned \bgroup \hskip 0.5cm \structurelistuservariable{author} \rightaligned \bgroup #3 \egroup \egroup } \setuplist [chapter] [alternative=command, command=\SectionToCEntry, after=\endgraf] \completecontent \startchapter [title={This is my chapter

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Bruce Horrocks
ading dots. \starttext \define[3]\SectionToCEntry{ #2\crlf \leftaligned \bgroup \hskip 0.5cm \structurelistuservariable{author} \rightaligned \bgroup #3 \egroup \egroup } \setuplist [chapter] [alternative=command, command=\SectionToCEntry, after=\endgraf] \completeconte

Re: [NTG-context] Write to tuc file

2021-03-07 Thread Pablo Rodriguez
er > \startchapter[reference=moreover,title=oof] > \stopchapter > > and --pages=whatever,moreover will give you the info you need to call > context --extra=copy or whatever with the right arguments Hans, real-world needs may be complex, such as in the following sample: \startte

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Hans Hagen
proper refs for chapters you can use the reported values and feed them into whatever i could add something to the select style but i guess then there is no uniformity in how users do this Many thanks for the new stuff, Hans. This could be an approach: \starttext \completecontent \dorecurse

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Pablo Rodriguez
> you can use the reported values and feed them into whatever > > i could add something to the select style but i guess then there is no > uniformity in how users do this Many thanks for the new stuff, Hans. This could be an approach: \starttext \completecontent \dorecurse{10}

[NTG-context] conditional formatting, checking the context (SOLVED)

2021-03-05 Thread Henning Hraban Ramm
{*chapter}{{\bf #1}}{#1}} \setupinteraction[state=start] \placebookmarks[chapter,title] \starttext \startchapter[title={This \SPECIAL{and} That}] \input knuth \stopchapter \startchapter[title={Something \SPECIAL{Other}}] \input tufte \stopchapter \completecontent[criterium=all] \stoptext

Re: [NTG-context] Help figuring why long document stops short in xml export

2021-02-24 Thread Christoph Hintermüller
\setupcaption[lefthangingfigure][width=\textwidth,align=figure] 60 \setupheadtext[content=Inhalt] 61 %\traceexternalfilters 62 \enabletrackers[export.*] 63 64 \starttext 65 \startstandardmakeup 66 \title{Programmiertechnik 2} 67 \subsubject{Dr. Chri

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
ction][style=\it] \starttext \completecontent \section{Section} \input zapf \stoptext Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add

Re: [NTG-context] Some interaction questions

2020-10-13 Thread Denis Maier
rkers would be quite pointless.) "focus=standard" in \setupinteraction. With a minimal sample: \setupinteraction[state=start, focus=standard] \enabledirectives[references.bookmarks.preroll] \placebookmarks[chapter] \starttext \completecontent \chapter{The concept of {\em

Re: [NTG-context] Some interaction questions

2020-10-13 Thread Denis Maier
te markers would be quite pointless.) "focus=standard" in \setupinteraction. With a minimal sample: \setupinteraction[state=start, focus=standard] \enabledirectives[references.bookmarks.preroll] \placebookmarks[chapter] \starttext \completecontent \chapter{The concept of {\

Re: [NTG-context] Some interaction questions

2020-10-13 Thread Pablo Rodriguez
tless.) "focus=standard" in \setupinteraction. With a minimal sample: \setupinteraction[state=start, focus=standard] \enabledirectives[references.bookmarks.preroll] \placebookmarks[chapter] \starttext \completecontent \chapter{The concept

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Tomas Hala
>Thanks in advance for any hint. # > # >Best wishes, # > # >Tomáš # > # >MWE (TL2020): # >\starttext # >\define\name{aa} \startsection[title=\name,list=\name] \stopsection # >\define\name{bb} \startsection[title=\name,list=\name] \stopsection # >\completecontent

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Pablo Rodriguez
placelist[section] % this doesn’t work \def\name{aa} \placelist[section] \startsection[title=\name, list=\expanded\name] \stopsection \def\name{bb} \startsection[title=\name, list=\expanded\name] \stopsection \completecontent \stoptext

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Wolfgang Schuster
list=\name] \stopsection \completecontent \stoptext Variant 1: \setuphead[section][expansion=yes] \starttext \defineexpandable\name{aa} \startsection[title=\name,list=\name] \stopsection \defineexpandable\name{bb} \startsection[title=\name,list=\name] \stopsection \completecontent \stoptext

[NTG-context] Sections in content: macros v text

2020-10-05 Thread Tomas Hala
how to send the text "aa" to the content in this case. Thanks in advance for any hint. Best wishes, Tomáš MWE (TL2020): \starttext \define\name{aa} \startsection[title=\name,list=\name] \stopsection \define\name{bb} \startsection[title=\name,list=\name] \stopsection \completecontent

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-07 Thread jbf
ative=command,    command=\ChapterListCommand] \setuplabeltext   [en]   [chapter=Chapter ] \setuplist   [foreword]   [label=foreword,   alternative=command,    command=\TitleListCommand] \setuplabeltext   [en]   [title=Foreword ] \starttext \completecontent \starttitle [title={Foreword

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread jbf
ervariable{author}}}%    \hfill\currentlistentrypagenumber % pagenumber \egroup    \egroup} \setuplist   [chapter]   [label=chapter,    alternative=command,    command=\ChapterListCommand] \setuplabeltext   [en]   [chapter=Chapter ] \starttext \completecontent \startchapter [title={Chapt

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread Wolfgang Schuster
doifsomething{\rawstructurelistuservariable{year}} {\crlf{\bf\structurelistuservariable{author}}}% \hfill\currentlistentrypagenumber % pagenumber \egroup \egroup} \setuplist [chapter] [label=chapter, alternative=command, command=\ChapterListCommand] \setuplabeltext

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Adrian
nconversionset=section, > sectionstopper=.] > > \setuphead > [section] > [sectionsegments=section, > sectionconversionset=section, > sectionstopper=.] > > \setuphead > [title] > [alternative=middle, >

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Wolfgang Schuster
, style=WORD] \setuplist [chapter] [label=yes, style=bold, width=fit, distance=\spaceamount] \setuplist [section] [margin=3em, width=1.5em] \starttext \completecontent ... \stoptext Wolfgang

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
ealignedbox{1cm}{flushleft}{#1}}} \setuplist [chapter] [distance=0cm, width=0cm, margin=1cm, numbercommand=\ChapterListNumbercommand] \starttext \startfrontmatter \completecontent \chapter{Preface} \stopfrontmatter \startbodymatter \chapter{Introduction} \chapter{Workflow}

[NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
] \definestructureconversionset[bodypart:pagenumber] [][numbers] \starttext \startfrontmatter \page[even] \startalignment[bottom,flushright] Copyright © 2020 Author \stopalignment \start \setuphead[chapter][after={}] \completecontent \stop \page[odd] \startchapter[title={Preface}]\input{knuth}\stopchapter

[NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
anks in advance. James \define\mytitle{\getvariable{myvar}{title}\crlf{\tfx\getvariable{myvar}{date}\hfill\getvariable{myvar}{ref}}} \define\mylist{\getvariable{myvar}{list}---{\bf \getvariable{myvar}{date}}} \starttext \completecontent \setvariables[myvar][ title={What I would like}, date

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
sense for ConTeXt's community to use it as a "new" or an "updated" french interface, I may try to produce a 40~50 pages documentation for the basics commands (during 2020 S2): • \starttext • \startchapter, \startsection, \starttitle, \startsubject, \setuphead, \co

Re: [NTG-context] chapter numbers

2020-06-08 Thread jbf
, but it doesn't seem to. You might also want a space after the word Chapter. It works the same way but it's used for a different purpose. The \setupheadtext command is used to change the default titles for \completecontent, \completeindex etc. begin example \setupheadtext[e

Re: [NTG-context] chapter numbers

2020-06-08 Thread Wolfgang Schuster
used for a different purpose. The \setupheadtext command is used to change the default titles for \completecontent, \completeindex etc. begin example \setupheadtext[en][content=Table of Contents] \starttext \completecontent \stoptext end example

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

2020-04-22 Thread Pablo Rodriguez
On 4/22/20 2:44 AM, jbf wrote: > A simple question, but I have not found an answer to it as yet: > > \completecontent does everything it is supposed to, including providing > the title 'Contents' on the ToC page, but it also gives me as the first > line in the ToC: > &

  1   2   3   4   5   6   7   8   9   10   >