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

2025-07-10 Thread Jean-Pierre Delange via ntg-context
skutočne nepreložiteľný), snažia dorozumievať sa v angličtine? Será por isso que os europeus, apesar de tão orgulhosos da sua própria língua (realmente intraduzível), procuram fazer-se entender em inglês? To pewnie dlatego Europejczycy, mimo że są tak dumni ze swojego języka (który na

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

2025-07-09 Thread Hans Hagen via ntg-context
k (ktorý je skutočne nepreložiteľný), snažia dorozumievať sa v angličtine? Será por isso que os europeus, apesar de tão orgulhosos da sua própria língua (realmente intraduzível), procuram fazer-se entender em inglês? To pewnie dlatego Europejczycy, mimo że są tak dumni ze swojego języka (który

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

2025-07-09 Thread Keith McKay
ους (η οποία είναι πραγματικά αμετάφραστη), > προσπαθούν να επικοινωνούν στα αγγλικά. > > Je to snáď dôvod, prečo sa Európania, ktorí sú tak hrdí na svoj vlastný > jazyk (ktorý je skutočne nepreložiteľný), snažia dorozumievať sa v > angličtine? > > Será por isso que os europeus,

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

2025-07-09 Thread Jean-Pierre Delange via ntg-context
ν στα αγγλικά. Je to snáď dôvod, prečo sa Európania, ktorí sú tak hrdí na svoj vlastný jazyk (ktorý je skutočne nepreložiteľný), snažia dorozumievať sa v angličtine? Será por isso que os europeus, apesar de tão orgulhosos da sua própria língua (realmente intraduzível), procuram fazer-se entend

[NTG-context] Re: Dashes and hyphens

2025-07-07 Thread John Was
ntent=webmail> <#m_-8229328929494425726_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Sun, 6 Jul 2025 at 17:12, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Am 06.07.2025 um 16:19 schrieb John Was: > > Hello > > > > Is there a way in ConTeX

[NTG-context] Re: Dashes and hyphens

2025-07-06 Thread Wolfgang Schuster
Am 06.07.2025 um 16:19 schrieb John Was: Hello Is there a way in ConTeXt to allow line-breaking by default after an en or em dash (-- or ---)?  The equivalent of \XeTeXdashbreakstate=1 I couldn't see anything after trying various searches. Conversely, is there a way of inhibiting Co

[NTG-context] Re: Dashes and hyphens

2025-07-06 Thread Hans Hagen via ntg-context
On 7/6/2025 4:19 PM, John Was wrote: Hello Is there a way in ConTeXt to allow line-breaking by default after an en or em dash (-- or ---)?  The equivalent of \XeTeXdashbreakstate=1 I couldn't see anything after trying various searches. Just try: \starttext \hsize1mm test-tes

[NTG-context] Dashes and hyphens

2025-07-06 Thread John Was
Hello Is there a way in ConTeXt to allow line-breaking by default after an en or em dash (-- or ---)? The equivalent of \XeTeXdashbreakstate=1 I couldn't see anything after trying various searches. Conversely, is there a way of inhibiting ConTeXt from hyphenating an already hyphe

[NTG-context] Re: K with combining macron below

2025-05-28 Thread Denis Maier via ntg-context
t the correct placement of the macron? > > > > Best, > > > > Denis > > > > %%%% > > > > \definefontfamily[cardo][rm][Cardo] > > > > \setupbodyfont[ > > > > mainface, > > > >

[NTG-context] Re: K with combining macron below

2025-05-28 Thread Hans Hagen via ntg-context
ght. How can I get the correct placement of the macron? Best, Denis \definefontfamily[cardo][rm][Cardo] \setupbodyfont[     mainface,     11pt,     ] \starttext {\em ḵabc} (with macron) {\em ḵabc} (with combining macron) \switchtobodyfont[ca

[NTG-context] Re: K with combining macron below

2025-05-26 Thread denis.maier
, ] \starttext {\em ḵabc} (with macron) {\em ḵabc} (with combining macron) \switchtobodyfont[cardo] {\em ḵabc} (with macron) {\em ḵabc} (with combining macron) {ḵabc} (with combining macron) \stoptext

[NTG-context] K with combining macron below

2025-05-20 Thread denis.maier
, 11pt, ] \starttext {\em ḵabc} (with macron) {\em ḵabc} (with combining macron) \switchtobodyfont[cardo] {\em ḵabc} (with macron) {\em ḵabc} (with combining macron) {ḵabc} (with combining macron) \stoptext

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

2025-04-06 Thread Riviera Taylor
on=default, authorconversion=normal] \definebtxdataset[default] \definebtx[default:cite] [default=, specification=default, separator:2={ and }, otherstext={\btxspace\em{et al.}}, etallimit=3, ] \definebtx[default:c

[NTG-context] Re: Can context automatically italicize foreign words?

2025-03-20 Thread Rik Kabel
On 2025-03-20 18:29, jbf wrote: At least for the Index, Joel, here is how I achieved that: \defineprocessor[special][style=italic] And then by way of an example in the text referring to a newspaper: \index{special->Age, The} {\em The  Age} of 31 July 2018 Julian On 21/3/25 03:28, Joel

[NTG-context] Re: Can context automatically italicize foreign words?

2025-03-20 Thread jbf
At least for the Index, Joel, here is how I achieved that: \defineprocessor[special][style=italic] And then by way of an example in the text referring to a newspaper: \index{special->Age, The} {\em The  Age} of 31 July 2018 Julian On 21/3/25 03:28, Joel via ntg-context wrote: Its com

[NTG-context] Re: new upload

2025-02-04 Thread Wolfgang Schuster
Am 04.02.2025 um 19:12 schrieb Rik Kabel: On 2025-02-04 11:59, Hans Hagen wrote: Hi, NOTA BENE: The next upload is kind of special so best save the old tex tree if you update. Indeed. The following \normalizefontwidth \FontA {ABCDEF} {\textwidth} {SerifItalic} \starttext   \

[NTG-context] Re: Zigzag left margin with italics

2024-11-03 Thread Mikael Sundqvist
the first sentence in the demonstration.\\ {\em Then} the next sentence in the paragraph follows.\\ You can see that the italic {\em T} appears to be a bit indented.\\ {\em There } might be a way to shift it to the left that little bit.\\ Perhaps a protrusion setting.\\ {\em This} does appear to depend

[NTG-context] Zigzag left margin with italics

2024-11-03 Thread Rik Kabel
]    [default]    [protrusion=quality,expansion=quality] \setupalign    [hz,hanging] \startbuffer Here is a line of text, the first sentence in the demonstration.\\ {\em Then} the next sentence in the paragraph follows.\\ You can see that the italic

[NTG-context] Re: How can a macro check how many items are in a list?

2024-11-03 Thread vm via ntg-context
and/or add the number of items to be expected: \starttexdefinition protected thisiymylist [#1] \getcommalistsize[#1] \doifelse{\commalistsize}{1} {Read the prompt below:\par} {Read {\em all} the \the\numexpr \commalistsize -1\relax\ prompts below:\par} \startitemize[n

[NTG-context] Footnote in a cell inside a row into a table !

2024-10-11 Thread Jean-Pierre Delange
ears in my code: \startxtable[option=stretch, align={middle,lohi}, frame=off, distance=0.5em] \startxrow \startxcell \em Ambrosianus\footnote{Cf. \cite[alternative=entry][Bibliography::mai1]} \stopxcell \stopxrow \stopxtable All preliminary declarations into the file are made correctly, as is the

[NTG-context] Re: crossreferences

2024-09-29 Thread Wolfgang Schuster
\setupheadertexts[section][pagenumber][pagenumber][chapter] \mainlanguage[en] Not necessary because english is the default language. \setupbodyfontenvironment [default][em=italic] Not necessary for charter because there is only a italic style, you need this only for fonts which have an italic and slant

[NTG-context] Re: Indexing redux

2024-09-28 Thread Rik Kabel
page numbers enabled? This would enabled /See also/ entries to be generated with something like \setregisterentry[TopicIndex][keys:2=zzz,entries:1=punctuation,entries:2={{\em     See also} marking}]% I do see that there is an alternative key defined for the command, but no explanation of what the

[NTG-context] Re: crossreferences

2024-09-27 Thread Jürgen Hanneder via ntg-context
start] \setupheadertexts[section][pagenumber][pagenumber][chapter] \mainlanguage[en] \setupbodyfontenvironment [default][em=italic] \definefontfeature[default][default][fakecombining=yes,compose=yes,itlc=yes,protrusion=quality,expansion=quality,onum=yes] \setupbodyfont[xcharter,10pt] \setupali

[NTG-context] Re: Indexing redux

2024-09-27 Thread Wolfgang Schuster
=punctuation,entries:2={{\em See also} marking}]% I do see that there is an alternative key defined for the command, but no explanation of what the alternatives are and if any would help. You have to set "ownnumber=yes" but I don't think the feature is supported at the moment

[NTG-context] Indexing redux

2024-09-27 Thread Rik Kabel
Hello experts, Is there a way to generate an entry without a page number in an register that has page numbers enabled? This would enabled /See also/ entries to be generated with something like \setregisterentry[TopicIndex][keys:2=zzz,entries:1=punctuation,entries:2={{\em See also

[NTG-context] Re: ConTeXt beginner, What should I enable within font features? And how do I see all the options possible?

2024-09-07 Thread Wolfgang Schuster
ouldn't be necessary to add "itlc" anymore to get italic correction for \em etc. is there some stuff like the extrafeatures option or anything that you would recommend i enable? might there be options for extrakerns that would be seen as something that one should enable? also,

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

2024-09-04 Thread Gerion Entrup
> is slanted), such as in: > > \setupbodyfontenvironment [default] [em=italic] > > \define\somename{HX{\em print}\autoinsertnextspace} > > I hope it helps, > > Pablo Thank you, that works for the minimal example and in my case but has the side effect t

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

2024-09-03 Thread Pablo Rodriguez via ntg-context
ll ConTeXt to combine them, so that it is bold > _and_ italic? Hi Gerion, you may combine emphasis with bold and set emphasis to italic (default is slanted), such as in: \setupbodyfontenvironment [default] [em=italic] \define\somename{HX{\em print}\autoinsertnextspace}

[NTG-context] Re: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-29 Thread Jim
ys:" means? > Italic correction is fixed (for \/ and \italiccorrection) but there hasn't > been a new context release since then. > The \em variant didn't work because it inserts \/ (which was broken) at the > end of the text. Thanks Wolfgang. I rea

[NTG-context] Re: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-29 Thread Wolfgang Schuster
ever, since the second two don't work, can anyone speculate as to what I might be doing wrong? Or, did I somehow misinterpret what "There are three ways:" means? Italic correction is fixed (for \/ and \italiccorrection) but there hasn't been a new context release since

[NTG-context] Re: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-29 Thread Jim
In short, I cannot seem to produce italic correction like I could in >> plain TeX or even LaTeX. > There are three ways: > the{\sl air\/}port > the{\em air}port > the{\sl\shapecorrection[right]air}port > % shape correction can be left right both > the first one doesn

[NTG-context] Re: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-27 Thread Vladimir Grbić
d after some initial testing I > > noticed an unexpected behavior regarding italic correction. > > > > In short, I cannot seem to produce italic correction like I could in plain > > TeX or even LaTeX. > > There are three ways: > > the{\sl air\/}port > > t

[NTG-context] Re: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-27 Thread Hans Hagen
. There are three ways: the{\sl air\/}port the{\em air}port the{\sl\shapecorrection[right]air}port % shape correction can be left right both the first one doesn't work but is fixed in next upload (sometime this week)

[NTG-context] Re: understanding units / dimensions

2024-08-26 Thread Hans Hagen via ntg-context
On 8/25/2024 2:15 PM, Wolfgang Schuster wrote: How differs "1" from "2"? * em fs \startbuffer[dimensions] \starttabulate \NC em \EQ \the\dimexpr1em\relax \NC\NR % \emwidth \NC fs \EQ \the\dimexpr1fs\relax \NC\NR % \globalbodyfontsize \stoptabulate \stopbuffer \s

[NTG-context] Re: understanding units / dimensions

2024-08-25 Thread Henning Hraban Ramm
I didn’t guess “registers” was relevant. Questions: How differs "1" from "2"? * em fs \NC em \EQ \the\dimexpr1em\relax \NC\NR % \emwidth \NC fs \EQ \the\dimexpr1fs\relax \NC\NR % \globalbodyfontsize Ok, so they can differ minimally; in my 10pt setup I get the same v

[NTG-context] Re: understanding units / dimensions

2024-08-25 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 25.08.2024 um 13:45: At the meeting I noted a few units that I didn’t know about, while I already knew many. * general units: in, m, cm, mm (ft?) * typographical units: pt, dd, bp, pc, cc, sp * font related: em, ex, fs, fa, fd, fc, ch * layout related: pw, ph, tw

[NTG-context] understanding units / dimensions

2024-08-25 Thread Henning Hraban Ramm
At the meeting I noted a few units that I didn’t know about, while I already knew many. * general units: in, m, cm, mm (ft?) * typographical units: pt, dd, bp, pc, cc, sp * font related: em, ex, fs, fa, fd, fc, ch * layout related: pw, ph, tw, th, cw, cd, lw, hs, vh * frame related: fw, fh, fo

[NTG-context] Re: Number in a circle

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/27/24 19:10, Kip Warner wrote: > [...] > Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it > failed: > >Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, >bp, dk, or54sp; but yours is a new one! I'll assume that you me

[NTG-context] Re: Number in a circle

2024-05-27 Thread Wolfgang Schuster
round,   radius=.5fw,   offset=none] \starttext \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank} \stoptext Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it failed: Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, dk, or54sp; but yours

[NTG-context] Re: Number in a circle

2024-05-27 Thread Kip Warner
;   radius=.5fw, >   offset=none] > > \starttext > \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank} > \stoptext Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it failed: Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, dk

[NTG-context] Re: \luaescapestring in proper Lua

2024-04-10 Thread Hans Hagen via ntg-context
([[\luaescapestring{#1}]])}} \PrintTheThing{a \em b {c}} \stoptext I wonder whether there is a proper way in the Lua code to avoid [[\luaescapestring{}]] in \ctxlua. BTW, [[\luaescapestring{}]] in \ctxlua works better for me, since in my real world document, I’m using str:match() to check

[NTG-context] \luaescapestring in proper Lua

2024-04-10 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode function document.print_the_thing(str) context(str) end \stopluacode \unexpanded\def\PrintTheThing#1{% \ctxlua{document.print_the_thing([[\luaescapestring{#1}]])}} \PrintTheThing{a \em b {c}} \stoptext I

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Hans Hagen
On 4/6/2024 1:38 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 06.04.2024 um 12:23: Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no p

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 06.04.2024 um 12:23: Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some day

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Henning Hraban Ramm
Am 06.04.24 um 11:43 schrieb madiazm.eo...@gmail.com: Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works... and somedays I see three small hyphens. I t

[NTG-context] incosistent output of --- dash

2024-04-06 Thread madiazm . eoicc
Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works... and somedays I see three small hyphens. I tried it on overleaf and of ContextOnWeb with the same inc

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Hans Hagen
. \enableexperiments[fonts.compact] \definefontfamily[mainface][rm][TeX Gyre Termes]   [it={style:regular, features:{default,slanted}},    sl={style:regular, features:{default,slanted}}] \setupbodyfont[mainface] \starttext \startstyle[style=italic]normal {\em emphasized} normal\stopstyle \stoptext The

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Wolfgang Schuster
[mainface][rm][TeX Gyre Termes] [it={style:regular, features:{default,slanted}}, sl={style:regular, features:{default,slanted}}] \setupbodyfont[mainface] \starttext \startstyle[style=italic]normal {\em emphasized} normal\stopstyle \stoptext The only way to mask the effect is to create a new

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Pablo Rodriguez via ntg-context
umulate, like > [...] > which you will now wikify... Many thanks for your reply, Hans. I will wikify this, once I figure out where it can fit in the wiki (in due time, since ConTeXt is more and more complex for me lately and my free time is less and less these days). I only used \enableexpe

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Hans Hagen via ntg-context
On 3/10/2024 9:32 AM, Pablo Rodriguez via ntg-context wrote: On 3/9/24 16:04, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: [...] \enableexperiments[fonts.compact] Which seeems weird to me. Or at least, I thought I read that Hans enabled it by def

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Pablo Rodriguez via ntg-context
On 3/9/24 16:04, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: >> [...] >>\enableexperiments[fonts.compact] >> >> Which seeems weird to me. Or at least, I thought I read that Hans >> enabled it by default in LMTX. > > AFAIR Hans uses the setting in h

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-09 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: On 3/8/24 19:09, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: [...] LMTX gets b, c and d in slanted form. LuaTeX gets only b and c in slanted form. [...] I get b and d in italic which i

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Pablo Rodriguez via ntg-context
On 3/8/24 19:09, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: >> [...] >> LMTX gets b, c and d in slanted form. >> >> LuaTeX gets only b and c in slanted form. > [...] > I get b and d in italic which is the expected output. Sorry, my LuaTeX is getting

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Henning Hraban Ramm
={style: regular, features:{default, quality, slanted}}, sl={style: regular, features:{default, quality, slanted}}] \setupbodyfontenvironment [default] [em=italic] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a\\ \em b\\ \em c\\ \em d

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Wolfgang Schuster
={style: regular, features:{default, quality, slanted}}, sl={style: regular, features:{default, quality, slanted}}] \setupbodyfontenvironment [default] [em=italic] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a\\ \em b\\ \em c\\ \em d

[NTG-context] \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Pablo Rodriguez via ntg-context
: regular, features:{default, quality, slanted}}] \setupbodyfontenvironment [default] [em=italic] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a\\ \em b\\ \em c\\ \em d\\ \stopTEXpage \stoptext LMTX gets b, c and d in slanted form. LuaTeX gets only

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] % Use Theano Didot as Ancient Greek font \definefallbackfamily[mainface][serif

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
(see > > https://www.w3.org/TR/jlreq/#possibilities_for_linebreaking_between_character > > ) and eventually more, which I didn't test. > > It might be useful to define three scripts nihongo_loose, nihongo_strict > > and nihongo_very_strict which each implement one o

[NTG-context] Re: Japanese

2024-02-29 Thread luigi scarso
ing_between_character > ) and eventually more, which I didn't test. > > It might be useful to define three scripts nihongo_loose, nihongo_strict > and nihongo_very_strict which each implement one of the 3 cases described > here: https://www.w3.org/TR/jlreq/#addendum_a > &

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
x27;t test. > > It might be useful to define three scripts nihongo_loose, nihongo_strict and > nihongo_very_strict which each implement one of the 3 cases described here: > https://www.w3.org/TR/jlreq/#addendum_a > > According the line gap (Otared uses \setupwhitespace[big]

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
://www.w3.org/TR/jlreq/ : /It is common that the line gap for the kihon-hanmen is set to a value between half-em spacing and the one em spacing of the character frame used for the kihon-hanmen. Half-em spacing can be chosen in cases where the line length is short, but one em spacing or close

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
quote from https://www.w3.org/TR/jlreq/ : It is common that the line gap for the kihon-hanmen is set to a value between half-em spacing and the one em spacing of the character frame used for the kihon-hanmen. Half-em spacing can be chosen in cases where the line length is short, but one em spacin

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][rm][Theano

[NTG-context] Issue with italics

2024-02-26 Thread Jean-Pierre Delange
[rm] [TeX Gyre Pagella] \setupbodyfont[mainface, 11pt] \setupbodyfontenvironment[default][em=italic] \starttext Socrate est descendu au Pirée et affirme sa satisfaction du culte rendu à cette nouvelle déesse par les Thraces; néanmoins, {\em il ne nous dit rien des prières} qu'il a

[NTG-context] Re: learning about the grid

2023-11-20 Thread Wolfgang Schuster
setupinterlinearspace[1.3ex] was the right way (I read somewhere that vertical spaces should be measured in ex and horizontal spaces in em; maybe it's not widely accepted). I tried setting my interlinearspace to 3ex and it looked much better, but I must compare it with a onehalfspaci

[NTG-context] Re: learning about the grid

2023-11-20 Thread Pablo Rodriguez via ntg-context
n ex and > horizontal spaces in em; maybe it's not widely accepted). As far as I know, em is defined by the width of the capital 'M' and ex is defined by the height of the lowercase 'x'. With your requirements, I think it is easier to set line spacing to one and a ha

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
setupinterlinearspace[1.3ex] was the right way (I read somewhere that vertical spaces should be measured in ex and horizontal spaces in em; maybe it's not widely accepted). I tried setting my interlinearspace to 3ex and it looked much better, but I must compare it with a onehalfspaci

[NTG-context] Re: learning about the grid

2023-11-19 Thread madiazm . eoicc
somewhere that vertical spaces should be measured in ex and horizontal spaces in em; maybe it's not widely accepted). I tried setting my interlinearspace to 3ex and it looked much better, but I must compare it with a onehalfspacing of wordprocessors to be sure it is not such different. Sorr

[NTG-context] Problem with textstyle

2023-11-17 Thread Rik Kabel
ng a style description like /em/, /\em/, /bf/, /\bf/, /\sc,/ does produce the suggested result. The wiki and mail repository are full of examples with the former style names. Using /style=cap/ (which would change the number as well) also results in a failed compilation, while using /style=bolditalic/ w

[NTG-context] Re: command to process CSV file (database module)

2023-11-05 Thread Pablo Rodriguez via ntg-context
iki (https://wiki.contextgarden.net/Commands_with_optional_arguments). It seems that the command has to be defined as unexpanded, such as in: \setupinteraction[state=start] \setupattachments[method=hidden] \usemodule[database] \starttext \unexpanded\def\ItemContents#1#2#3{\doiftext{#2}

[NTG-context] command to process CSV file (database module)

2023-11-05 Thread Pablo Rodriguez via ntg-context
uals/bidi.pdf"; "Flowcharts","charts-mkiv.pdf", Faking a command such as \cA, \cB and \cC (for contents of columns A, B or C) I would like to create a source document with an enumeration that contains: \doiftext{\cB} {\item {\em\cA}\attachment[file=\cB]% \doift

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Pablo Rodriguez
his): \definefontfamily[mainface][rm][DejaVu Sans] [sl≃style:bf] \setupbodyfont [mainface, 100pt] \starttext \startTEXpage[offset=1ex] a {\em b} \stopTEXpage \stoptext Many thanks for your help again, Pablo

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
][DejaVu Sans] [sl={style:tf, features:{default,slanted}}]    \setupbodyfont[maf, 8pt]    \setupfittingpage[offset=1ex]    \starttext    \startTEXpage    a {\em b}    \stopTEXpage    \startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]    a {\em b}    \stopTEXpage    \stoptext Using LMTX

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Hans Hagen
:{default,slanted}}]    \setupbodyfont[maf, 8pt]    \setupfittingpage[offset=1ex]    \starttext    \startTEXpage    a {\em b}    \stopTEXpage    \startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]    a {\em b}    \stopTEXpage    \stoptext Using LMTX higher font size gives less slanted text (or not

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
] \setupfittingpage[offset=1ex] \starttext \startTEXpage a {\em b} \stopTEXpage \startTEXpage[foregroundstyle={\setupbodyfont[100pt]}] a {\em b} \stopTEXpage \stoptext Using LMTX higher font size gives less slanted text (or not at all). Using MkIV text is slanted fine

[NTG-context] slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Pablo Rodriguez
\startTEXpage a {\em b} \stopTEXpage \startTEXpage[foregroundstyle={\setupbodyfont[100pt]}] a {\em b} \stopTEXpage \stoptext Using LMTX higher font size gives less slanted text (or not at all). Using MkIV text is slanted fine, independent from font size. Could anyone confirm the issue? Many

[NTG-context] backend not forcing 1000 width units on fonts; em size must be applied or else fails

2023-08-20 Thread Carlos
Mikael, Wolfgang: This is in reference to the prior Re: redefine space to be the same as \␣ similar to knuthian approach > Maybe your system is broken? > > > > > > 2. The example below results in a correct output for \TEX. > > > > > > > Not in my end with any font other than latin modern >

[NTG-context] Re: disable header for endnotes

2023-08-16 Thread Rik Kabel
ollowing for a notes chapter at the end of a book. It produces headings that indicate the pages for which the notes apply. Perhaps you can adapt it to your needs: In the environment file: \definemarking [notePage] \startsetups noteHeadingsText {\em Notes for page \doifelse

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Hans Hagen
kday,{ },day,{ },month,{ },year] a les \currenttime, usant programari lliure (\goto{\Context}[url(http://wiki.contextgarden.net)] versió \contextversionnumber, \goto{\texenginename}[url(http://www.luatex.org)] versió \texengineversion\space i \goto{PGF/Ti{\em k}Z}[url(http://sourceforge.net/projects/pgf/)

[NTG-context] Re: Why overbar is so big

2023-08-13 Thread Xavier B.
ramari lliure (\goto{\Context}[url(http://wiki.contextgarden.net)] versió \contextversionnumber, \goto{\texenginename}[url(http://www.luatex.org)] versió \texengineversion\space i \goto{PGF/Ti{\em k}Z}[url(http://sourceforge.net/projects/pgf/)]) sota un entorn \goto{GNU/Linux}[url(https://www.linuxfounda

[NTG-context] \defineactivecharacter in LMTX + composing characters

2023-08-01 Thread Hamid,Idris
f 02BE and 02BF (ʿ ʾ). So we still need something like \defineactivecharacter ʿ {\high{c}} \defineactivecharacter ʾ {\kern.07 em \high{\rotate[rotation=180,location=high]{c}}} or better \definecharacter ʿ {\high{c}} \definecharacter ʾ {\kern.07 em \high{\rotate[rotation=180,location=high]{c}}} T

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Aditya Mahajan via ntg-context
On Fri, 19 May 2023, Jeroen via ntg-context wrote: > Many thanks. Is there a proper way to add some space (a couple of pt or em) > to the left and the right of the text itself so the frame does not get so > close to the text? \framed[loffset=0.2ex, roffset=0.2ex]{...} Also s

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
Many thanks. Is there a proper way to add some space (a couple of pt or em) to the left and the right of the text itself so the frame does not get so close to the text? Op vr 19 mei 2023 om 14:10 schreef Wolfgang Schuster via ntg-context < ntg-context@ntg.nl>: > Jeroen via ntg-context s

Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-26 Thread Werner Schmidt via ntg-context
ns] (see: Not-so-short Intro to ConTeXt (J. >>> Ataz-Lopez;English, page 114)) >>> • $ mtxrun (mtxrun is the ConTeXt TDS Runner Tool) command from a >>> terminal window it has has a large number of options for finding the fonts >>> installed, and for queryi

Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-25 Thread Bruce Horrocks via ntg-context
ptions for finding the fonts >> installed, and for querying their characteristics (see: Fonts out of ConTeXt >> (Hans Hagen, pg 52 and ff)) >> Em >> >> On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote: >> Hi conTeXt folks, >> >> may I ask ag

Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-25 Thread lynx--- via ntg-context
Xt (_J. > Ataz-Lopez;English, page 114)) > * $ MTXRUN (mtxrun is the _ConTeXt TDS Runner Tool_) command from a > terminal window it has has a large number of options for finding the fonts > installed, and for querying their characteristics (SEE: _Fonts out of ConTeXt > _(Hans Hagen

Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-25 Thread lynx--- via ntg-context
fonts installed, and for querying their characteristics (SEE: _Fonts out of ConTeXt _(Hans Hagen, pg 52 and ff)) Em On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote: > Hi conTeXt folks, > > may I ask again. How could I debug the font typesetting of PDF files with > conTeXt? &

Re: [NTG-context] structureuservariable as list

2023-02-25 Thread Alex Leray via ntg-context
rline}, translators={foo,bar,baz} ] {\em authors} \\ \commalistsentence[\structureuservariable{authors}][{ \crlf },{ \crlf }] {\em translators} \\ \processcommacommand[\structureuservariable{translators}]\dosomethingtwo \doloopoverlist {\structureuservariable{translators}} { (#1) \\ } \stopchapter \sto

Re: [NTG-context] Xml filtering in Lua

2022-11-16 Thread Denis Maier via ntg-context
> > This will be the content of the second chapter. > > > > > \stopbuffer > > \startxmlsetups xml:testsetups > \xmlsetsetup{#1}{*}{-} > \xmlsetsetup{#1}{document|chapters|chapter|content|emph}{xml: > *} > \stopxmlsetups

Re: [NTG-context] Xml filtering in Lua

2022-11-16 Thread Thomas A. Schmitz via ntg-context
\startxmlsetups xml:chapter \xmlfunction {#1} {chapter} %\xmlflush {#1} \stopxmlsetups \startxmlsetups xml:chapter:content \xmltext {#1} {content} \stopxmlsetups \startxmlsetups xml:emph {\em \xmlflush {#1}} \stopxmlsetups \startluacode function xml.funct

Re: [NTG-context] Xml filtering in Lua

2022-11-16 Thread mf via ntg-context
\xmltext {#1} {content} \stopxmlsetups \startxmlsetups xml:emph {\em \xmlflush {#1}} \stopxmlsetups \startluacode function xml.functions.chapter (t) local ch_id = t.at.ch:id local ch_id = t.at["ch:id"] local metadata = xml.filter (t, '../../topics/t

Re: [NTG-context] Xml filtering in Lua

2022-11-16 Thread Thomas A. Schmitz via ntg-context
xml:chapter:content \xmltext {#1} {content} \stopxmlsetups \startxmlsetups xml:emph {\em \xmlflush {#1}} \stopxmlsetups \startluacode function xml.functions.chapter (t) local ch_id = t.at.ch:id local metadata = xml.filter (t, '../../topics/topic[@t:id=="%s

Re: [NTG-context] Xml filtering in Lua

2022-11-16 Thread Duncan Hothersall via ntg-context
1} > \stopxmlsetups > > \startxmlsetups xml:chapters > \xmlflush{#1} > \stopxmlsetups > > \startxmlsetups xml:chapter > \xmlfunction {#1} {chapter} > \xmlflush {#1} > \stopxmlsetups > > \startxmlsetups xml:chapter:content > \xmltext

[NTG-context] Xml filtering in Lua

2022-11-16 Thread Thomas A. Schmitz via ntg-context
} \stopxmlsetups \startxmlsetups xml:chapter \xmlfunction {#1} {chapter} \xmlflush {#1} \stopxmlsetups \startxmlsetups xml:chapter:content \xmltext {#1} {content} \stopxmlsetups \startxmlsetups xml:emph {\em \xmlflush {#1}} \stopxmlsetups \startluacode function

Re: [NTG-context] new upload

2022-10-17 Thread Hans Hagen via ntg-context
is is all settled down, we can improve specific font related issues based on {\em realistic} user mwe's as we go. Concerning large operators .. it worked before so ... the main reason why in e.g. euler it failed was a configuration option (euler fonts will be fixed too) which is a side effe

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Rik Kabel via ntg-context
[footnote]    [numberconversion=set 2] \setupnotation [footnote]    [align=hanging] \setupwhitespace   [medium] \setupbodyfont [libertinus] \showframe \starttext \quotation{{\em Cantharides}} is the reported message from Sir Francis Drake upon def

Re: [NTG-context] String substitution using regular expressions and backreferences

2022-08-26 Thread Hans Hagen via ntg-context
ar text. \stopbuffer \startxmlsetups xml:xhtml \xmlsetsetup{\xmldocument}{*}{-} \xmlsetsetup{\xmldocument}{html|p|em}{xml:*}\stopxmlsetups \startxmlsetups xml:html \startdocument \xmlflush{#1} \stopdocument\stopxmlsetups % Paragraphs are followed by a paragraph break, bu

Re: [NTG-context] String substitution using regular expressions and backreferences

2022-08-25 Thread Thangalin via ntg-context
etsetup{\xmldocument}{*}{-} \xmlsetsetup{\xmldocument}{html|p|em}{xml:*}\stopxmlsetups \startxmlsetups xml:html \startdocument \xmlflush{#1} \stopdocument\stopxmlsetups % Paragraphs are followed by a paragraph break, but only if not nested.\startxmlsetups xml:p \xmlfunction{#1}{p}

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-21 Thread Hans Hagen via ntg-context
used the following code to add them (and add en and em dash substitution as well). %% start \startluacode fonts.handlers.otf.addfeature { name = "v1", -- these character substitutions will be applied to venetian-301-demi-bt type = "liga

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Bruce Horrocks via ntg-context
enetian 301 Italic Venetian301BT-Bold.otf Venetian 301 Bold venetian-301-demi-bt.ttfVenetian Dm BT Demi They each had the fi and fl ligatures, but at different character positions depending on which file, and they weren't recognised by default. So I used the following code to add

  1   2   3   4   5   6   7   8   9   10   >