> > > once I figure out the Right Thing to do vis-a-vis shifting in and 
> > > out of math mode.  Escaping every non-ASCII character into math mode 
> > > won't work correctly,
> > 
> > I'm not sure I understand what you are trying to do.  What are you 
> > using math mode for?  ($~$ looks better in URLS and whatnot than \~ . 
> > Is that what you're doing?)
> 
> That it does, but I was thinking more in the context of a generic module
to 
> support translating Unicode characters to LaTeX equivalents, and how to 
> handle the characters which change labels within math modes, although I 
> suppose there should just be one encoding that works both within and
outside 
> math mode...

Side note on URLs: IIRC there is a url package for LaTeX, which could
be used to render L<http://....>; the typesetting is nice and tools
like PDFlatex can even make these hyperlinks active.

> > > and it gets even more involved when considering \verbatim sections.
> > 
> > I would think this would be easier actually.  Just put a verbatim 
> > paragraph between \begin{verbatim} and \end{verbatim} and it should be 
> > typeset exactly as entered.
> 
> Well, yeah, it is. The problem appears to be that (for example) Latin-1 
> high-bit characters aren't rendered properly in the resultant pdf/dvi file

> within \verbatim sections. With any luck the link you proffered has some 
> straightforward advice.

Yeah, that should be solvable with the right encoding package.

Cheers,

Marek

Reply via email to