[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 Mikael Sundqvist
, Test number: 1 > shall not contain Failed > 24 occurrences Hide > SEDiv > parentStandardType != 'P' > root/document[0]/StructTreeRoot[0](231 0 obj PDStructTreeRoot)/K[0](239 0 > obj SEDocument document)/K[0](240 0 obj SEPart documentpart)/K[21](605 0 > obj SESect

[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] Re: tagigng

2025-08-13 Thread Hans Hagen via ntg-context
iled 24 occurrences Hide SEDiv parentStandardType != 'P' root/document[0]/StructTreeRoot[0](231 0 obj PDStructTreeRoot)/K[0](239 0 obj SEDocument document)/K[0](240 0 obj SEPart documentpart)/K[21](605 0 obj SESect section)/K[1](611 0 obj SEDiv sectioncontent)/K[3](1770 0 obj S

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
EDiv parentStandardType != 'P' root/document[0]/StructTreeRoot[0](231 0 obj PDStructTreeRoot)/K[0](239 0 obj SEDocument document)/K[0](240 0 obj SEPart documentpart)/K[21](605 0 obj SESect section)/K[1](611 0 obj SEDiv sectioncontent)/K[3](1770 0 obj SESect section)/K[1](1775 0 obj SEDiv sec

[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
e[A5] \setuplayout[grid=yes,] \setuppagenumbering[alternative=doublesided] %\setuphead[chapter][page=no] \definecolumnset[Two][n=2,page=no] \definecolumnsetspan[Span][n=2] \def\InnerArticle#1{ \dorecurse{#1}{ \section{\fakewords{1}{5}} \fakewords{10}{100}\par } } \def\ColsArticle#1{ \

[NTG-context] Re: Pre-loading libraries by making custom format

2025-07-29 Thread Max Chernoff via ntg-context
nTeXt? It's a generic programming layer for TeX, much like pgfkeys/pgfmath (the non-graphics parts of TikZ). It was originally designed for LaTeX, but its authors have put quite a bit of effort into making sure that it's usable in all formats, including ConTeXt. Thanks, -- Max loc

[NTG-context] Re: Layout of a table with formulae

2025-07-25 Thread Willi Egger
cter=no] Calculation \eTD > > or > >\bTH Calculation \eTH > > because TH cell type sets "aligncharacter=no" (but uses bold font). > > > Another option is > >\bTD \nocharcteralign Calculation \eTD > > > You can also divide your ta

[NTG-context] Patch to use ls-R files with TeX Live

2025-07-24 Thread Max Chernoff via ntg-context
local content = io.loaddata(lsrfile) +if not content or content == "" then +report("no content in ls-R file %a", lsrfile) +return +end + +--[[ slower +local files, remap, directories = { }, { }, { } +local n_files, n_remap, n_directories = 0,

[NTG-context] Re: Layout of a table with formulae

2025-07-24 Thread Wolfgang Schuster
nly in the body section, e.g. \bTABLE \bTABLEhead \bTR \bTD Calculation \eTD \eTR \eTABLEhead \bTABLEbody[characteralign=yes] \bTR \bTD ... \eTD \eTR \eTABLEbody \eTABLE

[NTG-context] Re: Margin text?

2025-07-24 Thread Ursula Hermann
margin text? While I don’t really understand your question: – A thumb index usually depends on the part or chapter (here it’s the part, obviously) and stays the same within that section. – Its setup should probably be triggered by \setuphead or maybe \setupheader, but there’s nothing ready-made and

[NTG-context] Re: Margin text?

2025-07-24 Thread Henning Hraban Ramm
within that section. – Its setup should probably be triggered by \setuphead or maybe \setupheader, but there’s nothing ready-made and there are several approaches possible. – The colored area must “bleed” over the edge of the paper (usually 2–3 mm), i.e. you must use the second parameter of

[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
Dear All (and thanks once more for the incredible help!) The attached example uses three link mechanisms inside a document: Linking to a section, to a reference, and a tagged enumeration. All of them work in the generated PDF, but the latter two fail in the generated HTML file. I have tried

[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 Wolfgang Schuster
______ \starttext   \placecontent   \section{Test} \stoptext Runs withput problems on my windows machine. version: 2.11.07 | 20250706 format id : 722 date : 23:07:23 | Jul 7 2025 compiler

[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: Bookmark hierarchy

2025-07-04 Thread Wolfgang Schuster
Am 04.07.2025 um 13:00 schrieb John Was: Hello. I'm still in the newbie category with ConTeXt, and am getting to grips with bookmarking of PDFs for the first time ever.  The following example gives the correct hierarchy of subordinated bookmarks - part, chapter, and section,

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread John Was
ate=start] > > \setupinteractionscreen > > [option=bookmark] > > \placebookmarks[part,chapter,section] > > > > \setuphead[part][number=no] > > \starttext > > > > \part[title=Introduction,bookmark=Introduction,number=off] % number=off > does not

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Duncan Hothersall
Worth also looking at something like \setupsection[section-2][previousnumber=no] - see https://wiki.contextgarden.net/Command/setupsection for (some) details about how each level of hierarchy is addressable through this mechanism. Duncan On Fri, 4 Jul 2025 at 12:58, John Was wrote: > D

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
=start] \setupinteractionscreen [option=bookmark] \placebookmarks[part,chapter,section] \setuphead[part][number=no] \starttext \part[title=Introduction,bookmark=Introduction,number=off] % number=off does not work INTRODUCTION \part[title=PART II,bookmark=Part II,number=no

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread John Was
rarchy > > > > Hello. > > > > I'm still in the newbie category with ConTeXt, and am getting to grips > with bookmarking of PDFs for the first time ever. The following example > gives the correct hierarchy of subordinated bookmarks - part, chapter, and > section,

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
grips with bookmarking of PDFs for the first time ever. The following example gives the correct hierarchy of subordinated bookmarks - part, chapter, and section, each progressively indented in the bookmark column at the left. However, I don't want the parts to have numbers at all, and I

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
s for the first time ever. The following example gives the correct hierarchy of subordinated bookmarks - part, chapter, and section, each progressively indented in the bookmark column at the left. However, I don't want the parts to have numbers at all, and I want the chapters to be numbered

[NTG-context] Bookmark hierarchy

2025-07-04 Thread John Was
Hello. I'm still in the newbie category with ConTeXt, and am getting to grips with bookmarking of PDFs for the first time ever. The following example gives the correct hierarchy of subordinated bookmarks - part, chapter, and section, each progressively indented in the bookmark column at the

[NTG-context] Re: Processing time

2025-06-20 Thread John Was
arching for fonts. > > > > Is there some way to prevent this, either by a command within the file > > or by giving something after -- when I invoke ConText (which I do from > > the Windows command line)? > > > > I shall paste below a short section of a

[NTG-context] Re: Processing time

2025-06-20 Thread Wolfgang Schuster
verifying and searching for fonts. Is there some way to prevent this, either by a command within the file or by giving something after -- when I invoke ConText (which I do from the Windows command line)? I shall paste below a short section of a very long log (1452 lines) so that ConTexperts can see

[NTG-context] Processing time

2025-06-20 Thread John Was
to prevent this, either by a command within the file or by giving something after -- when I invoke ConText (which I do from the Windows command line)? I shall paste below a short section of a very long log (1452 lines) so that ConTexperts can see what I mean. Best wishes John *🇪🇺 * Слава

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

2025-06-14 Thread Damien Thiriet via ntg-context
are a bit too tight! \setuphead[section][align={flushleft,nothyphenated,broad}] or \setuphead[section][align={normal,nothyphenated,verytolerant,extremestretch}] Adding extremestretch did the job. Thanks a lot! You don't need \usetypescriptfile when the name of the typescript and typefa

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

2025-06-14 Thread Hans Hagen
On 6/14/2025 9:46 AM, 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. There is certainly a w

[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
rboxed. Hi Damien, `\setuphead[section][align={right, broad}]` may be your friend here (even without `broad`). > PS: For those interested in Luciole, my typescripts: I never created typescripts, since this works fine for me: \definefontfamily[whatever][rm][Luciole] \setupbodyfont [whateve

[NTG-context] line breaks within *section title

2025-06-14 Thread Damien Thiriet via ntg-context
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. There is certainly a way to force line break and avoid such breaks, but I don't kno

[NTG-context] Re: upload

2025-06-12 Thread Rik Kabel
the fix since you proposed it, or (as you suggested might be the case) there are side effects of the change that argue against using it. In any case, I have now rewritten the section to eliminate the need for a makeup. -- Rik

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

2025-05-31 Thread Wolfgang Schuster
Am 28.05.2025 um 19:05 schrieb Henning Hraban Ramm: Am 28.05.25 um 17:08 schrieb Thomas Meyer: Thank you Hraban, Bruce and Wolfgang, I started with the dialogue and description works well. So I was totally fixated on description and didn't realise that it could be simpler. But with se

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

2025-05-29 Thread Thomas Meyer
escription works well. So I was totally fixated on description and didn't realise that it could be simpler. But with section and enumeration I have the same problem: I need the count in the margin and on both sides, right AND left! Maybe I'm standing like an ox in front of a barn door .

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

2025-05-28 Thread Henning Hraban Ramm
Am 28.05.25 um 17:08 schrieb Thomas Meyer: Thank you Hraban, Bruce and Wolfgang, I started with the dialogue and description works well. So I was totally fixated on description and didn't realise that it could be simpler. But with section and enumeration I have the same problem: I nee

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

2025-05-28 Thread Thomas Meyer
Thank you Hraban, Bruce and Wolfgang, I started with the dialogue and description works well. So I was totally fixated on description and didn't realise that it could be simpler. But with section and enumeration I have the same problem: I need the count in the margin and on both sides,

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

2025-05-28 Thread Bruce Horrocks
> On 28 May 2025, at 10:53, Bruce Horrocks wrote: > > The reason I suggest it is that \heading gives you much more control \section not \heading — Bruce Horrocks Hampshire, UK ___ If your quest

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

2025-05-28 Thread Bruce Horrocks
Context provides? Specifically: why not use \chapter for each act of the play and then \section for each scene? The reason I suggest it is that \heading gives you much more control over the numbering and position of the number and would solve the questions you are asking. Document structure is summa

[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Gottschalt, Johannes
is this: > > > % TOC setup > > \setupcombinedlist[content]% > [ list={defaultchapter,defaultsection,defaultsubsection},% >after={\blank[10pt]},% >alternative=c,% >criterium=all,% > ] > \definelist[defaultchapter][chapter]%default first layer &

[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Wolfgang Schuster
first layer \definelist[defaultsection][section] \setuplist[defaultsection] [ margin=1em,% alternative=c% ] \definelist[defaultsubsection][subsection] \setuplist[defaultsubsection] [ margin=2em,% alternative=c% ] \definelist[defaultsubsubsection][subsection] \setuplist[defaultsubsubsection

[NTG-context] Re: Hanging indent in TOC

2025-05-21 Thread Gottschalt, Johannes
My current setup is this: % TOC setup \setupcombinedlist[content]% [ list={defaultchapter,defaultsection,defaultsubsection},% after={\blank[10pt]},% alternative=c,% criterium=all,% ] \definelist[defaultchapter][chapter]%default first layer \definelist[defaultsection][section] \setuplist

[NTG-context] Re: Hanging indent in TOC

2025-05-21 Thread Wolfgang Schuster
[alternative=c] \chapter{\fakewords{30}{40}} \section{\fakewords{10}{15}} \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: Why does \setvalue not work inside \startbodymatter?

2025-05-19 Thread Wolfgang Schuster
em by Hans but the example below shows why you need \setgavlue. When you use section blocks ConTeXt creates a local group with the environment where command definitions stay local to the group, e.g. the \setvalue setting in the block is forgotten at the end of the block and whatever was set b

[NTG-context] Re: TDM Reservation Protocol (TDMRep)

2025-05-01 Thread Rik Kabel
ce/xmp-extension-schema-templates/, where we read, inter alia: > This W3C report _incorrectly_ notes that PDF/A validators will raise errors if TDMRep properties are present in the XMP metadata section of PDF documents. As clearly stated in ISO 19005-1 (PDF/A-1), ISO 19005-2 (PDF/A-2), and

[NTG-context] Re: TDM Reservation Protocol (TDMRep)

2025-05-01 Thread Rik Kabel
e read, inter alia: > This W3C report _incorrectly_ notes that PDF/A validators will raise errors if TDMRep properties are present in the XMP metadata section of PDF documents. As clearly stated in ISO 19005-1 (PDF/A-1), ISO 19005-2 (PDF/A-2), and ISO 19005 (PDF/A-3) appropriate XMP Extension S

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-29 Thread Wolfgang Schuster
uot;Span" }, textdisplay= { pua = "ua1", pdf = "Div"}, placeholder= { pua = "ua1", pdf = "Span" }, ["break"] = { pua = "ua1", pdf = "Div" }, construct = {

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Jim
could be a bug report, but it is mostly a request for assistance. >>> > In >>> > https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf >>> > I see "2.11 Big operators" is at the very bottom of a page (no "content" >>&g

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Wolfgang Schuster
/mathincontext-screen.pdf I see "2.11 Big operators" is at the very bottom of a page (no "content" of section 2.11 is on that page). This is an example of what I don't want, and anyone who feels the same way would consider this a (very minor) bug report for the (otherwise most excel

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Jim
en.pdf >> I see "2.11 Big operators" is at the very bottom of a page (no "content" of >> section 2.11 is on that page). This is an example of what I don't want, >> and anyone who feels the same way would consider this a (very minor) bug >> report for

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Hans Hagen
On 4/24/2025 5:00 PM, Jim wrote: This could be a bug report, but it is mostly a request for assistance. In https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf I see "2.11 Big operators" is at the very bottom of a page (no "content" of section 2.11 is on

[NTG-context] Re: *Not* starting a section at the very bottom of a page

2025-04-24 Thread Aditya Mahajan
On Thu, 24 Apr 2025, Jim wrote: > This could be a bug report, but it is mostly a request for assistance. > > In >https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf > I see "2.11 Big operators" is at the very bottom of a page (no "content"

[NTG-context] *Not* starting a section at the very bottom of a page

2025-04-24 Thread Jim
This could be a bug report, but it is mostly a request for assistance. In https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf I see "2.11 Big operators" is at the very bottom of a page (no "content" of section 2.11 is on that page). This is an example of wh

[NTG-context] Re: Aligning sub- and superscripts

2025-04-24 Thread Florent Michel
Hi Mikael, Thanks a lot! It's indeed exactly what I was looking for! I'll replace my hack-y solution with a link to that section in the wiki. Cheers, Florent Le jeu. 24 avr. 2025 à 10:36, Mikael Sundqvist a écrit : > Hi! > > Assuming you are using context lmtx, does sec

[NTG-context] Re: Aligning sub- and superscripts

2025-04-24 Thread Mikael Sundqvist
Hi! Assuming you are using context lmtx, does section 2.7 in https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf help you? /Mikael On Thu, Apr 24, 2025 at 11:29 AM Florent Michel wrote: > > Hi, > > I was going through the ‘Mathematics/Mathematical glyphs’ section of

[NTG-context] Aligning sub- and superscripts

2025-04-24 Thread Florent Michel
Hi, I was going through the ‘Mathematics/Mathematical glyphs’ section of the wiki. Unless I am missing something, the first method proposed in the section ‘Subscript and superscript’ ( https://wiki.contextgarden.net/Mathematics/Mathematical_glyphs#Subscript_and_superscript) to align sub- and

[NTG-context] Re: Help \setuparranging

2025-04-10 Thread Willi Egger
Hi, is there a specific reason why you want to have 12 pages pers section? A standard section normally carries 16 pages. If 16 pages is good for you then you can use \setuparranging[2*2*4] will do this. I.e. you will get 4 sheets of paper with 2 pages on the front and backside of each sheet

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

2025-04-09 Thread Pablo Rodriguez via ntg-context
= "Div" }, construct = { pua = "ua1", pdf = "Span" }, constructleft = { pua = "ua1", pdf = "Span" }, constructright = { pua = "ua1", pdf = "Span&

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

2025-04-07 Thread Hans Hagen
PDF/A-4F [at least, yet]), I’m afraid the dictionary has to be /StructTreeRoot here. There is a third issue, PDF-1.7 doesn’t allow /DocummentFragment as standard structure type. Only Part, Art (article), Sect (section) or Div would match here (https://opensource.adobe.com/dc-acrobat-sdk-docs/pdf

[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-04 Thread Pablo Rodriguez via ntg-context
sociation/arlington-pdf-model/blob/master/tsv/latest/Namespace.tsv). Since we have PDF/A-3a (and not PDF/A-4F [at least, yet]), I’m afraid the dictionary has to be /StructTreeRoot here. There is a third issue, PDF-1.7 doesn’t allow /DocummentFragment as standard structure type. Only Part, Art (ar

[NTG-context] Re: automatic character comparison

2025-03-26 Thread Bruce Horrocks
e-based comparison of diff. It also allows you to insert your choice of marker string before and after each change, making it easy to insert Context markup. There's a LaTeX example in section 2.2 on this page which puts deleted text in boxes, and new text in double boxes. It should be pretty si

[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
Very nice! Thanks Rik! On Fri, Mar 14, 2025 at 1:46 PM Rik Kabel wrote: > > 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)

[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
ce, height=\mainlayoutheight, textheight=\mainlayouttextheight ] %% === %% FEATURES OF THE DOCUMENT MAIN FONT %% ======= \definebodyfontenvironment[10pt][a=11pt,b=12pt,c=14pt,d=22pt] \de

[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
> -Ursprüngliche Nachricht- > Von: Wolfgang Schuster > Gesendet: Mittwoch, 12. März 2025 16:20 > An: ntg-context@ntg.nl > Betreff: [NTG-context] Re: Structureuservariable and long lines > > Am 12.03.2025 um 14:23 schrieb denis.ma...@unibe.ch: > > Hi, > >

[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] 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] Re: Question about matrices with vertical and horizontal lines (and now adding arrows between cells)

2025-02-27 Thread Matthias Weber
gt; \bTR \bTD 23 \eTD \bTD 5 \eTD \bTD 7 \eTD \bTD 14\eTD \bTD 16 \eTD >> \eTR >>\bTR \bTD 4 \eTD \bTD [background=DiagonalArrow] 6 \eTD \bTD 13 \eTD >> \bTD 20\eTD \bTD 22 \eTD \eTR >> \bTR \bTD 10 \eTD \bTD 12 \eTD \bTD 19 \eTD \bTD 21\eTD \bTD 3 \eT

[NTG-context] Re: Question about matrices with vertical and horizontal lines (and now adding arrows between cells)

2025-02-27 Thread Mikael Sundqvist
ound=DiagonalArrow] 6 \eTD \bTD 13 \eTD > \bTD 20\eTD \bTD 22 \eTD \eTR > \bTR \bTD 10 \eTD \bTD 12 \eTD \bTD 19 \eTD \bTD 21\eTD \bTD 3 \eTD > \eTR >\bTR \bTD 11 \eTD \bTD 18 \eTD \bTD 25 \eTD \bTD 2\eTD \bTD 9 \eTD \eTR > \eTABLE > \stopExample >

[NTG-context] Quads not appearing

2025-02-26 Thread Denis Maier via ntg-context
nohz,nothanging] \setupindenting[-\leftskip,yes,first]% \setuphead[section][indentnext=yes]% }, after=\stopnarrower, ] \startxmlsetups xml:index \startIndex \xmlflush{#1} \stopIndex \stopxmlsetups \startxmlsetups

[NTG-context] Re: header centered doublesided

2025-02-24 Thread Jürgen Hanneder via ntg-context
pitel-Titel abrufen 8 \hfill 9 \llap{Un Nom} 10 \stopsetups 11 \startsetups[text links] 12 \rlap{Una Person} 13 \hfill 14 \getmarking[section] 15 \hfill 16 \llap{\pagenumber} 17 \stopsetups Hraban ___ If your question

[NTG-context] Re: header centered doublesided

2025-02-24 Thread Henning Hraban Ramm
etups 11 \startsetups[text links] 12 \rlap{Una Person} 13 \hfill 14 \getmarking[section] 15 \hfill 16 \llap{\pagenumber} 17 \stopsetups Hraban ___ If your question is of interest to others as well, please add an entry t

[NTG-context] Re: how to only switch fontclass ?

2025-02-23 Thread Wolfgang Schuster
Am 22.02.2025 um 11:59 schrieb autumnus: I've been writing bilingual documentation lately. When I switched the font class, I found that it was back to the default size. How should I just switch the font class without changing the font size or other attributes. %% \starttext \sect

[NTG-context] how to only switch fontclass ?

2025-02-22 Thread autumnus
I've been writing bilingual documentation lately. When I switched the font class, I found that it was back to the default size. How should I just switch the font class without changing the font size or other attributes. %% \starttext \section{A\textbar A} \section{A\te

[NTG-context] Re: Problem with LMTX and heading with alternative=margintext

2025-02-14 Thread Wolfgang Schuster
(running on https:// www.context-on-web.eu/). I did not experiment with other mechanisms that place text into the margin. I was able to simply your example, the problem is the \hkern command which is added between the section number and the first word of the title (when you use the margin

[NTG-context] Re: Problem with LMTX and heading with alternative=margintext

2025-02-14 Thread Hans Hagen
/). I did not experiment with other mechanisms that place text into the margin. I was able to simply your example, the problem is the \hkern command which is added between the section number and the first word of the title (when you use the margin alternative) which prevents hyphenation

[NTG-context] Re: Problem with LMTX and heading with alternative=margintext

2025-02-14 Thread Wolfgang Schuster
place text into the margin. I was able to simply your example, the problem is the \hkern command which is added between the section number and the first word of the title (when you use the margin alternative) which prevents hyphenation. \starttext \hsize\emwidth 1\hskip\emwidth

[NTG-context] Re: Upgrade (and fresh installation) failing with lua error in supp-box.mkxl

2025-02-12 Thread Seann Aswell via ntg-context
d also had the exact same issue after upgrading... After the upgrade failed, I followed the "Manual Install" instructions from the wiki: https://wiki.contextgarden.net/Manual_Install Unfortunately, that process resulted in the same error. Should following the steps in the "Compi

[NTG-context] Re: Upgrade (and fresh installation) failing with lua error in supp-box.mkxl

2025-02-12 Thread Seann Aswell via ntg-context
lowing the steps in the "Compile" section of the Manual Install wiki page, produce a working FreeBSD binary? Or, am I missing something? On 2/12/25 15:22, Pavneet Arora via ntg-context wrote: This worked a charm, Hans! Thank you. Is there a place I can upload the compiled binary to as

[NTG-context] Re: fatal error \placelist

2025-02-10 Thread Steffen Wolfrum
\tracingassigns \plustwo >>> \tracingmath \plusone >>> \tracingalignments\plustwo >>> \showboxbreadth \maxcount >>> \showboxdepth \maxcount >>> \tracingonline\plusone >>> >>> \starttext >>> \placelist[section] >>> \sec

[NTG-context] Re: fatal error \placelist

2025-02-09 Thread Hans Hagen via ntg-context
\tracingrestores  \plusone \tracinggroups    \plusone %\tracingifs   \plusone \tracingnesting   \plusthree %\tracingassigns   \plustwo \tracingmath  \plusone \tracingalignments\plustwo \showboxbreadth   \maxcount \showboxdepth \maxcount \tracingonline    \plusone \starttext \placelist[section

  1   2   3   4   5   6   7   8   9   10   >