Generalbatch replace text?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
bobbylou
Posts: 18
Joined: Tue Apr 21, 2009 6:54 pm

batch replace text?

Post by bobbylou »

Hi,

I am making a number of very similar documents. Occasionally I want to make an identical change to all the documents. It would be great if I could do this in one fell swoop, rather than (as I am doing it now) by opening each separate .tex file and cutting and pasting, etc. Is there a way of conveniently doing this? thanks!!!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: batch replace text?

Post by php1ic »

Are you on a windows or linux/unix system?

If linux/unix the command 'sed', combined with a basic script will allow you to do what you want. Windows, I don't know.
Post Reply