[OS X TeX] Fragile Commands [Was: how to convert .doc to .TEX?]

Maarten Sneep maarten.sneep at xs4all.nl
Wed Jan 19 19:49:56 EST 2005


On 20 jan 2005, at 1:35, Claus Gerhardt wrote:

> The package pdfsync seems to be the culprit, even protection of \emph 
> doesn't help - at least for me (I am using amsbook and pdfsync).
>
> The simplest solution seems to be to use
> \renewcommand{\emph}{\textit}
>
> whenever the pdfsync is loaded. Those, who need it, could even add 
> this line to package pdfsync.

I prefer slightly more accurate hammers:

\let\myemph\emph
\usepackage{pdfsync}
\let\emph\myemph

This will ensure you use  the real \emph command (ensuring the same 
layout), by storing the working, non-fragile \emph command and using 
that instead. Note that this (obviously) disables part of pdfsync.

Maarten

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list