[NTG-context] Re: tagigng

2025-08-13 Thread Mikael Sundqvist
Hi Den ons 13 aug. 2025 20:13Matthias Weber skrev: > Follow-up: The 66 complaints come from \startsection .. \stopsection pairs > (and \startsubsection .. \stopsubsection). > Adding just one of them increases the number of complaints by two. > > Instead of your > > \se

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
025, at 2:03 PM, Matthias Weber wrote: > > Follow-up: The 66 complaints come from \startsection .. \stopsection pairs > (and \startsubsection .. \stopsubsection). > Adding just one of them increases the number of complaints by two. > > Instead of your > > \setuph

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
Follow-up: The 66 complaints come from \startsection .. \stopsection pairs (and \startsubsection .. \stopsubsection). Adding just one of them increases the number of complaints by two. Instead of your \setupheads [section,subsection] [color=darkred] \setuphead [section] [style=\bfb

[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
=Example] \startsection[title={Section}] \placefigure {} {\externalfigure[hacker.jpg][ label={Look, a $e^{\pi i}+1=0$ hacker!}] } \stopchapter \stoptext the figure becomes in the HTML export Figure 1.1 How do I turn this into an ALT text in the HTML? Or how do I have to

[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] Minimal example for broken links in epub/html conversion

2025-07-13 Thread Matthias Weber
, headstyle=italic, headcommand=\groupedcommand{}{.}, title=yes, titlestyle=normal, closesymbol=\mathqed] \starttext \startsection[title=Introduction] \startparagraph The Bibliography is \in{here}[sec:biblio]. \stopparagraph \startTheorem

[NTG-context] More HTML/EPUB conversion issues: Repeated texts/enumerations

2025-07-13 Thread Matthias Weber
ttext \startsection[title=Introduction] \startTheorem[thm:euler] \startformula e^{\pi i}+1=0 \ . \stopformula \stopTheorem \startProof See (Euler1777). \stopProof \stopsection \stoptext ___ If your question is of intere

[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
rlines \page[odd] \startchapter[title=First Chapter] \noheaderandfooterlines \input tufte \startsection[title=First section] \input knuth \stopsection \startsection[title=Second section] \input zapf \stopsection \stopch

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
\startchapter[title=First Chapter] \noheaderandfooterlines \input tufte \startsection[title=First section] \input knuth \stopsection \startsection[title=Second section] \input zapf \stopsection \stopchapter \page[odd] \startchapter[title=Second Chap

[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] Re: line breaks within *section title

2025-06-14 Thread Hans Hagen
uppapersize [S3]    \setupbodyfont [sans,24pt]    \setupalign[nothyphenated]    \setuptolerance[verytolerant,stretch]    \starttext    \startsection[title={Don't be hyphenated, no overfullboxes}]    \input ward    \stopsection    \stoptext Thanks, Damien PS: For those interested in Luc

[NTG-context] Re: line breaks within *section title

2025-06-14 Thread Wolfgang Schuster
hyphenated]    \setuptolerance[verytolerant,stretch]    \starttext    \startsection[title={Don't be hyphenated, no overfullboxes}]    \input ward    \stopsection    \stoptext \setuphead[section][align={flushleft,nothyphenated,broad}] or \setuphead[section][align={normal,nothyphenat

[NTG-context] line breaks within *section title

2025-06-14 Thread Damien Thiriet via ntg-context
\starttext \startsection[title={Don't be hyphenated, no overfullboxes}] \input ward \stopsection \stoptext Thanks, Damien PS: For those interested in Luciole, my typescripts: %\starttypescript [luciole] % \definefontsynonym [Luciole-Regular] [file:Luciole-Regular] % \definefonts

[NTG-context] Re: setupbackend breaks page layout

2025-05-02 Thread Steffen Wolfrum
; %\setupbackend[export=yes] >> \starttext >> \startsection >> [title={\ConTeXt\ is fun}] >> \stopsection >> \stoptext > > This is intended because you don't want the header/footer of each page to > appear in the exported document. > > As had been repo

[NTG-context] Re: setupbackend breaks page layout

2025-05-02 Thread Wolfgang Schuster
Am 02.05.2025 um 14:13 schrieb Steffen Wolfrum: When uncommenting the first line the header disappears ( ConTeXt ver: 2025.04.28 14:29 LMTX). Is this a bug? Steffen %\setupbackend[export=yes] \starttext \startsection [title={\ConTeXt\ is fun}] \stopsection \stoptext This is intended

[NTG-context] setupbackend breaks page layout

2025-05-02 Thread Steffen Wolfrum
When uncommenting the first line the header disappears ( ConTeXt ver: 2025.04.28 14:29 LMTX). Is this a bug? Steffen %\setupbackend[export=yes] \starttext \startsection [title={\ConTeXt\ is fun}] \stopsection \stoptext

[NTG-context] Re: Clipping headers

2025-03-14 Thread Rik Kabel
\setupheader[width=5cm] Wolfgang The width option of setupheader and the limitatetext command are both Procrustean solutions, chopping off without regard to the meaning of the result. Explicitly setting the text via the marking option of startsection is generally a better approach (

[NTG-context] Re: Clipping headers

2025-03-14 Thread Mohammad Hossein Bateni
recated and this should > be noted on the wiki? Or is there still an equivalent command (as opposed > to requiring the shift to \startsection / \stopsection)? > > On Fri, 14 Mar 2025 at 15:09, Mohammad Hossein Bateni > wrote: > >> I get an undefined command error. Does it work on

[NTG-context] Re: Clipping headers

2025-03-14 Thread Duncan Hothersall
Sorry, as I said it was untested, but it certainly used to work on older versions of ConTeXt. I guess \nomarking has been deprecated and this should be noted on the wiki? Or is there still an equivalent command (as opposed to requiring the shift to \startsection / \stopsection)? On Fri, 14 Mar

[NTG-context] Re: Clipping headers

2025-03-14 Thread Rik Kabel
provide an alternative shorter section title within \section? Use \startsection <https://wiki.contextgarden.net/Command/_startsection> instead of \section. That allows you to specify different values for title, bookmark, heading, references, and more. \starttext \setupbodyfont[20pt] \

[NTG-context] Re: Structureuservariable and long lines

2025-03-12 Thread Denis Maier via ntg-context
Turns out this is not really related to structureuservariables… happens here too: \define[2]\sectionCMD {#1 #2} \setuphead [section] [ command=\sectionCMD, ] \starttext \startsection [title=asdfasdf jasklödf aöslkdfj aölskdjf öaslkdjf öalskdjf

[NTG-context] Structureuservariable and long lines

2025-03-12 Thread denis.maier
there maybe an easier way to reach that goal? Best, Denis \define[2]\sectionCMD {#1\par \structureuservariable{something}\par #2 } \setuphead [section] [ command=\sectionCMD, ] \starttext \startsection [title=Hello] [something=ajskdflö asjdfkl asjdföla asdf

[NTG-context] Re: [ page setup ]

2025-01-26 Thread garulfo
in particular \startsection for example breaks the mecanism \setuppapersize [A4] \setupheader [state=empty, no] \usetypescript[ibmplex] \setupbodyfont[ibmplex, serif, 11pt] % \setupinterlinespace[14pt] % LET DEFAULT \setuplayout[% backspace=10mm, topspace=20mm, header=0mm

[NTG-context] Decreasing size of the section number according to its level

2025-01-23 Thread garulfo
[section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] [numberconversionset=mysectionnumbersforlist] \starttext \placecontent \startsection [title={Section}] \startsubsection [title={SubSection}] \startsubsubsection [title={SubSubSection}] \startsubsub

[NTG-context] Fwd: Touch my cow: Overlaying a picture with links to text

2025-01-09 Thread Hans Hagen
=transparentwhite]}[Maul]"); annotb (6, 2, 7, 3.2, "\goto{Euter}[Euter]"); annott (9.2, 9.5, 9.6, 3, "Schwanz"); annotb (3, -.5, 3.1, .9, "\goto{Huf}[Huf]"); annotb (3, -.5, 3.9, 1.1, ""); \stopMPpage \startsection[ title={Das Maul}, referen

[NTG-context] Touch my cow: Overlaying a picture with links to text

2025-01-09 Thread Axel Kielhorn
nott (9.2, 9.5, 9.6, 3, "Schwanz"); annotb (3, -.5, 3.1, .9, "\goto{Huf}[Huf]"); annotb (3, -.5, 3.9, 1.1, ""); \stopMPpage \startsection[ title={Das Maul}, reference=Maul, bookmark={Maul}, ] Lorem ipsum dolor \stopsection \startsection[ ti

[NTG-context] Run-in heading problem with \startparagraph and empty lines

2024-12-27 Thread Rik Kabel
]   [alternative=text,    style=\it] \starttext \startsection[title=Run-in heading] \startparagraph Works with no blank after \tex{startparagraph} \stopparagraph \stopsection \startsection[title=Run-in heading] \startparagraph Fails with a blank after \tex

[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: how can I reset section counter when recursing buffers?

2024-10-03 Thread Damien Thiriet via ntg-context
Thanks Wolfgang! I wikified your answer, adding a line in «Counters». I also slightly changed the page layout (replacing code examples with links to the command pages). Damien My MWE: \startbuffer \startsection[title={foo}]    \input ward \stopsection \startsection[title={bar

[NTG-context] Re: how can I reset section counter when recursing buffers?

2024-10-01 Thread Wolfgang Schuster
? I tried \resetcounter [section] but that is not the good way. I read about \headnumber and \namedheadnumber but could'nt go further. My MWE: \startbuffer \startsection[title={foo}]    \input ward \stopsection \startsection[title={bar}]    \input knuth \stopsection \stopbuffer \star

[NTG-context] how can I reset section counter when recursing buffers?

2024-10-01 Thread Damien Thiriet via ntg-context
read about \headnumber and \namedheadnumber but could'nt go further. My MWE: \startbuffer \startsection[title={foo}] \input ward \stopsection \startsection[title={bar}] \input knuth \stopsection \stopbuffer \starttext \dorecurse{2}{ % how can I reset chapter number? \getb

[NTG-context] Re: (ConTeXt LMTX 2.11.05) how do I make it so that sections, descriptions, and itemizations have just a space between some of the text that they produce

2024-09-16 Thread Wolfgang Schuster
the distance value. begin example \setuphead   [section]   [distance=\spaceamount] \starttext \startsection[title={I'm not a fan of the}] default spacing \stopsection \stoptext end example Wolfgang _

[NTG-context] (ConTeXt LMTX 2.11.05) how do I make it so that sections, descriptions, and itemizations have just a space between some of the text that they produce

2024-09-16 Thread Felix
pitem \stopitemgroup \startdescription{I'm not a fan of the} default spacing \stopdescription \startsection[title={I'm not a fan of the}] default spacing \stopsection \stopdocument This code shows how I am getting the default spacing between the words from itemize, description,

[NTG-context] Re: Indentation in headings

2024-09-14 Thread Wolfgang Schuster
\setupindenting [yes, 2.5em, first] \setuphead [section] [ align=flushleft, beforehead={\startnarrow[left=\parindent][left]}, afterhead=\stopnarrow, aligntitle=yes, indentnext=yes, ] \showframe \startdocument \startsection[title=Very long section title that makes you

[NTG-context] Indentation in headings

2024-09-14 Thread Kirill Davidov
troublesome if the title is long enough. Example code to tinker with: \setupindenting[yes, 2.5em, first] \setuphead[section][     style=\bf,     align=flushleft,     distance=1em,     indentnext=yes, ] \showframe \startdocument \startsection[title=Foo] \input dijkstra \stopsection \startsection

[NTG-context] Combining styles (especially bold and italic)

2024-09-03 Thread Gerion Entrup
a minimal example: ``` \define\somename{HX\style[italic]{print}\autoinsertnextspace} \setuphead[section, subject][style={\bfc}] \starttext \startsection[title=The \somename name] \somename is a strange written name. \stopsection \stoptext ``` In the normal text, HXprint is written correctly, in

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread M U via ntg-context
ffer[buf:dict:xxx]}] \setupsection[section][placehead=hidden,aftersection=\pagebreak] \definelinenumbering[Poem][step=5,continue=yes] \defineregister[Dict][pagenumber=no,indicator=no,n=2,criterium=section,before=,textcommand=\bf] \starttext \startsection[title=pageA] \startlines \startlinenumbering

[NTG-context] Re: chapter counter?

2024-08-26 Thread Aditya Mahajan
. > Could you enlighten me? You need: \somenamedheadnumber{chapter}{current} \starttext \startsection[title=First] This is: \somenamedheadnumber{section}{current} \ifodd\somenamedheadnumber{section}{current}\relax This is odd \else This is even \fi

[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
{tag2,     author = {B Author},     title = {The second title},     year = {2024}, } \stopbuffer \usebtxdataset[default][dataset-1.buffer] \usebtxdataset[credits][dataset-2.buffer] \usebtxdefinitions[aps] \setupbtx[dataset=default] \definebtxrendering[credits][aps][dataset=credits] \starttext \starts

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

2024-07-21 Thread Aditya Mahajan
sebtxdataset[default][dataset-1.buffer] \usebtxdataset[credits][dataset-2.buffer] \usebtxdefinitions[aps] \setupbtx[dataset=default] \definebtxrendering[credits][aps][dataset=credits] \starttext \startsection[title=Test] Here is a fancy article \cite[tag1]. Image

[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: build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread Hans Hagen via ntg-context
uot;)) ; fill SavedShape withcolor red; setbounds currentpicture to OverlayBox; \stopuseMPgraphic \showframe \defineoverlay[myoverlay][\useMPgraphic{shape:2}] \setupbackgrounds[text][text][background=myoverlay] \startsection[title={test}] \startshapedparagraph[mp=shape:1]% \setupalign[veryt

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Pablo Rodriguez via ntg-context
ection] [command=\firstHeadings, indentnext=no] \starttext \startsection[title=a] b \stopsection \startsection[title=a] b \stopsection \startsection[title=a] b \stopsection \stoptext BTW, you inadvertely introduce the space here: \define[2]\firstHeadings{% \dontleav

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Wolfgang Schuster
style={\switchtobodyfont[miCorm]}, textstyle={\switchtobodyfont[20.7pt]}, command=\firstHeadings, indentnext=no] \startsection[title=Aspectos generales] Esta guía contiene toda la documentación necesaria para administrar la prueba unificada de certificación que ha diseñado la comisi

[NTG-context] Why is only the first frame protruding into the margin?

2024-05-16 Thread madiazm . eoicc
{% \dontleavehmode \switchtobodyfont[miCorm] \FrameTitle#1% \dontleavehmode \startFunnyText {\switchtobodyfont[miCorm,20.7pt] #2} \stopFunnyText } \setuphead [section] [color=blue, command=\firstHeadings, indentnext=no] \starttext \noindentation \dontleavehmode \startsection[title=Aspectos generales

[NTG-context] Re: compatibility between \startshapetext and \startsection ?

2024-05-15 Thread Garulfo
inbetween={}, after={}, beforesection={}, aftersection={}, alternative=text, style=\tf] Le 15/05/2024 à 13:09, Wolfgang Schuster a écrit : garu...@azules.eu schrieb am 14.05.2024 um 23:13: Hi all, \startshapetext works pretty well, but when I use \startsection \stopsection, shapes are not

[NTG-context] what am I missing in the typescript?

2024-05-15 Thread madiazm . eoicc
\stoptypescript \starttypescript[miCorm] \definetypeface [miCorm] [rm] [serif] [cormorant] [default] \stoptypescript \setupbodyfont[miFuente, 12pt] \starttext \startsection[title=Aspectos generales] Esta guía contiene toda la documentación necesaria para administrar la {\it prueba unificada d

[NTG-context] Re: compatibility between \startshapetext and \startsection ?

2024-05-15 Thread Wolfgang Schuster
garu...@azules.eu schrieb am 14.05.2024 um 23:13: Hi all, \startshapetext works pretty well, but when I use \startsection \stopsection, shapes are not respected anymore. I use layers, to be able to place the content anywhere, but the issue remains without layers. Any clues ? (\placeinitial

[NTG-context] compatibility between \startshapetext and \startsection ?

2024-05-14 Thread garulfo
Hi all, \startshapetext works pretty well, but when I use \startsection \stopsection, shapes are not respected anymore. I use layers, to be able to place the content anywhere, but the issue remains without layers. Any clues ? (\placeinitial seems also to break the shaping) Example : 2 pages

[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] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
/ startparagraphs Command/ startparallel Command/ startplacefloat Command/ startplacepairedbox Command/ startsection Command/ startsectionblock Command/ startstartstop Command/ startstop Command/ startstyle Command/ starttabulate Command/ starttextbackground Command/ starttyping Command/ startviewerl

[NTG-context] Re: how to apply metapost effects to section title?

2024-04-09 Thread Wolfgang Schuster
or i within tt : pathpart i && endfor cycle withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode \egroup \boxyoffset\scratchboxtwo-\dp\scratchboxone \box\scratchboxtwo \stoptexdefinition \starttext \setuphead [section] [ de

[NTG-context] how to apply metapost effects to section title?

2024-04-09 Thread seyal . zavira
\stopMPcode }

[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
pter}] This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \startsection[title={This is my section}] This is a section\par \dorecurse{6}{\input knuth }\input math-kontinuitet-sv \stopsection \stopchapter } \stoptext Caveat: it needs an if...then test around the secti

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \startsection[title={This is my section}] This is a section\par \dorecurse{6}{\input knuth }\input math-kontinuitet-sv \stopsection \stopchapter } \stoptext But with a caveat: the `header=high` setting in setuphead for

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
works! I know \setupheadertexts, but do not know what shall I write here: \startsection[titel=Aufgabe, marking=?] If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same. \setupheadertexts    [] [{\getmarking[chapter]} - {\getmarking[section]}] [{\getmarking[chapter]} - {\get

[NTG-context] Re: Use of marking

2024-03-20 Thread Thomas Meyer
Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know \setupheadertexts, but do not know what shall I write here: \startsection[titel=Aufgabe, marking=?] If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same. \setuph

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
Am 20.03.24 um 08:18 schrieb Thomas Meyer: HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgab

[NTG-context] Use of marking

2024-03-20 Thread Thomas Meyer
HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in the header on the right. How can I

[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 set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 09.03.2024 um 16:01: How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth

[NTG-context] How to set section title based on section content?

2024-03-09 Thread Joel via ntg-context
How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth } \stopsection \stoptext The event macro runs a bunch of

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
\int\nolimits _a^b}} {Pagella} 369 {\switchtobodyfont [dejavu]\math{F_j = \int\nolimits _a^b}} {Dejavu} 370 >> {\switchtobodyfont [cambria]\math{F_j = \int\nolimits _a^b}} {Cambria} 371 {\switchtobodyfont[lucidaot]\math{F_j = \int\

[NTG-context] Re: Better option for a macro with lots of arguments

2023-08-23 Thread Hans Hagen via ntg-context
On 8/23/2023 4:12 AM, Andres Conrado Montoya wrote: I have been using the following macro to add a bunch of sections to the start of chapters in a book, it works but I think is kind of weak: %%% \define[7]\metadatos{ \startsection[title={Resumen}] #1 \stopsection

[NTG-context] Better option for a macro with lots of arguments

2023-08-22 Thread Andres Conrado Montoya
I have been using the following macro to add a bunch of sections to the start of chapters in a book, it works but I think is kind of weak: %%% \define[7]\metadatos{ \startsection[title={Resumen}] #1 \stopsection \startsection[title={Palabras clave}] #2 \stopsection \start

[NTG-context] Re: An strange error with section and page

2023-08-22 Thread Wolfgang Schuster
t][page=no] \starttext \startsection[title=Section] \startsubject [title=Subject] \stopsubject \stopsection \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add a

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

2023-08-15 Thread Xavier B.
\usetikzlibrary[calc, intersections, through, backgrounds, arrows, shapes.geometric, fadings, decorations.pathreplacing, shadings, shapes.geometric, patterns, fit, positioning, shapes.symbols, chains] 17 \usemodule[pgfmath] 18 %\usemodule[filter] 19 20 21 \startsection[title={Problemes de

[NTG-context] Re: Very strange error:

2023-08-14 Thread Wolfgang Schuster
ext \startsection [reference=foo,title=Foo] \startitemize \sym{\in[foo]} xxx \stopitemize \stopsection \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Re: Map XML attributes to variables, dynamically

2023-08-10 Thread Hans Hagen via ntg-context
eeded: \namedstartstopparameter{concurrent}{title} \blank \stopxmlsetups \definestartstop [concurrent] [before=\startsection[title={TITLE: \namedstartstopparameter{concurrent}{title}}], after=\stopsection]% \starttext \xmlprocessbuffer{main}{demo}{} \sto

[NTG-context] Link from a PDF to a reference of an embedded PDF

2023-07-20 Thread Gerion Entrup
nk to them within the main context document? In [2], I found something maybe related but it requires a tuc file. Example: inner.tex: ``` \starttext \startsection[title=References, reference=sec:ref] Some text \placeformula[eq:foo] \startformula 1 + 2 = 3 \stopformula or: \startitemize[n]

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
akeup \startsection[title={Motivation}] \TOC \startitemize \item something cool \item something else cool \stopitemize \stopsection \startsection[title={Main strands of theory}] \TOC \startitemize \item another cool thing \item cool too \stopitemize \stopsection \stoptext Thanks in ad

Re: [NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
ad [section] [color=darkred,style=\tfc,inbetween={\mono{\CheckC}}] \setuphead [subsection] [inbetween=] \starttext \startsection[title=Section A] Text of section A. \startsubsection[title=SubSection A.A] Text of subsection A.A \stopsubsection \stopsection

[NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
={insidesection: \CheckA - \CheckB}, aftersection={aftersection: \CheckA - \CheckB}, color=darkred, style=\tfc, ] \starttext \startsection[title=Section A] Text of section A. \stopsection \startsection[title=Section B] Text of section B. \stopsection \stoptext

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-31 Thread Willi Egger via ntg-context
title=Figures B] >>\placelistofBfigures >> \stopsubject >> \stoptitle >> >> \startpart[title=Part ONE] >> \startchapter[title={Chapter one in part one}] %les21 >> >> \startplaceAfigure >> [location=left, >> reference=fig:dumA, >>

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
artplaceAfigure > [location=left, >reference=fig:dumA, >title={Dummy A}] > {\externalfigure[dummy][width=0.6\textwidth]} > \stopplaceAfigure > > \startplacefigure > [location=left, >reference=fig:dumB, >title={Dummy B}] &g

[NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
]} \stopplaceAfigure \startplacefigure [location=left, reference=fig:dumB, title={Dummy B}] {\externalfigure[dummy][width=0.6\textwidth]} \stopplacefigure \startsection[title=Section A] \startplaceAfigure [location=left, reference=fig:dumC

Re: [NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Hans Hagen via ntg-context
] \starttext \startsection[title={Section zero}]foo\stopsection \startsection[title={Section 1}]bar\stopsection \stoptext ### Sorry for the noise you can often find hints in the test suite (many small files) Le 16/02/23 à 17:32, Alex Leray via ntg-context a écrit : Hello, I'd like to

Re: [NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
Answering my own question… this fits my needs: ### \defineconversion[romannumeralszero][0, I, II, III, IV, V, VI, VII, VIII, IX, X, XI, XII, XIII, XIV, XV, XVI, XVII, XIII, XIX, XX, XXI] \setuphead[section][conversion=romannumeralszero] \starttext \startsection[title={Section zero}]foo

[NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
\starttext \setupheadnumber[section] [-1] \startsection[title={Section zero}]\stopsection \startsection[title={Section one}]\stopsection \stoptext ### Thank you, Alex ___ If your question is of interest to others as we

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
ut=no,     conversion=Romannumerals,     style={\bf\WORDS},     align=middle,     command=\MySection, ] \starttext \startsection[title={First section}] this is the text \stopsection \stoptext Have you tried it with \framedtext in the place of \framed ? -- Alexandre Leray +32 487 947 030 Avez-vous pe

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
,     conversion=Romannumerals,     style={\bf\WORDS},     align=middle,     command=\MySection, ] \starttext \startsection[title={First section}] this is the text \stopsection \stoptext Have you tried it with \framedtext in the place of \framed ? -- Rik

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
,     conversion=Romannumerals,     style={\bf\WORDS},     align=middle,     command=\MySection, ] \starttext \startsection[title={First section}] this is the text \stopsection \stoptext Have you tried it with \framedtext in the place of \framed ? -- Rik

[NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
=broad, % height=22pt, align=middle ]{{#1.\\#2}}} \setuphead[section][ strut=no, conversion=Romannumerals, style={\bf\WORDS}, align=middle, command=\MySection, ] \starttext \startsection[title={First section}] this is the te

Re: [NTG-context] numbering questions

2023-01-01 Thread Henning Hraban Ramm via ntg-context
[reverse-section]    [section,chapter] [] \defineprefixset [reverse-subsection] [subsection,section,chapter] [] \setuphead   [section]   [sectionset=reverse-section] \setuphead   [subsection]   [sectionset=reverse-subsection] \starttext \startchapter [title={A}] \startsection [title={B

Re: [NTG-context] numbering questions

2023-01-01 Thread Wolfgang Schuster via ntg-context
]   [sectionset=reverse-subsection] \starttext \startchapter [title={A}] \startsection [title={B}] \startsubsection [title={C}] \stopsubsection \startsubsection [title={D}] \stopsubsection \startsubsection [title={E}] \stopsubsection \stopsection \startsection [title={F}] \startsubsection [title={G

[NTG-context] Achieving different \cite styles

2022-12-08 Thread Jethro Djan via ntg-context
] \starttext In \cite[wn:2017], they illustrated that it is impossible to not be them. \cite[wn:2017] said it was worth the discovery. \startsection[title={References}, number=no, incrementnumber=no] \placelistofpublications[ref][method=dataset] \stopsection \stoptext The first sentence is

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
subject[title=Subject #1] \dorecurse{2}{\samplefile{tufte}\par} \stopsubject \startsection[title=Section #1.##1,reference=#1.##1] \dorecurse{10}{\samplefile{tufte}\par} \stopsection } \stopchapter } \stoptext

Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Joel via ntg-context
I found what it was, a % in the text preventing a \stopitemize to close a list. Thanks! --Joel On Sunday, October 30, 2022 at 07:56:44 PM MDT, Gavin wrote: Hi Joel, I get this error frequently when I forget to stop an environment, for example a \startsection with no \stopsection or

  1   2   3   4   5   6   7   8   >