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

2025-08-14 Thread Hans Hagen via ntg-context
ts on other usage) First, thank you for the quick fix. That indeed does the job for this document. I am interested to know why the problem occurred only with interaction active. I also am wary of using \vskip (given the warning in the wiki) and would like to know if there is some variant of \

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

2025-08-14 Thread Rik Kabel
r the quick fix. That indeed does the job for this document. I am interested to know why the problem occurred only with interaction active. I also am wary of using \vskip (given the warning in the wiki) and would like to know if there is some variant of \blank that will do the job, or some other

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

2025-08-14 Thread Rik Kabel
=inright,    way=bytext,    headstyle=small,    before=,after=,   ]     \starttexdefinition tolerant protected unexpanded startBlockQuotation   \begingroup     \Qi     \vskip -2\lineheight\relax     %   \blank[-2*line]     \stoptexdefinition     \starttexdefinition

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

2025-08-13 Thread Hans Hagen via ntg-context
,    before=,after=,   ] \starttexdefinition tolerant protected unexpanded startBlockQuotation   \begingroup     \Qi     \vskip -2\lineheight\relax %   \blank[-2*line] \stoptexdefinition \starttexdefinition stopBlockQuotation   \endgroup \stoptexdefinition

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

2025-08-13 Thread Rik Kabel
  [text={\hbox to \dimexpr +15pt\relax{}}, >   alternative=inright, >   way=bytext, >   headstyle=small, >   before=,after=, >  ] > > \starttexdefinition tolerant protected unexpanded startBlockQuotation >  \begingroup >    \Qi > 

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

2025-08-13 Thread Rik Kabel
=,   ] \starttexdefinition tolerant protected unexpanded startBlockQuotation   \begingroup     \Qi     \vskip -2\lineheight\relax %   \blank[-2*line] \stoptexdefinition \starttexdefinition stopBlockQuotation   \endgroup \stoptexdefinition \starttexdefinition tolerant protected unexpanded

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

2025-08-13 Thread Mikael Sundqvist
tupheads > [section,subsection] > [color=darkred] > > \setuphead > [section] > [style=\bfb] > > \setuphead > [subsection] > [style=\bfa] > > > > I use > > \setuphead[subsection][number=yes, > page=yes,

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
eads > [section,subsection] > [color=darkred] > > \setuphead > [section] > [style=\bfb] > > \setuphead > [subsection] > [style=\bfa] > > > > I use > > \setuphead[subsection][number=yes, > p

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
] \setuphead [subsection] [style=\bfa] I use \setuphead[subsection][number=yes, page=yes, before={\noindentation\hairline\blank}, after={\nowhitespace\hairline\blank[line]\indentation

[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
eadcommand=\groupedcommand{\hskip{8pt}}{},% space before the number distance=4pt,% space after the number numbercommand={\offset[y=-1ex]},% raise the number numberstyle={\switchtobodyfont[10pt]}, before={\blank[medium]}]% vertical space before the entry \define[1]\notetag {\footnote{#1}\llap{\let

[NTG-context] Audible footnotes

2025-08-11 Thread John Was
\hskip{8pt}}{},% space before the number distance=4pt,% space after the number numbercommand={\offset[y=-1ex]},% raise the number numberstyle={\switchtobodyfont[10pt]}, before={\blank[medium]}]% vertical space before the entry \define[1]\notetag {\footnote{#1}\lla

[NTG-context] Re: Preserving Stanza Integrity

2025-08-07 Thread Michael Guravage
way to horizontally center a left-aligned block while also ensuring that > > stanzas aren't split over page boundaries? > > > > The MWE uses the text from het Wilhelmus. At the bottom of the first > > page the fourth couplet is the first to split over two pages. >

[NTG-context] Re: Preserving Stanza Integrity

2025-08-07 Thread Wolfgang Schuster
split over two pages. Any sugestions would be much appreciated. \startlines[right={\blank[samepage]},inbetween={\blank[line,preference]}] Wolfgang ___ If your question is of interest to others as well, please add

[NTG-context] Preserving Stanza Integrity

2025-08-06 Thread Michael Guravage
definelines[poemlines] [before={\startpoemnarrower[left]}, after=\stoppoemnarrower\blank[5*big]] \definebuffer[poem] \def\stoppoem{\setups{poems:buffer}} \startsetups poems:buffer \setupnarrower[poemnarrower][left=0pt] \setbox\scratchbox\vbox% {\poemframed {\startpoem

[NTG-context] Issue with bibliographical items in footnotes

2025-07-26 Thread Jean-Pierre Delange via ntg-context
hilosophie::manent-metamorphoses2010]}. Le test a pour but de vérifier l'affichage des références bibliographiques en bas de page\footnote{\cite[alternative=entry][philosophie::manent-loi2018]}. \blank[big] A bibliographic citation in a footnote would match perfectly\footnote{\cite[al

[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
> \startcolumns > This is a test > \stopcolumns > \stopframed > \blank[medium] > \startframed[offset=0pt] > \startcolumns > This is a slightly longer test using two columns > \stopcolumns > \stopframed > \stoptext >

[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: 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] Keeping math formula information for export

2025-07-06 Thread Jairo A. del Rio
tracingonline\plusone $1 + 1$ \tracingcommands\zerocount \stopTEXpage Log: (a lot of info...) 7:7: {\Umathfractiondelsize} 7:7: {\Umathfractiondelsize} 7:7: {\Umathfractiondelsize} 7:7: {\Umathfractiondelsize} 7:6: {\Umathskeweddelimitertolerance} (a lot of info...) 7:4: {the character U+0031 1} 7:3: {blank s

[NTG-context] Re: Footnote style

2025-06-28 Thread John Was
ange the font size > > \setupnotation >[footnote] >[ 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 th

[NTG-context] Re: Footnote style

2025-06-27 Thread Wolfgang Schuster
graph headcommand=\groupedcommand{\hskip{8pt}}{},% space before the number distance=4pt,% space after the number numbercommand={\offset[y=-1ex]},% raise the number numberstyle={\switchtobodyfont[10pt]},% change the font size before={\blank[medium]}]% vertical space before the

[NTG-context] Re: Lengthening/shortening paragraphs

2025-06-25 Thread Mikael Sundqvist
h > > \input ward > > Bla bla bla bla bla Bla. > > \stopparagraph > > \stoplinenumbering > > > > \blank > > > > \startlinenumbering > > \startparagraph\looseness=+1 > > \input ward > > Bla bla bla bla bla Bla. > > \stopparagraph > > \stop

[NTG-context] Re: Lengthening/shortening paragraphs

2025-06-25 Thread John Was
ailman.ntg.nl/archives/list/ntg-context@ntg.nl/message/6MRZEFJD5SGIQXJQQOENETERY5FKMG6S/ >> ): >> >> >> >> \starttext >> >> >> >> \startlinenumbering >> >> \startparagraph >> >> \input ward >> >> Bla bla bla

[NTG-context] Re: Lengthening/shortening paragraphs

2025-06-25 Thread Denis Maier via ntg-context
\startlinenumbering \startparagraph \input ward Bla bla bla bla bla Bla. \stopparagraph \stoplinenumbering \blank \startlinenumbering \startparagraph\looseness=+1 \input ward Bla bla bla bla bla Bla. \stopparagraph \stoplinenumbering \blank \startlinenumbering \startparagraph \input

[NTG-context] Re: Time stamp on PDFs

2025-06-20 Thread John Was
the > > plain TeX primitive \time (and when out of curiosity I tried '\the\time' > > this returned a mysterious number - today it is '691' - which doesn't > > seem relevant). > > Use \currenttime, the following example shows also how to use the result >

[NTG-context] Re: Time stamp on PDFs

2025-06-20 Thread Wolfgang Schuster
ut of curiosity I tried '\the\time' this returned a mysterious number - today it is '691' - which doesn't seem relevant). Use \currenttime, the following example shows also how to use the result of the \time command. \starttext Current time: \currenttime \blank At t

[NTG-context] Re: Alternate text for figures that includes math

2025-06-19 Thread Matthias Weber
gt; I wonder whether it would make sense to replace your label with: > > {\externalfigure[cow][label={A cow, contemplating}] > {\blank[-3st]\color[white]{$e^{\pi i}+1=0$}}} % path > > Of course, full transparent text would make sense with other backgrounds > (either from the pa

[NTG-context] Re: Alternate text for figures that includes math

2025-06-18 Thread Pablo Rodriguez via ntg-context
y I see that tagging is lacking language (for mixed-languages documents 😅). I wonder whether it would make sense to replace your label with: {\externalfigure[cow][label={A cow, contemplating}] {\blank[-3st]\color[white]{$e^{\pi i}+1=0$}}} % path Of course, full transparent text would make sens

[NTG-context] Re: preventing next \par

2025-06-18 Thread Henning Hraban Ramm
eping the original structure of the document (two distinct paragraphs). To give you an idea, in XHTML it could be something like this: --- This is a paragraph. This is the next paragraph. --- Does \blank[nowhite,disable,back] help? Or \removeunwantedspaces ? H

[NTG-context] Re: fake small caps

2025-06-12 Thread Wolfgang Schuster
don’t work, which makes sense. https://wiki.contextgarden.net/Pseudo_Small_Caps looks very MkII. Is there a solution? \setupbodyfont[pagella] \starttext \pseudosmallcapped{This is a Test!} \pseudoSmallcapped{This is a Test!} \pseudoSmallCapped{This is a Test!} \blank % \setupcapitals[sc=no

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

2025-05-28 Thread Wolfgang Schuster
=bytext,type=number] \setcounter[Scenecounter][1] \definedescription    [Szene]    [headstyle={\bf\WORD\rawcountervalue[Scenecounter]}, headalign=right, alternative=top, hang=none,     before=\startnarrow[left=0in,right=.5in][left,right]\blank,     after=\stopnarrow\blank,%\incrementcounter

[NTG-context] Two questions to counter in margin

2025-05-28 Thread Thomas Meyer
] \definedescription    [Szene]    [headstyle={\bf\WORD\rawcountervalue[Scenecounter]}, headalign=right, alternative=top, hang=none,     before=\startnarrow[left=0in,right=.5in][left,right]\blank,     after=\stopnarrow\blank,%\incrementcounter[Scenecounter]    ] \starttext \Szene{Int. Café Glockenspiel

[NTG-context] Re: avoid blank line

2025-05-23 Thread Thomas Meyer
Thank you, Hraban, too! Greetings Thomas Am 23.05.25 um 14:46 schrieb Henning Hraban Ramm: Am 23.05.25 um 14:32 schrieb Mikael Sundqvist: How can I avoid the blank line between "Aufblende:" and "Blabla"? \definedescription     [Szene]     [headstyle=\WORD, headalign=ri

[NTG-context] Re: avoid blank line

2025-05-23 Thread Thomas Meyer
Oh yeah! Thank you Mikael and Wolfgang! Greetings Thomas Am 23.05.25 um 14:32 schrieb Mikael Sundqvist: Hi, On Fri, May 23, 2025 at 2:21 PM Thomas Meyer wrote: Hi folks, may be I'm blind but ... How can I avoid the blank line between "Aufblende:" and "Blabla&q

[NTG-context] Re: avoid blank line

2025-05-23 Thread Henning Hraban Ramm
Am 23.05.25 um 14:32 schrieb Mikael Sundqvist: How can I avoid the blank line between "Aufblende:" and "Blabla"? \definedescription [Szene] [headstyle=\WORD, headalign=right, alternative=top, hang=none, ] \Szene{Aufblende:} Blabla Maybe \definede

[NTG-context] Re: avoid blank line

2025-05-23 Thread Wolfgang Schuster
Am 23.05.2025 um 14:19 schrieb Thomas Meyer: Hi folks, may be I'm blind but ... How can I avoid the blank line between "Aufblende:" and "Blabla"? \definedescription    [Szene]    [headstyle=\WORD, headalign=right, alternative=top, hang=none,    ] Add

[NTG-context] Re: avoid blank line

2025-05-23 Thread Mikael Sundqvist
Hi, On Fri, May 23, 2025 at 2:21 PM Thomas Meyer wrote: > > Hi folks, > > may be I'm blind but ... > > How can I avoid the blank line between "Aufblende:" and "Blabla"? > > \definedescription >[Szene] >[headstyle=\WORD, headali

[NTG-context] avoid blank line

2025-05-23 Thread Thomas Meyer
Hi folks, may be I'm blind but ... How can I avoid the blank line between "Aufblende:" and "Blabla"? \definedescription    [Szene]    [headstyle=\WORD, headalign=right, alternative=top, hang=none,    ] \Szene{Aufblende:} Blabla Thank you

[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
Am 22.05.2025 um 08:51 schrieb 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

[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: intent in \setupbackend

2025-05-18 Thread jbf
in BW/grayscale and that IngramSpark insist on pdf/x-1a? Julian On 18/5/25 18:10, Pablo Rodriguez via ntg-context wrote: On 5/18/25 06:46, jbf wrote: I have to say that I remain confused about the intent statement. Let me explain my confusion. Let's say my preamble says: \setupbackend

[NTG-context] Re: intent in \setupbackend

2025-05-18 Thread Pablo Rodriguez via ntg-context
On 5/18/25 06:46, jbf wrote: > I have to say that I remain confused about the intent statement. Let me > explain my confusion. Let's say my preamble says: > > \setupbackend > [format=PDF/X-1a:2001, > intent=default] > > (or I leave the intent blank), using the latest

[NTG-context] Re: intent in \setupbackend

2025-05-17 Thread jbf
I have to say that I remain confused about the intent statement. Let me explain my confusion. Let's say my preamble says: \setupbackend [format=PDF/X-1a:2001, intent=default] (or I leave the intent blank), using the latest Context version 2025.04.28 14:29 LMTX, my log file tells me, am

[NTG-context] Re: intent in \setupbackend

2025-05-17 Thread Pablo Rodriguez via ntg-context
On 5/17/25 09:00, jbf wrote: > Thanks Pablo, I had not seen that document. If I understand it > correctly, I could probably just leave intent=, and leaving it blank? AfaIk, according to page 3 of that document this prevents inclusion, but this is normally fine. I have tested this with a

[NTG-context] Re: intent in \setupbackend

2025-05-17 Thread jbf
Thanks Pablo, I had not seen that document. If I understand it correctly, I could probably just leave intent=, and leaving it blank? Julian On 17/5/25 16:20, Pablo Rodriguez via ntg-context wrote: This includes the ex

[NTG-context] Re: setups issue

2025-05-12 Thread Wolfgang Schuster
Am 12.05.2025 um 05:26 schrieb jbf: I have the following command which I am using as part of \setuphead[chapter]: \define[2]\MyChapterCommand% {\framed[frame=on,bottomframe=on,leftframe=off,rightframe=off,topframe=off,align=middle] {\vbox{\headtext{chapter} #1 \blank #2}}} Together with the

[NTG-context] setups issue

2025-05-11 Thread jbf
I have the following command which I am using as part of \setuphead[chapter]: \define[2]\MyChapterCommand% {\framed[frame=on,bottomframe=on,leftframe=off,rightframe=off,topframe=off,align=middle] {\vbox{\headtext{chapter} #1 \blank #2}}} Together with the rest of the \setuphead[chapter

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

2025-05-11 Thread Wolfgang Schuster
aphic{shadow} fill OverlayBox shifted (EmWidth/2,EmWidth/2) withcolor "lightgray" ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic \defineoverlay [shadow] [\useMPgraphic{shadow}] \setupexternalfigures[location=default] \starttext \externalfigure[mill] \blank \exte

[NTG-context] Re: List of abbreviations

2025-05-10 Thread Wolfgang Schuster
\startquest \NC 1. \NC question 1 \NC\NR \NC 2. \NC question 2 \NC\NR \stopquest \stoptext Tabulate add by default \blank before and after an table, to remove the line add the following after \definetabulate. \setuptabulate [quest] [before=,after=] Wolfgang

[NTG-context] Re: \ifnum with two \recurselevel

2025-05-09 Thread Hans Hagen
see that some crazy things (such as the following) are possible: \starttext \dorecurse{2}{% \dorecurse{3}{% \dorecurse{4}{% \dorecurse{5}{% \dorecurse{6}{% #1:##1:1:1:1 }\\ }\blank[.25st]}\blank[.5st]}\blank[1st

[NTG-context] Re: \ifnum with two \recurselevel

2025-05-08 Thread Pablo Rodriguez via ntg-context
wing) are possible: \starttext \dorecurse{2}{% \dorecurse{3}{% \dorecurse{4}{% \dorecurse{5}{% \dorecurse{6}{% #1:##1:1:1:1 }\\ }\blank[.25st]}\blank[.5st]}\blank[1st]} \stoptext I mean, accessing different levels of rec

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

2025-04-24 Thread Jim
gt;> \fi >> ... command to start Section 2.11 ... >> but just putting >> \testpage[5] % or whatever number one likes >> ... command to start Section 2.11 ... >> takes care of both formats. > 1. You can add \testpage to t

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

2025-04-24 Thread Wolfgang Schuster
ou can add \testpage to the argument of the before key. 2. You can use modes for settings which apply for screen (or print) only. \startmode[screen] \setuphead[section][before={\testpage[4]\blank[...]}] \stopmode Wolfgang ___

[NTG-context] Re: Optional delimited arguments with key-value sets?

2025-04-23 Thread Wolfgang Schuster
\def\dodefinemycommand[#1][#2]% {\getparameters[\??xx#1][#2]} \def\mycommand% {\dodoubleargumentwithset\dodefinemycommand\strut\blank[2*big] See what happens: \@@xxonex} and call it with: *\mycommand[one,two][x=1,y=2]* ** This yields a fatal error; while I'd expect something like: *See what

[NTG-context] Optional delimited arguments with key-value sets?

2025-04-23 Thread G.C.H.M. Verhaag via ntg-context
mmand% {\dodoubleargumentwithset\dodefinemycommand\strut\blank[2*big] See what happens: \@@xxonex} and call it with: *\mycommand[one,two][x=1,y=2]* ** This yields a fatal error; while I'd expect something like: *See what happens: 1* What am I doing wrong here? ** ** Gerard P.S. Curre

[NTG-context] Re: How do I remove the indent of a table-in-itemize?

2025-04-15 Thread LPr Pontex
\stoptabulate > >\stopitemize > >\stopitemize > > \stoptext > > > > > > How do I remove the blank space in front of the table, marked by the > > green line in the picture, so that the text "- Aaa Bbb" moves just below > >

[NTG-context] Re: How do I remove the indent of a table-in-itemize?

2025-04-15 Thread Wolfgang Schuster
b \AR         \stoptabulate       \stopitemize   \stopitemize \stoptext How do I remove the blank space in front of the table, marked by the green line in the picture, so that the text "- Aaa Bbb" moves just below the "- Ddd"? Use either \startnarrower[-left] \starttabulate[|

[NTG-context] How do I remove the indent of a table-in-itemize?

2025-04-15 Thread LPr Pontex
ptext How do I remove the blank space in front of the table, marked by the green line in the picture, so that the text "- Aaa Bbb" moves just below the "- Ddd"? TIA. Best regards, Lukas TabIt.mkiv

[NTG-context] Re: \switchtobodyfont issue

2025-04-10 Thread Alan Bowen
: Издање и штампа државне штампариjе}, pp.\ 504–505). } \blank[big,fixed] B. \switchtobodyfont[9pt]{ First published by Stojan Novaković in 1877 in his anthology \modCyr{\emph{Примери књижевности и jезика старога и српско-словенскога}} (Belgrade/\modCyr{Београд: Издање и штампа државне штампариjе

[NTG-context] Re: \switchtobodyfont issue

2025-04-10 Thread Wolfgang Schuster
штампариjе}, pp.\ 504–505). } \blank[big,fixed] B. \switchtobodyfont[9pt]{ First published by Stojan Novaković in 1877 in his anthology \modCyr{\emph{Примери књижевности и jезика старога и српско- словенскога}}  (Belgrade/\modCyrfn{Београд: Издање и штампа државне штампариjе}, pp.\ 504–505

[NTG-context] Re: \switchtobodyfont issue

2025-04-10 Thread Alan Bowen
\modCyr{\emph{Примери књижевности и jезика старога и српско-словенскога}} > (Belgrade/\modCyr{Београд: Издање и штампа државне штампариjе}, pp.\ > 504–505). > } > > \blank[big,fixed] > > B. > \switchtobodyfont[9pt]{ > First published by Stojan Novaković in 1877 in his

[NTG-context] \switchtobodyfont issue

2025-04-10 Thread Alan Bowen
I have the following: \starttext A. \switchtobodyfont[10pt]{ First published by Stojan Novaković in 1877 in his anthology \modCyr{\emph{Примери књижевности и jезика старога и српско-словенскога}} (Belgrade/\modCyr{Београд: Издање и штампа државне штампариjе}, pp.\ 504–505). } \blank[big,fixed

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

2025-04-06 Thread Riviera Taylor
terium=all, method=global, dataset=default, group=default ] \setupbtxlist[default] [alternative=paragraph, margin=3\emwidth, before=\blank, af

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

2025-04-05 Thread Bruce Horrocks
> On 5 Apr 2025, at 13:38, Joel via ntg-context wrote: > > Basically, I need a way for the code to check, "Does standard1 appear in > chapter 1?" If yes, put a checkmark. If not, leave blank. Something like this? (I've kept it simple but more verbose: you could

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

2025-04-05 Thread Joel via ntg-context
\bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD   \eTR \eTABLE Basically, I need a way for the code to check, "Does standard1 appear in chapter 1?" If yes, put a checkmark. If not, leave blank. if sta

[NTG-context] How to get TABLE to start on the same page, split when needed?

2025-04-01 Thread Joel via ntg-context
way too much paper, it means I have instructions, then the activity appears on the entirely next page, with a big unneeded blank space given. I need the table to start, then split whenever the end of the page is reached. In the wiki, I found this comment from 2021: "Beware: Split tables often

[NTG-context] Re: Problem with JPEG2000 inclusion in 2025.02.28 update

2025-03-23 Thread Jim
th these kind of images? No, the issue does not seem to be the viewers. It is not like there is a blank spot where the image is, instead I see the grey box that context puts in when it can't find or read or ... an image that you asked for. Also, just for completeness, xpdf, evince, whatever

[NTG-context] Re: Problem with JPEG2000 inclusion in 2025.02.28 update

2025-03-23 Thread Pablo Rodriguez via ntg-context
On 3/23/25 17:30, Jim wrote: > No, the issue does not seem to be the viewers. It is not like there is a > blank spot where the image is, instead I see the grey box that context puts > in when it can't find or read or ... an image that you asked for. Sorry, Jim, I have just

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

2025-03-23 Thread Pablo Rodriguez via ntg-context
relevant parts): \setuphead[chapter] [before={\blank[none, preference]\testcolumn[5]}, after={\blank[none, samepage]}] Well, the problem is that only the Greek text appears at the end of the first page (no translation is shown at the end of the first or second page), and all

[NTG-context] Re: Disappearing mathqed

2025-03-20 Thread Jacob Kauffmann via ntg-context
Dear Matthias, try adding \dontleavehmode immediately before \stopProof. Works in both cases. Best, Jacob > Am 16.03.2025 um 17:09 schrieb Matthias Weber : > > Dear All, > > The \mathqed symbol disappears when there is a blank line before \stopProof. > It also disappea

[NTG-context] Disappearing mathqed

2025-03-16 Thread Matthias Weber
Dear All, The \mathqed symbol disappears when there is a blank line before \stopProof. It also disappears when there is a float directly before \stopProof. (Maybe this is intentional to encourage ending proofs with words?) Thanks, Matthias \defineenumeration [Proof] [alternative=serried

[NTG-context] Re: \placefigure conundrum

2025-03-15 Thread Jim
On Fri, Mar 14, 2025 at 17:16 (-), autumnus wrote: > My opinion is that these values are completely inherited from setupalign, > so you can observe their differences through the following examples: > \starttext\showgrid > \framed[height=2\baselineskip]{Thus,} \

[NTG-context] Re: \placefigure conundrum

2025-03-14 Thread autumnus
My opinion is that these values are completely inherited from setupalign, so you can observe their differences through the following examples: \starttext\showgrid \framed[height=2\baselineskip]{Thus,} \blank[2*line] \framed[align=high,height=2\baselineskip]{Thus,}\blank[2*line

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

2025-03-13 Thread roberto . bianchi
finebodyfontenvironment[ 8pt][a=10pt,b=11pt,c=12pt,d=14pt] \setupbodyfont [heros, 10pt, sansserif] %% *** %% CUSTOMISATION OF THE SECTION COMMANDS %%

[NTG-context] Grid and setupparagraphs problem, LMTX and MkIV

2025-03-07 Thread Rik Kabel
] [before=\blank[line],after=\blank[line], ]  \setupparagraphs[TwoCols] [2] [width=.6\textwidth] \starttext \input dawkins\par \input dawkins\par \startTwoCols abc\nextTwoCols abc\stopTwoCols

[NTG-context] Re: MetaPost behaviour differs between standalone and \startreusableMPgraphic

2025-02-19 Thread Hans Hagen
ed i; endfor; \stopreusableMPgraphic On Feb 18, 2025, at 3:28 PM, Pavneet Arora via ntg-context wrote: I am in the process of converting a bunch of old TikZ notepaper templates to native ConTeXt and MetaPost. This is a part of a project to generate notebooks with documentation data and t

[NTG-context] Re: MetaPost behaviour differs between standalone and \startreusableMPgraphic

2025-02-18 Thread Gavin via ntg-context
bunch of old TikZ notepaper > templates to native ConTeXt and MetaPost. This is a part of a project > to generate notebooks with documentation data and then blank pages appended to > fill out full sheets, and then collated in a particular order for trimming and > binding. > > As

[NTG-context] MetaPost behaviour differs between standalone and \startreusableMPgraphic

2025-02-18 Thread Pavneet Arora via ntg-context
I am in the process of converting a bunch of old TikZ notepaper templates to native ConTeXt and MetaPost. This is a part of a project to generate notebooks with documentation data and then blank pages appended to fill out full sheets, and then collated in a particular order for trimming and

[NTG-context] The formula after the text

2025-02-17 Thread Ursula Hermann
(von Proposition \goto{7.3.53} [Abschnitt:1]). \tf Die Eigenschaften (i)-(iii) fol-\par gen unmittelbar durch leichte Rechnung aus der Definition. \blank (iv) \quad Wir berechnen \m {u × (v × w)}: \startformula \startalign[n=2, align={1: right, 2: right}] \NC u \times (v \times \ w) \NC = u

[NTG-context] Re: The formula after the text

2025-02-17 Thread Wolfgang Schuster
7.3.53}} \usecolors[svg] \setupinteraction   [state=start,    contrastcolor=cornflowerblue] \reference[Abschnitt:1]{7.3.52} {\bi Beweis (von Proposition \goto{7.3.53} [Abschnitt:1]). \tf Die Eigenschaften (i)-(iii) fol-\par gen unmittelbar durch leichte Rechnung aus der Definition. \blank (iv

[NTG-context] The formula after the text

2025-02-17 Thread Ursula Hermann
=cornflowerblue] \reference[Abschnitt:1]{7.3.52} {\bi Beweis (von Proposition \goto{7.3.53} [Abschnitt:1]). \tf Die Eigenschaften (i)-(iii) fol-\par gen unmittelbar durch leichte Rechnung aus der Definition. \blank (iv) \quad Wir berechnen \m {u × (v × w)}: \startformula \startalign[n=2, align={1

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-14 Thread Thomas Meyer
acode function userdata.Ddate(str)    local year  = string.sub(str,1,4)    local month = string.sub(str,5,6)    local day   = string.sub(str,7,8) context.date({d=day,m=month,y=year},{"weekday,{, },day, {. },month,space,year"}) end \stopluacode \def\DDate#1{\blank\noindentatio

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-13 Thread Wolfgang Schuster
nth = string.sub(str,5,6)   local day   = string.sub(str,7,8) context.date({d=day,m=month,y=year},{"weekday,{, },day, {. },month,space,year"}) end \stopluacode \def\DDate#1{\blank\noindentation{\bf\ss\ctxlua{userdata.Ddate("#1")}}\\ } You can use \testpage to for

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-13 Thread Thomas Meyer
/Don't use these \\ shortcuts ... just \par will do. /Okay! / Anyway, yopu can try this: / / \def\DDate#1%   {\blank   \noindentation{\bf\ss\ctxlua{userdata.Ddate("#1")}}   \blank[samepage]} /That works! *Thank you Hans!* Greetings Thomas Am 13.02.25 um 13:10 schrieb Han

[NTG-context] Re: prevent a kind of heading at the bottom of the page

2025-02-13 Thread Hans Hagen via ntg-context
ot;}) end \stopluacode \def\DDate#1{\blank\noindentation{\bf\ss\ctxlua{userdata.Ddate("#1")}}\\ } Don't use these \\ shortcuts ... just \par will do. Anyway, yopu can try this: \def\DDate#1% {\blank \noindentation{\bf\ss\ctxlua{userdata.Ddate("#1

[NTG-context] prevent a kind of heading at the bottom of the page

2025-02-13 Thread Thomas Meyer
topluacode \def\DDate#1{\blank\noindentation{\bf\ss\ctxlua{userdata.Ddate("#1")}}\\ } \starttext \DDate{20250101} \samplefile{knuth} \DDate{20250102} \samplefile{knuth} \DDate{20250103} \samplefile{knuth} ... \stoptext But if the DDate line is moved to the bottom of the page, it i

[NTG-context] Re: externalimage alignment inside frame changed from previous context version

2025-02-12 Thread Hans Hagen via ntg-context
}, before={% \setups[chapter:before] \blank[\measure{beforeheightbig},force] }, after={\blank[3*big]\doif{\getvariable{book}{letrine}}{true}{\placeinitial

[NTG-context] externalimage alignment inside frame changed from previous context version

2025-02-12 Thread chindea . daniel
={% \setups[chapter:before] \blank[\measure{beforeheightbig},force] }, after={\blank[3*big]\doif{\getvariable{book}{letrine}}{true}{\placeinitial}}% ] ___ If your

[NTG-context] Example, the formular is too much in the middle, should be mor left

2025-02-11 Thread Ursula Hermann
]{7.3.52} {\bi Beweis (von Proposition \goto{7.3.53} [Abschnitt:1]). \tf Die Eigenschaften (i)-(iii) fol-\par gen unmittelbar durch leichte Rechnung aus der Definition. \blank (iv) \space \space Wir berechnen \m u × (\m v × \m w):\nospace \startformula \m u ×(\m v × \m w )=\m u × \startmathmatrix[fences

[NTG-context] Re: parallel texts with columnsets

2025-02-07 Thread Hans Hagen via ntg-context
llel][R][2] \startsetups balance:example \balancetopskip\strutht \balancebottomskip \strutdp \stopsetups \setuphead [chapter] [before=\blank[2*line]\testcolumn[5], after=\blank[line,samepage], page=] \setuppagenumbering [alternative=doublesided] \starttext

[NTG-context] Re: Kerning ignored on some macOS TTC fonts

2025-02-05 Thread Paul Schalck via ntg-context
f} \def\test{\tf\ctxlua{tex.print(fonts.hashes.properties[font.current()].fullname)}\crlf\smpl\bf\smpl\it\smpl\bi\smpl\blank} \starttext \enabletrackers[visualizers.fontkern] \test \stoptext cambria_ttc_test.pdf Description: Adobe

[NTG-context] Kerning ignored on some macOS TTC fonts

2025-02-03 Thread Paul Schalck via ntg-context
definetypeface [optim] [ss] [sans] [optima][default] \definetypeface [servk] [ss] [sans] [seravek] [default] \setupbodyfont [10pt] \def\smpl{VO WA LT Vo Va Ty \bgroup\enabletrackers[visualizers.glyph]fi fl\egroup\crlf} \def\test{\tf\ctxlua{tex.print(fonts.hashes.properties[fo

[NTG-context] Re: Spacing between Chapter title and first paragraph sometimes changes

2025-01-13 Thread Keith McKay
tups along with a few others for divs, images and some other tags. For the chapters setup I use: \setuphead[chapter][page=no, number=no, header=empty, align=middle, after={\blank[3cm]}] I would expect that using this \setuphead, there should be a gap of three cm between

  1   2   3   4   5   6   7   8   9   10   >