Re: [NTG-context] \setfontfeature-problem

2010-10-13 Thread Andreas Harder
Am 13.10.2010 um 14:40 schrieb Hans Hagen: > On 13-10-2010 12:48, Andreas Harder wrote: > >> It seems that if a line starts with \sc{…} the onum-option is ignored. Is >> there a solution? > > fixed in upcoming beta Thanks Hans! Andreas

Re: [NTG-context] \setfontfeature-problem

2010-10-13 Thread Hans Hagen
On 13-10-2010 12:48, Andreas Harder wrote: It seems that if a line starts with \sc{…} the onum-option is ignored. Is there a solution? fixed in upcoming beta - Hans Hagen | PRAGMA ADE

Re: [NTG-context] \setfontfeature-problem

2010-10-13 Thread Michael Murphy
On 13/10/10 12:48, Andreas Harder wrote: Hi all, please have a look at my example: \definefontfeature[default][default][mode=node,onum=yes] \definefontfeature[sc][default][smcp=yes] \def\sc{\groupedcommand{\setfontfeature{sc}}{}} \setupbodyfont[palatino] \starttext \startTEXpage[offset=1ex

[NTG-context] \setfontfeature-problem

2010-10-13 Thread Andreas Harder
Hi all, please have a look at my example: \definefontfeature[default][default][mode=node,onum=yes] \definefontfeature[sc][default][smcp=yes] \def\sc{\groupedcommand{\setfontfeature{sc}}{}} \setupbodyfont[palatino] \starttext \startTEXpage[offset=1ex] {\sc Abc} 0369 \crlf \sc{Abc} 0369

[NTG-context] Interesting Bug with LuaTex, \setfontfeature{oldstyle}, colors and tikz

2008-09-17 Thread holzminister
w [zeug, line width=1ex, cap=round] (-7.65cm,-1mm) -- (7.65cm,-1mm); \stoptikzpicture \stoptext >>> When I compile my document with "texexec --lua" I get a black line. Adding "\setfontfeature{oldstyle}" to the preamble causes "texexec --lua" to break with

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Idris Samawi Hamid
On Wed, 02 Jan 2008 08:14:17 -0700, Taco Hoekwater <[EMAIL PROTECTED]> wrote: >> Does this handle the other [off-list] utf-8 bug that generates an error >> message from font-tfm.lua:591? > > No. You get that error because the font does not have a non-breaking > hyphen, and you can "fix" it by ch

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Taco Hoekwater
Idris Samawi Hamid wrote: > On Wed, 02 Jan 2008 02:11:22 -0700, Hans Hagen <[EMAIL PROTECTED]> wrote: > >> in font=otf.lua, patch ... >> >> function fonts.otf.set_dynamics(tfmdata,attribute,features) >> local shared = tfmdata.shared >> if shared then >> >> >> end >>

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Idris Samawi Hamid
On Wed, 02 Jan 2008 02:11:22 -0700, Hans Hagen <[EMAIL PROTECTED]> wrote: in font=otf.lua, patch ... function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared if shared then end end and remake Does this handle the other [o

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Hans Hagen
Wolfgang Schuster wrote: > you forgot "local dynamics", the following works > > function fonts.otf.set_dynamics(tfmdata,attribute,features) > local shared = tfmdata.shared > local dynamics = shared.dynamics > if shared then hm, you need to to test shared before using

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Wolfgang Schuster
; >> Dear consortium, > >> > >> check this out: > >> > >> == > >> % engine=luatex > >> > >> \definefontfeature > >>[oldstyle] > >>[mode=node,language=dflt,script=latn,onum=yes,tnum=yes] > >> >

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Hans Hagen
t; >> \definefontfeature >>[oldstyle] >>[mode=node,language=dflt,script=latn,onum=yes,tnum=yes] >> >> \setfontfeature{oldstyle} >> >> \starttext >> 1234567890 >> >> \startitemize >> \item test >> \stopitemize >> &

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Wolfgang Schuster
de,language=dflt,script=latn,onum=yes,tnum=yes] > > \setfontfeature{oldstyle} > > \starttext > 1234567890 > > \startitemize > \item test > \stopitemize > > \stoptext > == > > log: > > >

Re: [NTG-context] bug in \setfontfeature

2008-01-01 Thread luigi scarso
On Jan 2, 2008 4:19 AM, Idris Samawi Hamid <[EMAIL PROTECTED]> wrote: > Dear consortium, > > check this out: > > == > % engine=luatex > > \definefontfeature >[oldstyle] >[mode=node,language=dflt,script=latn,on

[NTG-context] bug in \setfontfeature

2008-01-01 Thread Idris Samawi Hamid
Dear consortium, check this out: == % engine=luatex \definefontfeature [oldstyle] [mode=node,language=dflt,script=latn,onum=yes,tnum=yes] \setfontfeature{oldstyle} \starttext 1234567890 \startitemize \item test \stopitemize \stoptext