[XeTeX] Lucida Bright problem with 0.997

Stephen Moye stephenmoye at mac.com
Sat Jul 28 20:42:42 CEST 2007


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}


More information about the XeTeX mailing list