Re: LaTeX and \input{file}
rg <Johannes> writes:
JJ> I need to input a file as raw text (every linbreak must be a linebreak,
JJ> there are some backslashes in it etc.)
JJ> I tried \input[verbatim]{file}, but this does not what I want it to (It
JJ> gives an error message instead ;-) )
JJ> The problem is: I do not want to make a second copy of the file where I
JJ> could put a \begin{verbatim} at the beginning and an \end{verbatim} at the end.
JJ> Including the whole text is not good, because this does not improve the
JJ> readability of the .tex file.
JJ> Any idea?
Put \usepackage{verbatim} in the preamble; then you can use
\verbatiminput{file}.
--
David Maze dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: