Re: [NTG-context] Alignment for narrower text

2016-04-03 Thread Wolfgang Schuster
prevent protrusion as can be seen in the following example. \definefontfeature[default][default][protrusion=quality] \setupbodyfont[modern-designsize] \starttext “\vl Text\par \vl Text \startnarrower “\vl Text\par \vl Text \stopnarrower \blank[3*line]\setupalign[hanging] “\vl Text\par \vl

Re: [NTG-context] Alignment for narrower text

2016-04-02 Thread Jan Tosovsky
mple because there is no problem with \leftskip. > > What he means is that protrusion at the left margin doesn’t > at the begin of a paragraph when you use indentation. Thanks for examples. I'll finally use another approach - disabling indentation locally: \definefontfeature[default]

Re: [NTG-context] Alignment for narrower text

2016-04-01 Thread Wolfgang Schuster
ts an indent box prepended) .. you should use leftskip (\startnarrower...) in such cases This is a bad example because there is no problem with \leftskip. What he means is that protrusion at the left margin doesn’t at the begin of a paragraph when you use indentation. %%% begin example \definefon

Re: [NTG-context] Error - font-otj.lua:1503: attempt to perform arithmetic on local 'rightkern'

2016-03-30 Thread Hans Hagen
untested) you can try \definefontfeature[default][default][spacekern=no] Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
Hello Wolfgang, indeed if one uses pagella it is true what you say. If I use Seravek, which has oldstuyle figures also, then it does not work in the same way. I tested with \addfeature[oldstyle] which is defined as \definefontfeature[oldstyle][default][sript=latn,onum=yes] With this feature

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Wolfgang Schuster
Willi Egger <mailto:cont...@boede.nl> 29. März 2016 um 20:38 I underrstand this, however then I do not get tabular figures… Do you want them for oldstyle figures or lining figures. \definefontfeature [onum+pnum] [onum=yes,lnum=no,pnum=yes,tnum=no] \definefontfeature [onum+tnum] [onum=ye

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
t]}, number=no] >>> >>> \setuplist[section][pagecommand={\addfeature[tnum]#1\subtractfeature[tnum]}] >>> >>> However if I do this then I get the pagenumber prefixed with ‘section’ e.g. >>> >>> bbb bar buch bühne section3 >>> >

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
, number=no] >> >> \setuplist[section][pagecommand={\addfeature[tnum]#1\subtractfeature[tnum]}] >> >> However if I do this then I get the pagenumber prefixed with ‘section’ e.g. >> >> bbb bar buch bühne section3 >> >> What am I doing in the wron

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Wolfgang Schuster
hapter][pagestyle={\feature[=][tabularnumbers]}] \definefontfeature[default][default][onum=yes] \setupbodyfont[pagella] \starttext \setcounter[userpage][100] \completecontent \dorecurse{20}{\expanded{\chapter{Chapter \recurselevel}}} \st

Re: [NTG-context] Example of quality typesetting (sic.)

2016-02-22 Thread Pablo Rodriguez
; [nothyphenated,verytolerant,stretch] % hz? > > \definefontfeature [nokern] [kern=no,liga=no] > > \setff{nokern} > > and still I cannot produce anything near as horrible (without adding > multiple non-breakable spaces and the like)! Who knows what did the user to «create»

Re: [NTG-context] Example of quality typesetting (sic.)

2016-02-22 Thread Hans Hagen
? \definefontfeature [nokern] [kern=no,liga=no] \setff{nokern} and still I cannot produce anything near as horrible (without adding multiple non-breakable spaces and the like)! \starttext \definedfont[Serif] % no kerns and ligatures and ... \hsize 10cm % kind of columns

Re: [NTG-context] Example of quality typesetting (sic.)

2016-02-22 Thread Alan BRASLAU
On Mon, 22 Feb 2016 18:46:36 +0100 Pablo Rodriguez wrote: > Good typography isn’t a software program, but a craft. (I guess... ) > > Your example scared me. My goodness! I have tried \setupalign [nothyphenated,verytolerant,stretch] % hz? \definefontfeature [nokern] [kern=n

[NTG-context] Character rotation font feature available?

2016-02-14 Thread Zhichu Chen
al", "pdf: 1 0 0 1 0 0 cm Q"}, } } setmetatableindex(new_c,old_c) characters[unicode] = new_c additions[private] = old_c end for k, v in next, additions do characters[k] = v

Re: [NTG-context] Typesetting Arabic (Scheherazade)

2016-02-05 Thread Alan Bowen
Acch. Sorry for the noise. It should be \definefallbackfamily[mainface][serif][Scheherazade][range=0600-077F, features=arabic] Alan On Fri, Feb 5, 2016 at 6:28 AM, Alan Bowen wrote: > currently have: > > \definefontfeature > [arabic] > [mode=node,language=dflt,script=ara

[NTG-context] Typesetting Arabic (Scheherazade)

2016-02-05 Thread Alan Bowen
currently have: \definefontfeature [arabic] [mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,tlig=yes, calt=yes,trep=yes,mark=yes,mkmk=yes, kern=yes,curs=yes] \definefallbackfamily[mainface][serif][Scheherazade][range=0600-077F

[NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
Code: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature [arabic] [mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,tlig=yes, calt=yes,trep=yes,clig=yes, mark=yes,mkmk=yes,kern=yes,curs=yes

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Hans Hagen
On 1/17/2016 7:47 PM, Ibn Saeed wrote: I have also made a post at tex.stackexchange.com I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the code: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature

[NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
I have also made a post at tex.stackexchange.com I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the code: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature [arabic] [mode=node,language=dflt,script

Re: [NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-17 Thread Hans Hagen
hz,hanging] % microtypography enabled \definefontfeature[default][default][protrusion=quality,expansion=quality] \definetypeface[mainface][rm][specserif][Linux Libertine O] [default] \setupbodyfont[mainface,14pt] \mainlanguage[russian] \setupindenting[yes,medium,first] \starttext {\kerncharacters[-0.018] З

Re: [NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-16 Thread Aditya Mahajan
ually insert \kerncharacters commands to do the trick. Here's a MWE for the purpose of demonstration: % ConTeXt code \setuppapersize[A5] \setupbackgrounds[text] [rightframe=on,framecolor=red,rulethickness=0.1pt] %right margin line \setupalign[hz,hanging] % microtypography enabled \definef

[NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-14 Thread Alexander Dyomin
trick. Here's a MWE for the purpose of demonstration: % ConTeXt code \setuppapersize[A5] \setupbackgrounds[text] [rightframe=on,framecolor=red,rulethickness=0.1pt] %right margin line \setupalign[hz,hanging] % microtypography enabled \definefontfeature[default][default][protrusion=quality

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

2016-01-10 Thread Hans Hagen
{ type = "substitution", data = { ["b"] = "B", ["c"] = "C", }, }, }, -- steps= { -- { -- rules = { -- { -- before = { { "

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

2016-01-09 Thread Paolo Brasolin
name= "ytest", > type= "chainsubstitution", > -- flags = { false, false, false, false }, > lookups = { > { > type = "substitution", > data = { >

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

2016-01-07 Thread Hans Hagen
;C", }, }, }, -- steps= { -- { -- rules = { -- { -- before = { { "a" } }, -- current = { { "b", "c" } }, -- lookups = { 1 }, --

Re: [NTG-context] [fontloader/old] mixed substitution / ligatures feature

2015-12-20 Thread Philipp Gesang
>type = "ligature", > >data = { [0x2013] = {0x002D, 0x002D} }, > >prepend = true, > >}, > >}) > >fonts.handlers.otf.features.register { > >name= "du

Re: [NTG-context] [fontloader/old] mixed substitution / ligatures feature

2015-12-18 Thread Hans Hagen
prepend = true, }, }) fonts.handlers.otf.features.register { name= "dunno", description = "bug demo", } \stopluacode \definefontfeature [myfeat] [default] [dunno=yes,liga=yes,mode=node] \definefont [

[NTG-context] [fontloader/old] mixed substitution / ligatures feature

2015-12-17 Thread Philipp Gesang
ures.register { name= "dunno", description = "bug demo", } \stopluacode \definefontfeature [myfeat] [default] [dunno=yes,liga=yes,mode=node] \definefont [somefont] [file:cmunrm.otf*myfeat] \starttext \somefont foo bar " ba

Re: [NTG-context] Protrusion and \scale

2015-12-15 Thread Hans Hagen
On 12/15/2015 8:46 AM, Marc Trius wrote: Hello, I'm using \scale to scale up a headline to the width of the entire paragraph, like so: \definefontfeature [default] [default] [protrusion=quality,expansion=quality] \def\scaleHead#1% {\scale[width=\textwidth]{#1}} \setuphead[su

[NTG-context] Protrusion and \scale

2015-12-15 Thread Marc Trius
Hello, I'm using \scale to scale up a headline to the width of the entire paragraph, like so: \definefontfeature [default] [default] [protrusion=quality,expansion=quality] \def\scaleHead#1% {\scale[width=\textwidth]{#1}} \setuphead[subject] [textcommand=\scaleHead] \starttext \su

Re: [NTG-context] New btx code problem with quote protrusion, redux

2015-11-02 Thread Rik Kabel
On 2015-11-02 04:05, Hans Hagen wrote: On 11/2/2015 9:53 AM, Hans Hagen wrote: \definefontfeature [default][protrusion=quality] btw that is bad, should be: \definefontfeature [default][default][protrusion=quality] as adding protrusion out of some quality argument doesn't go well

Re: [NTG-context] New btx code problem with quote protrusion, redux

2015-11-02 Thread Hans Hagen
On 11/2/2015 9:53 AM, Hans Hagen wrote: \definefontfeature [default][protrusion=quality] btw that is bad, should be: \definefontfeature [default][default][protrusion=quality] as adding protrusion out of some quality argument doesn't go well with removing kerns and ligatures

Re: [NTG-context] New btx code problem with quote protrusion, redux

2015-11-02 Thread Hans Hagen
problem, that is, method=font appears to be inimical to the left, right, and middle options for \startblockquotation without regard to the bibliography system in use. \showframe \definefontfeature [default][protrusion=quality] \setupalign[hz,hanging] % The next line should allow

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Wolfgang Schuster
umbers] \stopsectionblockenvironment \startsectionblockenvironment[backpart] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment % fonts \definefontfamily[palatino][rm][Palatino Linotype][features={default, quality}] \definefontfeature[f:superscript][sups=yes] \setupbodyfont[palatino

Re: [NTG-context] tex error in curent beta

2015-10-24 Thread Jan Tosovsky
number] [][numbers] \definestructureconversionset[backpart:pagenumber] [][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupuserpagenumber[numberconversion=numbers] \stopsec

Re: [NTG-context] Obtaining features from EBGaramond font in ConTeXt

2015-10-23 Thread josephcanedo
. It is from ConTeXt MKII. Next, modify the definefontfeature and definefontfamily commands as shown. (The default features for the font are in the file type-imp-ebgaramond.mkiv.) That should be it to get started. \language[fr] % french hyphenation \definefontfeature[myfeatures][ss02=yes,cv01=yes

[NTG-context] New btx code problem with quote protrusion, redux

2015-10-23 Thread Rik Kabel
left, right, and middle options for \startblockquotation without regard to the bibliography system in use. \showframe \definefontfeature [default][protrusion=quality] \setupalign[hz,hanging] % The next line should allow \startquotation to protrude quotes properly \setupdelimitedtext

Re: [NTG-context] Obtaining features from EBGaramond font in ConTeXt

2015-10-23 Thread Rik Kabel
I use texlive 2015 on Windows 8.1 Many thanks, Best regards Joseph Canedo First, some small changes to your example. Remove the enableregime directive; ConTeXt MKIV, which you appear to be using, does not use this. It is from ConTeXt MKII. Next, modify the definefontfeature and

Re: [NTG-context] Learning about Kerning

2015-09-15 Thread Michael Guravage
[width=6.25cm] \definefontfeature[smallcapitals] [smcp=yes] \starttext \setuphead[subject][style=\setff{smallcapitals}, textstyle={\kerncharacters[.40]}] \startsubject[title={Properties of Blood}] \stopsubject \setuphead[subject][style=\setff{smallcapitals},deeptextcommand={\kerncharacters

Re: [NTG-context] Strange problem with EBGaramond st ligature and 20150901 beta

2015-09-04 Thread Hans Hagen
other letters. more in conjunction with hyphenation Can somebody else reproduce the problem. For the record, this is running on Windows 10 Pro 64-bit. The problem document: \definefontfeature [ff:ebg][default][ clig=yes,hlig=yes, %% 1

[NTG-context] Strange problem with EBGaramond st ligature and 20150901 beta

2015-09-03 Thread Rik Kabel
problem. For the record, this is running on Windows 10 Pro 64-bit. The problem document: \definefontfeature [ff:ebg][default][ clig=yes,hlig=yes, %% 1 %% ] \definefontfamily [mainface][serif

Re: [NTG-context] em-/en-dashes and newotf

2015-07-14 Thread Rik Kabel
that this sample doesn’t work with latest beta either: \usemodule[newotf] \definefontfeature[noliga][liga=no] \starttext \startTEXpage[offset=1em] fiflff no--liga: \addfeature[noliga]fiflff --- em--dash \stopTEXpage \stoptext I may be wrong, but I

Re: [NTG-context] newotf definefontfeatures problem with script=hebr

2015-07-12 Thread Hans Hagen
HEBREW POINT HOLAM, followed by HEBREW LETTER ALEF (U05DC with combining U05B9 followed by U05D0). I have not come across other combinations that cause the problem, but I have not done an exhaustive search. \usemodule [newotf] \setupdirections [bidi=global] \definefontfeature

[NTG-context] newotf definefontfeatures problem with script=hebr

2015-07-12 Thread Rik Kabel
LETTER ALEF (U05DC with combining U05B9 followed by U05D0). I have not come across other combinations that cause the problem, but I have not done an exhaustive search. \usemodule [newotf] \setupdirections [bidi=global] \definefontfeature [hebrew] [default] [lang=heb,ccmp=yes

Re: [NTG-context] em-/en-dashes and newotf

2015-07-12 Thread Hans Hagen
beta either: \usemodule[newotf] \definefontfeature[noliga][liga=no] \starttext \startTEXpage[offset=1em] fiflff no--liga: \addfeature[noliga]fiflff --- em--dash \stopTEXpage \stoptext I may be wrong, but I think that the non-deactivated OpenType

Re: [NTG-context] em-/en-dashes and newotf

2015-07-12 Thread Rik Kabel
] \definefontfeature[noliga][liga=no] \starttext \startTEXpage[offset=1em] fiflff no--liga: \addfeature[noliga]fiflff --- em--dash \stopTEXpage \stoptext I may be wrong, but I think that the non-deactivated OpenType feature is related to the non-activated em

Re: [NTG-context] em-/en-dashes and newotf

2015-07-12 Thread Otared Kavian
2/2015 04:12 PM, Hans Hagen wrote:[...]maybe some file is not loaded ... i uploaded a variant that might work betterMany thanks for the new beta.I’m afraid that this sample doesn’t work with latest beta either:    \usemodule[newotf]    \definefontfeature[noliga][liga=no]    \starttext    \startT

Re: [NTG-context] em-/en-dashes and newotf

2015-07-12 Thread Axel Kielhorn
le doesn’t work with latest beta either: > >\usemodule[newotf] > >\definefontfeature[noliga][liga=no] > >\starttext >\startTEXpage[offset=1em] >fiflff no--liga: >\addfeature[noliga]fiflff > >--- em--dash >\stopTEXpage >

Re: [NTG-context] em-/en-dashes and newotf

2015-07-12 Thread Pablo Rodriguez
On 07/12/2015 04:12 PM, Hans Hagen wrote: > [...] > maybe some file is not loaded ... i uploaded a variant that might work > better Many thanks for the new beta. I’m afraid that this sample doesn’t work with latest beta either: \usemodule[newotf] \definefontfeature[noliga

[NTG-context] OT features and newotf

2015-07-11 Thread Pablo Rodriguez
Dear list, I’m afraid that features don’t work with newotf: \usemodule[newotf] \definefontfeature[noliga][liga=no] \starttext \startTEXpage[offset=1em] fiflff \addfeature[noliga]fiflff \stopTEXpage \stoptext Is this a bug or am I missing something? Many

Re: [NTG-context] font features in XeTeX

2015-07-06 Thread Wolfgang Schuster
low is a MkIV example where I enabled the Stylistic Set 11 for the Fraktur font. \definefontfeature [longs] [ss11=yes] \definefontfamily [hauptfont] [rm] [Charis SIL] \definefontfamily [schoenfont] [rm] [Unifraktur Maguntia] [features={default,longs}] \setupbodyfont[hauptfont] \st

[NTG-context] New btx code problem with quote protrusion

2015-07-05 Thread Rik Kabel
% footnote containing a citation in the quote. See % http://www.mail-archive.com/ntg-context@ntg.nl/msg35580.html \definefontfeature [default][protrusion=quality] \setupalign[hz,hanging] \usebtxdataset [xx.bib] \starttext \startparagraph\noindent There is a citation

Re: [NTG-context] Newbie, question about fonts

2015-06-19 Thread Florian Rudt
mpressed Italic, Demi Compressed, and Demi Compressed > Italic). > > So, this is my not working example: > > %fonts for ijcv > \setupbodyfontenvironment[default][em=italic] > % > \definefontfamily [ijcv-fonts] [serif] [Minion Pro] > \definefontfamily [ijcv-fonts] [

Re: [NTG-context] Newbie, question about fonts

2015-06-19 Thread Thad Heltemes
t; I thought that all font styles are available (but I only need Book > Compressed, Book Compressed Italic, Demi Compressed, and Demi Compressed > Italic). > > So, this is my not working example: > > %fonts for ijcv > \setupbodyfontenvironment[default][em=italic] > % &g

[NTG-context] Newbie, question about fonts

2015-06-19 Thread Florian Rudt
example: %fonts for ijcv \setupbodyfontenvironment[default][em=italic] % \definefontfamily [ijcv-fonts] [serif] [Minion Pro] \definefontfamily [ijcv-fonts] [sans] [itcfranklingothicstd] % \definefontfeature [default] [default] [onum=yes] % \setupbodyfont[ijcv-fonts, 10.25pt] \setupinterlinespace[4.75mm

Re: [NTG-context] bug in latest beta?

2015-05-14 Thread Pablo Rodriguez
xt/base/typo-itc.lua:148: > attempt to call global 'setfield' (a nil value) Hans, here you have a sample that triggers the error in that line: \definefontfeature [default] [default] [script=latn, itlc=yes] \setupitaliccorrection

Re: [NTG-context] Removing a single ligature and using swash alternates

2015-05-04 Thread Hans Hagen
ent in the document, altough I don't remember the command, I think I might have seen something like \definereplacement [Th] [\noligature{Th}] that would, in a hackish way, deactivate it. What's the exact interface in that case? No idea about the Swashes? I thought that this would work

Re: [NTG-context] Removing a single ligature and using swash alternates

2015-05-04 Thread Manuel Blanco
the command, I think I might have seen something like \definereplacement [Th] [\noligature{Th}] that would, in a hackish way, deactivate it. What's the exact interface in that case? No idea about the Swashes? I thought that this would work \definefontfeature [swash] [swsh=yes]

Re: [NTG-context] buggy extra space after ff ligature

2015-03-24 Thread Otared Kavian
17:56, Pablo Rodriguez wrote: > > Dear list, > > I’m afraid I’ve hit a bug: > >\setuphyphenation[method=traditional] >\definefontfeature[default][default][itlc=yes] >\setupitaliccorrection[global,always] > >\setuphead[section][style=\it] >

[NTG-context] buggy extra space after ff ligature

2015-03-23 Thread Pablo Rodriguez
Dear list, I’m afraid I’ve hit a bug: \setuphyphenation[method=traditional] \definefontfeature[default][default][itlc=yes] \setupitaliccorrection[global,always] \setuphead[section][style=\it] \starttext \section{Different Efficiencies} \section{Different Effectivity

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

2015-02-05 Thread Jörg Weger
numbers (oldstyle numbers aligning correctly in tables through fixed spacing): \definefontfeature[f:tabular_oldstyle][onum=yes,tnum=yes] \unexpanded\def\settaboldstyle{\doaddfeature{f:tabular_oldstyle}} \settaboldstyle Proportional oldstyle numbers (oldstyle numbers for in-text use spaced

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

2015-02-05 Thread Hans Hagen
On 2/5/2015 2:10 PM, Jörg Weger wrote: Thank you very much! I had not thought it was that easy! Jörg On 05.02.2015 13:14, Wolfgang Schuster wrote: \definefontfamily [mainface][rm][Linux Libertine O] \definefontfamily [mainface][mm][TeX Gyre Pagella Math] \definefontfeature[f:sups][sups=yes

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

2015-02-05 Thread Jörg Weger
Thank you very much! I had not thought it was that easy! Jörg On 05.02.2015 13:14, Wolfgang Schuster wrote: \definefontfamily [mainface][rm][Linux Libertine O] \definefontfamily [mainface][mm][TeX Gyre Pagella Math] \definefontfeature[f:sups][sups=yes] \setupbodyfont[mainface] \setupnote

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

2015-02-05 Thread Wolfgang Schuster
\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 te

[NTG-context] bibliography: alignment of first hanging lines in publications list, hyphenation

2015-01-27 Thread Jörg Weger
] \usebtxdataset[testbib_daf.bib] \showframe \setbreakpoints[compound] \setupalign [hyphenated,justified,hanging,hz,] \definefontfeature[default][default][expansion=quality,protrusion=quality,] \hyphenation{Helbig Deutscher Heraus-geber} \starttext \cite[authoryears][weinrich:2006] \cite[authoryear

Re: [NTG-context] contextual alternates

2015-01-26 Thread Pablo Rodriguez
On 01/26/2015 10:59 AM, Hans Hagen wrote: > On 1/26/2015 10:18 AM, Pablo Rodriguez wrote: >> [...] >> I tested both options (script=latn and script=dflt) and neither worked. > > what happens when you enable all the features that the font provides "\definefontfeature[

Re: [NTG-context] contextual alternates

2015-01-26 Thread Hans Hagen
On 1/26/2015 10:18 AM, Pablo Rodriguez wrote: On 01/26/2015 10:04 AM, Hans Hagen wrote: On 1/25/2015 7:30 PM, Pablo Rodriguez wrote: [...] I’m afraid that the following doesn’t work: \definefontfeature[default][default][script=latn,language=eng, calt=yes] because it's dflt (default) an

Re: [NTG-context] contextual alternates

2015-01-26 Thread Pablo Rodriguez
On 01/26/2015 10:04 AM, Hans Hagen wrote: > On 1/25/2015 7:30 PM, Pablo Rodriguez wrote: >> [...] >> I’m afraid that the following doesn’t work: >> >> \definefontfeature[default][default][script=latn,language=eng, calt=yes] > > because it's dflt (default) an

Re: [NTG-context] contextual alternates

2015-01-26 Thread Hans Hagen
alt30' by [a.I_ ... f_dotlessi._I]; } calt5; language ENG ; # English script DFLT; lookup calt5; To me it is quite unusual. so the script / language combination is default / english (dflt/eng) Many thanks for your replies, Hans and Jan. I’m afraid that the following doesn’t work: \defin

Re: [NTG-context] contextual alternates

2015-01-25 Thread Pablo Rodriguez
gt;> >> To me it is quite unusual. > > so the script / language combination is default / english (dflt/eng) Many thanks for your replies, Hans and Jan. I’m afraid that the following doesn’t work: \definefontfeature

Re: [NTG-context] contextual alternates

2015-01-25 Thread Hans Hagen
On 1/25/2015 3:52 PM, Jan Tosovsky wrote: On 2015-01-25 Hans Hagen wrote: On 1/24/2015 2:12 PM, Pablo Rodriguez wrote: I have the following sample: \definefontfeature[default][default][script=latn, calt=yes] \definefontfamily[mainface][serif][Pecita] \setupbodyfont[mainface

Re: [NTG-context] contextual alternates

2015-01-25 Thread Jan Tosovsky
On 2015-01-25 Hans Hagen wrote: > On 1/24/2015 2:12 PM, Pablo Rodriguez wrote: > > > > I have the following sample: > > > > \definefontfeature[default][default][script=latn, calt=yes] > > \definefontfamily[mainface][serif][Pecita] > > \setu

Re: [NTG-context] contextual alternates

2015-01-25 Thread Hans Hagen
On 1/24/2015 2:12 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definefontfeature[default][default][script=latn, calt=yes] \definefontfamily[mainface][serif][Pecita] \setupbodyfont[mainface] \starttext \input zapf \stoptext The Pecita font

[NTG-context] contextual alternates

2015-01-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature[default][default][script=latn, calt=yes] \definefontfamily[mainface][serif][Pecita] \setupbodyfont[mainface] \starttext \input zapf \stoptext The Pecita font is licensed under the Open Font License and it can be

Re: [NTG-context] Catalan especial character (l·l) in ConTeXt

2015-01-14 Thread Wolfgang Schuster
> Am 14.01.2015 um 19:28 schrieb 19cat : > > Hello, again. > > I have another issue. > > When I put \definefontfeature command into environment file, doesn't work. I > must put in product file, before \startproduct command. > > You know why? Load the

Re: [NTG-context] Catalan especial character (l·l) in ConTeXt

2015-01-14 Thread 19cat
Hello, again. I have another issue. When I put \definefontfeature command into environment file, doesn't work. I must put in product file, before \startproduct command. You know why? This is my tree structure: prd_productname env_productname c_title c_cha

Re: [NTG-context] Catalan especial character (l·l) in ConTeXt

2015-01-14 Thread 19cat
\definefontfeature[default][default][featurefile=gemligature.fea] %\definefontfeature[default][default][featurefile=gemkerndot.fea] %\definefontfeature[default][default][featurefile=gemkernpair.fea] %\definefontfeature[default][default][featurefile=gemkerntrio.fea] \starttext \section{Geminated l·l

Re: [NTG-context] Catalan especial character (l·l) in ConTeXt

2015-01-08 Thread Keith J. Schultz
likes 19cat’s LaTeX example! Of course using \topaccent causes a character spacing to the preceding character! Here again the result is the worst for the default font of ConTeXt! Here my test MWE!? \mainlanguage[ca] %\definefontfeature[default][default][char-ligatures=yes,mode=node

Re: [NTG-context] Catalan especial character (l·l) in ConTeXt

2015-01-08 Thread Hans Hagen
nd it looks great. This is kind of tricky as in unicode they are not composed characters (char vs compat) so they are not dealt with in the collapser. I've added this to the beta: \definefontfeature[default][default][char-ligatures=yes,mode=node] \definefontfeature[default][default][

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread j. van den hoff
coming back to this again, if one uses old-style numerals for the page numbering the "problem" is aggravated: \showframe\showglyphs \definefontfeature [default] [default] [onum=yes] \definefontfamily [mainface] [serif] [garamondno8] \setupbodyfont[mainface,12pt] \setupheader

Re: [NTG-context] [fontloader] positioning of diacritics

2014-12-15 Thread Philipp Gesang
e Libertine family > > handle the placement of diacritics. > > > > With Version 5.1.2 of the family [0], the "RZI" version > > (fullname: “Linux Libertine O Semibold Italic”) shows a different > > behavior than its “RZ” companion (“Linux Libertine O Semibold”). >

Re: [NTG-context] [fontloader] positioning of diacritics

2014-12-15 Thread Hans Hagen
5.1.2 of the family [0], the "RZI" version (fullname: “Linux Libertine O Semibold Italic”) shows a different behavior than its “RZ” companion (“Linux Libertine O Semibold”). Short demonstration in Context: \definefontfeature [ourfeats] [default] [mode=node] \starttext

[NTG-context] [fontloader] positioning of diacritics

2014-12-14 Thread Philipp Gesang
t; version (fullname: “Linux Libertine O Semibold Italic”) shows a different behavior than its “RZ” companion (“Linux Libertine O Semibold”). Short demonstration in Context: \definefontfeature [ourfeats] [default] [mode=node] \starttext \start \definedfont [file:LinLibertine_RI.otf*ourfeat

Re: [NTG-context] two issues with new hyphenator

2014-12-10 Thread Hans Hagen
ative=url] \setuphyphenation[method=traditional] \unexpanded\def\hyphenatedurl#1% {\dontleavehmode \begingroup \tt \sethyphenationfeatures[url]% #1% \endgroup} \starttext \hsize5mm \hyphenatedurl{http://www.pragma-ade.nl} \stoptext Many thanks for your help again, Pabl

Re: [NTG-context] two issues with new hyphenator

2014-12-10 Thread Pablo Rodriguez
ot;right", -char.width }, > { "down", char.depth }, > { "slot", 1, underscore }, > } > } > end > > > utilities.sequencers.appendaction("aftercopyingcharacters","after",&qu

Re: [NTG-context] two issues with new hyphenator

2014-12-08 Thread Hans Hagen
= { { "right", -char.width }, { "down", char.depth }, { "slot", 1, underscore }, } } end utilities.sequencers.appendaction("aftercopyingcharacters","after","document

Re: [NTG-context] two issues with new hyphenator

2014-12-08 Thread Pablo Rodriguez
gt; > fonts.constructors.newfeatures("otf").register { > name= "funnyhyphen", > description = "funny hyphen", > manipulators = { > base = addfunnyhyphen, > node = addfunnyhyphen, >

Re: [NTG-context] two issues with new hyphenator

2014-12-06 Thread Hans Hagen
}, } } end fonts.constructors.newfeatures("otf").register { name= "funnyhyphen", description = "funny hyphen", manipulators = { base = addfunnyhyphen, node = addfunnyhyphen, } } \stopluacode

Re: [NTG-context] two issues with new hyphenator

2014-12-04 Thread Hans Hagen
}, } } end fonts.constructors.newfeatures("otf").register { name= "funnyhyphen", description = "funny hyphen", manipulators = { base = addfunnyhyphen, node = addfunnyhyphen, }

Re: [NTG-context] two issues with new hyphenator

2014-12-04 Thread Pablo Rodriguez
manipulators = { > base = addfunnyhyphen, > node = addfunnyhyphen, > } > } > > \stopluacode > > \definefontfeature[default][default][funnyhyphen=yes] > > \starttext > > \prehyphenchar"FE000 > >

Re: [NTG-context] two issues with new hyphenator

2014-12-03 Thread Hans Hagen
, manipulators = { base = addfunnyhyphen, node = addfunnyhyphen, } } \stopluacode \definefontfeature[default][default][funnyhyphen=yes] \starttext \prehy

Re: [NTG-context] the new simplefonts stuff

2014-09-02 Thread Pablo Rodriguez
commands: \definefontfeature[default][default][script=latn, protrusion=quality] \setupalign[hanging] I hope it helps, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Font (roboto) and math font - error

2014-08-27 Thread Zenlima
that error.. even if I only enable the math > > font. > > > > Every hint is welcome :) > > > > Here is my example to reproduce the error: > > > > ---8<-- > > > > \enableregime[utf]

\definefontfeature[fakesc][default][size=.8]

 >

Re: [NTG-context] Font (roboto) and math font - error

2014-08-27 Thread Hans Hagen
the points, In my example: as soon I enable any of the two \definetypeface lines I am running into that error.. even if I only enable the math font. Every hint is welcome :) Here is my example to reproduce the error: ---8<-- \enableregime[utf]

\definefontfeature[fakesc][default][size

[NTG-context] Font (roboto) and math font - error

2014-08-27 Thread Zenlima
enable any of the two \definetypeface lines I am running into that error.. even if I only enable the math font. Every hint is welcome :) Here is my example to reproduce the error: ---8<-- \enableregime[utf]

\definefontfeature[fakesc][default][size=.8]

 \starttypescript [sans] [rob

Re: [NTG-context] \os

2014-08-03 Thread Procházka Lukáš
with \definefontfeature[default][default][onum=yes] BEFORE you set the font with the \setupbodyfont command. That was the point! I'm getting now what I was trying to achieve... Best regards, Lukas To change the numbers for certain parts of your document you can use the \feature co

Re: [NTG-context] \os

2014-08-03 Thread Wolfgang Schuster
talking about enabling them. When you *want* your document to use old style figures for the body font you have to enable the onum feature in the default feature set which can be done with \definefontfeature[default][default][onum=yes] before you set the font with the \setupbodyfon

Re: [NTG-context] \os

2014-08-03 Thread Joshua Krämer
gt; > 1) switch to {\os } when writing a number manually, > > 2) define "old-style-making-commands" wherever numbers are generated > automatically, i.e. e.g.: Just do it the way Wolfgang said, using features: \definefontfeature [default] [default] [lnum=yes, onum=no] \define

Re: [NTG-context] \os

2014-08-02 Thread Procházka Lukáš
TA fi ffi fl ffl {\os AV TA fi ffi fl ffl} \stoptext A different method to enable old style figures is to use the \feature command which enables the feature without canceling ligatures etc. \definefontfeature[f:oldstyle][onum=yes] \starttext 0123456789 {\os 0123456789} 0123456789 012345678

Re: [NTG-context] \os

2014-08-02 Thread Wolfgang Schuster
Am 02.08.2014 um 10:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > > my case may be a bit more complicated; > it uses an environment file which uses \os in it. > > So let's have: > > > \definefontfeature[default][default][onum=no,lnum=ye

Re: [NTG-context] \os

2014-08-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, my case may be a bit more complicated; it uses an environment file which uses \os in it. So let's have: ---- \definefontfeature[default][default][onum=no,lnum=yes] % In fact, in a separate environment file >> \setupbodyfont[palatino,11pt] \os % In fact, in a separate envir

<    3   4   5   6   7   8   9   10   11   12   >