[NTG-context] Problems with Palatino sans serif
Rory Molinari
context at quokka70.fastmail.fm
Sun Oct 19 21:24:44 CEST 2008
Hi again,
On Oct 19, 2008, at 7:37 AM, Idris Samawi Hamid ادريس سماوي
حامد wrote:
> On Sat, 18 Oct 2008 20:10:02 -0600, Aditya Mahajan <adityam at umich.edu>
> wrote:
>
>>>>> What is wrong with my installation (or my document)?
>>>>
>>>> Can you attach your log file? Does adding \usetypescriptfile[type-
>>>> gyr]
>>>> on
>>>> top of the document help?
>>>
>>> Adding that line doesn't change the behavior. I've attached a
>>> copy of
>>> the
>>> log.
>> Your log file is exactly same as the log file that I get (but I go
>> get
>> correct font scaling).
>
> Rory, if updating your old ConTeXt mkii is not an option, then try
> this.
> It's form is also instructive and may help you with future setups.
>
I took Idris's advice and updated ConTeXt (with % sudo ctxtools --
updatecontext). Now the sizing and sans serif commands work fine,
with and without "\usetypescriptfile[type-gyr]".
I apologize for wasting everyone's time with a problem that was merely
due to my out-of-date installation.
Idris: thanks for the typescript example. I find this topic very
confusing and will enjoy working through it.
Aditya: I'm sorry that I didn't think to get output with '\loggingall'
before updating my ConTeXt installation.
Cheers,
Rory
> =========
> \starttypescript [palatino-ec]
> % \definebodyfontenvironment %% optional
> % [palatino]
> % [default]
> % [interlinespace=2.7ex]
>
> \definetypeface [palatino] [rm] [serif] [palatino] [default]
> [encoding=ec]
> \definetypeface [palatino] [ss] [sans] [modern] [default]
> [encoding=ec,rscale=1.075]
> \definetypeface [palatino] [tt] [mono] [modern] [default]
> [encoding=ec,rscale=1.075]
> \definetypeface [palatino] [mm] [math] [palatino] [default]
> \quittypescriptscanning
> \stoptypescript
>
> \usetypescript[palatino-ec]
> \setupbodyfont[palatino,12pt]
>
> \starttext
>
> test
>
> \ss Hello world!
>
> {\tfa\ss tfa}
> {\tfb\ss tfb}
> {\tfc\ss tfc}
> {\tfd\ss tfd}
>
> \stoptext
> =========
>
> Best wishes
> Idris
>
> --
> Professor Idris Samawi Hamid, Editor-in-Chief
> International Journal of Shi`i Studies
> Department of Philosophy
> Colorado State University
> Fort Collins, CO 80523
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an
> entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________
More information about the ntg-context
mailing list