[OS X TeX] latest update of gwtex i-package

Philipp Mathey pmathey at uwo.ca
Fri Jan 5 19:28:30 CET 2007


Hi Jonathan, thanks for your reply.
It seems that indeed the fontspec package caused the problem.
I did manage to get it to work as I want it to using the xdvipdfmx  
driver,
as you suggested, but for other purposes it complains
that it cannot dump a format with preloaded native fonts. I didn't  
get that error message
with the previous version and was I able to compile formats which  
included
font-specifications such as
\setromanfont[Mapping=tex-text,Scale=0.9]{Courier New}

I downloaded the fontspec package from CTAN, this is version v.1.12
which is what I had, I think. Am I correct to assume that the current  
fontspec
version in the latest gwTeX is v. 1.13 ?
I placed the fontspec folder in ~/Library/texmf/tex/xelatex/
and I also did a sudo texhash but it seems that xelatex still uses
the fontspec package from the gwtex tree, not the one in my home  
directory.
How can I tell TeX to use the v.1.12 fontspec package in my home  
directory ?

Thanks,
PM

On 5-Jan-07, at 11:13 AM, Jonathan Kew wrote:

> On 5 Jan 2007, at 2:05 am, Philipp Mathey wrote:
>
>> For example, I get error messages like :
>>
>> ## xdv2pdf: use of uninstalled fonts (specified by filename) such as
>> ##   [/usr/local/gwTeX/texmf.texlive/fonts/opentype/public/lm/ 
>> lmroman12-regular.otf]
>> ## is not supported; try using the xdvipdfmx driver instead.
>
> This means your document is calling for fonts by filename, using  
> something like [lmroman12-regular], rather than by "real" name  
> (e.g., "Latin Modern Roman 12" or similar). This may come from the  
> fontspec package rather than something you're explicitly using in  
> your document; I think the latest fontspec uses Latin Modern in  
> this way as the default, if you load it but then don't say  
> \setromanfont{....}, \setmonofont, etc.
>
> So either ensure that you explicitly tell fontspec what font names  
> you want, or don't load fontspec at all if you don't want to  
> actually use its features to specify fonts.
>
> To use Latin Modern through fontspec's default option, you'd need a  
> new TeXShop engine that calls for the xdvipdfmx driver instead of  
> xdv2pdf. You can create this by duplicating the existing XeLaTeX  
> engine, naming it XeLaTeX-x.engine (or something), and changing the  
> typesetting command in the engine to:
>
>  xelatex -output-driver="xdvipdfmx -q -E" "$1"
>
> JK
>
>
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/




More information about the macostex-archives mailing list