General ⇒ \input or \include question
-
- Posts: 1
- Joined: Mon Mar 09, 2009 6:25 pm
\input or \include question
I have a question about using \input or \include. Is there any way to specify to these commands (or similar ones using a custom package) to only include certain lines of the source .tex file?
The scenario for use is as follows. I'm working on a translation of some stuff, and have my translation in one file. However, when writing papers that involve the translation, it'd be nice to just use an \include[lines]{file}.
The only problem I can think of with this is that "line" ranges may change if I go back and modify things. Any suggestions?
-Colin
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