I have a word "life" used several times in my document. By Ctrl+F I can write "life" replace to "\index{life}" and select REPLACE ALL.
However if I do this Lyx recognize this pattern as text.
Can I write in the field something like "Ctrl+L \index{life}"? I know in this way it doesn'work.
- Replace to: Add a regular expression?
- Write a code: Use active characters?
Is it possible to do this process by a special code?
LyX ⇒ How to replace one specific word into Latex Code?
-
- Posts: 1
- Joined: Fri Apr 03, 2015 1:08 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: How to replace one specific word into Latex Code?
Welcome to the forum!
You could use any text editor with search & replace on the .lyx document file, since it's text format. If you are not sure, try it on a copy of the original file.
Stefan
You could use any text editor with search & replace on the .lyx document file, since it's text format. If you are not sure, try it on a copy of the original file.
Stefan
LaTeX.org admin
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
How to replace one specific word into Latex Code?
In Advanced Find you can:fluorescein wrote: Can I write in the field something like "Ctrl+L \index{life}"?
Edit > Find & Replace (Advanced)