This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Best way to handle multiple string replacements?


David Carlisle wrote:
> 
> we are not that kind.
> You can easily make yourself a new latin1-variant.def file and use
> \ensuremath to put things in math mode that need to be.

Actually, on closer inspection, texmf/tex/latex/base/latin1.def
contains

\DeclareInputMath{177}{\pm}

while other symbols use \DeclareInputText{}{}. Apparently
the former macro isn't behaving as advertised. Unfortunately
I can't follow the code in inputenc.sty, so I've no idea
why this might be.

I also noticed a file texmf/tex/latex/misc/isolatin1.sty
which contains

\catcode177=13  \def^^b1{$\pm$}

although this file doesn't appear to provide macros for all
of the higher latin1 characters.

-- 
Warren Hedley


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]