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
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]
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
untested)
you can try
\definefontfeature[default][default][spacekern=no]
Hans
--
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038
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
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
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
>>>
>
, 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
hapter][pagestyle={\feature[=][tabularnumbers]}]
\definefontfeature[default][default][onum=yes]
\setupbodyfont[pagella]
\starttext
\setcounter[userpage][100]
\completecontent
\dorecurse{20}{\expanded{\chapter{Chapter \recurselevel}}}
\st
; [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»
?
\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
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
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
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
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
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
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
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
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] З
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
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
{
type = "substitution",
data = {
["b"] = "B",
["c"] = "C",
},
},
},
-- steps= {
-- {
-- rules = {
-- {
-- before = { { "
name= "ytest",
> type= "chainsubstitution",
> -- flags = { false, false, false, false },
> lookups = {
> {
> type = "substitution",
> data = {
>
;C",
},
},
},
-- steps= {
-- {
-- rules = {
-- {
-- before = { { "a" } },
-- current = { { "b", "c" } },
-- lookups = { 1 },
--
>type = "ligature",
> >data = { [0x2013] = {0x002D, 0x002D} },
> >prepend = true,
> >},
> >})
> >fonts.handlers.otf.features.register {
> >name= "du
prepend = true,
},
})
fonts.handlers.otf.features.register {
name= "dunno",
description = "bug demo",
}
\stopluacode
\definefontfeature [myfeat] [default] [dunno=yes,liga=yes,mode=node]
\definefont [
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
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
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
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
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
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
umbers]
\stopsectionblockenvironment
\startsectionblockenvironment[backpart]
\setupuserpagenumber[numberconversion=numbers]
\stopsectionblockenvironment
% fonts
\definefontfamily[palatino][rm][Palatino Linotype][features={default,
quality}]
\definefontfeature[f:superscript][sups=yes]
\setupbodyfont[palatino
number] [][numbers]
\definestructureconversionset[backpart:pagenumber] [][numbers]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setupuserpagenumber[numberconversion=numbers]
\stopsec
. 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
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
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
[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
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
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
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
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
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
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
]
\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
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
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
>
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
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
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
% 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
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] [
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
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
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
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
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]
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]
>
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
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
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
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
\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
]
\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
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[
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
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
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
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
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
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
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
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
> 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
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
\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
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
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][
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
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”).
>
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
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
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
ot;right", -char.width },
> { "down", char.depth },
> { "slot", 1, underscore },
> }
> }
> end
>
>
> utilities.sequencers.appendaction("aftercopyingcharacters","after",&qu
= {
{ "right", -char.width },
{ "down", char.depth },
{ "slot", 1, underscore },
}
}
end
utilities.sequencers.appendaction("aftercopyingcharacters","after","document
gt;
> fonts.constructors.newfeatures("otf").register {
> name= "funnyhyphen",
> description = "funny hyphen",
> manipulators = {
> base = addfunnyhyphen,
> node = addfunnyhyphen,
>
},
}
}
end
fonts.constructors.newfeatures("otf").register {
name= "funnyhyphen",
description = "funny hyphen",
manipulators = {
base = addfunnyhyphen,
node = addfunnyhyphen,
}
}
\stopluacode
},
}
}
end
fonts.constructors.newfeatures("otf").register {
name= "funnyhyphen",
description = "funny hyphen",
manipulators = {
base = addfunnyhyphen,
node = addfunnyhyphen,
}
manipulators = {
> base = addfunnyhyphen,
> node = addfunnyhyphen,
> }
> }
>
> \stopluacode
>
> \definefontfeature[default][default][funnyhyphen=yes]
>
> \starttext
>
> \prehyphenchar"FE000
>
>
,
manipulators = {
base = addfunnyhyphen,
node = addfunnyhyphen,
}
}
\stopluacode
\definefontfeature[default][default][funnyhyphen=yes]
\starttext
\prehy
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
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]
>
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
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
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
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
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
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
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
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
701 - 800 of 1669 matches
Mail list logo