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

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

2011-04-01 Thread C.
Hello, could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) the font feature 'small capitals' is broken? Can someone who has Minion Pro test this, please? I'm using \usemodule[simplefonts] \definefontfeature[smcp][default][smcp=yes] \def\sc{\addff{smcp}} \definefontfeature

Re: [NTG-context] Endash tlig not working

2011-03-22 Thread Hans Hagen
On 22-3-2011 1:23, C. wrote: Hello, the automatic replacement of -- to endash does not work with a certain font. \endash does work and produces the expected symbol. I also have these lines in my code: \definefontfeature[tlig][default][tlig=yes] \addff{tlig} I checked that the endash

Re: [NTG-context] Endash tlig not working

2011-03-22 Thread C.
-2011 1:23, C. wrote: Hello, the automatic replacement of -- to endash does not work with a certain font. \endash does work and produces the expected symbol. I also have these lines in my code: \definefontfeature[tlig][default][tlig=yes] \addff{tlig} I checked that the endash

Re: [NTG-context] Endash tlig not working

2011-03-22 Thread Khaled Hosny
have these lines in my code: \definefontfeature[tlig][default][tlig=yes] \addff{tlig} I checked that the endash is at position U+2013 in the font. What else could be wrong here? the fact that you don't tell what font it concerns and that no minimal example is added Hans

[NTG-context] Endash tlig not working

2011-03-21 Thread C.
Hello, the automatic replacement of -- to endash does not work with a certain font. \endash does work and produces the expected symbol. I also have these lines in my code: \definefontfeature[tlig][default][tlig=yes] \addff{tlig} I checked that the endash is at position U+2013 in the font. What

Re: [NTG-context] Fontfeature: smcp

2011-01-07 Thread Wolfgang Schuster
\def\sc{\addff{smcp} I get still no smallcaps. You need \definefonfeature[smcp][smcp=yes] to enable a feature with \addff or \addfs. Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Fontfeature: smcp

2011-01-07 Thread Willi Egger
[Seravek] [mm] [math][palatino][default] \stoptypescript %\def\sc{\addff{smcp}} \starttext {\sc Smallcaps: \fontname\font. Amsterdam, 1234567890} \stoptext This gives no smallcaps wether the \def is active or not. Strange thing is, that is works with lm and pagella (tested). Willi On 7 Jan

[NTG-context] Fontfeature: smcp

2011-01-06 Thread Willi Egger
{\addff{smcp} I get still no smallcaps. Willi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

Re: [NTG-context] [OT] Public Fonts for Minority Languages of Russia

2011-01-05 Thread Philipp Gesang
.} \usetypescriptfile[type-paratype] \usetypescript[paratype] \usetypescript[paratype-caption] \usetypescript[paratype-narrow] \setupbodyfont[paratype,12pt] \mainlanguage[ru] \setbreakpoints[compound] \setuptolerance[horizontal,tolerant] \definefontfeature[cpsp][default][cpsp=yes,mode=node] \def\heading{\addff

[NTG-context] Typescript Bodoni Old Fashion

2010-12-03 Thread Philipp Gesang
-- sadly no text figures except in the SC variant‽ 0123456789\hfill {\addff{superscrp} 0123456789}\hfill %% Diacritics ěščřžýáíéóůúňďť\hfill ąśæåżźćóęł\par Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz Ąą Ęę Łł Ćć Śś Żż Źź Ńń Ěě Šš Čč

Re: [NTG-context] composing characters in MKIV

2010-09-30 Thread Mojca Miklavec
On Thu, Sep 30, 2010 at 22:14, Hans Hagen wrote: \starttext \definefontfeature[default][default][compose=yes] \setupbodyfont[lucida] Oh, I have tried that; actually I did \definefontfeature[default][liga=yes,kern=yes,tlig=yes,compose=yes] as well as \addff{compose}, but it had zero

Re: [NTG-context] composing characters in MKIV

2010-09-30 Thread Hans Hagen
On 30-9-2010 11:14, Mojca Miklavec wrote: as well as \addff{compose}, but it had zero effect since I used that \addff only works for opentype (unless I make a pseudo feature which is a lot of work for something that is never dynamic) However compose=yes creates an unacceptable uppercase Č

Re: [NTG-context] Prevent Ligatures

2010-09-10 Thread Taco Hoekwater
On 09/10/2010 01:01 PM, Andreas Harder wrote: Hi all, I've two questions. 1. Is f|*|f still the right way to prevent a ligature? 2. \setff{noligs} don't seem to have effect, while the defined font is working. What is wrong? Have you tried \addff ? Best wishes, Taco

Re: [NTG-context] Prevent Ligatures

2010-09-10 Thread Andreas Harder
tried \addff ? Yes, I have. Greeting Andreas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Setting up protrusion, side-effects

2010-07-28 Thread Wolfgang Schuster
, of yourse there is \addff to change a certain setting but this is only meant for local changes and not for global range. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Using stylistic sets in math

2010-07-17 Thread Taco Hoekwater
just have to set them up, then the \mathaltcal macro becomes something like: \def\mathaltcal#1{\addff{ss09}#1\subff{ss09}} Best wishes, Taco ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Using stylistic sets in math

2010-07-16 Thread Khaled Hosny
calligraphic one, so I did: \starttext \setupbodyfont[xits] \ctxlua{fonts.otf.features.register_base_substitution('ss01')} \definefontfeature[ss01][mode=base,script=math,ss01=yes] $\addff{ss01}\cal ABCDEFG$ \stoptext (I was not expecting \addff to work in math, but anyway). This works

[NTG-context] Using stylistic sets in math

2010-07-15 Thread Khaled Hosny
{fonts.otf.features.register_base_substitution('ss01')} \definefontfeature[ss01][mode=base,script=math,ss01=yes] $\addff{ss01}\cal ABCDEFG$ \stoptext (I was not expecting \addff to work in math, but anyway). This works, however, but I don't want to set the feature globally: \starttext \ctxlua

Re: [NTG-context] Using stylistic sets in math

2010-07-15 Thread Hans Hagen
{fonts.otf.features.register_base_substitution('ss01')} \definefontfeature[ss01][mode=base,script=math,ss01=yes] $\addff{ss01}\cal ABCDEFG$ \stoptext (I was not expecting \addff to work in math, but anyway). This works, however, but I don't want to set the feature globally: \starttext \ctxlua

[NTG-context] can Context render complex scripts?

2010-06-11 Thread Michael Saunders
] \stoptypescript \def\bengali#1{{\switchtobodyfont[dwbangla]\addff{indic}\language[ben]#1}} \usetypescript[MTbook] \starttext \bengali{সত্যজিৎ রায়} \stoptext সত্যজিৎ isn't rendered correctly in the output---after a the first two characters, things go wrong. Yet, with the same font

Re: [NTG-context] macro beginner question

2010-06-05 Thread Taco Hoekwater
, perhaps like so: \def\OpticalTest[#1]#2{% \addff{\OOFeature}% \definedfont[#2 at \OOSize]% \setupinterlinespace \hbox to \textwidth{\clip[width=.39\textwidth, bottomoffset=\strutdepth]{% \Mycolor ..\hbox to .39

Re: [NTG-context] macro beginner question

2010-06-05 Thread Bernhard Rosensteiner
back, and add \Mycolor to the \OpticalTest macro, perhaps like so: \def\OpticalTest[#1]#2{% \addff{\OOFeature}% \definedfont[#2 at \OOSize]% \setupinterlinespace \hbox to \textwidth{\clip[width=.39\textwidth, bottomoffset=\strutdepth

Re: [NTG-context] LuaTeX error ... object in use

2010-05-31 Thread Hans Hagen
=yes]%numerator \definefontfeature[de][body][dnom=yes]%denominator in {\addff{in}123} su {\addff{su}123} nu {\addff{nu}123} de {\addff{de}123} produces only proportional oldstyle figures. i have a fix for it but first idris has to do some testing with his fonts as this mechanism was primarily made

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Michael Saunders
\definefontfeature[de][body][dnom=yes]%denominator in{\addff{in}123} su{\addff{su}123abc} nu{\addff{nu}123} de{\addff{de}123} The numerals all come out as proportional oldstyle, but the letters work. So, sinf, sups, numr, and dnom are failing but ordn works. I was thinking---besides updating to 0.60

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Michael Saunders
,pnum=yes,calt=yes,protrusion=quality,expansion=quality] \definefontfeature[in][body][sinf=yes]%inferior \definefontfeature[su][body][sups=yes,ordn=yes]%superior \definefontfeature[nu][body][numr=yes]%numerator \definefontfeature[de][body][dnom=yes]%denominator in {\addff{in}123} su {\addff{su}123} nu

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Hans Hagen
]%denominator in {\addff{in}123} su {\addff{su}123} nu {\addff{nu}123} de {\addff{de}123} produces only proportional oldstyle figures. add mode=node to the 'body' feature definitions Hans - Hans

[NTG-context] bibliography overprinting and out of order

2010-04-29 Thread Michael Saunders
de la Convention} \stoppublication \startpublication[k=siNist,t=techreport, a={{Taylor},{Thompson}},y=2008, n=2,s=TT08] \author[]{Barry~N.}[B.~N.]{}{Taylor} \author[]{Ambler}[A.]{}{Thompson} \pubyear{2008} \title{The international system of units ({\addff{sc}si})} \bibtype{{\addff{sc}nist} Special

Re: [NTG-context] Ligaturing in footnotes.

2010-04-18 Thread Wolfgang Schuster
in exactly this particular context. A nice trick i found in the core (typo-cap.mkiv) \def\sc{\setfontfeature{smallcaps}} % \addff{smallcaps}? \definefontfeature [default] [default] [mode=node,onum=yes] \definefontfeature [smallcaps] [default] [smcp=yes] \setupenumerations[footnote][before=\char\zerocount

Re: [NTG-context] grid in footnotes, was: Re: footnote marks fail

2010-04-14 Thread Hans Hagen
\definefontfeature[nu][body][numr=yes]%numerator \definefontfeature[po][body][pnum=yes,onum=yes]%proportional old style \newcommand{\fnmstyle}{\addff{nu}\switchtobodyfont[12pt]} \newcommand{\fntstyle}{\addff{po}} i was not even aware that \newcommand was there ... probably more a catch

Re: [NTG-context] grid in footnotes, was: Re: footnote marks fail

2010-04-14 Thread Michael Saunders
[style=\hfstyle] because I'll get an error from: \setupheader[style=\switchtobodyfont[15pt]] Is there an easier way? \setupnote[footnote][location=columns,numbercommand=\fnmstyle,textcommand=\fntstyle,textstyle=\addff{su},align={normal,hanging},split=verystrict,interaction=yes] I don't know

[NTG-context] grid in footnotes, was: Re: footnote marks fail

2010-04-13 Thread Michael Saunders
]%numerator \definefontfeature[po][body][pnum=yes,onum=yes]%proportional old style \newcommand{\fnmstyle}{\addff{nu}\switchtobodyfont[12pt]} \newcommand{\fntstyle}{\addff{po}} \setupnote[footnote][location=columns,numbercommand=\fnmstyle,textcommand=\fntstyle,textstyle=\addff{su},align={normal,hanging

[NTG-context] no protrusion or hz

2010-04-12 Thread Michael Saunders
\usetypescript[test] \setupalign[hanging,hz] \setupbodyfont[test,12pt]% \mainlanguage[en-us] \showgrid \starttext \addff{body} \input{knuth} \stoptext Results in no protrusion or hz. What's wrong? ___ If your question

Re: [NTG-context] \nocap does not work

2010-04-12 Thread Wolfgang Schuster
] \definefontfeature[nocaps][smcp=no,c2sc=no] \setupbodyfont[termes] \starttext {\addff{caps} People that have gathered their {\tx capital} at the cost of other people are not seldom {\addff{nocaps} decapitated} in revolutionary times.} \stoptext The result is different from \cap because everything is set

[NTG-context] footnote marks fail

2010-04-12 Thread Michael Saunders
\definefontfeature[nu][default][numr=yes]%numerator \newcommand{\fnstyle}{\switchtobodyfont[12pt]\addff{su}} \setupnote[footnote][numbercommand=\fnstyle,textcommand=\fnstyle\tfa] (Note: my body font is 12pt.) This is as close as I could get to correcting the problem. When I do this, the marks

[NTG-context] minimal example of some problems

2010-04-03 Thread Michael Saunders
] \setupinmargin[style=\ss,align=outer] \setupfootnotedefinition[location=serried,distance=0.5em] \newcommand{\fnstyle}{\switchtobodyfont[12pt]\addff{su}} \setupnote[footnote][location=columns,numbercommand=\fnstyle,textcommand=\fnstyle\tfa,align={normal,hanging},interaction=yes] \setupinteraction

[NTG-context] marginal note problems

2010-03-26 Thread Michael Saunders
\startcolumnset[footnotes]} \newcommand{\colpostfoot}{\stopcolumnset\startcolumnset[body]} \setupfootnotedefinition[location=serried,distance=0.5em] \newcommand{\fnstyle}{\switchtobodyfont[12pt]\addff{su}} \setupnote[footnote][numbercommand=\fnstyle,textcommand=\fnstyle\tfa,before=\colprefoot,after

Re: [NTG-context] ntg-context Digest, Vol 69, Issue 95

2010-03-18 Thread Hans Hagen
\subtractfontfeaturefromset {..} % merge \addfontfeaturetofont {..} % overload \subtractfontfeaturefromfont{..} % overload \let\addfs\addfontfeaturetoset \let\subfs\subtractfontfeaturefromset \let\addff\addfontfeaturetofont \let\subff\subtractfontfeaturefromfont there's also \setfontfeature

[NTG-context] typescripts

2010-03-18 Thread Michael Saunders
=latn,script=grek] \stoptypescript \setupalign[hanging,hz] \setupbodyfont[gillLT,12pt] \ss 1:1234567890 fi fl ffi ffl\addff{smallcaps} test smallcaps 2:\addff{body} 1234567890 fi fl ffi ffl\addff{smallcaps} test smallcaps In both 1 2, ligatures and small caps fail (though

[NTG-context] typescripts

2010-03-17 Thread Michael Saunders
of font features won't require twelve times as many switches and feature names as this. I think there is some easier method for switching---Hans mentioned \addff{}, but I can't find anything in the docs. If that works, that would make two kinds of switches, one for some kinds of features

Re: [NTG-context] typescripts

2010-03-17 Thread Wolfgang Schuster
think there is some easier method for switching---Hans mentioned \addff{}, but I can't find anything in the docs. If that works, that would make two kinds of switches, one for some kinds of features and another for other kinds.) \addff, \subff etc. are rather new commands and therefore only

Re: [NTG-context] ntg-context Digest, Vol 69, Issue 77

2010-03-14 Thread Hans Hagen
open type, a dynamic feature switch works as well: \addff{smallcaps} some of these mkii things (\os, \sc) are often side effects of tex originally using cm fonts mostly, where oldstyle were sitting in a math font so we needed a special command Hans

[NTG-context] simplefonts

2010-03-13 Thread Michael Saunders
(dynamicly) .. from the source: % \startbuffer % \definefontfeature[smallcaps][smallcaps][script=latn] % \definefontfeature[oldstyle] [oldstyle] [script=latn] % % \definedfont[name:cambria at 15pt] % % Hello there {\setff{smallcaps}capped 123 \setff{oldstyle}123!}\blank % Hello there {\addff

Re: [NTG-context] simplefonts

2010-03-12 Thread Hans Hagen
) .. from the source: % \startbuffer % \definefontfeature[smallcaps][smallcaps][script=latn] % \definefontfeature[oldstyle] [oldstyle] [script=latn] % % \definedfont[name:cambria at 15pt] % % Hello there {\setff{smallcaps}capped 123 \setff{oldstyle}123!}\blank % Hello there {\addff{smallcaps}capped

Re: [NTG-context] Selectively not using a font feature

2009-12-07 Thread Hans Hagen
like an o instead of a 0. I'd like to explicitly turn off old style numerals for those cases, but I'm unsure how. Any suggestions? it assumes that you know what is provided by the font ... you cam play with addff and subff and addfs and subfs (individual features cq. current set

Re: [NTG-context] Selectively not using a font feature

2009-12-07 Thread Matthijs Kooijman
Hi Hans, it assumes that you know what is provided by the font ... you cam play with addff and subff and addfs and subfs (individual features cq. current set) I couldn't get the addff/subff stuff working to remove the font feature, but the following did the trick: \definefontfeature[default

Re: [NTG-context] Selectively not using a font feature

2009-12-07 Thread Hans Hagen
Matthijs Kooijman wrote: Hi Hans, it assumes that you know what is provided by the font ... you cam play with addff and subff and addfs and subfs (individual features cq. current set) I couldn't get the addff/subff stuff working to remove the font feature, but the following did the trick

Re: [NTG-context] Selectively not using a font feature

2009-12-07 Thread Idris Samawi Hamid ادريس سماوي حامد
,fea2=yes,...fean=yes,...onum=yes] \definefontfeature[onum][onum=yes] \definedfont[Serif*default] \subff{onum} should subtract onum from the current stack. These are not accumulative, they only act on the original featureset -- default here -- so no \subff{featureset1} \addff{featureset2

Re: [NTG-context] ZapfinoPro triggers LuaTeX error wit h umlauts (äüö)

2009-12-04 Thread Wolfgang Schuster
,mode=node,calt=yes,clig=yes,liga=yes,rlig=yes,tlig=yes] %\definefont[zapfino][name:zapfino*zapfino] \definefont[zapfino][file:ZapfinoExtraLTPro] \define[1]\zapfinoexample {\page \bgroup \definefontfeature[#1][default][mode=node,script=latn,#1=yes] \zapfino\addff{#1}\input knuth\par

Re: [NTG-context] ZapfinoPro triggers LuaTeX error wit h umlauts (äüö)

2009-12-04 Thread Bernhard Rosensteiner
,script=latn,#1=yes] \zapfino\addff{#1}\input knuth\par \egroup} \starttext \zapfino %Z Za Zap Zapf Zapfi Zapfin Zapfino %ÄÖÜäöüß \processcommalist[ss01,ss02,ss03,ss04,ss05,ss06,ss07,ss08,ss09,ss10,ss11,ss12,ss13,ss14,ss15,ss16,ss17,ss18,ss19,ss20]\zapfinoexample \stoptext

<    1   2