[XeTeX] Missing ligatures (0.997)
Stephen Moye
stephenmoye at mac.com
Tue Jul 31 12:54:46 CEST 2007
Using the style file below, and using xelatex with "-output-
driver=xdv2pdf" (to avoid the problem with the xdvipdfmx driver), the
basic ligatures (fi, fl, ff,...) are not showing up. Everything else
works just fine, even the math...
What am I doing wrong?
Stephen Moye
%%=====8><------%% Sample document
%!TEX TS-program = xelatex
\documentclass{book}
\usepackage{lucidasetup}
\parindent0pt
\begin{document}
\thispagestyle{empty}
This is a test of a simple style file. This is the same test. $x^2+y^2
$. Offer official aflate
\end{document}
%%=====8><------%% style file
% lucidasetup.sty -- use the lucida fonts with dvi, pdf and xelatex
%
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{lucidasetup}[2007/28/07 v1.0 Package to use lucida
bright]
%
\RequirePackage{graphicx}
\RequirePackage{ifpdf}
\RequirePackage{ifthen}
\RequirePackage{color}
\RequirePackage{ifxetex}
%
\RequirePackage[mathitalic2,expert,nolucidascale]{lucidabr}
%
\ifxetex
\RequirePackage{xunicode}
\RequirePackage{fontspec}
%% 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}%
\else
\RequirePackage[T1]{fontenc}
\fi
%
\ifpdf \RequirePackage{microtype}\fi
%
\endinput
More information about the XeTeX
mailing list