[OS X TeX] fontspec, disabling something.

Maarten Sneep maarten.sneep at xs4all.nl
Sat May 12 00:17:34 CEST 2007


Hi,

I'm trying to see what is in the fontspec package and XeTeX. I've  
come across something that the manual says should work, but it  
doesn't for me. The issue is shown in the minimal sample included  
below. I see a WordFinal version of the ‘e’ at the end of  
‘nightmare’, which I want to disable. As you can see I tried to do  
that, and while there are no errors printer to the terminal, or the  
log, the WordFinal ‘e’ is still there. Am I missing something?

I'm on OS X 10.4.9, and called xelatex test.tex (i.e. all default),  
the version information is added below. This is with an upgraded  
MacTeX (texlive2007, downloaded yesterday).

Maarten

Obligatory minimal sample:
%%%
\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}

\usepackage{fontspec}% provides font selecting commands
\usepackage{xunicode}% provides unicode character macros
\usepackage{xltxtra} % provides some fixes/extras

\setmainfont[Mapping=tex-text,Ligatures={Rare,Diphthong}]{Hoefler Text}

\addfontfeature{ItalicFeatures={Contextuals= 
{NoWordInitial,NoWordFinal}}}

\frenchspacing

\begin{document}
I thought it was \emph{a nightmare} to begin with.
\end{document}
%%%

XeTeX 3.141592-0.996 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 SIL International.
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Kpathsea written by Karl Berry, Olaf Weber, and others.

Compiled with ICU version 3.4 [with modifications for XeTeX]
Compiled with zlib version 1.2.3; using 1.2.3
Compiled with FreeType2 version 2.2.1; using 2.2.1
Using Mac OS X Carbon, Cocoa & QuickTime frameworks

 From the log:
Package: fontspec 2006/12/24 v1.13 Advanced font selection for XeLaTeX
File: xunicode.sty 2005/02/26 v0.5 provides access to latin accents  
and many other characters in Unicode lower plane
Package: xltxtra 2006/06/13 v0.2 Improvements for the XeTeX/LaTeX format
------------------------- 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