comp.lang.ada
 help / color / mirror / Atom feed
From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Subject: Regex and/or LaTeX
Date: 22 Feb 2001 11:01:08 GMT
Date: 2001-02-22T11:01:08+00:00	[thread overview]
Message-ID: <972rhk$a13$1@drcomp.erfurt.thur.de> (raw)

Hi!

I'm facing the problem to escape some special characters before
outputting them to a LaTeX-file, i.e. '&' should be replaced
by "\&".

There is no difficulty in implementing this directly, but in order
to avoid unnecessary work I ask if there is already a package which
provides all the LaTeX-functionality I might need. If not, perhaps
a sed-like function exists to perform something like this:
	sed -e 's/\([&%]\)/\\\1/g'


-- 
mail: adi@thur.de  	http://adi.thur.de	PGP: v2-key via keyserver

Lieber alternativ als alt und naiv.



             reply	other threads:[~2001-02-22 11:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-22 11:01 Adrian Knoth [this message]
2001-02-23  8:13 ` Regex and/or LaTeX Lutz Donnerhacke
2001-02-23  9:41 ` Florian Weimer
2001-02-24  2:59 ` Rajagopalan Srinivasan
2001-02-24 15:36   ` Adrian Knoth
2001-02-26 11:41     ` Lutz Donnerhacke
2001-02-26 11:48     ` Lutz Donnerhacke
2001-02-26 20:15       ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox