Rainer M Krug wrote:
Hi

is there any possibility to do a Search - Replace in such a way that
e.g. I can replace SearchTerm with SearchTerm (emphasized)?
Can't be done inside lyx, but it can be done with a trick.
Some work, but it is worth it if you have _lots_ of terms:

1. Save your file and exit lyx. Make a backup copy of the .lyx file.

2. Note that the .lyx file really is a text file, so open it in a text editor
   (vi/emacs on linux, notepad on windows)

3. Notice how "emphasize" is represented in the textfile

4. Do a search-replace with your text editor.  You will usually need
   an editor capable of replacing linebreaks.

5. Save and exit the text editor, re-open the file in lyx. Check that
   it is ok, otherwise restore the above mentioned backup.


Helge Hafting

Reply via email to