Article View: comp.text.tex
Article #1426Re: Include ASCII in LaTeX
From: Ralph P. Sobek
Date: Mon, 19 Mar 1990 13:32
Date: Mon, 19 Mar 1990 13:32
32 lines
2056 bytes
2056 bytes
Get the verbatimfiles.sty file from the Clarkson TeX Depository. It
does what you want very nicely. Here's its description:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% verbatimfiles.sty
%
% Here is a version of Adrian's VERBATIM.STY, for inputting whole files
% verbatim, which is "more LaTeX-like" in that it uses the actual LaTeX
% macros which set up the `verbatim' environment.
%
% As a matter of interest, it is much nicer for TeX if you input large
% quantities of "verbatim material" from an "external file" rather than by use
% of the `verbatim' environment (i.e. putting the material in the main input
% file. This is because this environment, in common with most (but not all)
% other "verbatim macros", makes the whole of the "vebatim material" a macro
% argument and therefore eats up TeTeX's internal memory.
%
% Chris Rowley
%
% --- V E R B A T I M F I L E S . S T Y
%
% --- This LaTeX style-file defines two user-callable macros:
% --- \verbatimfile{<filename>} for verbatim inclusion of a file
% --- \verbatimlisting{<filename>} for verbatim inclusion with line numbers
--
Ralph P. Sobek Disclaimer: The above ruminations are my own.
ralph@laas.fr Addresses are ordered by importance.
ralph@laas.uucp, or ...!uunet!mcvax!laas!ralph
If all else fails, try: sobek@eclair.Berkeley.EDU
===============================================================================
Reliable software should kill people reliably! -Andy Mickel, Pascal News #13,78
Technical Details
Message-ID:
<RALPH.90Mar19143228@orion.laas.fr>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!inria!laas!ralphReferences:
<987@tuewsd.lso.win.tue.nl> <4294@hub.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!inria!laas!ralph From: ralph@laas.fr (Ralph P. Sobek) Newsgroups: comp.text.tex Subject: Re: Include ASCII in LaTeX Message-ID: <RALPH.90Mar19143228@orion.laas.fr> Date: 19 Mar 90 13:32:28 GMT References: <987@tuewsd.lso.win.tue.nl> <4294@hub.UUCP> Sender: news@laas.laas.fr Organization: LAAS-CNRS France Lines: 32 In-reply-to: doner@henri.ucsb.edu's message of 13 Mar 90 00:41:44 GMT