[XeTeX] Fontspec question

David Denton ddenton at lino.com
Tue Jan 8 19:21:24 CET 2008


Thanks to Ross and Will. The LaTex grouping is just what I needed.

I am having another problem. I am surely doing something basic
wrong related to the encoding packages.

\documentclass[12pt,twoside]{book} %
\includeonly{chap_1}
\usepackage{graphicx}
\usepackage[EU1]{fontenc}
%\usepackage{lmodern}
%\usepackage[ansinew]{inputenc}
\usepackage[english]{babel}
 \usepackage{setspace}
 \usepackage{titlesec}
 \usepackage{fontspec}

\setmainfont[Mapping=tex-text]{LMRoman12}
\newfontfamily\creefont{BJCree UNI}

Above is a portion of my preamble. When I compile under XeTeX there
seems to be a problem with my closing quotation marks (they appear as
open quotes). Another oddity: all number nines in the text are set
below the line. When I comment out \setmainfont, of course I do not
get the mapping of the quotes and dashes.

My problem is surely the installed LMRoman font, but I honestly do not
know how to set the [Mapping=tex-text] without using the \setmainfont
command. Any help would be appreciated.

-- 
Best regards,
 David     





More information about the XeTeX mailing list