[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sed trouble: "\'a to á" etc



Antonio Rodriguez wrote:
>I am trying to write a small sed script to change tex coding \'a to
>just á, since it is much simpler to write it like that, using latin1
>etc. But it is not working. I wonder if someone can point the right
>way, or may be someone has a piece of code that would do the work for
>all tex \ss, \"u and so forth I imagine many of the non-english tex
>users at some point have done that before.

I use Emacs' iso-accents-mode, and then this lines at the TeX file
preamble:

\usepackage[latin1]{inputenc} % latin1 coding system
\usepackage[spanish]{babel} % spanish section headers

With that I happily type accented (accentuated?) characters without
leaving the comfortable us-layout, and TeX likes them too :-)

Espero que te sirva,
Saludos!

-- 
Cristian Gutierrez			http://www.dcc.uchile.cl/~crgutier
crgutier[@]dcc.uchile.cl                        Jabber:crgutier@jabber.org

"Debugging is anticipated with distaste, performed with reluctance,
 and bragged about forever."  -- Anon. 



Reply to: