On Mon, Sep 30, 2002 at 09:07:36AM +0200, chamanga wrote:
> Thank you for your kind reply and for your help.
> 
> But here is still the problem: I have 15,000 such entries with dashes. How
> can I automatically replace all of them with one command? Doing them
> one by one is,  needless to say, going to take a lot of time and I risk to
> miss a few. Any suggestions?

You a text editor on you LyX file (after making a backup!) As you need to
insert the ERT "environment" this may not be trivial. 

:%s/-renga/<CR>
\\begin_inset ERT<CR>
status Open<CR>
<CR>
\\layout Standard<CR>
<CR>
\\backslash<CR>
mbox{-renga}<CR>
\\end_inset<CR>/g 

[all in one line, <C-V><C-M> instead of the <CR>, in vi may do the trick]

And _please_ quote only the parts of the message you are responding to.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to