Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
[features={default, dlig=no}] > \setupbodyfont[english,10pt] > \starttext > > Variant 1: > Does this look like EBGaramond? > > fi fl ffi ffl ct st > \stoptext > > > However, it turns of *all* the ligatures. > > Here is an example that works as expected, Variant 2: > >

Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread Rik Kabel
is the original? Which one are we supposed to support / configure? \definefontfeature[whatever][default][rlig=yes] % \definefontfeature[whatever][default][rlig=yes,dlig=yes] % those st and ct ligs \definefontfamily [english] [rm] [EB Garamond] [features=whatever] \definefontfamily [englis

Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread Rik Kabel
? fi fl ffi ffl ct st \stoptext However, it turns of *all* the ligatures. Here is an example that works as expected, Variant 2: \definefontfeature[english][dlig=no] \definefontfamily[ebgaramond] [rm] [EB Garamond]  [features={default,english}] \setupbodyfont[ebgaramond,10pt

Re: [NTG-context] ntg-context Digest, Vol 198, Issue 8

2020-12-02 Thread Wolfgang Schuster
lig=no}] Pass only named features sets (create with \definefontfeature) as argument to the features key. Even though "dlig=no" works at the moment this is not officially supported and can disap

Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
What commands should I use to turn them off? > > Hi Kurt, > > here you have the sample that should work: > > %~ \definefontfamily[ebgaramond] [rm] [ebgaramond] > > %~ [features={default,dlig=no}] > > \definefontfeature[english][dlig=no] > > \definefontf

Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
* the ligatures. Here is an example that works as expected, Variant 2: \definefontfeature[english][dlig=no] \definefontfamily[ebgaramond] [rm] [EB Garamond] [features={default,english}] \setupbodyfont[ebgaramond,10pt] \starttext Variant 2: Does this look like EBGaramond? fi fl ffi ffl ct st

Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread Hans Hagen
to support / configure? \definefontfeature[whatever][default][rlig=yes] % \definefontfeature[whatever][default][rlig=yes,dlig=yes] % those st and ct ligs \definefontfamily [english] [rm] [EB Garamond] [features=whatever] \definefontfamily [english] [mm] [Stix Two Math] \setupbodyfont[engli

Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread Pablo Rodriguez
[ebgaramond] %~ [features={default,dlig=no}] \definefontfeature[english][dlig=no] \definefontfamily[ebgaramond] [rm] [EB Garamond] [features={default,english}] \setupbodyfont[ebgaramond,10pt] \starttext ct st \stoptext BTW, on my system the default doesn’t get discretiona

Re: [NTG-context] Some ligatures don't work in latest LMTX

2020-11-25 Thread Jairo A. del Rio
h MkIV, but fails >> with >> > latest LMTX. >> > | >> > >> > |To be specific, the lam-alif ligature isn't working. Compile with both >> > to see differences. >> > | >> > >> > |Majalla is a Windows font, so I guess it's avai

[NTG-context] Fwd: Some ligatures don't work in latest LMTX

2020-11-24 Thread Jairo A. del Rio
owing example works fine with MkIV, but fails with > > latest LMTX. > > | > > > > |To be specific, the lam-alif ligature isn't working. Compile with both > > to see differences. > > | > > > > |Majalla is a Windows font, so I guess it's available for te

[NTG-context] Some ligatures don't work in latest LMTX

2020-11-23 Thread Jairo A. del Rio
Hi everyone. The following example works fine with MkIV, but fails with latest LMTX. To be specific, the lam-alif ligature isn't working. Compile with both to see differences. Majalla is a Windows font, so I guess it's available for testing: \mainlanguage[arabic]\definefontfeature [arabic

[NTG-context] RE : Issue with grid

2020-11-23 Thread Joseph
owgrid> > \setuplayout[grid=both]> > \definefontfeature[base][mode=node]> > \definefontfamily[mainfont][serif][EBGaramond][features=base]> > \setupbodyfont[mainfont, 9pt]> > \starttext> > \blank[line, samepage]Fin des psalmes.> > \blank[line, samepage]Fin des

Re: [NTG-context] Issue with grid

2020-11-22 Thread Hans Hagen
On 11/22/2020 5:03 PM, Joseph wrote: \definefontfeature[base][mode=node] \definefontfamily[mainfont][serif][EBGaramond][features=base] Really? No features enabled at all? EBGaramond is quite loaded with features. Just use 'default'. Hans

Re: [NTG-context] Issue with grid

2020-11-22 Thread Hans Hagen
=both] \definefontfeature[base][mode=node] \definefontfamily[mainfont][serif][EBGaramond][features=base] \setupbodyfont[mainfont, 9pt] \starttext \blank[line, samepage]Fin des psalmes. \blank[line, samepage]Fin des psalmes. \dorecurse{8}{\input knuth } \stoptext If number of itérations

[NTG-context] Issue with grid

2020-11-22 Thread Joseph
Dear list, In some cases with latest LMTX I see text not aligned to grid. MWE reproduces the problem (could not reproduce with default font).Typesetting MWE using online ConTeXt page shows correctly aligned text on grid. \showgrid\setuplayout[grid=both] \definefontfeature[base][mode=node

Re: [NTG-context] removing many lines about font in log.

2020-11-10 Thread Jeong Dal
, Dalyoung > 2020. 11. 10. 오전 1:12, Hans Hagen 작성: > > On 11/8/2020 8:05 PM, Jeong Dal wrote: >> Hi, >> The following example creates so many lines of messages about fonts in the >> log. >> \definefontfeature [default] [default] [script=hang,language=k

Re: [NTG-context] removing many lines about font in log.

2020-11-09 Thread Hans Hagen
On 11/8/2020 8:05 PM, Jeong Dal wrote: Hi, The following example creates so many lines of messages about fonts in the log. \definefontfeature [default] [default] [script=hang,language=kor] \starttext \definedfont[file:notoserifcjkkrregular*default] Korean sentences. 한글이 아름답습니다. \stoptext

[NTG-context] removing many lines about font in log.

2020-11-08 Thread Jeong Dal
Hi, The following example creates so many lines of messages about fonts in the log. \definefontfeature [default] [default] [script=hang,language=kor] \starttext \definedfont[file:notoserifcjkkrregular*default] Korean sentences. 한글이 아름답습니다. \stoptext fonts > 'fallback mod

Re: [NTG-context] issues with fonts and font effects

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 11:36 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 08.11.2020 um 11:22: >> [...] >> With all features defined, paragraph width is wrong using >> "effect={width=1.0}". > > Add auto=yes: \definefontfeature [ef1] [effect={width=1.0,auto=ye

Re: [NTG-context] weird behavior of font.feature.effect

2020-11-08 Thread Wolfgang Schuster
much for the explanation and the bug report! Just in case it helps: the line shrinking disappears with an additional "delta=0":     \definefontfamily[face3][rm][gabriola][it={features:{default, effect={width=1.0, delta=0}}}] Don't set the values within \definefontfamily: \def

Re: [NTG-context] issues with fonts and font effects

2020-11-08 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 08.11.2020 um 11:22: Hans, this sample comes from Sylvain’s message: %~ \definefontfeature[ef1][effect={width=1.0}] \definefontfeature[ef2][effect={width=}] \definefontfamily[face1][rm][gabriola] [features={default, ef1

[NTG-context] issues with fonts and font effects

2020-11-08 Thread Pablo Rodriguez
Hans, this sample comes from Sylvain’s message: %~ \definefontfeature[ef1][effect={width=1.0}] \definefontfeature[ef2][effect={width=}] \definefontfamily[face1][rm][gabriola] [features={default, ef1}] \definefontfamily[face2][rm][gabriola] [features={default, ef2

Re: [NTG-context] Font protrusion and expansion

2020-11-07 Thread Tommaso Gordini
Pagella with the font family name > and it will work fine: > > \definefontfeature > [default] > [default] > [expansion=quality,protrusion=quality] > \definefontfamily[mainface][rm][TeX Gyre Pagella] > \setupbodyfont[mainface] > \setupalign[hz,hanging

Re: [NTG-context] Font protrusion and expansion

2020-11-07 Thread Pablo Rodriguez
d to use another font, are there other things to write? Hi Tommaso, in the next sample, replace TeX Gyre Pagella with the font family name and it will work fine: \definefontfeature [default] [default] [expansion=quality,protrusion=quality] \definefontfamily[mainface][rm][TeX Gyre Page

[NTG-context] Font protrusion and expansion

2020-11-07 Thread Tommaso Gordini
Tommaso The code: \mainlanguage[it] \definefontfeature [default] [default] [expansion=quality,protrusion=quality] \usetypescript[modern-base] \setupalign[hz,hanging] \setupbodyfont[modern] \starttext ... \stoptext

Re: [NTG-context] inter-word spacing

2020-10-22 Thread Jano Kula
Hello Julian! Thank you for your hints. On Thu, 22 Oct 2020 at 11:48, jbf wrote: > 1. One factor will be whether you are using \definefontfeature > [default][default] [expansion=quality,protrusion=quality], which you > obviously then need to call in with \setupalign

Re: [NTG-context] inter-word spacing

2020-10-22 Thread jbf
Hi Jano, Seems to me that there are a few options and you might need more than one of them, depending on the font/typefaces you are using (which obviously influences things): 1. One factor will be whether you are using \definefontfeature [default][default]  [expansion=quality,protrusion

Re: [NTG-context] The correct way to add emphasis to text using italics

2020-10-21 Thread Aditya Mahajan
And using \definebodyfontenvironment[default][em=italic] to use italic > instead of slanted; for OpenType fonts, recommends using > \definefontfeature[default][default][itlc=yes] to also activate the italic > correction. However, this seems not to work in x(ht)ml export. Did you also se

[NTG-context] The correct way to add emphasis to text using italics

2020-10-21 Thread Andres Conrado Montoya
r OpenType fonts, recommends using \definefontfeature[default][default][itlc=yes] to also activate the italic correction. However, this seems not to work in x(ht)ml export. If you go to *Export*, it says: "Also note that switches like \em don’t translate into output structure, you need to \defin

Re: [NTG-context] oldstyle numerals in STIX Two Math

2020-10-21 Thread Alan Bowen
numerals. > > > > I have the oldstyle numerals in STIX Two Text, the problem is the math > font. > > > > So far, my mwe is: > > \definefontfamily[mainface][rm][STIX Two Text][] %onum=yes does not seem > to work > > \definefontfamily[mainface][mm][STIX Two Math][] &

Re: [NTG-context] oldstyle numerals in STIX Two Math

2020-10-21 Thread Henning Hraban Ramm
o Text][] %onum=yes does not seem to > work > \definefontfamily[mainface][mm][STIX Two Math][] > \definefontfeature[f:oldstyle][onum=yes] > > \setupbodyfont[mainface, 18pt] > \addfeature{f:oldstyle} > > \starttext > 123456789 > \blank[big] > $\sqrt{2} + 1234$ > \sto

[NTG-context] oldstyle numerals in STIX Two Math

2020-10-21 Thread Alan Bowen
][] \definefontfeature[f:oldstyle][onum=yes] \setupbodyfont[mainface, 18pt] \addfeature{f:oldstyle} \starttext 123456789 \blank[big] $\sqrt{2} + 1234$ \stoptext Any pointers will be greatly appreciated. Alan ___ If your

[NTG-context] expansion / hz

2020-10-15 Thread Hans Hagen
Hi, Because I'll probably forget to mention if, here is some new features (upcoming lmtx only): \definefontfeature[default][default,quality] \setupbodyfont[pagella] \starttext {whatever we want to achieve} \input tufte \setupalign[tolerant,stretch,hz] {whatever we want

Re: [NTG-context] Consequences of \zwnj for hyphenation

2020-10-14 Thread Hans Hagen
\stopexceptions will do the same but no compound dash. It's actually mostly a matter of communicating with the font handler (without hard coding solutions in the engine). As a side effect (teaser) you can do this in the upcoming lmtx: \definefontfeature[whatever][default][mode=base] \definefont[myfont

[NTG-context] Protusion and spurios empty line

2020-10-01 Thread Denis Maier
the effect! %\setupdirections[bidi=global,method=unicode] \mainlanguage[de] \setupitaliccorrection[global, always] \setupbodyfontenvironment[default][em=italic] \setupfontprotrusion [quality] [left=0] \definefontfeature[default][default][ script=latn, protrusion=quality

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> \defineuserdata > [myquote] > [alternative=myquote] > > \showframe > > \definefontfeature [default] [default] [protrusion=quality] > > \setupalign [hanging] > > \starttext > > \startuserdata [myquote] [reference={f:9},source={Kaspar Hauser (Kurt >

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Wolfgang Schuster
{reference}]{\userdataparameter{source}}}     \stopnarrow \stopsetups \defineuserdataalternative   [myquote]   [renderingsetup=userdata:myquote] \defineuserdata   [myquote]   [alternative=myquote] \showframe \definefontfeature [default] [default] [protrusion=quality] \setupalign [hanging

Re: [NTG-context] CFF2 based variable fonts with SubRS

2020-08-26 Thread Hans Hagen
when ConTeXt tried to find the Private directory in order to find local subroutines. A test font demonstrating both issues is "SourceCode Variable" https://github.com/adobe-fonts/source-code-pro/releases: The document \definefontfeature [light] [default] [axis={

[NTG-context] CFF2 based variable fonts with SubRS

2020-08-26 Thread Marcel Fabian Krüger
to find local subroutines. A test font demonstrating both issues is "SourceCode Variable" https://github.com/adobe-fonts/source-code-pro/releases: The document \definefontfeature [light] [default] [axis={weight=200}] \definefont [sourcelight] [file:SourceCodeVariable-Roman

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-08-04 Thread Jairo A. del Rio
rtical[height=.75\textheight] > > \MyFont > > \setupalign[flushleft] > > \setupinterlinespace[40pt]% > > ᠣᠢᠷ᠎ᠠ ᠵᠢᠨ ᠡᠳᠦᠷ᠂ ᠦᠪᠦᠷ ᠮᠣᠩᠭᠣᠯ ᠦᠨ ᠰᠢᠯᠢ ᠵᠢᠨ ᠭᠣᠣᠯ ᠠᠢᠮᠠᠭ ᠦᠨ ᠰᠢᠯᠣᠭᠣᠨ ᠬᠦᠬᠡ > > ᠬᠣᠰᠢᠭᠣᠨ ᠦ ᠰᠢᠭᠦᠬᠦ ᠬᠣᠷᠢᠶ᠎ᠠ ᠨᠢᠭᠡᠨ ᠬᠦᠴᠦᠷᠬᠡᠭᠯᠡᠨ ᠨᠦᠵᠢᠳᠯᠡᠭᠰᠡᠨ ᠶᠠᠯᠠᠲᠣ ᠬᠡᠷᠡᠭ ᠲᠦ >

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-08-04 Thread Hans Hagen
ᠣᠭᠣᠴᠠᠭ᠎ᠠ ᠲᠠᠢ ᠬᠣᠷᠢᠬᠣ ᠡᠷᠡᠭᠦᠦ ᠪᠡᠷ ᠰᠢᠳᠬᠡᠭᠰᠡᠨ ᠪᠠᠢᠨ᠎ᠠ᠃ \stopvertical \stoptext But it's kind of a quick hack interface. We can have alignment, interlinespace etc parameters to. Maybe definable verticals and so. Hans ps. for chinese one would probably kick in an extra feature % \definefontfeatur

Re: [NTG-context] Alphabet & color

2020-07-31 Thread Marcus Vinicius Mesquita
001] % x \definecolor[colorscheme:1:25][h=696966] % y \definecolor[colorscheme:1:26][h=7bb3ff] % z \definefontfeature [MyFeaturesA] [default] [goodies={colorfont},colorscheme=default] \definefont[MyFontA][SerifBold*MyFeaturesA] \starttext \setfontcolorscheme[1] \MyFontA \startlines aàáâãäå AÀÁÂ

Re: [NTG-context] Alphabet & color

2020-07-31 Thread Hans Hagen
rscheme:1:6][h=7c6d11]  % f \definecolor[colorscheme:1:7][h=117c2a]  % g \definecolor[colorscheme:1:8][h=6d109d]  % h \definecolor[colorscheme:1:9][h=08d11a]  % i \definecolor[colorscheme:1:10][h=a81163] % j \definecolor[colorscheme:1:11][h=7d2830] % k \definecolor[colorscheme:1:12][h=2868d1] % l

Re: [NTG-context] Alphabet & color

2020-07-31 Thread Marcus Vinicius Mesquita
rscheme:1:8][h=6d109d] % h \definecolor[colorscheme:1:9][h=08d11a] % i \definecolor[colorscheme:1:10][h=a81163] % j \definecolor[colorscheme:1:11][h=7d2830] % k \definecolor[colorscheme:1:12][h=2868d1] % l \definecolor[colorscheme:1:13][h=2c11da] % m \definecolor[colorscheme:1:14][h=cf47bb] % n \define

Re: [NTG-context] Alphabet & color

2020-07-16 Thread Marcus Vinicius Mesquita
t; }, > [2] = { "i", "o", "u" }, > }, > whatever = { > [1] = { "65:90" }, > [2] = { }, > [3] = { }, > [4] = { "97:122" }, > } >

Re: [NTG-context] Alphabet & color

2020-07-16 Thread Hans Hagen
}, whatever = { [1] = { "65:90" }, [2] = { }, [3] = { }, [4] = { "97:122" }, } } } There is some more possible but this wil do ... (2) You define a font with these goodies attached: \setupbodyfont[plex,10pt] \de

Re: [NTG-context] Space after Round bracket before Punctuation

2020-07-09 Thread Richard Mahoney | Indica et Buddhica
th it Anyway, often tricks for this can be found in the test suite of font manual(s) ... here is a variant ... \startluacode fonts.handlers.otf.addfeature { name = "mykerns", type = "kern", data = { [")"] = {

Re: [NTG-context] Space after Round bracket before Punctuation

2020-07-09 Thread Hans Hagen
, [":"] = -250, [";"] = -250, [")"] = -100, }, }, } \stopluacode \definefontfeature[default][default][mykerns=true] \setupbodyfont [dejavu,12pt] \startTEXpage[offset=10pt]

Re: [NTG-context] About Mongolian script

2020-06-12 Thread Hans Hagen
On 6/11/2020 2:38 PM, Jairo A. del Rio wrote: \definefontfeature[fea][default] [mode=base,language=dflt,script=mong, ccmp=yes,stch=yes,locl=yes,isol=yes,fina=yes, medi=yes,init=yes,rlig=yes,rclt=yes,calt=yes, liga=yes,dlig=yes,cswh=yes,mset=yes, curs=yes,kern=yes,mark

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Gerben Wierda
, >>>rscale=1.0] >>> \definefontfamily [archimate] [ss] [Optima] >>> \setupbodyfont[archimate] >>> >>> And I would like the effect to work on just the Optima font (which is a >>> bit light for this use) >> Hi Gerben, >&

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
On 5/23/20 9:50 PM, Gerben Wierda wrote: > [...] >>> \definefontfeature >>>   [effect-widen] >>>   [effect={width=.2,delta=0.3}] >>> >>> \definefallbackfamily >>>   [archimate] >>>   [ss] >>>   

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Rik Kabel
he effect to work on just the Optima font (which is a bit light for this use) Hi Gerben, this code may work for you: Don't forget to apply the "default" features to get ligatures and kerning.     \definefontfeature   [effect-widen]   [effect={width=.2,delta=0.3}] \d

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Wolfgang Schuster
to apply the "default" features to get ligatures and kerning. \definefontfeature [effect-widen] [effect={width=.2,delta=0.3}] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=s

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
>    bf=style:regular, >    bi=style:oblique, >    force=yes, >    rscale=1.0] > \definefontfamily [archimate] [ss] [Optima] > \setupbodyfont[archimate] > > And I would like the effect to work on just the Optima font (which is a > bit light for this use) Hi Gerben, this code may

[NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Gerben Wierda
Wityh this working example: \starttext The quick brown fox jumped over the lazy dog \definefontfeature [effect-widen] [effect={width=.2,delta=0.3}] \definedfont[Sans*widen,effect-widen] The quick brown fox jumped over the lazy dog \stoptext I am puzzling to turn my working \definedfont

[NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Jairo A. del Rio
I've tried the following from the manuals and adapted some code to see if it works: 1. \definefontfeature[svg][svg=yes] \definefontsynonym[Emoji][file:emojionecolor-svginot.ttf*default,svg] \definesymbol[bug][\getglyphdirect{Emoji}{\char"1F41B}] \starttext \symbol[bug] \stoptext The emoj

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Hans Hagen
On 5/18/2020 5:18 PM, Pablo Rodriguez wrote: Dear list, I’m accesing superscript glyphs for Garamond Libre with the OT feature and the character with the following sample: \definefontfeature[sups][script=latn, sups=yes] \definefontfamily[twoface][rm][GaramondLibre

[NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Pablo Rodriguez
Dear list, I’m accesing superscript glyphs for Garamond Libre with the OT feature and the character with the following sample: \definefontfeature[sups][script=latn, sups=yes] \definefontfamily[twoface][rm][GaramondLibre] \definefontfamily[mainface][rm][EB Garamond 12

[NTG-context] does font expansion break -char.width?

2020-05-17 Thread Pablo Rodriguez
score] [righthyphenchar="FE000] \setuphyphenation [method=traditional] \unexpanded\def\sha#1% {\begingroup\tt \sethyphenationfeatures[underscore]% #1% \endgroup} \definefontfeature[default][default][expansion=quality] \setup

[NTG-context] left protruding quotations

2020-05-14 Thread Michael Guravage
hanging punctuation, less severe style \definefontfeature [default] [default] %%[protrusion=quality,expansion=quality] [protrusion=punctuation,expansion=quality] \setupalign[hz,hanging] % Setup white space between paragraphs \setupwhitespace[medium] % Choose a font \setupbodyfont[pagella

[NTG-context] Fwd: Unicode normalization and Hebrew in ConTeXt

2020-04-28 Thread Joey McCollum
need, please let me know. Thanks again! On Tue, Apr 28, 2020 at 9:17 AM Hans Hagen wrote: > On 4/28/2020 1:59 PM, Joey McCollum wrote: > > \definefontfeature[f:pointedhebrew][default][ > > ccmp=yes, > > mark=yes, > > script=hebr > > ] > > \de

Re: [NTG-context] Unicode normalization and Hebrew in ConTeXt

2020-04-28 Thread Hans Hagen
On 4/28/2020 1:59 PM, Joey McCollum wrote: \definefontfeature[f:pointedhebrew][default][     ccmp=yes,     mark=yes,     script=hebr ] \definefontfamily[hebrew] [rm] [SBL Hebrew] [features=f:pointedhebrew] %Set the body font: \setupbodyfont[hebrew] %Set up right-to-left alignment: \setupalign

[NTG-context] Unicode normalization and Hebrew in ConTeXt

2020-04-28 Thread Joey McCollum
pointed Hebrew correctly when the characters are in the typographically recommended order, but not when they are in Unicode canonical order: ``` %Setup Hebrew text font: \definefontfeature[f:pointedhebrew][default][ ccmp=yes, mark=yes, script=hebr ] \definefontfamily[hebrew] [rm] [SBL

Re: [NTG-context] Negative width vrule ignored in LuaMETATeX

2020-04-24 Thread Hans Hagen
local vectors = fonts.protrusions.vectors classes.myown = { vector = 'myown', factor = 1, } vectors.myown = table.merged (vectors.quality, { [0x0028] = { 1, 0 }, -- ( [0x0029] = { 0, 1 }, -- ) }) \stopluacode \starttext \showframe \definefontfeature[whatever][default

Re: [NTG-context] \startquotation and citations

2020-03-26 Thread Wolfgang Schuster
Michael Guravage schrieb am 26.03.2020 um 15:31: Thank you Wolfgang, Now is there a way to persuade the quotation marks to protrude? You can either enable hanging punctuation for the bodyfont (which is done with \definefontfeature and \setupalign) or put the quotation mark in a box and move

Re: [NTG-context] Left hanging hyphen

2020-03-05 Thread Tomas Hala
] \startsetups [language:czech] \setbreakpoints [czcompound] \stopsetups \startsetups [language:other] \resetbreakpoints \stopsetups \setuplanguage[cz][setups=language:czech] \setuplanguage[default][setups=language:other] \definefontfeature [default] [default] [protrusion=tomas_hala] \setupalign [hz

Re: [NTG-context] Left hanging hyphen

2020-03-04 Thread Tomas Hala
[czcompound] \definebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4] \startsetups [czech] \setbreakpoints [czcompound] \stopsetups \setuplanguage [cz] [setups=czech] \definefontfeature [default] [default] [protrusion=tomas_hala] %\def\mylanguage{cs} \appendtoks \ifx\mylanguage\currentlanguage \se

Re: [NTG-context] bidi + protrusion issue in LMTX

2020-03-03 Thread Hans Hagen
] \mainlanguage[fr] \definefontfamily[mainfont][serif][EBGaramond][features={protrusion=quality, expansion=quality}] you best can do this if you also want kerns: \definefontfeature[mydefault][default][protrusion=quality,expansion=quality] \definefontfamily[mainfont][serif][EBGaramond][features=mydefault

Re: [NTG-context] Left hanging hyphen

2020-03-02 Thread Wolfgang Schuster
efinebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4] \startsetups [czech] \setbreakpoints [czcompound] \stopsetups \setuplanguage [cz] [setups=czech] \definefontfeature [default] [default] [protrusion=tomas_hala] \setupalign [hanging] \mainlanguage [cz] \showframe [text] [text] \st

[NTG-context] Nested quotation and left-hanging punctuation together?

2020-03-01 Thread Tomas Hala
] %% cmd #3 %% \setupdelimitedtext[quotation:1][left={\symbol[leftquotation]},right={\symbol[rightquotation]}] \setupdelimitedtext[quotation:2][left={\symbol[leftquote]},right={\symbol[rightquote]}] \setupalign[hz,hanging] %normal,%nothz,nohz, \definefontfeature[default][default

Re: [NTG-context] font expansion MkXL vs. MkIV

2020-02-16 Thread Hans Hagen
On 2/16/2020 9:22 PM, Pablo Rodriguez wrote: Hi Wolfgang and Hans, I have the following sample: \setuppapersize[A5] \definefontfeature[default][default] [protrusion=quality, expansion=quality] \definefontfamily[mainface][rm][Source Serif Pro] \setupalign[hanging

[NTG-context] font expansion MkXL vs. MkIV

2020-02-16 Thread Pablo Rodriguez
Hi Wolfgang and Hans, I have the following sample: \setuppapersize[A5] \definefontfeature[default][default] [protrusion=quality, expansion=quality] \definefontfamily[mainface][rm][Source Serif Pro] \setupalign[hanging, hz] \setupbodyfont[mainface, 17pt

Re: [NTG-context] Fonts from various .otf to work with \bold, \emph, \bf, \bfa ...

2020-02-07 Thread Henning Hraban Ramm
> "\definefont[Test][file:your-font-file.otf]" should work, but I never > used this approach. > > I think you need to mix fonts into a typeface with something similar to > a typescript (but this is all Greek to me). Here’s an example of a simple typescript using &qu

[NTG-context] Superios with Cardo font

2020-01-27 Thread Denis Maier
Hi, I am trying to use the Cardo font with superior figures. But somehow these seems to work differently here than with other fonts: \definefontfeature[default][default][     onum=yes,     pnum=yes,     ] \definefontfeature[f:newstyle][onum=no,pnum=no] \definefontfamily

Re: [NTG-context] force line spacing

2020-01-11 Thread Henning Hraban Ramm
ts (page 156 in fonts-mkiv.pdf): > > \definefontfeature [default] [default] [dimensions=strut] Thanks, never saw that. Acutally, I had to add the feature to my feature set in use, but that fixed the line spacing issue. Thank you! Now I must construct a MWE for the "titling

Re: [NTG-context] force line spacing

2020-01-11 Thread Wolfgang Schuster
e you set the fonts (page 156 in fonts-mkiv.pdf): \definefontfeature [default] [default] [dimensions=strut] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maill

Re: [NTG-context] Quotation dash issues with semantic markup

2019-12-30 Thread Hans Hagen
= true, width= 15, height = 2.1, depth= 0, ] ; lmt_registerglyph [ category = "symbols", unicode = "0x2015", code = "QuotationDash ;" ] ; \stopMPcalculation \definefontfeature[default][default][metapost=symbols] % \showg

Re: [NTG-context] Coding for new Unicode characters

2019-12-29 Thread Hans Hagen
free to say. \definefontfeature[default][default][compose=yes] \starttext ṉṈḻḺṟṞ \stoptext So now you have to wikify both methods ... (this is one of those wiki pages that still describes mkii i guess, but you can ask Pavneet about the best place).

[NTG-context] new beta

2019-12-27 Thread Hans Hagen
Hi, I uploaded an mkiv and lmtx beta (remake/cache needed). --- 1 spacekerns for own features (experimental) --- % decouple feature from 'kern' only \definefontfeature [TestA] [default

Re: [NTG-context] Adjust kern for one character

2019-12-26 Thread Rik Kabel
On 12/26/2019 08:40, Hans Hagen wrote: On 12/26/2019 1:41 PM, Rik Kabel wrote: Okay, I have progressed further but have run into something (else) I cannot understand. Consider the following example:     \definefontfeature   [myserif] [mode=node,kern=yes,xkern=yes]     \definefontfeature

Re: [NTG-context] Adjust kern for one character

2019-12-26 Thread Hans Hagen
On 12/26/2019 1:41 PM, Rik Kabel wrote: Okay, I have progressed further but have run into something (else) I cannot understand. Consider the following example: \definefontfeature [myserif] [mode=node,kern=yes,xkern=yes] \definefontfeature [mysans] [mode=node,kern=yes,xkern

Re: [NTG-context] Adjust kern for one character

2019-12-26 Thread Rik Kabel
un into something (else) I cannot understand. Consider the following example: \definefontfeature [myserif] [mode=node,kern=yes,xkern=yes] \definefontfeature [mysans] [mode=node,kern=yes,xkern=no] \definefontfeature [none][mode=node] \definefontfamily[mykerns] [serif] [Baskervaldx]

Re: [NTG-context] Disappearing font feature

2019-12-22 Thread Hans Hagen
, location=middle, header=0pt, footer=0pt] \setuppagenumbering [location=] \definefontfeature [default] [default] [ss01=yes] \definefont [JHair] [jost

[NTG-context] Disappearing font feature

2019-12-21 Thread Rik Kabel
, header=0pt, footer=0pt] \setuppagenumbering [location=] \definefontfeature [default] [default] [ss01=yes] \definefont [JHair] [jost-100-hairline] \definefont [JThin] [jost-200

Re: [NTG-context] Noto Emoji fonts

2019-12-07 Thread Hans Hagen
a reasonable font. There is some info in presentations but also in various documents and articles. texmf/doc/context/presentations/bachotex/2017/* has some info ... you need to enable a feature of choice as we have predefined: \definefontfeature[color:overlay][ccmp=yes,dist=yes,colr=yes

Re: [NTG-context] hz / expansion

2019-12-05 Thread Pablo Rodriguez
ntation, Hans. Using beta from 2019.12.02 18:28 for LMTX in Windows, I get only the left margin justified with this sample: \definefontfeature[default][default][expansion=quality] \setupalign[hz] \starttext \input zapf \stoptext I cannot reproduce the issue in Linux. I’m afrai

[NTG-context] hz / expansion

2019-12-02 Thread Hans Hagen
tep=1, stretch=50, shrink=20] \definefontfeature [basea] [default] [expansion=qualitya] \definefontfeature [baseb] [default] [expansion=qualityb] \definefont[FontA][Serif*basea] \definefont[FontB][Serif*baseb] \setupalign[verytolerant,stretch,hz] \starttext \startbuffer \dorecurse {30} {%

[NTG-context] Difference between direct use of quotation marks and \quotation

2019-11-22 Thread Tomas Hala
on outside the frame? Best wishes, Tomáš %%% MWE: \setupalign[hz,hanging] \definefontfeature [default] [default] [protrusion=quality, expansion=quality] \starttext\showframe one \hfill two \crlf „three“ four \par one \hfill two \crlf \quotation{three} four

Re: [NTG-context] Difference in right justification in LMTX

2019-10-11 Thread Joseph Canedo
position I get from pdf backend function (job.positions.getpos called in a latelua). I attach the MWE below + pdfs I get from latest Mkiv and LMTX I've installed from scratch. \setuppapersize[A5][A5] \definefontfeature[base][mode=node, protrusion=quality, expansion=quality] \definefontfamily

[NTG-context] new (lmtx) beta

2019-10-04 Thread Hans Hagen
color[KindergartenEqual] [darkgreen] \definecolor[KindergartenPlus] [darkred] \definecolor[KindergartenMinus] [darkred] \definecolor[KindergartenTimes] [darkblue] \definecolor[KindergartenDivided][darkblue] \definefontfeature [mathextra] [metapost=kindergarten] \setupbodyfont[dejavu] \

Re: [NTG-context] Italic corrections?

2019-08-19 Thread Wolfgang Schuster
Jon Wong schrieb am 19.08.2019 um 19:50: Hi all, Will this work? \usetypescript[pagella] \setupbodyfont[pagella,12pt] \definefontfeature [itlc=yes] This {\em will} work? No, because have to change the font feature before you load the font. When you use \em to get a italic text

[NTG-context] Italic corrections?

2019-08-19 Thread Jon Wong
Hi all, Will this work? \usetypescript[pagella] \setupbodyfont[pagella,12pt] \definefontfeature [itlc=yes] This {\em will} work? Regards Jon ___ If your question is of interest to others as well, please add

Re: [NTG-context] translating LyX/LaTex book into ConTeXt

2019-07-22 Thread Saša Janiška
per unicodes. > > \definefontfeature[default][compose=yes] > > \starttext > char ṁ (U+01E41) > \stoptext That's great. Thank you! > in sort-lan you can find examples of how sorting works in mkiv .. you > can find examples in the test suite end elsewhere about how to > influen

Re: [NTG-context] translating LyX/LaTex book into ConTeXt (was Re: [Context] Xindy)

2019-07-21 Thread Denis Maier
cters are then made virtual ones but in the text they are > proper unicodes. > > \definefontfeature[default][compose=yes] > > \starttext > char ṁ (U+01E41) > \stoptext > > > Now, I wonder how can one "define one's own sort order" since I'd like > > that words con

Re: [NTG-context] translating LyX/LaTex book into ConTeXt (was Re: [Context] Xindy)

2019-07-21 Thread Hans Hagen
mkiv we have way more control and these missign characters are then made virtual ones but in the text they are proper unicodes. \definefontfeature[default][compose=yes] \starttext char ṁ (U+01E41) \stoptext Now, I wonder how can one "define one's own sort order" since I'd like tha

Re: [NTG-context] Quotation marks

2019-07-20 Thread Wolfgang Schuster
Atsuhito Kohda schrieb am 20.07.2019 um 01:58: Hi all, I think in the same way as Dmitry. It might be obsolete but, as far as I searched, under the setup \definefontfeature [texligatures] [tlig=yes] \feature[+][texligatures] {''} produces right quotation correctly but left quotation seems

Re: [NTG-context] Quotation marks

2019-07-19 Thread Atsuhito Kohda
Hi all, I think in the same way as Dmitry. It might be obsolete but, as far as I searched, under the setup \definefontfeature [texligatures] [tlig=yes] \feature[+][texligatures] {''} produces right quotation correctly but left quotation seems not correct (I don't know why). It is true quotes

Re: [NTG-context] issue with italic correction (again)

2019-06-27 Thread Taco Hoekwater
. This only affects the document text, not headers and footers, and does also not do the global setup. You could use \setupbodyfont instead, but \switchtobodyfont is usually what you want, and it is also a bit faster. Anyway, about your example: here is a version that does do the switch

[NTG-context] inline fractions

2019-06-26 Thread Alan Bowen
The following mwe \definefontfeature[fraction][frac=yes] \definehighlight[textfraction][style={\feature[+][fraction]}] \starttext a fraction \m{\frac{1}{n}}, \textfraction{1/n}, \vulgarfraction{1}{n} in the text \stoptext works for all but \textfraction in the latest beta (luatex, luametatex

[NTG-context] issue with italic correction (again)

2019-06-25 Thread Pablo Rodriguez
Dear list, [sorry for insisting, but I have the impression that the previous version of this message went unnoticed.] I have the following sample: \def\DesiredFont{TeX Gyre Termes} \definefontfeature[italic][itlc=yes,textitalics=yes] \setupitaliccorrection[global, always

  1   2   3   4   5   6   7   8   9   10   >