[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
titles and running text respectively. Any suggestions? -- Michael PS: I attached a PDF showing the ligatures I'm using. \usemodule[translate] \switchtobodyfont[pagella] \translateinput[AE][\AE] % For titles \translateinput[ae][\ae] % For text \setuphead[title][before=\enableinputtranslation,

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

2025-08-14 Thread Thomas A. Schmitz
just a generic one when your main one is {main} you can also use that anywhere, so in the middle of some setup (say one that does a chapter title) you can just access something {main} which is then the root of the same document And just to be on the safe side: is the following example what

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

2025-08-14 Thread Hans Hagen via ntg-context
hing you just access it explicitly, so no #1 but {two} ; you can mix and match any way you like the #1 approach is just a generic one when your main one is {main} you can also use that anywhere, so in the middle of some setup (say one that does a chapter title) you can just access something {mai

[NTG-context] Re: ntg-context Digest, Vol 252, Issue 5

2025-08-06 Thread Benjamin Buchmuller
ize switching!? >> >> \defineframedtext >>[LabelBox] >>[ >>frame=on, >>bottomframe=off, >>style=\ssx, >>inner={\setupchemical[style=sans]}, >>] >> >> \ssa So big >> >> \startLabe

[NTG-context] Preserving Stanza Integrity

2025-08-06 Thread Michael Guravage
iated. -- With kind regards, Michael \setuppapersize[A5] \setuphead[title][align=middle] \switchtobodyfont[10pt] \defineframedtext[poemframed] [width=\textwidth, autowidth=force, align=flushleft, before=, after=, frame=off, offset=none] \definenarrower[poemnarrower] \

[NTG-context] Re: Did the font size mechanism change??

2025-08-05 Thread Mikael Sundqvist
text > [LabelBox] > [ > frame=on, > bottomframe=off, > style=\ssx, > inner={\setupchemical[style=sans]}, > ] > > \ssa So big > > \startLabelBox > \bgroup > \tfa Title in big letters is still small > \eg

[NTG-context] Did the font size mechanism change??

2025-08-05 Thread Benjamin Buchmuller
erfull boxes. 2) Some elements prevent local font size switching!? \defineframedtext [LabelBox] [ frame=on, bottomframe=off, style=\ssx, inner={\setupchemical[style=sans]}, ] \ssa So big \startLabelBox \bgroup \tfa Title in big letters is still s

[NTG-context] Caption alignment and \startfloatcombination

2025-08-05 Thread Florent Michel
Hi, I came across a (to me) surprising behaviour with captions and \startfloatcombination ... \stopfloatcombination, in the specific case where I set `title` for the combination but not for any sub-figure. If the last sub-figure has a number, the main caption is justified, as I would expect

[NTG-context] sidefloat sorrows

2025-08-02 Thread Henning Hraban Ramm
, ] \setuppagenumbering[alternative=doublesided] \setuphead[aligntitle=float] \def\Article{ \chapter{\fakewords{1}{5}} \fakewords{20}{30} \dorecurse{10}{ \startplacefigure[ title={\fakewords{2}{5}}, location={innermargin,hanging}, maxwidth=\innermarginwidth, ] \externalfigure[dummy][width

[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
interblocksep = [[\par]], string = false, paragraph = false, plain = false, inline_html_comment = function() end, block_html_comment = function() end, document = [[\starttext %s \stoptext]], blockquote = [[\startquotation %s \stopquotation ]], link = function(label, u

[NTG-context] Re: export and tagging

2025-07-27 Thread Hans Hagen via ntg-context
On 7/27/2025 12:38 AM, Matthias Weber wrote: Hmm, when I try (as hacker.tex) \setupexternalfigures[location=default] \startsetups[document:start] \setupinteraction[ title=\documentvariable{title}, author=\documentvariable{author}, ] \stopsetups \setupbackend

[NTG-context] Re: export and tagging

2025-07-26 Thread Matthias Weber
Hmm, when I try (as hacker.tex) \setupexternalfigures[location=default] \startsetups[document:start] \setupinteraction[ title=\documentvariable{title}, author=\documentvariable{author}, ] \stopsetups \setupbackend[export=yes,xhtml=yes] \setupexport [svgstyle

[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: language in tagging and export

2025-07-18 Thread Pablo Rodriguez via ntg-context
ikely to listen to advice that tells him to put everything > in lowercase ;-) so in a sense, it does hurt to put country codes in > uppercase or script codes in title case. Many thanks for your reply, Arthur. In theory, I totally agree with you (and practically, I don’t have anything against

[NTG-context] Re: language in tagging and export

2025-07-18 Thread Arthur Rosendahl
n uppercase or script codes in title case. Best, Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailma

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

2025-07-13 Thread Matthias Weber
[reference={#1},title={#2}]}% {\startBibItem[reference={#1},title={#1}]}% } \def\stopbibitem{\stopBibItem} \setupexternalfigures[location=default] \setupbackend[export=yes,xhtml=yes] \setupexport [svgstyle=mathtest-style, hyphen=yes, width=60em] \definedescription[BibItem

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

2025-07-13 Thread Matthias Weber
ation[Theorem] [alternative=serried, width=fit, distance=.5\emwidth, text=Theorem, style=italic, title=yes, titlestyle=normal, prefix=yes, headcommand=\groupedcommand{}{.} ] \defineenumeration [

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread John Was
e trouble. > > > > The other thing is: If you don’t want to place the part title manually, > you can actually show the part title with \setuphead[part][placehead=yes] > > > > %%% > > > > \setupinteraction > > [st

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Duncan Hothersall
this up), but in this default example I would like them also to >> shift up one decimal place: 1.1., not 1.1.1, and so on. I'm guessing >> there's an option in \part that I should be invoking, but I don't >> immediately see what that is (there doesn't seem

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
Sure it does. But using number=off seems to cause some trouble. The other thing is: If you don’t want to place the part title manually, you can actually show the part title with \setuphead[part][placehead=yes] %%% \setupinteraction [state

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread John Was
e 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] > > > > \setupinteractionscreen > > [option=

[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
ation that we get with chapters and sections). Here is the example: \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \placebookmarks[part,chapter,section] \starttext \part[title=Introduction,bookmark=Introduction,number=off] \noheaderandfoo

[NTG-context] Re: SlideTitle font in Simpleslide module

2025-06-23 Thread Wolfgang Schuster
='notosans*kr*’ And got the following list. [...] Why does it look for Math font for \Title and \SlideTitle? 1. Can you show the complete log file! 2. Does the following example work? begin example \definefontfamily[notoFont][rm][Noto Serif CJK KR] [ it={style:regular,fea

[NTG-context] Re: SlideTitle font in Simpleslide module

2025-06-23 Thread Jeong Dal via ntg-context
; char 여 (U+0C5EC) in font 'TeXGyrePagellaMath-Regular-2' with id 6: missing fonts > checking > char 기 (U+0AE30) in font 'TeXGyrePagellaMath-Regular-2' with id 6: missing font … Why does it look for Math font for \Title and \SlideTitle? Thanks

[NTG-context] Re: SlideTitle font in Simpleslide module

2025-06-21 Thread Jeong Dal via ntg-context
] %\definefontfamily[notoFont][math][Tex Gyre Termes Math] \definefontfamily[notoFont][math][Tex Gyre Pagella Math] \usemodule[simpleslides][style=Swoosh, font=, color=blue,] \setupTitle[color=darkblue] \setupbodyfont[notoFont,ss, \NormalSize] \setuppagenumbering[state=stop] \starttext \setupTitle[title

[NTG-context] SlideTitle font in Simpleslide module

2025-06-21 Thread Jeong Dal via ntg-context
problem. First, I define Noto CJK-KR as a bodyfont. Korean texts in the text has no problem. But Koreans used as a main Title and SlideTitles are not shown. The error messages are following: fonts > checking > char 실 (U+0C2E4) in font 'TeXGyrePagellaMath-Regular-2' wi

[NTG-context] Re Re: issue of columnset

2025-06-18 Thread wangzhongtian via ntg-context
]\dorecurse{100}{sdf sdfds sdfdsf sdf}%% this line \startplacefigure[location={btrl},title={wfs fdsf} ]\framed[width=1.6\textwidth,align=middle,frame=off,]{ \externalfigure[qe qwe 11 qwe qwe][width=9cm]}\stopplacefigure\stopcolumnset\stoptext -- 原始邮件 --发件人

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

2025-06-14 Thread Damien Thiriet via ntg-context
Thanks for all your answers. just don't justify: \setuphead[align=flushleft] I realized I did not do my homework so well (I certainly had to get up too early). My \sectionhead parameters were already setup with : align={lohi,flushleft,nothyphenated,verytolerant} Maybe my margins are a

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

2025-06-14 Thread Pablo Rodriguez via ntg-context
On 6/14/25 09:46, Damien Thiriet via ntg-context wrote: > Hi, > > My presentations are using the luciole font > (https://luciole-vision.com/), a font designed for eyed-impaired people > and big sizes. It is quite appreciated by my pupils. However, some > titles are overboxed. Hi Damien, `\set

[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: Modes & enumerations

2025-06-05 Thread Aditya Mahajan
headstyle=bold, > before={\startmode[solution]}, > after={\stopmode}, > style=normal, > title=no > ] > > \starttext &

[NTG-context] Re: Modes & enumerations

2025-06-05 Thread Pablo Rodriguez via ntg-context
normal, title=no ] \protected\def\Solution#1{% \ifmode{solution}\startSolving #1\stopSolving\fi} \starttext \enablemode[solution] Just whatever. \Solution{Enabled} \stoptext But it might help. Cheers,

[NTG-context] parallel subcolumn sets and footnotes

2025-06-05 Thread Pablo Rodriguez via ntg-context
] \setupwhitespace[none] \definecolumnset [paral] [n=1] \definesubcolumnset[paral][L][1] \definesubcolumnset[paral][R][2] \page[even] \startcolumnset[paral] \dorecurse{25} {\startsubcolumnset[L] \startsubject[title=Zapf] \samplefile{zapf}\footnote

[NTG-context] Re: Two questions to counter in margin

2025-05-31 Thread Wolfgang Schuster
\define[2]\MySceneTitle{%   \inleft{#1}\inright{#1}{\bfd #2} } (#1 is the formatted section number, #2 is the title) Alternative solution with custom section layout. begin example \defineheadalternative [scene] [alternative=vertical, renderingsetup=scene:title] \startsetups [s

[NTG-context] Re: Two questions to counter in margin

2025-05-29 Thread Thomas Meyer
.. Well, you can’t avoid special solutions for special demands ;) Something like: \setuphead[Scene][command=\MySceneTitle] \define[2]\MySceneTitle{%   \inleft{#1}\inright{#1}{\bfd #2} } (#1 is the formatted section number, #2 is the

[NTG-context] Modes & enumerations

2025-05-28 Thread Matthias Weber
[solution]}, after={\stopmode}, style=normal, title=no ] \starttext \enablemode[solution] \startSolution Enabled \stopSolution \stoptext This works, but when I disable the

[NTG-context] Re: Two questions to counter in margin

2025-05-28 Thread Henning Hraban Ramm
1}{\bfd #2} } (#1 is the formatted section number, #2 is the title) HTH, Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mail

[NTG-context] Re: Two questions to counter in margin

2025-05-28 Thread Wolfgang Schuster
[Scenecounter] \stoptext I would like to get my counter in the right and left margin of the bold scene title. How can I make this work? And why can't the counter be incremented in the \definedescription? Or is it still possible? If you need descriptions with a counter use enumerations,

[NTG-context] Re: Two questions to counter in margin

2025-05-28 Thread Bruce Horrocks
> On 28 May 2025, at 08:56, Thomas Meyer wrote: > > I would like to get my counter in the right and left margin of the bold scene > title. > How can I make this work? > > And why can't the counter be incremented in the \definedescription? Or is it > still possi

[NTG-context] Re: Two questions to counter in margin

2025-05-28 Thread Henning Hraban Ramm
Am 28.05.25 um 09:56 schrieb Thomas Meyer: \Szene{Int. Café Glockenspiel - Tag} Sie  betritt das Café und sucht offenbar nach jemandem. \rawcountervalue[Scenecounter] %\incrementcounter[Scenecounter] I would like to get my counter in the right and left margin of the bold scene title. How

[NTG-context] Two questions to counter in margin

2025-05-28 Thread Thomas Meyer
in the right and left margin of the bold scene title. How can I make this work? And why can't the counter be incremented in the \definedescription? Or is it still possible? Thank you for every help! Greetings T

[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Gottschalt, Johannes
entries because in some instances they deviate from the > chapter headlines. How should ConTeXt know there are numbers which should have a separate alignment from the title when you put everything in the same blob? To ensure the section number and text are separate you can use the ownnumb

[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Wolfgang Schuster
} \HeadingSubjectSub{Das erste Hauptstück, \TocSection{1. Von der natürlichen Erkentnis Gottes} To write the TOC entries because in some instances they deviate from the chapter headlines. How should ConTeXt know there are numbers which should have a separate alignment from the title when you put

[NTG-context] Re: Placement of captions in a combination of figures

2025-05-18 Thread Willi Egger
ight side, where I would prefer them >> to appear at the bottom. >> How to change the location of these captions? >> \starttext >> \startplacefigure >> [location=middle, >> title=, >>number=] >> \startcombination[2*2] >> {

[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: Shadow around a figure

2025-05-11 Thread Jeroen
(1, hue, black) ; endfor; setbounds currentpicture to OverlayBox ; \stopuniqueMPgraphic \defineoverlay[shadow][\useMPgraphic{mpshadow}] \setupexternalfigures[location=default] \starttext \startplacefigure [title={MyTitle.}] \externalfigure[mill] \stopplacefigure \blank[2em

[NTG-context] Re: Placement of captions in a combination of figures

2025-05-11 Thread Henning Hraban Ramm
\startplacefigure [location=middle, title=, number=] \startcombination[2*2] {\externalfigure[dummy][width=.5\textwidth]{a}} {\externalfigure[dummy][width=.5\textwidth]{b}} {\externalfigure[dummy][width=.5\textwidth]{c}} {\externalfigure

[NTG-context] Re: Placement of captions in a combination of figures

2025-05-11 Thread Wolfgang Schuster
\startplacefigure [location=middle, title=, number=] \startcombination[2*2] {\externalfigure[dummy][width=.5\textwidth]{a}} You need separate arguments for the image and the caption: {\externalfigure[dummy][width=.5\textwidth]}{a} Wolfgang

[NTG-context] Placement of captions in a combination of figures

2025-05-11 Thread Willi Egger
Hello, I need to place several figures into a combination. However the captions of the individual figures appear on the right side, where I would prefer them to appear at the bottom. How to change the location of these captions? \starttext \startplacefigure [location=middle, title

[NTG-context] Re: Shadow around a figure

2025-05-11 Thread Jeroen
\starttext \startplacefigure [title={TBA.}] \startplaceintermezzo \externalfigure [dummy] [width=.5\textwidth] \stopplaceintermezzo \stopplacefigure \stoptext Op zo 11 mei 2025 om 13:14 schreef Keith McKay : > Have a look at this page on the wiki, and play around with it

[NTG-context] Re: Change Figure Capture

2025-05-10 Thread Wolfgang Schuster
Am 10.05.2025 um 14:41 schrieb Jeroen: I eventually got it to work as following: \definefloat   [figure] You don't need \definefloat because "figure" as a float command/environment is predefined. begin example \setupcaption[figure][style=italic] \starttext \startpl

[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: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-29 Thread Wolfgang Schuster
an" }, sub= { pua = "ua1", pdf = "Span" }, sup= { pua = "ua1", pdf = "Span" }, subsup = { pua = "ua1", pdf = "Span" }, combination= {

[NTG-context] Karl Berry "Wizard of Systems"

2025-04-10 Thread luigi scarso
https://x.com/TeXUsersGroup/status/1909459838838751675 """ TUG news: Motion 2025.2 is almost unanimously (with Karl Berry abstaining) approved. The motion awards Karl Berry with with a lifetime membership and the title of "Wizard of Systems" in recognition of his outstan

[NTG-context] Re: Alternate text for images?

2025-04-09 Thread Pablo Rodriguez via ntg-context
= { pua = "ua1", pdf = "Span" }, sub= { pua = "ua1", pdf = "Span" }, sup= { pua = "ua1", pdf = "Span" }, subsup = { pua = "ua1",

[NTG-context] How to typeset interactive, hyphenated URLs in a bibliography?

2025-04-06 Thread Riviera Taylor
uffer[default] @website{smith2025, title = {Bob Smith's Website}, author = {Smith, Bob}, year = {2025}, urlkey = {bobsmith}, howpublished = {https://example.com/this-is-a-really-long-slug/for-example-purposes-only/} } \stopbuffer \savebuffer[list=default,file=default.bib

[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] Re: Alternate text for images?

2025-04-05 Thread Matthias Weber
there are is no figure information to display. The tag report list that lists all accessibility tags identifies the figure as with information PathPathPathPathPathPath. Below is the generated report. Thanks! Matthias Title: Acrobat Accessibility Report Accessibility Report Filename

[NTG-context] Re: Alternate text for images?

2025-04-04 Thread Matthias Weber
I listened to the German document. The picture at the top is read as “Bundesadler”, so an alternate text is found and used. The rest is just verbatim text-to-speech. Acrobat can also create an accessibility report, which I am attaching. Title: Acrobat Accessibility Report Accessibility

[NTG-context] Re: update

2025-04-01 Thread Pablo Rodriguez via ntg-context
[R][2] \page[even] \startcolumnset[paral] \dorecurse{25} {\startsubcolumnset[L] \startsubject[title=Zapf] \samplefile{zapf}\footnote{\samplefile{knuth}} \stopsubject \stopsubcolumnset \startsubcolumnset[R] \startsubject[title=Knuth] \samp

[NTG-context] help with \flushsubcolumnsets[spread]

2025-03-23 Thread Pablo Rodriguez via ntg-context
[parallel] [n=3, align={lesswidows,lessclubs,lessbroken,lessorphans}, ] All works fine, but I have a single passage that has problems. It’s a chapter with title and two lines of text (in original Greek) and title and three/four lines of translation. Chapter setup reads (for the

[NTG-context] Re: How to span an image across two pages with a caption?

2025-03-21 Thread jbf
Here is a simple example that worked for me. I had to make some adjustments to the caption, but the key issue was to get the spread to work as it should, and it did. %plates 12,13 facing \startpostponing     \setuppagenumbering[state=stop]     \startspread \startplacefigure[location=here,title

[NTG-context] Re: Disappearing mathqed

2025-03-20 Thread Jacob Kauffmann via ntg-context
ber=no, > headstyle=italic, > headcommand=\groupedcommand{}{.}, > title=yes, > titlestyle=normal, > closesymbol=\mathqed] > > \starttext > > \startProof > Yes. > \stopProof > > \startProof > No. > > \stopProof > > > \startProof

[NTG-context] Disappearing mathqed

2025-03-16 Thread Matthias Weber
, width=fit, distance=\emwidth, text=Proof, number=no, headstyle=italic, headcommand=\groupedcommand{}{.}, title=yes, titlestyle=normal, closesymbol=\mathqed] \starttext \startProof Yes. \stopProof \startProof No. \stopProof \startProof \startplacefigure {\bTABLE \bTR \bTD no \eTD\eTR \eTABLE

[NTG-context] Re: Clipping headers

2025-03-14 Thread Rik Kabel
he header? > > See this MNWE, where the two copies of section title collide on page 3. > > --- > \starttext > \setupbodyfont[20pt] > \setupheadertexts[section][section] > \section{One} > \section{Two} > \page >

[NTG-context] Re: Clipping headers

2025-03-14 Thread Mohammad Hossein Bateni
Define a new marking which processed normal section title marking > 2) Check width to see if we need to apply clipping and add "..." > 3) Performing clipping > > Here are my unsuccessful attempts for 3: > > % clips width correctly but descenders are also removed > \c

[NTG-context] Re: Clipping headers

2025-03-14 Thread Rik Kabel
On 2025-03-14 11:58, Mohammad Hossein Bateni wrote: The \start/\stop section alternative works nicely. Thanks! I was trying to work on an automated solution consisting of three parts: 1) Define a new marking which processed normal section title marking 2) Check width to see if we need to apply

[NTG-context] Re: Clipping headers

2025-03-14 Thread Mohammad Hossein Bateni
> > > See this MNWE, where the two copies of section title collide on page 3. > > > > --- > > \starttext > > \setupbodyfont[20pt] > > \setupheadertexts[section][section] > > \section{One} > > \section{Two} > > \page > > \s

[NTG-context] Re: Clipping headers

2025-03-14 Thread Wolfgang Schuster
Am 14.03.2025 um 15:28 schrieb Mohammad Hossein Bateni: Hello, How can I clip long markings in the header? See this MNWE, where the two copies of section title collide on page 3. --- \starttext \setupbodyfont[20pt] \setupheadertexts[section][section] \section{One} \section{Two

[NTG-context] Re: Clipping headers

2025-03-14 Thread Mohammad Hossein Bateni
The \start/\stop section alternative works nicely. Thanks! I was trying to work on an automated solution consisting of three parts: 1) Define a new marking which processed normal section title marking 2) Check width to see if we need to apply clipping and add "..." 3) Performing clip

[NTG-context] Re: Clipping headers

2025-03-14 Thread Duncan Hothersall
2025 at 15:09, Mohammad Hossein Bateni wrote: > I get an undefined command error. Does it work on your machine? > > On Fri, Mar 14, 2025 at 10:43 AM Duncan Hothersall wrote: > >> Untested but this should work: >> >> \section{This title is long \nomarking{enough to ca

[NTG-context] Re: Clipping headers

2025-03-14 Thread Rik Kabel
On 2025-03-14 11:05, Mohammad Hossein Bateni wrote: I get an undefined command error. Does it work on your machine? On Fri, Mar 14, 2025 at 10:43 AM Duncan Hothersall wrote: Untested but this should work: \section{This title is long \nomarking{enough to cause problems in the

[NTG-context] Re: Clipping headers

2025-03-14 Thread Mohammad Hossein Bateni
I get an undefined command error. Does it work on your machine? On Fri, Mar 14, 2025 at 10:43 AM Duncan Hothersall wrote: > Untested but this should work: > > \section{This title is long \nomarking{enough to cause problems in the > headers and footers}} > > Everything inside

[NTG-context] Re: Clipping headers

2025-03-14 Thread Duncan Hothersall
Untested but this should work: \section{This title is long \nomarking{enough to cause problems in the headers and footers}} Everything inside \nomarking{} will not be shown in the headers or footers. See https://wiki.contextgarden.net/Command/nomarking Duncan On Fri, 14 Mar 2025 at 14:33

[NTG-context] Clipping headers

2025-03-14 Thread Mohammad Hossein Bateni
Hello, How can I clip long markings in the header? See this MNWE, where the two copies of section title collide on page 3. --- \starttext \setupbodyfont[20pt] \setupheadertexts[section][section] \section{One} \section{Two} \page \section{Three} \page \section{Long Title for Section

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

2025-03-13 Thread roberto . bianchi
\TEX\\00-CONFIG\\config.tex} \input{.\\TEX\\01-DOCFORMAT\\docformat.tex} %<---finally the error seems being here \starttext % load title page \startstandardmakeup \input{.\\TEX\\01-DOCFORMAT\\TITLEPAGE\\titlepageformat.tex} \

[NTG-context] Re: Structureuservariable and long lines

2025-03-12 Thread Wolfgang Schuster
...@unibe.ch: Hi, I have section headings where I need to output some descriptions after the label and before the heading title (which may be missing in some cases). I’ve thought the something like the example below should work, but the text from the variable overflows. What am I missing here? Is there

[NTG-context] Re: Structureuservariable and long lines

2025-03-12 Thread Denis Maier via ntg-context
> > I have section headings where I need to output some descriptions after > > the label and before the heading title (which may be missing in some > > cases). I’ve thought the something like the example below should work, > > but the text from the variable overflows. > &g

[NTG-context] Re: Structureuservariable and long lines

2025-03-12 Thread Wolfgang Schuster
Am 12.03.2025 um 14:23 schrieb denis.ma...@unibe.ch: Hi, I have section headings where I need to output some descriptions after the label and before the heading title (which may be missing in some cases). I’ve thought the something like the example below should work, but the text from the

[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
Hi, I have section headings where I need to output some descriptions after the label and before the heading title (which may be missing in some cases). I've thought the something like the example below should work, but the text from the variable overflows. What am I missing here? Is

[NTG-context] Re: How to prevent \reference[myrefA]{myrefA} from creating vertical emptiness?

2025-03-06 Thread Wolfgang Schuster
]{}{%     \FrameTitle{\strut \bf Title}%     \StartFrame%     Text     \StopFrame%     }% }% 1. Add a optional argument to \sidebarA. \starttexdefinition tolerant protected sidebarA [#1] \startplacefigure[location=none] \FrameTitle{\strut \bf Title

[NTG-context] How to stop column text from crashing into content afterwards?

2025-03-05 Thread Joel via ntg-context
It took a lot of trial and error, but here's the glitch I am seeing in this minimum working example: \starttext     \startcolumns[n=2]     \section{Title}     \input knuth     \section{Title}     \input knuth     \section{Title}     \input

[NTG-context] How to prevent \reference[myrefA]{myrefA} from creating vertical emptiness?

2025-03-05 Thread Joel via ntg-context
, width=\textwidth] \def\StartFrame{\startFunnyText} \def\StopFrame {\stopFunnyText } \def\FrameTitle#1% {\setMPtext{FunnyFrame}{\hbox spread 1em{\hss\strut#1\hss}}} \setMPtext{FunnyFrame}{} \define\sidebarA{%     \placefigure[none]{}{%     \FrameTitle{\strut \bf Title}%     \StartFrame

[NTG-context] help with \writetolist alignment

2025-03-05 Thread jbf
I need a little help to get alignment of a \writebetweenlist correct. I currently have the following in the frontmatter (after the \placecombinedlist etc.) \startfrontmatter ... \starttitle[title={Introduction}] Blah blah blah \stoptitle \writebetweenlist[title]{Essays

[NTG-context] Re: how to reset and switch fallbackfont?

2025-03-03 Thread Hans Hagen
On 2/28/2025 1:21 PM, autumnus wrote: hi, As described in the title, how to reset fallbackfont? I have created a number of Chinese typescripts and related fallbackfont (latin). However, in the actual operation process, I found that if you want to switch different fallbackfont, you must change

[NTG-context] Re: how to reset and switch fallbackfont?

2025-03-02 Thread Wolfgang Schuster
Am 28.02.2025 um 13:21 schrieb autumnus: hi, As described in the title, how to reset fallbackfont? I have created a number of Chinese typescripts and related fallbackfont (latin). However, in the actual operation process, I found that if you want to switch different fallbackfont, you must

  1   2   3   4   5   6   7   8   9   10   >