Re: [NTG-context] switching font encodings

2006-07-19 Thread Hans Hagen
Thomas A. Schmitz wrote: > On Jul 18, 2006, at 8:51 PM, Mojca Miklavec wrote: > > >>> There is no defined bodyfont at 20pt, and that is what is causing >>> the error (indirectly). Add this: >>> >>> \definebodyfont [20pt] [ss] >>>[tf=Sanssa 1, >>> bf=SansBoldsa 1, >>>

Re: [NTG-context] switching font encodings

2006-07-19 Thread Thomas A. Schmitz
On Jul 18, 2006, at 8:51 PM, Mojca Miklavec wrote: >> There is no defined bodyfont at 20pt, and that is what is causing >> the error (indirectly). Add this: >> >> \definebodyfont [20pt] [ss] >>[tf=Sanssa 1, >> bf=SansBoldsa 1, >> it=SansItalic sa 1, >> sl=

Re: [NTG-context] switching font encodings

2006-07-18 Thread Hans Hagen
Mojca Miklavec wrote: > > But I still can't understand why the following code costed me at least > an hour to trace and find a workaround for it: > > \definetypeface [iwona-t5] [ss] [sans] [iwona] [default] [encoding=t5] > \definetypeface [iwona] [ss] [sans] [iwona] [default] [encoding=ec] > \setup

Re: [NTG-context] switching font encodings

2006-07-18 Thread Mojca Miklavec
On 7/18/06, Taco Hoekwater wrote: > Mojca Miklavec wrote: > > \starttext > > abc \switchtobodyfont[20pt]\switchtobodyfont[iwona-t5] abc > > \stoptext > > There is no defined bodyfont at 20pt, and that is what is causing > the error (indirectly). Add this: > > \definebodyfont [20pt] [ss] >[tf=Sa

Re: [NTG-context] switching font encodings

2006-07-18 Thread Taco Hoekwater
Mojca Miklavec wrote: > \starttext > abc \switchtobodyfont[20pt]\switchtobodyfont[iwona-t5] abc > \stoptext There is no defined bodyfont at 20pt, and that is what is causing the error (indirectly). Add this: \definebodyfont [20pt] [ss] [tf=Sanssa 1, bf=SansBoldsa 1,

Re: [NTG-context] switching font encodings

2006-07-18 Thread Mojca Miklavec
On 7/17/06, Hans Hagen wrote: > Mojca Miklavec wrote: > > Hello, > > > > I have to print plenty of utf-8-encoded entries from a database. I > > will probably output entries as > > \contestant{name}{country}{code}, > > for example > > \contestant{Đức Đặng}{VNM}{1} > > > > I have defined > >

Re: [NTG-context] switching font encodings

2006-07-17 Thread Hans Hagen
Mojca Miklavec wrote: > Hello, > > I have to print plenty of utf-8-encoded entries from a database. I > will probably output entries as > \contestant{name}{country}{code}, > for example > \contestant{Đức Đặng}{VNM}{1} > > I have defined > \def\contestant#1#2#3{...#1...} > > But what's t

[NTG-context] switching font encodings

2006-07-15 Thread Mojca Miklavec
Hello, I have to print plenty of utf-8-encoded entries from a database. I will probably output entries as \contestant{name}{country}{code}, for example \contestant{Đức Đặng}{VNM}{1} I have defined \def\contestant#1#2#3{...#1...} But what's the easiest way to change the encoding to t5