[NTG-context] Re: ligatures and inputtranslation

2025-08-15 Thread Wolfgang Schuster
% For titles \translateinput[ae][\ae] % For text \setuphead[title][before=\enableinputtranslation, after=\disableinputtranslation] \starttext   \title{Aeneid}     \enableinputtranslation     aeneid     \disableinputtranslation \stoptext Does the font support an hlig feature? That typically b

[NTG-context] Re: ligatures and inputtranslation

2025-08-15 Thread Rik Kabel
text \setuphead[title][before=\enableinputtranslation, after=\disableinputtranslation] \starttext   \title{Aeneid}     \enableinputtranslation     aeneid     \disableinputtranslation \stoptext Does the font support an hlig feature? That typically brings in such ligatures as ct and st. -

[NTG-context] ligatures and inputtranslation

2025-08-15 Thread Michael Guravage
after=\disableinputtranslation] \starttext \title{Aeneid} \enableinputtranslation aeneid \disableinputtranslation \stoptext <http://literatesolutions.com> dove.pdf Description: Adobe PDF document ___

[NTG-context] Re: Error with vskip and interaction in 20250813

2025-08-15 Thread Rik Kabel
=] \definelabel[Qi][text={\hbox to 15pt}, alternative=inright] \startbuffer[fn] \Qi \stopbuffer \starttext \Qi Between here\par aaa\endnote{xxx\getbuffer[fn]}\Qi and here \placenotes[endnote] \stoptext -- Rik

[NTG-context] Re: Notes at end of book

2025-08-14 Thread Wolfgang Schuster
h {#1} \stopxmlsetups \startxmlsetups xml:p \color [red] {\xmlflush{#1}} \stopxmlsetups \stopsetups \starttext \setups {my:test} \xmlprocessbuffer{main}{test}{} \stoptext If I comment out the \startsetups \stopsetups lines, the file compiles. I must be missing something obvious here, sorry..

[NTG-context] Re: mtxrun --script epub and modes

2025-08-14 Thread Florent Michel
sing modes, which > works very well for pdf outputs. > > > > However, I could not figure out how to generate the correct images for > html export. For example, if I have the following: > > > > test.tex > > > > \setupbackend[export=yes

[NTG-context] Re: mtxrun --script epub and modes

2025-08-14 Thread Bruce Horrocks
sing modes, which works > very well for pdf outputs. > > However, I could not figure out how to generate the correct images for html > export. For example, if I have the following: > > test.tex > > \setupbackend[export=yes] > \starttext > A well-

[NTG-context] Re: Notes at end of book

2025-08-14 Thread Thomas A. Schmitz
ument \xmlflush {#1} \stopxmlsetups \startxmlsetups your:p \color [yellow] {\xmlflush{#1}}\par \stopxmlsetups \starttext \xmlprocessbuffer{one}{test}{} \xmlprocessbuffer{two}{test}{} \xmlprocessbuffer{three}{test}{} \sto

[NTG-context] Re: Notes at end of book

2025-08-14 Thread Thomas A. Schmitz
[red] {\xmlflush{#1}} \stopxmlsetups \stopsetups \starttext \setups {my:test} \xmlprocessbuffer{main}{test}{} \stoptext If I comment out the \startsetups \stopsetups lines, the file compiles. I must be missing something obvious here, sorry... All best T

[NTG-context] Re: Error with vskip and interaction in 20250813

2025-08-14 Thread Rik Kabel
    \starttexdefinition stopExtract     \blank[back,line]     \inlinebuffer[Extract]   \endgroup   \blank[line]     \stoptexdefinition     \starttext     \startBlockQuotation     \startExtract     \samplefile klein \par     \stopExtract     \stopBlockQuotation     \samplefile klein\startendnote

[NTG-context] Re: Notes at end of book

2025-08-14 Thread Hans Hagen via ntg-context
ains a set of xmlsetups that work for the relevant node. \environment layout \environment bits-inkunabeln \environment bits-einleitung \environment bits-register \environment bits-ack \environment bits-biblio \environment bits-glossary \starttext % INTRODUCTION \begingroup \setups{einleitun

[NTG-context] Re: Notes at end of book

2025-08-14 Thread Thomas A. Schmitz
lsetups that work for the relevant node. \environment layout \environment bits-inkunabeln \environment bits-einleitung \environment bits-register \environment bits-ack \environment bits-biblio \environment bits-glossary \starttext % INTRODUCTION \begingroup \setups{einleitung} \x

[NTG-context] Re: mtxrun --script epub and modes

2025-08-14 Thread Florent Michel
ages`? > > The epub script works on the exported xml from a previous context run. > You can apply your mode there. > > > > ____ > > \setupbackend[export=yes] > > \starttext > > A well-known equation: > > \startmode[show_formula] > >

[NTG-context] Re: mtxrun --script epub and modes

2025-08-14 Thread Henning Hraban Ramm
] \starttext A well-known equation: \startmode[show_formula] \startformula   e = \frac{m c^2}{\sqrt{1 - v^2 / c^2}} \stopformula \stopmode \stoptext ___ I would also put the export activation in a mode to avoid the overhead while you don’t need it. Hraban

[NTG-context] mtxrun --script epub and modes

2025-08-14 Thread Florent Michel
tputs. However, I could not figure out how to generate the correct images for html export. For example, if I have the following: test.tex \setupbackend[export=yes] \starttext A well-known equation: \startmode[show_formula] \startformula e = \frac{m c^2}{\sqrt{1 - v^2

[NTG-context] Re: Error with vskip and interaction in 20250813

2025-08-13 Thread Hans Hagen via ntg-context
]     \inlinebuffer[Extract]   \endgroup   \blank[line] \stoptexdefinition \starttext \startBlockQuotation \startExtract \samplefile klein \par \stopExtract \stopBlockQuotation \samplefile klein\startendnote[] \samplefile klein\par \startBlockQuotation

[NTG-context] Re: Error with vskip and interaction in 20250813

2025-08-13 Thread Rik Kabel
ngroup >    \grabbufferdata[Extract] >                   [startExtract] >                   [stopExtract] > \stoptexdefinition > > \starttexdefinition stopExtract >    \blank[back,line] >    \inlinebuffer[Extract] >  \endgroup >  \blank[line] > \stoptexdefin

[NTG-context] Error with vskip and interaction in 20250813

2025-08-13 Thread Rik Kabel
] \stoptexdefinition \starttext \startBlockQuotation \startExtract \samplefile klein \par \stopExtract \stopBlockQuotation \samplefile klein\startendnote[] \samplefile klein\par \startBlockQuotation \startExtract \samplefile klein \par \stopExtract \stopBlockQuotation

[NTG-context] Re: Notes at end of book

2025-08-13 Thread Denis Maier via ntg-context
g-context > Gesendet: Mittwoch, 13. August 2025 23:09 > An: ntg-context@ntg.nl > Cc: Hans Hagen > Betreff: [NTG-context] Re: Notes at end of book > > Concerning notes ... > > \starttext > > test \footnote{one} > test \footnote{two} > test \footnote{three} >

[NTG-context] Re: Notes at end of book

2025-08-13 Thread Hans Hagen via ntg-context
Concerning notes ... \starttext test \footnote{one} test \footnote{two} test \footnote{three} test \footnote{four} \blank \placelist[footnote][criterium=text] \stoptext could help Hans

[NTG-context] Re: Notes at end of book

2025-08-13 Thread Denis Maier via ntg-context
Also, it might be useful to take xml out of the equation here and rephrase the question. Can you add backlinks to the page where an endnote was inserted? %\setupnotation[endnote][] % can you refer to the pagenum of footnote marker here? \starttext asfd

[NTG-context] Re: Notes at end of book

2025-08-13 Thread Denis Maier via ntg-context
ment bits-inkunabeln \environment bits-einleitung \environment bits-register \environment bits-ack \environment bits-biblio \environment bits-glossary \starttext % INTRODUCTION \begingroup \setups{einleitung} \xmlprocessfile{bits-einleitung}{bits.xml}{} \endgroup % ACKNOWLEDGEMEN

[NTG-context] Re: Notes at end of book

2025-08-13 Thread Henning Hraban Ramm
] \starttext \xmlprocessfile{whatever}{chapter1.xml} \xmlprocessfile{whatever}{chapter2.xml} \placefootnotes \stoptext But, this won't help you with the backreferences... But maybe with a custom command you could place the pagereference in the margin (given you have also saved it to the lua table fo

[NTG-context] Re: Notes at end of book

2025-08-13 Thread Denis Maier via ntg-context
this: \setupfootnotes[location=text] \starttext \xmlprocessfile{whatever}{chapter1.xml} \xmlprocessfile{whatever}{chapter2.xml} \placefootnotes \stoptext But, this won't help you with the backreferences... But maybe with a custom command you could place the pagereference in the margin (give

[NTG-context] Re: References to elements in hidden blocks

2025-08-12 Thread Hans Hagen via ntg-context
heory]         \hideblocks[exercise] \stopmode \startmode[all]         \keepblocks[theory,exercise] \stopmode \starttext \begintheory[+]         \starttheorem[reference=thm:lambda]                 First theorem         \stoptheorem \endtheory \beginexercise[+] \startexercise[reference=ex:

[NTG-context] References to elements in hidden blocks

2025-08-12 Thread Yves Debongnie
e[all] \keepblocks[theory,exercise] \stopmode \starttext \begintheory[+] \starttheorem[reference=thm:lambda] First theorem \stoptheorem \endtheory \beginexercise[+] \startexercise[reference=ex:omega] First exercise. We use \in{theorem}[thm:l

[NTG-context] Re: Audible footnotes

2025-08-11 Thread John Was
ote] > > > > [alternative=serried,% number in the paragraph > > > > headcommand=\groupedcommand{\hskip{8pt}}{},% space before the number > > > > distance=4pt,% space after the number > > > > numbercommand={\offset[y=-1ex]},% raise the number > > > >

[NTG-context] Re: Audible footnotes

2025-08-11 Thread Hans Hagen via ntg-context
\it \relax \externalfigure[cow] [width=0pt,height=0pt,label={Footnote: #1}]}} \starttext The phenomenon of colonialism extended borders well beyond traditional dynastic realms.\notetag{Among recent works, see David Graeber and Marshall Sahlins, {\it On Kings\/} (Chicago, 2017), and Elena Woodacre, Lu

[NTG-context] Re: ConTeXt query: Retain original spacing while applying shrinking to the font file

2025-08-11 Thread John Was
highly appreciate any help or suggestions! > > > > > > Thanks, > > > > Ali Ali > > > > > > Example File > > > > ``` > > %% PATH of the font from the `cwd` > > \edef\TheFontFile{font/SourceSerif4-Regular.otf} > > > > \d

[NTG-context] Audible footnotes

2025-08-11 Thread John Was
p{\let \it \relax \externalfigure[cow] [width=0pt,height=0pt,label={Footnote: #1}]}} \starttext The phenomenon of colonialism extended borders well beyond traditional dynastic realms.\notetag{Among recent works, see David Graeber and Marshall Sahlins, {\it On Kings\/} (Chicago, 2017), and Elen

[NTG-context] Re: ConTeXt query: Retain original spacing while applying shrinking to the font file

2025-08-11 Thread Hans Hagen via ntg-context
*default,extend=.925] \starttext \Regular \input{zapf} \Modified \input{zapf} \stoptext there is a 'spacing' pseudo feature that accepts things like 1.1 + 1.2 - 1.3 minus 1.4 plus 1.1 extra 1.4 but i haven'

[NTG-context] Re: Illustrations in running text.

2025-08-10 Thread Mikael Sundqvist
Hi Matthias, On Sun, Aug 10, 2025 at 2:58 PM Matthias Weber wrote: > > Hi John, > > You can use the inline option: > > > \setupexternalfigures[location=default] > \starttext > Is it this \externalfigure[hacker.jpg][height=2ex,inline]{} or > \externalfigure[co

[NTG-context] Re: Illustrations in running text.

2025-08-10 Thread Matthias Weber
Hi John, You can use the inline option: \setupexternalfigures[location=default] \starttext Is it this \externalfigure[hacker.jpg][height=2ex,inline]{} or \externalfigure[cow][height=2ex,inline]{} what you mean? \stoptext Matthias > On Aug 10, 2025, at 5:26 AM, John Was wr

[NTG-context] Re: Illustrations in running text.

2025-08-10 Thread John Was
t; ignorant of ConTexT's capabilities with artwork): > > 1. Context doesn't load images present in the TeX tree unless you tel it > to do so. > > 2. The cow sample figure is provided as a pdf file while you try to load > an jpeg image. > > Be aware the ke

[NTG-context] Re: Illustrations in running text.

2025-08-09 Thread Wolfgang Schuster
ample figure is provided as a pdf file while you try to load an jpeg image. Be aware the keys for additional texts of figures have ben changed to descriptiontext and alternativetext. \starttext The small cow \externalfigure[cow.jpg] [width=0.5em,height=2ex,label={This is a small cow.}]

[NTG-context] Illustrations in running text.

2025-08-09 Thread John Was
exT's capabilities with artwork): \starttext The small cow \externalfigure[cow.jpg][width=0.5em,height=2ex,label={This is a small cow.}] was attacked by the quick brown fox that jumped over the lazy dog's back.\stoptext John <http://www.avg.com/email-signature?utm_medium=email&utm_so

[NTG-context] Re: ConTeXt 1.06 does not recognize "\centerdot" and "\neg"

2025-08-09 Thread Abdelhak Ferhat
Hans Hagen wrote: > On 8/9/2025 12:11 PM, Abdelhak Ferhat wrote: > > Hi, > > I'm new to the ConTeXt world and this my first post > > While running the script below, > > - > > \starttext > > \centerdot\centerdot\centerdot > > \neg\neg\neg >

[NTG-context] Re: ConTeXt 1.06 does not recognize "\centerdot" and "\neg"

2025-08-09 Thread Abdelhak Ferhat
Max Chernoff wrote: > Hi Abdelhak, > > On Sat, 2025-08-09 at 10:11 +, Abdelhak Ferhat wrote: > > While running the script below, > > - > > \starttext > > \centerdot\centerdot\centerdot > > \neg\neg\neg > > \stoptext > > - > > I

[NTG-context] Re: ConTeXt 1.06 does not recognize "\centerdot" and "\neg"

2025-08-09 Thread Hans Hagen via ntg-context
On 8/9/2025 12:11 PM, Abdelhak Ferhat wrote: Hi, I'm new to the ConTeXt world and this my first post While running the script below, ----- \starttext \centerdot\centerdot\centerdot \neg\neg\neg \stoptext - I encountered the following issues with different versions of context: *

[NTG-context] Re: ConTeXt 1.06 does not recognize "\centerdot" and "\neg"

2025-08-09 Thread Max Chernoff via ntg-context
Hi Abdelhak, On Sat, 2025-08-09 at 10:11 +, Abdelhak Ferhat wrote: > While running the script below, > ----- > \starttext > \centerdot\centerdot\centerdot > \neg\neg\neg > \stoptext > - > > I encountered the following issues with different versions of cont

[NTG-context] ConTeXt 1.06 does not recognize "\centerdot" and "\neg"

2025-08-09 Thread Abdelhak Ferhat
Hi, I'm new to the ConTeXt world and this my first post While running the script below, ----- \starttext \centerdot\centerdot\centerdot \neg\neg\neg \stoptext - I encountered the following issues with different versions of context: * With version 1.04 (2023.07.14), the script

[NTG-context] Re: tagging

2025-08-08 Thread Hans Hagen via ntg-context
-tag.lmt`) with this sample: \setuptagging[state=start] \setupstructure[state=start] \setupbackend[format=pdf/ua-2] \starttext \startquotation Just a quotation. \stopquotation \stoptext Am I missing some command or what am I doing wrong? i don't know ... that line her

[NTG-context] Re: Redefined ~ conserves \protected status although \show~ does not say so

2025-08-08 Thread Hans Hagen via ntg-context
On 8/8/2025 1:16 PM, qui271828--- via ntg-context wrote: After redefining ~ via \def it remains \protected in an \edef, although \show does not say so ``` \starttext \def~{Z} \show~ \edef\foo{~} \show\foo \stoptext ``` Tested 2025/08/02 with ConTeXt ver: 2025.07.21 11:50 LMTX fmt: 2025.7.31

[NTG-context] Redefined ~ conserves \protected status although \show~ does not say so

2025-08-08 Thread qui271828--- via ntg-context
After redefining ~ via \def it remains \protected in an \edef, although \show does not say so ``` \starttext \def~{Z} \show~ \edef\foo{~} \show\foo \stoptext ``` Tested 2025/08/02 with ConTeXt ver: 2025.07.21 11:50 LMTX fmt: 2025.7.31 int: english/english from TeXLive2025. Originally

[NTG-context] Re: tagging

2025-08-07 Thread Pablo Rodriguez via ntg-context
ate=start] \setupstructure[state=start] \setupbackend[format=pdf/ua-2] \starttext \startquotation Just a quotation. \stopquotation \stoptext Am I missing some command or what am I doing wrong? Many thanks for your hel

[NTG-context] Preserving Stanza Integrity

2025-08-06 Thread Michael Guravage
den en Zijner groten macht, dat ik tot genen tijden den Koning heb veracht, dan dat ik God den Heere, der hoogsten Majesteit, heb moeten obediëren in den gerechtigheid. \stoplines \stopbuffer \starttext \title{Het Wilhelmus} \startpoem \getbu

[NTG-context] Caption alignment and \startfloatcombination

2025-08-05 Thread Florent Michel
. However, if no subfigure has a number, the caption appears to be centred instead. Simple example demonstrating the issue (adapted from one of the wiki examples; see https://wiki.contextgarden.net/Document_layout_and_layers/Floating_objects): \useMPlibrary [dum] %% sample images \starttext

[NTG-context] sidefloat sorrows

2025-08-02 Thread Henning Hraban Ramm
=.66tw,height=\randomnumber{2}{15}lh] \stopplacefigure \section{\fakewords{1}{5}} \fakewords{10}{100}\par } } \starttext \Article \stoptext sidefloattest.tex Description: TeX document ___ If your question is of

[NTG-context] empty page after columnset

2025-08-02 Thread Henning Hraban Ramm
startcolumnset[Two] \startcolumnsetspan[Span] \chapter{Sehr Spannender Titel} \fakewords{20}{30} \stopcolumnsetspan \InnerArticle{#1} \stopcolumnset } \def\NormalArticle#1{ \chapter{Langweiliger Titel} \fakewords{20}{30} \InnerArticle{#1} } \starttext \ColsArticle{5} \NormalArticle{2} \ColsArticle{

[NTG-context] Re: testing language tagging?

2025-08-01 Thread Pablo Rodriguez via ntg-context
ld value for `/StructTreeRoot` (even being `/Document`) and wrong mapping to `/DocumentFragment` using this source: \setuptagging[state=start] \setupstructure[state=start] \setupbackend[format=pdf/ua-2] \starttext \startquotation Just a quotation. \stopquotation \stoptext I’m reporting t

[NTG-context] numbering subitems

2025-07-30 Thread Henning Hraban Ramm
[numbersegments=item:item] \starttext \startitemize \startitem bla\stopitem \startitem blo\par \startitemize \startitem foo\stopitem \startitem bar\stopitem \startitem baz\stopitem \stopitemize \stopitem \startitem bla\stopitem \startitem bla\stopitem \stopitem

[NTG-context] Re: testing language tagging?

2025-07-29 Thread Hans Hagen via ntg-context
nguage=agr,color=darkmagenta] BTW, is there any way to know which commands have language tagging (a `language` key enabled? Just for the record, my testing sample was: \setuptagging[state=start] \setupstructure[state=start] \setupbackend[format=pdf/ua-2] \starttext \startpar

[NTG-context] testing language tagging?

2025-07-29 Thread Pablo Rodriguez via ntg-context
was: \setuptagging[state=start] \setupstructure[state=start] \setupbackend[format=pdf/ua-2] \starttext \startparagraph \doloopoverlist{agr, ua, deo, farsi, cn, kr, gr, es-la, mo} {\setuphighlight[whatever][language=\recursestring] \highlight[whatever] {testing language

[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] Re: Pre-loading libraries by making custom format

2025-07-29 Thread Max Chernoff via ntg-context
ype{%s}]], space = [[\space]], hard_line_break = [[\crlf]], nbsp = [[\nobreakspace]], strong = [[\bold{%s}]], emphasis = [[\emph{%s}]], inline_html_tag = [[\type{%s}]], block_html_element = [[\type{%s}]], verbatim = [[\type{%s}]], thematic_break = [[\blackrule]],

[NTG-context] Re: export and tagging

2025-07-27 Thread Hans Hagen via ntg-context
] \starttext \placefigure [force] [figure:crc2] {Hacker} {\externalfigure[hacker.jpg][width=.6\textwidth, alternativetext={ A lot of math: $\int_0^\infty e^{-x^2}\, dx=\frac12 \sqrt\pi$ }]} \stoptext The exported file hacker-div.html — is missing something like but should also link to

[NTG-context] Re: export and tagging

2025-07-26 Thread Matthias Weber
=mathtest-style, hyphen=yes, width=60em] \enabledirectives[export.css.hyphens=yes] \enabledirectives[export.css.textwidth=100em] \starttext \placefigure [force] [figure:crc2] {Hacker} {\externalfigure[hacker.jpg][width=.6\textwidth, alternativetext={ A lot of math: $\int_0^\infty e^{-x^2

[NTG-context] Issue with bibliographical items in footnotes

2025-07-26 Thread Jean-Pierre Delange via ntg-context
o-test.bib] \usebtxdefinitions[apa] \definebtxrendering[philosophie][apa][dataset=philosophie] \setupbtxrendering[continue=yes] \setupbtx[dataset=philosophie] \setupfootnotes[way=bytext,location=bottom] \starttext Une citation bibliographique dans une note\footnote{\cite[alternative=entry][p

[NTG-context] Re: endnote

2025-07-26 Thread Wolfgang Schuster
ple \definenote [one] \definenote [two] \starttext \dorecurse{2}{xxx\one{One \letterhash #1} xxx\two{Two \letterhash #1} xxx\par} \stoptext end example In the next example the second note type is a copy of the first one and both share the same counter and note block but you're able

[NTG-context] Re: endnote

2025-07-25 Thread Thomas Meyer
Am 25.07.25 um 17:50 schrieb Wolfgang Schuster: Like this? \definenote [one] \definenote [two] [one] \setupnotation   [one,two]   [color=green] \setupnotation   [two]   [counter=] \starttext xxx\one{One} xxx\two{Two} xxx xxx\one{More one} xxx\two{More two} xxx \stoptext Thank you

[NTG-context] Re: endnote

2025-07-25 Thread Wolfgang Schuster
, rule=, textcolor=darkred] \starttext     \input knuth\startBook{\color[darkgreen] starting the first one}     \input knuth     \input knuth\stopBook{\setupcolors[textcolor=darkred] ending the first one}     \input knuth \startBook{\setupcolors[textcolor=darkgreen] starting the second one

[NTG-context] Re: endnote

2025-07-25 Thread Thomas Meyer
, rule=, textcolor=darkred] \starttext     \input knuth\startBook{\color[darkgreen] starting the first one}     \input knuth     \input knuth\stopBook{\setupcolors[textcolor=darkred] ending the first one}     \input knuth \startBook{\setupcolors[textcolor=darkgreen] starting the second one

[NTG-context] How to pass \MPcolor{aColour} to a lua function

2025-07-25 Thread Keith McKay
r = blendColors("cyan","magenta", noise) -- Should give a blended color local mixedColor = blendColors(c5, c6, noise) -- Should give a blended color setbytemap(i, x, y, (mixedColor[1]), (mixedColor[2]), (mixedColor[3]) ) end end end \stopluacode \usecolors[crayola] \defi

[NTG-context] Re: endnote

2025-07-25 Thread Thomas Meyer
Hi Wolfgang; 1. What have you tried so far? 2. Which symbol do you want to remove? 1. I tried: \definenote[startBook] \definenote[stopBook] \setupnotes[startBook][location=page, rule=, textcolor=darkgreen] \setupnotes[stopBook][location=page, rule=, textcolor=darkred] \starttext

[NTG-context] Re: Space after hyphen in exported html

2025-07-22 Thread Florent Michel
reak after the hyphen. Here is a minimal example showing the issue: > > __ > \setupbackend[export=yes] > \starttext > blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah > co-worker > \stoptext >

[NTG-context] Space after hyphen in exported html

2025-07-22 Thread Florent Michel
ded when the pdf output has a line break after the hyphen. Here is a minimal example showing the issue: __ \setupbackend[export=yes] \starttext blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah co-worker \stopt

[NTG-context] Re: linebreak in setupheadertexts

2025-07-21 Thread Wolfgang Schuster
extra group for the content and the second one without. When you add the group the space before the text appears in the output but without the group the space is removed. \starttext \startframed[align=normal]{ Text }\stopframed \startframed[align=normal] Text \stopframed \stoptext Wolfgang

[NTG-context] Re: linebreak in setupheadertexts

2025-07-21 Thread Thomas Meyer
Am 21.07.25 um 10:53 schrieb Henning Hraban Ramm: Am 21.07.25 um 10:38 schrieb Thomas Meyer: Hi folks, once again I have a problem that I can't solve: I would like to have a linebreak for \setupheadertexts. \setupheadertexts [{\bf Johnson}, Uwe][{\sl Mutmassungen über Jakob}] \star

[NTG-context] Re: Problem with the second \HL in the matrix

2025-07-21 Thread Ursula Hermann
Dear Bruce, and Dear List. Sorry for not writing so long to your answer: But now, and this works really great, i have a little example, works, like I need. \starttext \startformula \startmathmatrix [fences=parenthesis] \NC a\NR \NC \GL[2][t]\NC \NC \GL[2][t] \GL[2][b]\NC a\NR \NC

[NTG-context] Re: linebreak in setupheadertexts

2025-07-21 Thread Henning Hraban Ramm
Am 21.07.25 um 10:38 schrieb Thomas Meyer: Hi folks, once again I have a problem that I can't solve: I would like to have a linebreak for \setupheadertexts. \setupheadertexts [{\bf Johnson}, Uwe][{\sl Mutmassungen über Jakob}] \starttext Freiheit ist die Einsicht in die Notwendi

[NTG-context] linebreak in setupheadertexts

2025-07-21 Thread Thomas Meyer
Hi folks, once again I have a problem that I can't solve: I would like to have a linebreak for \setupheadertexts. \setupheadertexts [{\bf Johnson}, Uwe][{\sl Mutmassungen über Jakob}] \starttext Freiheit ist die Einsicht in die Notwendigkeit. \stoptext *Johnson,* Uwe should be the r

[NTG-context] Frame/hrules around column content

2025-07-15 Thread Florent Michel
? ___ \starttext % The left frame is slightly too small \startcolumns[n=2,frame=on] Line \par \blank[1.5ex] Line \par Line \par Line \stopcolumns \blank[big] % Same issue with hrules: the lower one

[NTG-context] Re: Vertical alignment and columns

2025-07-15 Thread Florent Michel
text fits on a single column or not. The following example >> demonstrates this behaviour (ConTeXt LMTX version 2025.07.08 17:48 on a >> 64-bits Linux machine): the first line looks slightly higher than the >> second one. >> >> \starttext >> \startframed[offset=0pt

[NTG-context] Re: Vertical alignment and columns

2025-07-15 Thread Mikael Sundqvist
on > whether the text fits on a single column or not. The following example > demonstrates this behaviour (ConTeXt LMTX version 2025.07.08 17:48 on a > 64-bits Linux machine): the first line looks slightly higher than the > second one. > > \starttext > \startframed[offset=0pt]

[NTG-context] Vertical alignment and columns

2025-07-15 Thread Florent Michel
-bits Linux machine): the first line looks slightly higher than the second one. \starttext \startframed[offset=0pt] \startcolumns This is a test \stopcolumns \stopframed \blank[medium] \startframed[offset=0pt] \startcolumns This is a slightly longer test using two co

[NTG-context] Re: Position of formula

2025-07-14 Thread Mikael Sundqvist
Hi, Den tis 15 juli 2025 03:26Shiv Shankar Dayal skrev: > Consider following code: > > \starttext > \startitemize[n] > \item \startformula \startalign[n=3] > \NC S = \NC T_1 + \NC T_2 + T_3 + \cdots + T_n\NR > \NC S = \NC \NC T_1 + T_2 + \cdots + T_{n - 1} +

[NTG-context] Re: Position of formula

2025-07-14 Thread Shiv Shankar Dayal
Jul 15, 2025 at 7:32 AM Aditya Mahajan wrote: > > > > > > > > On Tue, 15 Jul 2025, Shiv Shankar Dayal wrote: > > > > > Consider following code: > > > > > > \starttext > > > \startitemize[n] > > > \item \startformula \st

[NTG-context] Re: Position of formula

2025-07-14 Thread Shiv Shankar Dayal
15 Jul 2025, Shiv Shankar Dayal wrote: > > > Consider following code: > > > > \starttext > > \startitemize[n] > > \item \startformula \startalign[n=3] > > \NC S = \NC T_1 + \NC T_2 + T_3 + \cdots + T_n\NR > > \NC S = \NC \NC T_1 + T_2 +

[NTG-context] Re: Position of formula

2025-07-14 Thread Aditya Mahajan
On Tue, 15 Jul 2025, Shiv Shankar Dayal wrote: > Consider following code: > > \starttext > \startitemize[n] > \item \startformula \startalign[n=3] > \NC S = \NC T_1 + \NC T_2 + T_3 + \cdots + T_n\NR > \NC S = \NC \NC T_1 + T_2 + \cdots + T_{n - 1} + T_n\NR >

[NTG-context] Position of formula

2025-07-14 Thread Shiv Shankar Dayal
Consider following code: \starttext \startitemize[n] \item \startformula \startalign[n=3] \NC S = \NC T_1 + \NC T_2 + T_3 + \cdots + T_n\NR \NC S = \NC \NC T_1 + T_2 + \cdots + T_{n - 1} + T_n\NR \stopalign\stopformula \stopitemize \stoptext The formula is centered below the list

[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] Re: Line breaks within TABLE cells

2025-07-13 Thread Hans Hagen via ntg-context
On 7/14/2025 6:19 AM, Kip Warner wrote: Hello list, I am trying to insert a manual line break inside of a TABLE cell, but can't seem to get it to work. I'm typesetting some mathematical formulae. See below minimal: \starttext \placetable[here,split,none][table:appendi

[NTG-context] Line breaks within TABLE cells

2025-07-13 Thread Kip Warner
Hello list, I am trying to insert a manual line break inside of a TABLE cell, but can't seem to get it to work. I'm typesetting some mathematical formulae. See below minimal: \starttext \placetable[here,split,none][table:appendix_notation]{} { \bTABLE[split=repeat,opti

[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
Proof] [alternative=serried, width=fit, distance=\emwidth, text=Proof, number=no, headstyle=italic, headcommand=\groupedcommand{}{.}, title=yes, titlestyle=normal, closesymbol=\mathqed] \star

[NTG-context] Re: Docker images

2025-07-12 Thread Max Chernoff via ntg-context
text-cache.tex context --luatex --make mtxrun --luatex --script fonts --reload context --luatex context-cache.tex where context-cache.tex is the following: \starttext \startbuffer[line] \tf The quick brown fox jumps over the lazy dog. $\sqrt{x^2} \mathbb{R

[NTG-context] Re: Minimal example for image bug in xhtml export

2025-07-12 Thread Hans Hagen via ntg-context
, width=60em] \starttext \subject{Introduction} \startparagraph \input knuth \stopparagraph \placefigure [force] [figure:configurations] {Some simple Image} {\externalfigure[hacker.jpg] [width=\textwidth]} \startparagraph Let $p$ and $q$ be two different points. The \emph{segment} $\overline

[NTG-context] Minimal example for image bug in xhtml export

2025-07-12 Thread Matthias Weber
shouldn’t be there. Notice too that the overline is present in the pdf, but not in the html. \usemodule[mathml] \setupexternalfigures[location=default] \setupbackend[export=yes,xhtml=yes] \setupexport [svgstyle=mathtest-style, hyphen=yes, width=60em] \starttext \subject{Introduction

[NTG-context] Re: The size keyword in \fenced seems not working

2025-07-12 Thread Wolfgang Schuster
Am 12.07.2025 um 11:22 schrieb fv leung: The following code (copied from the math manual) doesn’t produce the intended results with the most recent version of ConTeXt: \starttext \startformula \fenced[bracket]{\frac{1 + x}{1 - x}} = \fenced[bracket][size=0]{\frac{1 + x}{1 - x

[NTG-context] Re: The size keyword in \fenced seems not working

2025-07-12 Thread Jeong Dal via ntg-context
/english We may wait for expert’s checking. Best regards, Dalyoung > > \starttext > > \startformula >\fenced[bracket]{\frac{1 + x}{1 - x}} = \fenced[bracket][size=0]{\frac{1 + > x}{1 - x}} = \fenced[bracket][size=1]{\frac{1 + x}{1 - x}} = > \fenced[bracket][size=

[NTG-context] The size keyword in \fenced seems not working

2025-07-12 Thread fv leung
The following code (copied from the math manual) doesn’t produce the intended results with the most recent version of ConTeXt: \starttext \startformula \fenced[bracket]{\frac{1 + x}{1 - x}} = \fenced[bracket][size=0]{\frac{1 + x}{1 - x}} = \fenced[bracket][size=1]{\frac{1 + x}{1 - x

[NTG-context] Re: testing tagging for UA-2

2025-07-10 Thread Pablo Rodriguez via ntg-context
ucture Well, paragraphs may contain line breaks and TeX seems to mark paragraphs as text that is between two or more blank lines (or `\par`). Otherwise, I don’t see how this behaves differently: \setupindenting[yes, big] \setupwhitespace[big] \setupheads[indentnext=yes] \startte

[NTG-context] Re: no list method for \placecombinedlist[content]

2025-07-08 Thread Florent Michel
> > > this 'no list method'? > > > > no example given > > > > > > > > Hi, > > I can reproduce the issue on my side with the following example: > > > > > > \starttext > >\placecontent

[NTG-context] Re: no list method for \placecombinedlist[content]

2025-07-08 Thread Hans Hagen via ntg-context
On 7/8/2025 4:27 PM, Pablo Rodriguez via ntg-context wrote: On 7/8/25 05:58, Jairo A. del Rio wrote: I was to report the same issue. Same happening here (Linux 64 bits) Hi Julian and Jairo, I can confirm this too with the following sample: \starttext \placecombinedlist[content

[NTG-context] Re: no list method for \placecombinedlist[content]

2025-07-08 Thread Wolfgang Schuster
e > Table of Contents appears as it should. > > I have made no changes to the file that worked perfectly beforehand. Why > this 'no list method'? no example given Hi, I can reproduce the issue on my side with the following example: __

[NTG-context] Re: no list method for \placecombinedlist[content]

2025-07-08 Thread Pablo Rodriguez via ntg-context
On 7/8/25 05:58, Jairo A. del Rio wrote: > I was to report the same issue. Same happening here (Linux 64 bits) Hi Julian and Jairo, I can confirm this too with the following sample: \starttext \placecombinedlist[content] \dorecurse{25}{\chapter{Chapter \recurselevel}} \stoptext It i

[NTG-context] Re: no list method for \placecombinedlist[content]

2025-07-08 Thread Florent Michel
de no changes to the file that worked perfectly beforehand. Why > > this 'no list method'? > > no example given Hi, I can reproduce the issue on my side with the following example: \starttext \placecontent \section{Te

[NTG-context] Re: Full-page illustrations

2025-07-08 Thread Denis Maier via ntg-context
ns but for a better answer it is always helpful to provide a minimal example which shows what you have tried so far. To create an example without the need for external ressources you can either use one of the included sample images be

  1   2   3   4   5   6   7   8   9   10   >