Re: [NTG-context] Utopia and Fourier fonts (was: Experience on writing a thesis with MKIV)

2008-09-29 Thread Mikael Persson
On Sun, Sep 28, 2008 at 9:34 PM, Wolfgang Schuster
<[EMAIL PROTECTED]> wrote:
>
> Am 28.09.2008 um 21:21 schrieb Aditya Mahajan:
>
> Some comments:
> * As a mathematician I was a bit tired of the computer modern
> fonts (I
> really like them, but I see them to often), so I decided to go with
> the utopia/fourier fonts. This forced me to work with mkii, since I
> did not get these fonts to work with mkiv (This is still a
> problem, I
> am not sure how to go on with it for future documents).

 looks quite nice, i also like the font size
>>>
>>> Thanks. What about getting these fonts to work in mkiv? Must there be
>>> some change in the fonts? Some files in ConTeXt? (they were perfectly
>>> working in older mkii)
>>
>> Fourier and Uptopia should work with mkiv. I will check why they are
>> not
>> working at present.
>
> Utopia use "encoding-filename" and MkIV needs the "filename" to load
> the fonts.
>
> Here is a complete typescript for utopia (without fake slanted and
> caps style).
>
> \starttypescript [serif] [utopia]
> \setups[font:fallback:serif]
> \definefontsynonym [Serif]   [Utopia-Regular]
> \definefontsynonym [SerifItalic] [Utopia-Italic]
> \definefontsynonym [SerifBold]   [Utopia-Bold]
> \definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic]
> \stoptypescript
>
> \starttypescript [serif] [utopia]
> \definefontsynonym [Utopia-Regular][file:putr8a]
> [features=default]
> \definefontsynonym [Utopia-Italic] [file:putri8a]
> [features=default]
> \definefontsynonym [Utopia-Bold]   [file:putb8a]
> [features=default]
> \definefontsynonym [Utopia-BoldItalic] [file:putbi8a]
> [features=default]
> \stoptypescript
>
> \starttypescript [utopia]
> \definetypeface [\typescriptone] [rm] [serif] [utopia] [default]
> \stoptypescript
>
> \endinput
>
> Wolfgang

Thank you Wolfgang, but this does not work for me with latest
minimals. (I have downloaded utopia(+fourier) and they show up in
mkii.) I put your lines in a file and add
\setupbodyfont[utopia][ec/8r/...] %tried several and also without this last []
\starttext
test
\stoptext

LuaTeX just compiles and replaces these fonts by lm.

luatools putr8a.pfb gives the resulting location of the pfb file so it
actually finds the font.

Do I misuse it?

Mikael

>
> ___
> 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  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
>
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Utopia and Fourier fonts (was: Experience on writing a thesis with MKIV)

2008-09-28 Thread Wolfgang Schuster

Am 28.09.2008 um 21:21 schrieb Aditya Mahajan:

 Some comments:
 * As a mathematician I was a bit tired of the computer modern  
 fonts (I
 really like them, but I see them to often), so I decided to go with
 the utopia/fourier fonts. This forced me to work with mkii, since I
 did not get these fonts to work with mkiv (This is still a  
 problem, I
 am not sure how to go on with it for future documents).
>>>
>>> looks quite nice, i also like the font size
>>
>> Thanks. What about getting these fonts to work in mkiv? Must there be
>> some change in the fonts? Some files in ConTeXt? (they were perfectly
>> working in older mkii)
>
> Fourier and Uptopia should work with mkiv. I will check why they are  
> not
> working at present.

Utopia use "encoding-filename" and MkIV needs the "filename" to load  
the fonts.

Here is a complete typescript for utopia (without fake slanted and  
caps style).

\starttypescript [serif] [utopia]
 \setups[font:fallback:serif]
 \definefontsynonym [Serif]   [Utopia-Regular]
 \definefontsynonym [SerifItalic] [Utopia-Italic]
 \definefontsynonym [SerifBold]   [Utopia-Bold]
 \definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic]
\stoptypescript

\starttypescript [serif] [utopia]
 \definefontsynonym [Utopia-Regular][file:putr8a]   
[features=default]
 \definefontsynonym [Utopia-Italic] [file:putri8a]  
[features=default]
 \definefontsynonym [Utopia-Bold]   [file:putb8a]   
[features=default]
 \definefontsynonym [Utopia-BoldItalic] [file:putbi8a]  
[features=default]
\stoptypescript

\starttypescript [utopia]
 \definetypeface [\typescriptone] [rm] [serif] [utopia] [default]
\stoptypescript

\endinput

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___