[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
to Serif or SerifCaps. Now I can load a goodies file myfontlfg and do something like this: local smallcaps = { smcp = yes, } But that does not change the behavior of \sc. Yes, there is an easy workaround: \definefontfeature[smallcaps][smcp=yes] \define\sc{\addff{smallcaps}} This works for all

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Wolfgang Schuster
\sc{\addff{smallcaps}} This works for all styles that have the smcp feature, but I don't like having to redefine a system command. So the questions are: 1) Is there a recommended\better way to get \sc to work across all styles? \setupbodyfont[pagella] \starttext \tf Upright, \it Italic

[NTG-context] Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
applies to Serif or SerifCaps. Now I can load a goodies file myfontlfg and do something like this: local smallcaps = { smcp = yes, } But that does not change the behavior of \sc. Yes, there is an easy workaround: \definefontfeature[smallcaps][smcp=yes] \define\sc{\addff{smallcaps}} This works

[NTG-context] Font switching, default features, and a request

2023-08-13 Thread Hamid,Idris
Dear gang, Consider the following example: == \setupdirections[bidi=global,method=one] \startTEXpage[offset=1em,width=14in] \definedfont[almfixed*arabic] \switchtobodyfont[almfixed*arabic] \switchtobodyfont[almfixed] % \addff{arabic} \startbuffer[] \startlines الثَّعْلَبُ

Re: [NTG-context] Non-standard font alternatives

2023-04-19 Thread Pawel Urbanski via ntg-context
][   mode=node,   ccmp=yes, % character composition   liga=yes, tlig=yes, % ligatures   pnum=yes,   cpsp=yes, % capital spacing   kern=yes,   language=dflt,   protrusion=quality,   expansion=quality, ] \definefontfeature[smallcaps][ % use with \addff   smcp=yes, % smallcaps   % c2sc=yes, % caps

Re: [NTG-context] Non-standard font alternatives

2022-12-14 Thread Matthew McCabe via ntg-context
typescript for Roboto: \definefontfeature[robotofeatures][ mode=node, ccmp=yes, % character composition liga=yes, tlig=yes, % ligatures pnum=yes, cpsp=yes, % capital spacing kern=yes, language=dflt, protrusion=quality, expansion=quality, ] \definefontfeature[smallcaps][ % us

Re: [NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-12 Thread Leah Neukirchen via ntg-context
} Since `` and "' map to the same character, only "' works. The table has only 5 entries, not 6! (This took me a while to realize. ;)) > best not use an existign feature because we accumulate ... features > come in order (you can force order if needed as you probably saw in > one of the

Re: [NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-11 Thread Hans Hagen via ntg-context
ype = "ligature", data = { ['“'] = { "`", "`" }, ['”'] = { "'", "'" }, ['„'] = { '"', "`" }, [''] = { '"', "'" }, ['‘'] = { "`" }, ['’'] = { "'" } } } fonts.handlers.otf.addfeature { name = "texsub", type = "substitute", data = { [''] = '“', } } \stopluacode

[NTG-context] LMTX: reimplementing texquotes as OTF feature

2022-11-11 Thread Leah Neukirchen via ntg-context
ot;'" } } } fonts.handlers.otf.addfeature { name = "texsub", type = "substitute", data = { [''] = '“', } } \stopluacode % with lmodern or palatino it breaks \setupbodyfont[schola] \definefontfeature[ltest][texlig=y

Re: [NTG-context] Add ssty to libertinus

2021-10-20 Thread Hans Hagen via ntg-context
On 10/20/2021 1:01 PM, Mikael Sundqvist via ntg-context wrote: Hi, looking at the output of \setupbodyfont[libertinus] %\setupmathematics[stylealternative={ssty}] \starttext %\addff{ssty} $y'=f'$ \switchtobodyfont[newcomputermodern-book] $y'=f'$ \stoptext ssty doesn't kick in as we're

[NTG-context] Add ssty to libertinus

2021-10-20 Thread Mikael Sundqvist via ntg-context
Hi, looking at the output of \setupbodyfont[libertinus] %\setupmathematics[stylealternative={ssty}] \starttext %\addff{ssty} $y'=f'$ \switchtobodyfont[newcomputermodern-book] $y'=f'$ \stoptext I think that the primes in libertinus are too small. Indeed, looking in the font, they look like

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

2021-08-17 Thread Joey McCollum via ntg-context
gt; > %Set up right-to-left alignment: > > \setupalign[r2l] > > %Explicitly add dlig (in case it wasn't there already): > > \definefontfeature[plus-dlig][dlig=yes] > > > \starttext > > \addff{plus-dlig} > > שֹׂבַע > > עָשׂוֹר > > קֹשֶׁט > >

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

2021-08-17 Thread Joey McCollum via ntg-context
typescript \stoptypescriptcollection %Set up the main font: \setupbodyfont[keteryg] %Set up right-to-left alignment: \setupalign[r2l] %Explicitly add dlig (in case it wasn't there already): \definefontfeature[plus-dlig][dlig=yes] \starttext \addff{plus-dlig} שֹׂבַע עָשׂוֹר קֹשֶׁט שֹׁשַׁנִּי

[NTG-context] new upload lmtx

2021-06-18 Thread Hans Hagen
] [primes=yes] % \definefontfeature[uppercasing][uppercasing=yes] % \definefontfeature[lowercasing][lowercasing=yes] % \definefontfeature[camelcasing][camelcasing=yes] \setupbodyfont[dejavu] \starttext \startTEXpage[align={tolerant,stretch},offset=1ex] {\addff{camelcasing} \samplefile{tufte

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Hans Hagen
elated stuff on board i'm also not going to explore it ... when apostrophes get translated as you do but with active characters it's no fun (ok, we still have a few in context like ~ and |) just for fun i made {\addff{primes} 123'345''\par} use primes ... in a next upload

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Henning Hraban Ramm
\setupheadertexts[chapter][{\addff{normnum}\pagenumber}][{\addff{normnum}\pagenumber}][] \stopsetups \startsetups noheader \setupheadertexts[][][][] \stopsetups \startsetups bigchapter \setupalign[flushleft,hz,hanging,verytolerant,nothyphenated] \doifelse{\structureuservariable{image

Re: [NTG-context] Disappearing font feature

2019-12-22 Thread Hans Hagen
[ss01]} {\type{enabled } \JHair \addff{ss01}\getbuffer[ss01]} {\type{disabled} \JHair \subff{ss01}\getbuffer[ss01]} {\type{default } \JHairI\getbuffer[ss01]} {\type{enabled } \JHairI\addff{ss01}\getbuffer[ss01]} {\type{disabled} \JHa

Re: [NTG-context] ligatures/substituation at word boundaries

2017-07-28 Thread Hans Hagen
rs.otf.addfeature { name = "wtest", type = "ligature", data = { ['1'] = { "left_boundary", "a" }, } } \stopluacode \definefontfeature[wtest][wtest=yes] \definefontfeature[ltest][ltest=yes] \starttext \definedfon

[NTG-context] ligatures/substituation at word boundaries

2017-07-27 Thread Ulrike Fischer
type = "ligature", data = { ['1'] = { "left_boundary", "a" }, } } \stopluacode \definefontfeature[wtest][wtest=yes] \definefontfeature[ltest][ltest=yes] \starttext \definedfont[file:dejavu-serif.ttf*default]% {\addff{ltest} ab

Re: [NTG-context] fixed spacing

2017-07-17 Thread Floris van Manen
23, >> 3-9:~1057765, 2-7:~1086097, 1-7:~1087411, 0-7:~1087439, 2-8:~1099942, >> 1-8:~1101249, 0-8:~1101277, 2-9:~1102409, 1-9:~1103718, 0-9:~1103746, >> 4-6:~1138989, 4-7:~1180436, 4-8:~1194617, 4-9:~1196971, 5-3:~1729640, >> 4-5:~1756438, 5-0:~1761922, 5-1:~1761941, 5-

Re: [NTG-context] fixed spacing

2017-07-17 Thread Rik Kabel
:~1763565, 5-6:~2459757, 5-7:~2548510, 5-8:~2555440, 5-9:~2558871 }} \stoptext 1. Use tabular numbers and hard-code all of the spaces you need: \definefontfeature[default][default][tnum=yes] or \definefontfeature[ff:tnum][tnum=yes] ... \addff{ff:tnum} or \feature[+][ff:tnum] where

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
mathematical italic small a and b >> [0x02032] = { [0x00028] = -150 }, -- prime and left parenthesis >> } >> } >> \stopluacode >> >> \definefontfeature[kerntest][kerntest=yes] >> >> \definefontfamily[lucidaopentype][rm][Lucida Bright OT] >>

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Hans Hagen
{ [0x00028] = -150 }, -- prime and left parenthesis } } \stopluacode \definefontfeature[kerntest][kerntest=yes] \definefontfamily[lucidaopentype][rm][Lucida Bright OT] \definefontfamily[lucidaopentype][mm][Lucida Bright Math OT] \setupbodyfont[lucidaopentype,10pt] \startTEXpage[offset=3pt] abba

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
-150 }, -- a and b in text >>> [0x1d44e] = { [0x1d44f] = -150 }, -- mathematical italic small a and b >>> [0x02032] = { [0x00028] = -150 }, -- prime and left parenthesis >>> } >>> } >>> \stopluacode >>> >>> \definefontfeature[kerntest][kerntest

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
ntest][kerntest=yes] >> >> \definefontfamily[lucidaopentype][rm][Lucida Bright OT] >> \definefontfamily[lucidaopentype][mm][Lucida Bright Math OT] >> >> \setupbodyfont[lucidaopentype,10pt] >> >> >> \startTEXpage[offset=3pt] >> abba $abba

Re: [NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mathias Schickel
t; \stopluacode > > \definefontfeature[kerntest][kerntest=yes] > > \definefontfamily[lucidaopentype][rm][Lucida Bright OT] > \definefontfamily[lucidaopentype][mm][Lucida Bright Math OT] > > \setupbodyfont[lucidaopentype,10pt] > > > \startTEXpage[offset=

[NTG-context] Change kerning between math characters (prime and left parenthesis)

2017-06-02 Thread Mikael P. Sundqvist
rntest][kerntest=yes] \definefontfamily[lucidaopentype][rm][Lucida Bright OT] \definefontfamily[lucidaopentype][mm][Lucida Bright Math OT] \setupbodyfont[lucidaopentype,10pt] \startTEXpage[offset=3pt] abba $abba f'(x)$ \addff{kerntest} abba $abba f'(x)$ I prefer $f'\mkern-3mu(x)$ \sto

Re: [NTG-context] frac font feature doesn't work as expected

2017-04-05 Thread luigi scarso
1000/100 \usetypescriptfile[libertine] \setupbodyfont[libertine,12pt] \definefontfeature[frac][frac=yes] \starttext {\addff{frac} 1/2 3/4 5/6 7/8 9/10 11/12 31415/27182 1000/100} \stoptext if you see fonts > otf chain > feature 'frac', type 'gsub_contextchain', chain l

Re: [NTG-context] issue with OT feature lfbd

2017-02-25 Thread Hans Hagen
? \addff{leftbounds} Wer War? Wer\subff{leftbounds} War? \stopTEXpage \stoptext I’m afraid that the OT feature lfbd is applied in all the line. Otherwise, the second and the third lines would have the same spacing between words. Could anyone confirm this or am I missing

[NTG-context] issue with OT feature lfbd

2017-02-25 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \definefontfeature[leftbounds][lfbd=yes] \definefontfamily[mainface][rm][Linux Libertine O] \setupbodyfont[mainface, 150pt] \starttext \startTEXpage[offset=1ex] Wer War? \addff{leftbounds} Wer War? Wer

Re: [NTG-context] frac opentype feature broken by \setbreakpoints[compound]

2017-02-14 Thread Hans Hagen
breakpoints[compound] makes ConTeXt ignore the "frac" feature at all. Please try this: \definefontfeature[frac][frac=yes] \definefontfamily[default][rm][lato][features=frac] \setupbodyfont[default,rm,11pt] \setbreakpoints[compound] \starttext \addff{frac} 1/3, 1/100, 1/1000, {\setbreakp

[NTG-context] frac opentype feature broken by \setbreakpoints[compound]

2017-02-13 Thread MF
eXt ignore the "frac" feature at all. Please try this: \definefontfeature[frac][frac=yes] \definefontfamily[default][rm][lato][features=frac] \setupbodyfont[default,rm,11pt] \setbreakpoints[compound] \starttext \addff{frac} 1/3, 1/100, 1/1000, {\setbreakpoints[reset]1633/100}, 2345/12. \sto

Re: [NTG-context] URL styling in btx bibliography

2017-02-04 Thread Alan Braslau
use > > > > \setupurl[style=\addff{f:ns}\ss] > > > > (where f:ns is a fontfeature definition for lining/new style > > numerals) for the rest of the document. The bibliography honors this > > formatting for urls present in bibtex note entries, but persist

Re: [NTG-context] URL styling in btx bibliography

2017-02-04 Thread Alan Braslau
On Fri, 3 Feb 2017 17:26:35 -0500 Rik Kabel <cont...@rik.users.panix.com> wrote: > Is there a user-level control for the styling of urls in the new > bibliography system? I use > > \setupurl[style=\addff{f:ns}\ss] > > (where f:ns is a fontfeature definition for lin

[NTG-context] URL styling in btx bibliography

2017-02-03 Thread Rik Kabel
ConTeXters, Is there a user-level control for the styling of urls in the new bibliography system? I use \setupurl[style=\addff{f:ns}\ss] (where f:ns is a fontfeature definition for lining/new style numerals) for the rest of the document. The bibliography honors this formatting for urls

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
arabicindic][check=yes,force=yes,offset=digitsnormal] \definefontsynonym [MathRoman][name:modern][features={math\mathsizesuffix,mathperiod},goodies=lm-math,fallbacks=mathdigits] \starttext $123.45.$ 123.45. \addff{mathperiod}

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Mohammad Hossein Bateni
} >> } >> } >> \stopluacode >> >> \definefontfeature[mathperiod][mpf=yes] >> >> \resetfontfallback [mathdigits] >> %\definefontfallback[mathdigits][dejavusansmono][digitsexten >> dedarabicindic][check=yes,force=yes,off

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
nefontsynonym [MathRoman][name:modern][features={math\mathsizesuffix,mathperiod},goodies=lm-math,fallbacks=mathdigits] \starttext $123.45.$ 123.45. \addff{mathperiod} 123.45. \stoptext Though this font feature works outside math, it does not seem to have any ef

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
[MathRoman][name:modern][features={math\mathsizesuffix,mathperiod},goodies=lm-math,fallbacks=mathdigits] \starttext $123.45.$ 123.45. \addff{mathperiod} 123.45. \stoptext Though this font feature works outside math, it does not seem to have any effect within the math font. Why is that?

[NTG-context] OTF feature for a math font

2016-08-05 Thread Mohammad Hossein Bateni
002E } }, >> after = { digits }, >> before = { digits }, >> lookups = { 1 }, >> } >> } >> } >> } >> \stopluacode >> >> \definefontfeature[mathperiod][mpf=yes] >> >> \resetfontfallback [mathdigi

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-02 Thread Mohammad Hossein Bateni
ck[mathdigits][dejavusansmono][digitsextendedarabicindic][check=yes,force=yes,offset=digitsnormal] > > \definefontsynonym > [MathRoman][name:modern][features={math\mathsizesuffix,mathperiod},goodies=lm-math,fallbacks=mathdigits] > > \starttext > $123.45.$ > > 123.45. > > \

[NTG-context] Changing decimals points to Persian ones via font features

2016-08-01 Thread Mohammad Hossein Bateni
ix,mathperiod},goodies=lm-math,fallbacks=mathdigits] \starttext $123.45.$ 123.45. \addff{mathperiod} 123.45. \stoptext Though this font feature works outside math, it does not seem to have any effect within the math font. Why is that? Can we add font feature to the math font? Are the charact

[NTG-context] Test Suite Fonts "extensions-001"

2016-04-29 Thread Thomas Fehige
;stest", type = "substitution", data = { a = "X", b = "P", } } \stopluacode \definefontfeature[stest][stest=yes] \starttext \startTEXpage \definedfont[file:DejaVuSerif.ttf*default]% abracadabra\par {\addff{stest}abracadabra\par} \stopTEXpage \stoptext _

Re: [NTG-context] GSUB LookupType 6 in fea file not working

2016-01-10 Thread Hans Hagen
nt = { { "b", "c" } }, lookups = { 1 }, }, }, }, } \stopluacode \definefontfeature[stest][stest=yes] \definefontfeature[atest][atest=yes] \definefontfeature[mtest][mtest=yes] \definefontfeature[ltest][ltest=yes] \definefontfeature[ktest]

Re: [NTG-context] GSUB LookupType 6 in fea file not working

2016-01-09 Thread Paolo Brasolin
uot;c"] = "C", > }, > }, > }, > -- steps= { > -- { > -- rules = { > -- { > -- before = { { "a" } }, > -- current = { {

Re: [NTG-context] GSUB LookupType 6 in fea file not working

2016-01-07 Thread Hans Hagen
rules = { { before = { { "a" } }, current = { { "b", "c" } }, lookups = { 1 }, }, }, }, } \stopluacode \definefontfeature[stest][stes

Re: [NTG-context] superior numbers for footnote numbers?

2015-02-05 Thread Jörg Weger
[footnote][textcommand=,textstyle=\addff{f:sups}] \setupnotation[footnote][numbercommand=,headstyle=\addff{f:sups}] \starttext \input knuth\footnote{Knuth sample text} \input ward\footnote{Ward sample text} \stoptext

Re: [NTG-context] superior numbers for footnote numbers?

2015-02-05 Thread Hans Hagen
] \setupbodyfont[mainface] \setupnote[footnote][textcommand=,textstyle=\addff{f:sups}] \setupnotation[footnote][numbercommand=,headstyle=\addff{f:sups}] \starttext \input knuth\footnote{Knuth sample text} \input ward\footnote{Ward sample text} \stoptext i'll add: \definefontfeature

Re: [NTG-context] superior numbers for footnote numbers?

2015-02-05 Thread Jörg Weger
] \definefontfamily [mainface][mm][TeX Gyre Pagella Math] \definefontfeature[f:sups][sups=yes] \setupbodyfont[mainface] \setupnote[footnote][textcommand=,textstyle=\addff{f:sups}] \setupnotation[footnote][numbercommand=,headstyle=\addff{f:sups}] \starttext \input knuth\footnote{Knuth sample

Re: [NTG-context] superior numbers for footnote numbers?

2015-02-05 Thread Wolfgang Schuster
] \definefontfeature[f:sups][sups=yes] \setupbodyfont[mainface] \setupnote[footnote][textcommand=,textstyle=\addff{f:sups}] \setupnotation[footnote][numbercommand=,headstyle=\addff{f:sups}] \starttext \input knuth\footnote{Knuth sample text} \input ward\footnote{Ward sample text

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-05 Thread Wolfgang Schuster
] [sectionconversionset=...] but I'm unable to understand how these commands work exactly. Take a look at the example below how this can be achieved. begin example \def\sc{\addff{smallcaps}} \def\os{\addff{oldstyle}} \setuplabeltext [appendix=Appendix~] \setuphead [title

[NTG-context] Bold small caps

2014-05-23 Thread Mojca Miklavec
Hi, I always forget how to use bold or italic small caps (I keep mixing addff/setff and smcp/+smcp/smallcaps etc.). In ideal world it could be nice if simply {\sc Normal and \bf Bold Small Caps} or {\bf\sc Bold Small Caps} would work out-of-the-box. The first hit on the wiki was http

Re: [NTG-context] Bold small caps

2014-05-23 Thread Wolfgang Schuster
Am 23.05.2014 um 17:55 schrieb Mojca Miklavec mojca.miklavec.li...@gmail.com: Hi, I always forget how to use bold or italic small caps (I keep mixing addff/setff and smcp/+smcp/smallcaps etc.). In ideal world it could be nice if simply {\sc Normal and \bf Bold Small Caps} or {\bf

Re: [NTG-context] Bold small caps

2014-05-23 Thread Hans Hagen
On 5/23/2014 5:55 PM, Mojca Miklavec wrote: Hi, I always forget how to use bold or italic small caps (I keep mixing addff/setff and smcp/+smcp/smallcaps etc.). In ideal world it could be nice if simply {\sc Normal and \bf Bold Small Caps} or {\bf\sc Bold Small Caps} would work out

Re: [NTG-context] How to enable tabular numerals with simplefonts and otf?

2013-10-19 Thread Wolfgang Schuster
-8--- \definefontfamily[mainface][rm][Linux Libertine Initials O][features=tnum] \definefontfeature[default][default][tnum=yes] \setupbodyfont[mainface] \starttext \addff{tnum} \setff{tnum} \feature[+][tnum] \feature[+][tnum=yes] 565656565656X\par X \stoptext --8

[NTG-context] \feature

2013-03-17 Thread Hans Hagen
] \resetfeature \feature[reset] \feature[] \stoptyping Each variant also accepts \type {{}} instead of \type {[]} so that they can conveniently be used in square bracket arguments. This mechanism replaces \addff cum suis, although for a while they will stay around (mapped onto add

Re: [NTG-context] new trickery

2013-03-15 Thread Hans Hagen
that one only wants to enable in small text snippets. For this we have \addff etc but these don't accumulate. We used to have \addfs{feature} and \subfs{feature}, meaning add feature to the stack and subtract feature from the stack. But those have been broken for a very long time. afaik they're

Re: [NTG-context] new trickery

2013-03-15 Thread Hans Hagen
in through the same mechanism. Will study this some more... yes, but there in successive calls the last one counts \addff{x} \addff{y} \addff{z} - z is used on top of the current font's set \feature{x} \feature{y} \feature{y} - all are used on top we might end up with replacing \addff etc by one

Re: [NTG-context] new trickery

2013-03-15 Thread Jonathan Barchi
as well. Hmm, it seems that \subfs functionality is built in through the same mechanism. Will study this some more... yes, but there in successive calls the last one counts \addff{x} \addff{y} \addff{z} - z is used on top of the current font's set \feature{x} \feature{y} \feature{y

Re: [NTG-context] new trickery

2013-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
. Is that right? \resetfeature pops all features added to the stack (again, I'm assuming this does not include the default ones defined, e.g., in the typescripts). Question: Does/Will this mechanism completely replace \addff et al, or will these mechanism ignore each other (e.g., \resetfeature does

Re: [NTG-context] new trickery

2013-03-15 Thread Hans Hagen
completely replace \addff et al, or will these mechanism ignore each other (e.g., \resetfeature does not pop those defined by \addff). I dont' know ... in fact, they share code deep down in the machinery but indeed it might make sense to remove them (or at least depricate them). Hans

Re: [NTG-context] new trickery

2013-03-15 Thread Hans Hagen
it off I guess we need a replacement for \subfs as well. Hmm, it seems that \subfs functionality is built in through the same mechanism. Will study this some more... yes, but there in successive calls the last one counts \addff{x} \addff{y} \addff{z} - z is used on top of the current font's

Re: [NTG-context] new trickery

2013-03-15 Thread Hans Hagen
to the stack (again, I'm assuming this does not include the default ones defined, e.g., in the typescripts). Question: Does/Will this mechanism completely replace \addff et al, or will these mechanism ignore each other (e.g., \resetfeature does not pop those defined by \addff). A good exercise

[NTG-context] new trickery

2013-03-14 Thread Hans Hagen
Hi, There is a new experimental feature and (at least for now) it's also called \feature (maybe not the best name). Many fonts have language dependent features. There are also features that one only wants to enable in small text snippets. For this we have \addff etc but these don't

Re: [NTG-context] new trickery

2013-03-14 Thread Idris Samawi Hamid ادريس سماوي حامد
not the best name). \stack might be better, for the following reason: Many fonts have language dependent features. There are also features that one only wants to enable in small text snippets. For this we have \addff etc but these don't accumulate. We used to have \addfs{feature} and \subfs

[NTG-context] mkiv: Charis SIL / SmallCaps

2013-01-17 Thread Zenlima
to show the smallcaps. I tried an example out of this mailing list: \definefontfeature[smallcapitals] [smcp=yes] \definefontfeature[oldstylenumber][onum=yes] %\setupbodyfont[pagella] \setupbodyfont [charissil] \starttext {VA abc \setff{smallcapitals} VA abc} {VA abc \addff{smallcapitals} VA abc

Re: [NTG-context] italic smallcaps

2012-11-28 Thread Wolfgang Schuster
\setff and \addff, with \setff you replace the active feature set (in most cases “default”) with a new set, you can see it in the first line because kerning etc. is disabled after \setff which I haven’t included in my list. In the second line I used \adff which add my new list to the active list

[NTG-context] font features in beta

2012-10-17 Thread Philipp Gesang
Hi all, this works in TL but not minimals: · \definefontfeature[textfigures] [onum=yes] \definefontfeature[texligatures] [tlig=yes] \starttext \addff{textfigures} 1234567890 \addff{texligatures} foo---bar \stoptext

Re: [NTG-context] font features in beta

2012-10-17 Thread Hans Hagen
On 17-10-2012 16:08, Philipp Gesang wrote: Hi all, this works in TL but not minimals: · \definefontfeature[textfigures] [onum=yes] \definefontfeature[texligatures] [tlig=yes] \starttext \addff{textfigures} 1234567890 \addff

Re: [NTG-context] How to enable tabular numerals with simplefonts and otf?

2012-06-10 Thread Wolfgang Schuster
Am 10.06.2012 um 00:01 schrieb Peter Münster: Hi, How can I enable tabular numerals please? Test file, that does not work: --8---cut here---start-8--- \usemodule[simplefonts] \setmainfont[LinLibertineIO][size=10pt, tnum=yes] \starttext \addff

[NTG-context] How to enable tabular numerals with simplefonts and otf?

2012-06-09 Thread Peter Münster
Hi, How can I enable tabular numerals please? Test file, that does not work: --8---cut here---start-8--- \usemodule[simplefonts] \setmainfont[LinLibertineIO][size=10pt, tnum=yes] \starttext \addff{tnum} \setff{tnum} 565656565656X\par X \stoptext

Re: [NTG-context] how to write two or three single hyphens?

2012-05-31 Thread Wolfgang Schuster
=myfeatures] Sometimes it is necessary to add additional features or to switch a different feature list *in* the document. To do this context provides the commands \addfontfeature and \setfontfeature which can be also called in the two shorter commands \addff and \setff. In the \definehighlight

Re: [NTG-context] how to write two or three single hyphens?

2012-05-31 Thread Jan Pohanka
\addfontfeature and \setfontfeature which can be also called in the two shorter commands \addff and \setff. In the \definehighlight command I enabled the predefined “none” list where ligatures and kerning is disabled to prevent that -- results in –. Wolfgang

Re: [NTG-context] [***SPAM***] Trying to get two styles simultaneiously

2012-04-29 Thread Wolfgang Schuster
={\bf\addff{smcp}}] \setupbodyfont[pagella] \starttext \input ward \startdescription{Ward} \input ward \stopdescription \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] Problem with math!

2012-02-25 Thread Verhaag, G.C.H.M.
Hi ConTeXt users, Currently I'm experiencing problems with inline math mode in combination with the addff{oldstyle} command! The attached test file doens't compile with the latest version 2012.2.18 (MkIV), which seems to be caused by the introduction of the $\bullet$! With older versions

[NTG-context] Keep struggling with old style numerals!

2011-12-08 Thread Verhaag, G.C.H.M.
Hi ConTeXt user's, A few days ago I installed the latest ConTeXt version but now my oldstyle settings don't seem to work any more! I use the following settings in my preamble: \usetypescript[schola] \setupbodyfont[schola,10pt] \definefontfeature [oldstyle] [default] [onum=yes] \addff

Re: [NTG-context] Keep struggling with old style numerals!

2011-12-08 Thread Paul Menzel
: \usetypescript[schola] \setupbodyfont[schola,10pt] \definefontfeature [oldstyle] [default] [onum=yes] \addff{oldstyle} Perhaps something changed that I missed! Thanks in advance! Do you get an error message or are the settings just not applied? An output file from a working ConTeXt version and one from

Re: [NTG-context] Keep struggling with old style numerals!

2011-12-08 Thread Andreas Harder
] \definefontfeature [oldstyle] [default] [onum=yes] \addff{oldstyle} Hi, you can play with my example. It seems script=auto (default) is not that robust. Setting it to latn or dflt should help. \definefontfeature [default] [default] [script=latin] \definefontfeature [osf] [onum=yes

Re: [NTG-context] Keep struggling with old style numerals! SOLVED!

2011-12-08 Thread Verhaag, G.C.H.M.
[schola] \setupbodyfont[schola,10pt] \definefontfeature [oldstyle] [default] [onum=yes] \addff{oldstyle} Hi, you can play with my example. It seems script=auto (default) is not that robust. Setting it to latn or dflt should help. \definefontfeature [default] [default] [script=latin

Re: [NTG-context] Why does the oldstyle numerals switch, \os, also switch off m-dashes?

2011-11-30 Thread Willi Egger
Hi Pavneet, I do not know which font/kind of font you intend to use. So provided the font is a otf-type the following works: \setupbodyfont[times,rm,12pt] \definefontfeature[oldstyle][sript=latin,onum=yes] \starttext \addff{oldstyle} 1234567890 A Pause---between yes and no. 1234567890 A Pause

Re: [NTG-context] Fonts in Mk IV -- \definefontalternative documentation?

2011-11-11 Thread Christian
' for semibold \starttext Test normal\\ {\sb Test semibold}\\ {\sb \it Test semibold}\\ {\bf Test bold}\\ Opentype font feature demonstration:\\ {\addff{onum} 1234} 1234\\ {\addff{frac} 1/17} \stoptext %%% END Hello, I am coming to ConTeXt from LaTeX and have a typescript question. I

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
[aurl][http://www.pragma-ade.com/download-1.htm] %%% It comes with a proper setup for everything. \setupurl[style={\tf\addff{url}}] %%% If you must use the “href” macro, disable the font feature locally. \define[1]\href{% \begingroup \addff{url}% \goto{\hyphenatedurl{#1}}[url(#1

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Pablo Rodríguez
/download-1.htm] %%% It comes with a proper setup for everything. \setupurl[style={\tf\addff{url}}] %%% If you must use the “href” macro, disable the font feature locally. \define[1]\href{% \begingroup \addff{url}% \goto{\hyphenatedurl{#1}}[url(#1)]% \endgroup% } \starttext 42

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Pablo Rodríguez
it seems to have been). Wolfgang has found the cause of the problem. Disabling mall caps when having enabled them for the default didn't work either with TeX Gyre Pagella, because of using \addff instead of \addfs. Imagine a whole book in one document. If you have more than 100 urls, it would

Re: [NTG-context] itemize textstyle

2011-07-07 Thread Wolfgang Schuster
/number of the item. A real setup key for the content isn’t available and the best i can do (without extra markup around each entry) is the following. \definefontfeature[smcp][smcp=yes] \setupitemize[1][command=\bf\addff{smcp}] \setupitemize[2][command=\tf\subfs{smcp}] \setupitemize[3][command

Re: [NTG-context] itemize textstyle

2011-07-07 Thread Christian
for the content isn't available and the best i can do (without extra markup around each entry) is the following. \definefontfeature[smcp][smcp=yes] \setupitemize[1][command=\bf\addff{smcp}] \setupitemize[2][command=\tf\subfs{smcp}] \setupitemize[3][command=\it] \setupitemize[4][command=\tf

Re: [NTG-context] First Line After Whitespace Styling

2011-05-27 Thread Wolfgang Schuster
first-rate typesetting job :) Adapt the following to your case: \setupbodyfont[pagella] \definefontfeature[allcaps][smcp=yes,c2sc=yes] \starttext \TreatFirstLine {\addff{allcaps}} {} {} {} The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. It would

Re: [NTG-context] First Line After Whitespace Styling

2011-05-27 Thread Marc Trius
{\addff{allcaps}} {} {} {} The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. It would be happening whether humans had ever evolved or not. But our presence is like the effect of an old-age patient who smokes many packs of cigarettes per day — and we

Re: [NTG-context] How to set oldstyle numbering globally?

2011-04-13 Thread Taco Hoekwater
On 13 apr. 2011, at 00:07, Pontus Lurcock p...@talvi.net wrote: On Mon 11 Apr 2011, Khaled Hosny wrote: ... (\addff is meant for temporally applying font features not the other way around, but I think it should work this way too, so may be something is broken) \addff{oldstyle} works

Re: [NTG-context] How to set oldstyle numbering globally?

2011-04-13 Thread Verhaag, G.C.H.M.
On 04/13/2011 08:27 AM, Taco Hoekwater wrote: On 13 apr. 2011, at 00:07, Pontus Lurcock p...@talvi.net mailto:p...@talvi.net wrote: On Mon 11 Apr 2011, Khaled Hosny wrote: ... (\addff is meant for temporally applying font features not the other way around, but I think it should work

Re: [NTG-context] How to set oldstyle numbering globally?

2011-04-12 Thread Verhaag, G.C.H.M.
] \definefontfeature [oldstyle] [default] [onum=yes] \addff{oldstyle} but this doesn't seem to work anymore in my recently installed minimal ConTeXt installation (ConTeXt ver: 2011.03.30 11:21 MkIV fmt: 2011.3.30 int: english/english). I use this installation with Debian 6.0 (Squeeze). Any idea

Re: [NTG-context] How to set oldstyle numbering globally?

2011-04-12 Thread Pontus Lurcock
On Mon 11 Apr 2011, Khaled Hosny wrote: In my earlier MkIV minimal ConTeXt installation (dec.2010) I used the following in my preamble to activate oldstyle numbering: \usetypescript[schola] \setupbodyfont[schola,8pt] \definefontfeature [oldstyle] [default] [onum=yes] \addff

[NTG-context] How to set oldstyle numbering globally?

2011-04-11 Thread Verhaag, G.C.H.M.
Hi, In my earlier MkIV minimal ConTeXt installation (dec.2010) I used the following in my preamble to activate oldstyle numbering: \usetypescript[schola] \setupbodyfont[schola,8pt] \definefontfeature [oldstyle] [default] [onum=yes] \addff{oldstyle} but this doesn't seem to work anymore

Re: [NTG-context] How to set oldstyle numbering globally?

2011-04-11 Thread Wolfgang Schuster
] \addff{oldstyle} but this doesn't seem to work anymore in my recently installed minimal ConTeXt installation (ConTeXt ver: 2011.03.30 11:21 MkIV fmt: 2011.3.30 int: english/english). I use this installation with Debian 6.0 (Squeeze). Any idea what's wrong? The following two methods

Re: [NTG-context] How to set oldstyle numbering globally?

2011-04-11 Thread Khaled Hosny
] [onum=yes] \addff{oldstyle} A more correct way is: \definefontfeature[default][default][onum=yes] % redefines default feature set \usetypescript[schola] \setupbodyfont[schola,8pt] \starttext 12345678 \stoptext (\addff is meant for temporally applying font features not the other way around

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread Bernhard Rosensteiner
for that in tex, we have to define it using the font feature. If , like Bernhard wrote, \addff is broken, that would affect also features like 'sups', 'dlig' and so on. -Ursprüngliche Nachricht- Von: Bernhard Rosensteiner [mailto:brosenstei...@gmail.com] Gesendet

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread C.
[c2sc][default][c2sc=yes] \setmainfont[Minion Pro][expansion=quality, protrusion=quality, script=latin] \starttext {\addff{c2sc} THIS TEXT SHOULD BE CONVERTED TO SMALL CAPS.} % does not result in small caps, what's wrong??? Compare: {\sc small caps} % does give small caps (therefore, not part of my

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread C.
for that in tex, we have to define it using the font feature. If , like Bernhard wrote, \addff is broken, that would affect also features like 'sups', 'dlig' and so on. -Ursprüngliche Nachricht- Von: Bernhard Rosensteiner [mailto:brosenstei...@gmail.com] Gesendet: Sonntag, 3. April

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread Bernhard Rosensteiner
, and since (to my knowledge) there is no style like \sc for that in tex, we have to define it using the font feature. If , like Bernhard wrote, \addff is broken, that would affect also features like 'sups', 'dlig' and so on. -Ursprüngliche Nachricht- Von: Bernhard Rosensteiner

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread C.
(or at least using) the other font feature (c2sc) does not work, and since (to my knowledge) there is no style like \sc for that in tex, we have to define it using the font feature. If , like Bernhard wrote, \addff is broken, that would affect also features like 'sups', 'dlig' and so

  1   2   >