[XeTeX] Lucida Bright problem with 0.997
Stephen Moye
stephenmoye at mac.com
Sat Jul 28 20:55:56 CEST 2007
On Jul 28, 2007, at 2:42 PM, Stephen Moye wrote:
> The code at the end of this note works with pdflatex and xelatex
> (0.996), but causes this error with xelatex 0.997:
>
> Package fontspec Warning:
> Adjusting the maths setup (use [no-math] to avoid this).
> This warning occured on input line 33.
>
> [1] (./testart.aux)
> Output file removed.
> )
> Output written on testart.pdf (1 page).
> Transcript written on testart.log.
>
> What am I doing wrong?
>
>
> Stephen Moye
>
> %%======8><-----------%%
>
> \documentclass{article}
>
> \usepackage{graphicx}
> \usepackage{color}
> \usepackage{ifxetex}
> \usepackage[mathitalic2,expert,nolucidascale]{lucidabr}
> \usepackage[T1]{fontenc}
> \ifxetex \usepackage{fontspec}\fi
> \ifxetex
> \usepackage{xunicode}
> %% Fontspec should know better, and some day it might.
> \setromanfont[Mapping=tex-text,%
> ItalicFont={Lucida Bright Italic},%
> BoldFont={Lucida Bright Demibold},%
> BoldItalicFont={Lucida Bright Demibold Italic},%
> SmallCapsFont={Lucida Bright Smallcaps}]%
> {Lucida Bright}
> \setsansfont[Mapping=tex-text,%
> ItalicFont={Lucida Sans Italic},%
> BoldFont={Lucida Sans Demibold},%
> BoldItalicFont={Lucida Sans Demibold Italic}]%
> {Lucida Sans Regular}
> \setmonofont[Scale=.875]{Lucida Typewriter}
> \fi
>
> \parindent0pt
>
> \begin{document}
>
> \thispagestyle{empty}
>
> This is a test of a simple file.
>
> \end{document}
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
Using the [no-math] option to fontspec, the error becomes downright
laconic:
==========
fontspec.cfg loaded.
(/usr/local/texlive/2007/../texmf-local/tex/xelatex/fontspec/
fontspec.cfg))
(/usr/local/texlive/2007/../texmf-local/tex/xelatex/xunicode.sty)
(./testart.aux)
(/usr/local/texlive/2007/../texmf-local/tex/latex/lucidabr/
lmrhlcm.fd) [1]
(./testart.aux)
Output file removed.
)
Output written on testart.pdf (1 page).
Transcript written on testart.log.
==========
Stephen
More information about the XeTeX
mailing list