[NTG-context] Re: Margin text?

2025-07-29 Thread Ursula Hermann
r:leftpage}] [] \setuppagenumbering [alternative=doublesided] \starttext \startchapter [title=First chapter] \dorecurse{10}{\input knuth} \stopchapter \startchapter [title=Second chapter] \dorecurse{10}{\input knuth} \stopchapter \stoptext Many thanks Uschi Von: Ursula Hermann Gesendet: Donnerstag

[NTG-context] Re: Margin text?

2025-07-29 Thread Ursula Hermann
[chapter] [bodypartlabel=] \setupheadertexts [] [\directsetup{header:rightpage}] [\directsetup{header:leftpage}] [] \setuppagenumbering [alternative=doublesided] \starttext \startchapter [title=First chapter] \dorecurse{10}{\input knuth} \stopchapter \startchapter

[NTG-context] Issue with bibliographical items in footnotes

2025-07-26 Thread Jean-Pierre Delange via ntg-context
ternative=entry][philosophie::cicero-tusc2007]}. The test is intended to check whether bibliographic references are displayed properly in footnotes\footnote{\cite[alternative=entry][philosophie::Aristote2004]}. % Bibliographie \startbackmatter \startchapter[title={Bibliography}] \sta

[NTG-context] Re: ALT-text for images in HTML/EPUB export

2025-07-13 Thread Hans Hagen via ntg-context
On 7/14/2025 12:44 AM, Matthias Weber wrote: Hello again, When providing an alt-text for images like so (which works for PDFs): \setupexternalfigures[location=default] \setupbackend[export=yes,xhtml=yes] \setupinteraction [state=start] \starttext \startchapter[title

[NTG-context] ALT-text for images in HTML/EPUB export

2025-07-13 Thread Matthias Weber
Hello again, When providing an alt-text for images like so (which works for PDFs): \setupexternalfigures[location=default] \setupbackend[export=yes,xhtml=yes] \setupinteraction [state=start] \starttext \startchapter[title=Example] \startsection[title={Section

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread John Was
ing, but I don't > immediately see what that is (there doesn't seem to be a > \startpart...\stoppart to allow the relatively straightforward > customization that we get with chapters and sections). Here is the example: > > > > \setupinteraction > > [state=start] > &g

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Duncan Hothersall
to be a >> \startpart...\stoppart to allow the relatively straightforward >> customization that we get with chapters and sections). Here is the example: >> >> >> >> \setupinteraction >> >> [state=start] >> >> >> >> \s

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
=bookmark] \placebookmarks[part,chapter,section] \starttext \part[title=Introduction,bookmark=Introduction,number=off] \noheaderandfooterlines INTRODUCTION \page \noheaderandfooterlines \page[odd] \startchapter[title=First Chapter] \noheaderandfooterlines \inp

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread John Was
bookmark] > > > > \placebookmarks[part,chapter,section] > > > > \starttext > > \part[title=Introduction,bookmark=Introduction,number=off] > > \noheaderandfooterlines > > INTRODUCTION > > \page > > \noheaderandfooterlines > &g

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
ere is the example: \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \placebookmarks[part,chapter,section] \starttext \part[title=Introduction,bookmark=Introduction,number=off] \noheaderandfooterlines INTRODUCTION \page \noheaderandfoote

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
=start] \setupinteractionscreen [option=bookmark] \placebookmarks[part,chapter,section] \starttext \part[title=Introduction,bookmark=Introduction,number=off] \noheaderandfooterlines INTRODUCTION \page \noheaderandfooterlines \page[odd]

[NTG-context] Bookmark hierarchy

2025-07-04 Thread John Was
terlines INTRODUCTION \page \noheaderandfooterlines \page[odd] \startchapter[title=First Chapter] \noheaderandfooterlines \input tufte \startsection[title=First section] \input knuth \stopsection \startsection[title=Second section]

[NTG-context] Enumerations: How to place an itemized list's index above an item's contents?

2025-05-14 Thread Michael Guravage
you would have been instructed where to tune in your area for news and official information. This station serves the Palookaville area. This concludes this test of the Emergency Broadcast System. \stopbuffer \setupcolumns[n=2, balance=yes] \starttext \placecontent \startchapter[title={January

[NTG-context] Re: How to check if a register item appears in a specific chapter, or not?

2025-04-05 Thread Bruce Horrocks
][style=sansbold, textstyle=slanted, n=1, pagenumber=yes, indicator=no] % \define[1]\learned{% \learnedshort{#1}% \learnedlong{\getvalue{#1}}% } % \definedataset[TrackLearning] \starttext \startchapter[title={Trees}] \placeregister[learnedlong][way=bychapter, criterium=chapter

[NTG-context] How to check if a register item appears in a specific chapter, or not?

2025-04-05 Thread Joel via ntg-context
, pagenumber=yes, indicator=no] % \define[1]\learned{%     \learnedshort{#1}%     \learnedlong{\getvalue{#1}}% } % \starttext     \startchapter[title={Trees}]     \placeregister[learnedlong][way=bychapter, criterium=chapter]          \section{Content}         \learned{standard1

[NTG-context] Footer issue (for graduated wizards mastering kung-fu)

2025-03-13 Thread roberto . bianchi
- \startappendices \noheaderandfooterlines \ \vskip5cm \midaligned{\bfd APPENDICES} \page \startchapter[title={Definition of engineering},reference={sec:engineering}] Here is working %\input{.\\TEX\\Appendix_1.tex} \stopchapter % \startchapter[title={Definition of take-over points},reference={sec:TO

[NTG-context] Re: \currentlistentrynumber and \currentlistentrylocation

2025-03-02 Thread Hans Hagen via ntg-context
[page=yes] \setuphead [chapter] [page=even, sectionconversionset=rom] \starttext \placelist [chapter] [alternative=pmcols,criterium=all,interaction=all] \page \dorecurse {10} { \startchapter[title={Zapf #1}] \samplefile{zapf} \stopch

[NTG-context] \currentlistentrynumber and \currentlistlocation

2025-03-01 Thread Pablo Rodriguez via ntg-context
] [alternative=pmcols, criterium=all, interaction=all] \dorecurse{100} {\startchapter \samplefile{zapf} \stopchapter} \stoptext The sample above works only here, not in my real world document. The main reason is that \currentlistentrylocation doesn’t give the same

[NTG-context] Re: \setuplist[chapter][alternative=d] inside margins

2025-02-27 Thread Hans Hagen
t when searching only for "\setuplist". Here is a rather old feature (early luatex time): mtxrun --autogenerate --script server --auto then you can give e.g. mtxrun --gethelp --url="http://localhost:8088/mtx-server-ctx-help.lua?command=%command%"; --command="\startch

[NTG-context] \setuplist[chapter][alternative=d] inside margins

2025-02-26 Thread Pablo Rodriguez via ntg-context
}, distance=.125tw, ] \completecontent \dorecurse{100} {\startchapter \samplefile{zapf} \stopchapter} \stoptext Having this sample (which in my real-world document is contained inside an A5 page), which is the way to have all contents fully justified and single

[NTG-context] Re: Invalid href in ToC in exported html

2025-02-16 Thread Florent Michel
ormat[Content][left=,right=,type=title] \starttext \placecontent \startchapter[title=Chapter 1] Blahblah \stopchapter \startchapter[title=Chapter 2, reference=chapter_2, list=\Content[chapter_2]] Blahblahblah \stopchapter \stoptext ___ Cheers, Florent Le mer. 12

[NTG-context] Invalid href in ToC in exported html

2025-02-12 Thread Florent Michel
\startchapter[title=Chapter 1] Blahblah \stopchapter \startchapter[title=Chapter 2, reference=chapter_2] Blahblahblah \stopchapter \stoptext _ Annotated relevant part of the generated `.html`: ... 1 Chapter 1 2 2 Chapter 2 3

[NTG-context] Re: Why didn't I get the correct ordinal number, after defining an environment via command "installcounterassociation".

2024-10-21 Thread Wolfgang Schuster
ix=no] \startbuffer[increment] \incrementcounter[xxx] \convertedcounter[xxx] \stopbuffer %\enablemode[reset] \starttext \dorecurse{2}{\getbuffer[increment]\blank} \startchapter [title={Setting counter value after \tex{chapter}}] \setupcounter[xxx][start=6] \doifmode{reset}{\resetcounte

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread Gerion Entrup
> style=\tfx, > > ] > > \setuplist[subsection][ > > aligntitle=yes, > > style=\tfxx, > > after={\blank[none]}, > > before={\blank[none]}, > > ] > > > > \starttext > > > > \placecontent > >

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread mf
rline \startchapter[title=foo] \startsection[title=foo] \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubsection \stopsection \startsection[title=foo] \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubse

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread Mikael Sundqvist
t; ] > \setuplist[subsection][ > aligntitle=yes, > style=\tfxx, > after={\blank[none]}, > before={\blank[none]}, > ] > > \starttext > > \placecontent > > \hairline > > \startchapter[title=foo] > \startsection[title=foo] > \s

[NTG-context] Vertical spacing in table of content

2024-10-05 Thread Gerion Entrup
, style=\tfxx, after={\blank[none]}, before={\blank[none]}, ] \starttext \placecontent \hairline \startchapter[title=foo] \startsection[title=foo] \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubsection \startsubsection[title=foo] \stopsubsection

[NTG-context] Re: issue with "context --pages=reference"

2024-09-21 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 21.09.2024 um 16:59: Dear list, I have the following sample (sample.tex): \setuppagenumbering[alternative=doublesided] \setuphead[chapter][reference=ch\namedheadnumber{chapter}] \starttext \dorecurse{5}{% \startchapter[title

[NTG-context] issue with "context --pages=reference"

2024-09-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (sample.tex): \setuppagenumbering[alternative=doublesided] \setuphead[chapter][reference=ch\namedheadnumber{chapter}] \starttext \dorecurse{5}{% \startchapter[title={Chapter \namedheadnumber{chapter}}] \dorecurse{\randomnumber{10}{50

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Pablo Rodriguez via ntg-context
ith chapters that contain a different number of pages each: \setuppagenumbering[alternative=doublesided] \setuphead[chapter][reference=ch\the\numexpr\namedheadnumber{chapter}+1] \starttext \dorecurse{180}{% \startchapter[title={Chapter \namedheadnumber{chapter}}] \dorecurse{\randomnumb

[NTG-context] Re: Inserting text between end notes

2024-09-03 Thread Rik Kabel
ption.) \definenote[mynote] \setupnote[mynote][location=text] \setupnotation[mynote][] \definenote[chapone][mynote] \definenote[chaptwo][mynote] \definenote[chapthree][mynote] % etc \starttext \startchapter[title={AAA}] \def\note#1{\chapone{#1}} \dorecurse{15} { See my note at \note{something impo

[NTG-context] Re: Inserting text between end notes

2024-09-01 Thread Bruce Horrocks
f a hack for the chapter splitting and might also enable the epigraphs for you as well (not quite sure what these should look like from your description.) \definenote[mynote] \setupnote[mynote][location=text] \setupnotation[mynote][] \definenote[chapone][mynote] \definenote[chaptwo][mynote] \d

[NTG-context] Re: How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get an

2024-08-22 Thread Hraban Ramm
mentvariable{date}} \blank[line] \stopsetups \startdocument[title=Title,author=Author,date=Date] \startpart[title=one] \stoppart \startalignment[middle] {\sc 1. one} % there is added space as shwon when trying to emulate what I want through regular text \stopalignment \startchapte

[NTG-context] How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get any re

2024-08-22 Thread Felix
] \stopsetups \startdocument[title=Title,author=Author,date=Date] \startpart[title=one] \stoppart \startalignment[middle] {\sc 1. one} % there is added space as shwon when trying to emulate what I want through regular text \stopalignment \startchapter[title=two] \stopchapter \startpart[title

[NTG-context] Re: How to hide any content?

2024-07-30 Thread Hans Hagen via ntg-context
tempt to hide it, but it only makes it basically invisible, but still present. How to make it invisible and take up no space? Or can I hide all that information inside some part of the section title? \startchapter[title=foo] \index{xxx} whatever in this case there is no gap, and usign some &#

[NTG-context] About a pagination

2024-07-23 Thread Fabrice Couvreur
ckenvironment \doifmode{*component}{\directsetup{section:chapter}} \setuplabeltext [fr] [chapter=\tf Chapitre\space] \startchapter [title={Polynômes}] \startsection [title={Forme réduite et identification}] \dorecurse{6}{\input knuth} \stopsection \startsection

[NTG-context] Re: How to create a second bibliography?

2024-07-22 Thread Joel via ntg-context
code to make a bibliography: > \usemodule[publ-imp-sbl] > > \usebtxdataset[default][~/Commons/sources.bib] > > \setupbtx[dataset=default] > \usebtxdefinitions[sbl] > \setupbtx[sbl] > > \starttext  \input knuth >    \cite[authoryear] &

[NTG-context] Re: How to create a second bibliography?

2024-07-21 Thread Aditya Mahajan
> > \setupbtx[dataset=default] > \usebtxdefinitions[sbl] > \setupbtx[sbl] > > \starttext  \input knuth >    \cite[authoryear] > >    \startchapter[title=Bibliography] >             \placelistofpublications >         \stopchapter\stoptext >

[NTG-context] How to create a second bibliography?

2024-07-21 Thread Joel via ntg-context
ttext  \input knuth    \cite[authoryear]         \startchapter[title=Bibliography]             \placelistofpublications         \stopchapter\stoptext I know how to create custom lists and indexes, but not a bibliography list. How do I point the image references to go to a different list, but still

[NTG-context] Quotation mark in drop caps

2024-07-07 Thread Thangalin
bb.co/7rJYBS6/initial-Matching-Quotes.gif Re: https://i.ibb.co/Hz8v5w4/atlantips-drop-caps-and-quotation-marks-10.png My understanding of what exists in ConTeXt: \starttext \startchapter % This detaches the quotation mark from the paragraph, which looks strange. \placeinitial "We held ConTe

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Gerion Entrup
localheadsetup \stopsetups \defineheadalternative[chap][renderingsetup=my_chapter] \setuphead[title, chapter][ alternative=chap, after={\page[yes]}, sectionsegments=2:2, header=high, footer=high, style= ] \starttext % embedded startextr

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
rtalignment[flushright] > > \tfx\italic{\getcustomvariable{author}} \stopalignment}] > > > > \starttext > > \startextract[author=René Descartes] > > Cogito ergo sum. > > \stopextract > > \stoptext > > ``` > > > > Is there an ea

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
rtalignment[flushright] > > \tfx\italic{\getcustomvariable{author}} \stopalignment}] > > > > \starttext > > \startextract[author=René Descartes] > > Cogito ergo sum. > > \stopextract > > \stoptext > > ``` > > > > Is there an easy way to a

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Hans Hagen via ntg-context
{\getcustomvariable{author}} \stopalignment}] \starttext \startextract[author=René Descartes] Cogito ergo sum. \stopextract \stoptext ``` Is there an easy way to achieve that? I tried with \structureuservariable (like possible in \startchapter) but it does not work. \startsetups

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Wolfgang Schuster
}] \starttext \startextract[author=René Descartes] Cogito ergo sum. \stopextract \stoptext ``` Is there an easy way to achieve that? I tried with \structureuservariable (like possible in \startchapter) but it does not work. \startsetups [userdata:extract] \startnarrower \setupindenting

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Hans Hagen via ntg-context
}] \starttext \startextract[author=René Descartes] Cogito ergo sum. \stopextract \stoptext ``` Is there an easy way to achieve that? I tried with \structureuservariable (like possible in \startchapter) but it does not work. not all constructs hav ethese user variables (yet) i'll add an optio

[NTG-context] Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
sum. \stopextract \stoptext ``` Is there an easy way to achieve that? I tried with \structureuservariable (like possible in \startchapter) but it does not work. Best, Gerion signature.asc Description: This is a digitally signed message part

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Pablo Rodriguez via ntg-context
bsp;Martin A comprehensive treatise The medieval part of the church \stopXML \startTEX \starttext \startchapter[title=St.\, Martin] \stopchapter \startsection[title=The medieval part of the church]\stopsection \stoptext \stopTEX \stoptext I think that a text editor with reasonab

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Christoph Edenhauser
ex with all the necessary xmlsetups like e.g. something like this \startxmlsetupsxml:chapter \startchapter[title={\xmlflush{#1}}]\stopchapter \stopxmlsetups \startxmlsetupsxml:section \startsection[title={\xmlflush{#1}}]\stopsection \stopxmlsetups I can now generate a pdf file with context. But

[NTG-context] Re: setuphead in connection with the command argument

2024-06-03 Thread Gerion Entrup
setuphead command. When you now pass a custom macro the "command" > parameter in \setuphead all you have done is to set a value, nothing > else happened at this point. > > > The evaluation of the parameter happens when Context places the content > of a heading with

[NTG-context] Re: setuphead in connection with the command argument

2024-06-02 Thread Wolfgang Schuster
hen you now pass a custom macro the "command" parameter in \setuphead all you have done is to set a value, nothing else happened at this point. The evaluation of the parameter happens when Context places the content of a heading with \startchapter etc. in your document and only at th

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
startfont[SerifBold sa 1.5] > \color[darkred]{\structureuservariable{subtitle}} >\stopfont > \stopframed >\stoplocalheadsetup > \stopsetups > > \defineheadalternative >[christian_dietrich] >[renderingsetup=christian_dietrich] > > \setup

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Wolfgang Schuster
apter] [alternative=christian_dietrich, header=empty, style=] \starttext \startchapter[title=Chapter title][subtitle=Chapter subtitle] \samplefile{lorem} \stopchapter \stoptext end example Wolfgang ___ If

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
gt; > intro in different text sizes for title, subtitle and the intro. > > I chose to use the "command=" argument in setuphead for that. > > However, I'm not quite sure about it's internals. > > > > Let's begin with a minimal example: > > ```

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Tomáš Hála
r{% > #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) > } > > \setuphead[title, chapter][command=\MyChapter] > > \setupbodyfont[11pt] > > \starttext > \startchapter[title=foo][subtitle=bar, intro={some explanation}] > some text > \stopchapt

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
ver, I'm not quite sure about it's internals. > > Let's begin with a minimal example: > ``` > \define[2]\MyChapter{% > #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) > } > > \setuphead[title, chapter][command=\MyChapter] >

[NTG-context] setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
etupbodyfont[11pt] \starttext \startchapter[title=foo][subtitle=bar, intro={some explanation}] some text \stopchapter \stoptext ``` This produces 1.pdf. ## Font size What is the reason that that the font of the chapter is bigger? How can I reset it to normal size? This does not work at

[NTG-context] Re: page number

2024-05-26 Thread Wolfgang Schuster
} {\startchapter[title=Chapter \convertnumber{Word}{#1}] \dorecurse{10}{\samplefile{lorem}} \stopchapter} \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] Is there a way to consolidate index reference numbers by book?

2024-05-10 Thread Joel via ntg-context
\useregister[workbookA][03_workbook][learnedlong][WB~1:~] \useregister[workbookB][04_workbook][learnedlong][WB~2:~] \useregister[workbookC][05_workbook][learnedlong][WB~3:~] \useregister[workbookD][06_workbook][learnedlong][WB~4:~]    \startchapter[title=Standards

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
tupbtx[sbl] \setupnote[footnote][location=none] \starttext    \input knuth     \cite[clark1989]     \placenotes[footnote]          \startchapter[title=Bibliography]     \placelistofpublications     \stopchapter \stopte

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Jean-Pierre Delange
he bibliography part doesn’t work for me at all. > > But notes may be placed as their location is text (and you add a real > footnote). > > This works fine: > > \setupnote[footnote][location=text] > > \starttext > \input knuth > \footnote{Footn

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Pablo Rodriguez via ntg-context
\input knuth \footnote{Footnote} \cite[clark1989] \placenotes[footnote] \startchapter[title=Bibliography] \placelistofpublications \stopchapter \stoptext I never used a bibliography in ConTeXt, so that part is left to y

[NTG-context] Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
\setupbtx[dataset=default] \usebtxdefinitions[sbl] \setupbtx[sbl] \setupnote[footnote][location=none] \starttext    \input knuth     \cite[clark1989]     \placenotes[footnote]          \startchapter[title=Bibliography]     \placelistofpublications     \stopchapter \stopte

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
the change but it's possible he forgot to delete a few of them. When you notice no difference between both versions of a command page you can delete all of the forgotten pages. No! These are the general pages in opposite to instance pages, e.g. "startsection" and "startchapt

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Henning Hraban Ramm
a few of them. When you notice no difference between both versions of a command page you can delete all of the forgotten pages. No! These are the general pages in opposite to instance pages, e.g. "startsection" and "startchapter" are instances of "_startsection"?

[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: Use of marking

2024-03-21 Thread Thomas Meyer
[sectionnumber] \space - \space \getmarking[section] \stopsetups \setupheadertexts[\setup{doc:header}] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter}] This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \startsection[title={This is my section}] This

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
ing: \startsetups[doc:header] \getmarking[chapternumber] \space - \space \getmarking[chapter] \space :: \space \getmarking[sectionnumber] \space - \space \getmarking[section] \stopsetups \setupheadertexts[\setup{doc:header}] \starttext \dorecurse{10}{ \startchapter[title={This is my cha

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
[alternative=doublesided,location=,] \setupheadertexts[{\headnumber[section].~\getmarking[section]}---{\headnumber[chapter].~\getmarking[chapter]}] \setupfootertexts[][pagenumber][pagenumber][] \setuphead[chapter][header=high] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter}] This is

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
{\framed[width=130mm,align=right,leftframe=on, rulethickness=0.8pt]{#2}}% \egroup} \setuplabeltext[chapter=Boek~] \setuphead[chapter][style={\bfc}, command=\HeadTitle, textstyle=bold] ... \startchapter [title={Algemene Beginselen}, ownnumber={I}] Op di 19 mrt 2024 om 15:49 schreef Hraban Ramm

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
olor=black,      rulethickness=1px,height=30pt]{#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,     page=no] \starttext \startchapter   [title={Algemene Beginselen},    ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter   [title={Organi

[NTG-context] Adjusted Chapter Headings

2024-03-19 Thread Jeroen
tyle={\bfc},numbercommand=\MyNumberChapterCommand, page=no] \starttext \startchapter [title={Algemene Beginselen}, ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter [title={Organisatorische Structuren}, ownnumber={Boek II}] \samplefile{tufte} \stopchapter

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
d]{\bf #1}\autoinsertnextspace} … \startsection[title=Lists] \TODO{Research the options of \tex{setupitemgroup}!} \stopsection … \startchapter[title=Work list]   Sections that still need work.\blank  \placetodos \stopchapter So I get a prominent marker in the content and the title of the affected section a

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
ames to include summaries. In any case, the MWE below correctly displays the "smile" images (in *.pdf format) and incorrectly displays the smile.svg image). On the other hand, the \startMPpage script given by Hans only produces a white square. The *.log is attached. The MWE : \start

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ructuretitle}}     \reference[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title=Standards]   \placeregister[learnedlong]     \stopchapter \stoptext ___

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
    \reference[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title=Standards]   \placeregister[learnedlong]     \stopchapter \stoptext ___ If your questi

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ine[1]\learnedis{%     \txt{} \getvalue{#1}     \learnedshort{#1}     \learnedlong{#1} } \define[1]\learned{%     \textreference[textref#1]{\expanded{\currentstructuretitle}}     \reference[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[

[NTG-context] Re: Log entries about confusing level change

2024-03-08 Thread Hans Hagen
level change at level 3 around 'back1' and they refer to the first chapter of the bodymatter and the first chapter of the backmatter, respectively. The example: \setupinteraction [state=start] \placebookmarks   [chapter] \starttext   \startfrontmatter

[NTG-context] Log entries about confusing level change

2024-03-07 Thread Rik Kabel
7;back1' and they refer to the first chapter of the bodymatter and the first chapter of the backmatter, respectively. The example: \setupinteraction [state=start] \placebookmarks   [chapter] \starttext   \startfrontmatter     \startchapter [title=front1]

[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
\startbackmatter \startchapter[title=Literature] \placelistofpublications \stopchapter \stopbackmatter \stoptext Besides enabling numbering for the backpart you can use the appendix block which has numbering by default. %\defineconversionset[appendix:default][n] \starttext \startfrontmatter

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

2024-02-13 Thread Oliver Marugg
2:39 >> -- >> >> Stripped down MWE: >> >> \setuppapersize[A4] [A4] >> \starttext >> \completecontent[criterium=all] >> % ToC >> \page >> \chapter{CHAP 1} >> TEXT >> \startbackmatter >> \startchapter[title=Literature] >&g

[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: chronological TOC

2024-01-29 Thread jbf
terium=all] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April 2017) to be the ordering factor in the list. I assu

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
ing a separate TOC to place at the back, but have >>> not succeeded in the chronological order! Here is what I have done: >>> >>> \definelist[chron][criterium=all,alternative=c] >>> >>> At the back of the book: >>> >>> \placelist[chron][cri

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
the back of the book: \placelist[chron][criterium=all] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April

[NTG-context] Re: chronological TOC

2024-01-27 Thread Henning Hraban Ramm
=all] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April 2017) to be the ordering factor in the list. I assume

[NTG-context] chronological TOC

2024-01-26 Thread jbf
after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April 2017) to be the ordering factor in the list. I assume it will be something to do with

[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
bleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par > (Beutelspacher [\hyphenatedurl {10},S.54]). > > \stoptext \hyphenatedurl only changes the hyphenation of its content, it doesn’t create a link. In your example it makes no sense. Generally, you need an anchor (link target) t

[NTG-context] Re: Links

2024-01-08 Thread Henning Hraban Ramm
need an anchor (link target) to link to, e.g. \startchapter[title={My chapter},reference=chap:first] or \chapter[chap:first]{My chapter} This works the same for other structure levels. I’m not sure about bibliography, but I think you must use the bib entry code. You can also set anchors

[NTG-context] Re: Problem with \startlinenumbering left and right arguments

2023-12-09 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 07.12.2023 um 19:21: Dear List, In the MWE below, the left and right arguments are not applied in the last chapter. How can this be fixed? \starttext \startlinenumbering[left={[},right={]}] \dorecurse{5}{% \startchapter[title={Knuth}] \samplefile{knuth

[NTG-context] Problem with \startlinenumbering left and right arguments

2023-12-07 Thread Marcus Vinicius Mesquita
Dear List, In the MWE below, the left and right arguments are not applied in the last chapter. How can this be fixed? \starttext \startlinenumbering[left={[},right={]}] \dorecurse{5}{% \startchapter[title={Knuth}] \samplefile{knuth} \stopchapter } \stoplinenumbering \stoptext Kind regards

[NTG-context] Problem with textstyle

2023-11-17 Thread Rik Kabel
tstyle=cap, ] \starttext \startchapter    [title={Oops!}] \input knuth-gpt \par \stopchapter \stoptext Replacing the textstyle /cap/ by any of /bold/, /slanted/, /smallcaps/, and /italic/ results in a clean compilation but the indicated style is not applied. Usi

[NTG-context] Frontpage and Titlepage

2023-10-02 Thread Jeroen
\startchapter [title={Chapter Title}] \samplefile{tufte} \stopchapter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https

[NTG-context] Re: \underbar in head

2023-09-21 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 07:01: However, Wolfgang, if I do, e.g. \setuphead[chapter][textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext Then I do not get My Title with underline, which is what I want, and nor is anything

[NTG-context] Re: \underbar in head

2023-09-20 Thread jbf
However, Wolfgang, if I do, e.g. \setuphead[chapter][textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext Then I do not get My Title with underline, which is what I want, and nor is anything else underlined in 'Ward'. C

[NTG-context] Re: \underbar in head

2023-09-20 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 05:03: Am attempting to get an underlined head style (chapter) with: \setuphead[chapter][textcommand=\underbar] But I get no underline. Am I doing something wrong? I can, of course, achieve the result at each chapter level with \startchapter[title={\underbar

  1   2   3   4   5   6   7   8   9   10   >