Well, one thing you can do is export the document as Latex, run your awk script, and then import it back into Lyx. I've done that kind of thing myself to make much more complicated sorts of changes. E.g., I'm working on a book that involves a fair bit of mathematics, and I had a lot of formulae that looked like this: Q^*= ab. It occurred to me long after I'd written most of the initial draft that I'd have been better off using a "math-macro", but of course there's no way in Lyx to do that kind of search-and-replace. So I exported it to Latex, wrote a Perl script to handle the conversion, and re-imported. Worked like a charm.

Richard

Saraswat, Rajil wrote:
Hi All,
     I have a document in which latin characters like i.e. and e.g. are not 
italicised. Is there a way to do a find and replace on i.e. and change it to 
italics. Dealing with a latex document would have been straightforward, as i 
could have done an awk to replace these characters. However, lyx file seems a 
bit more complicated. Anybody has an idea how can i do this?

Cheers,
Rajil


Reply via email to