Article View: comp.text.tex
Article #2157Re: Problems including files verbatim
From: Rainer Schoepf
Date: Thu, 13 Aug 1992 15:24
Date: Thu, 13 Aug 1992 15:24
37 lines
2488 bytes
2488 bytes
In article <RALPH.92Aug13144317@orion.laas.fr> ralph@laas.fr (Ralph P. Sobek) writes:
>>>>> On 10 Aug 92 12:17:44 GMT, dak@cip-s02.informatik.rwth-aachen.de
>>>>> (David Kastrup) said:
David> Might be a textfile problem. Do these files originally include
David> CR/LF sequences instead of simple LF (this usually applies mostly
David> to UNIX systems). Change the files to adhere to the end of line
David> behaviour usually expected by your OS.
Why can't verbfile.sty and verabtim.sty be patched to work both with
nl and CR/LF? Wish: I would also appreciate a version that can expand
TAB characters to `n' spaces, the default being 8.
NL vs. CR/LF: That is due to the underlying TeX implementation. If the
standard end-of-line terminator of the operating system is CRLF you
don't get the empty line. Usually, the Unix TeX gives you an extra
empty line when it sees CRLF in the input file. But since this is not
standard Unix text file format, I don't consider it a problem. If you
import DOS files you have to convert them, point. There is nothing
that can be done about it at the TeX macro level, EXCEPT ignoring
every empty line. If that is what you want, no problem. Read the
documentation of verbatim.sty to learn how to do it.
As for the TAB issue: the next distribution of verbatim.sty will
probably include such an option.
Rainer Sch"opf
--
Rainer Schoepf
Konrad-Zuse-Zentrum ,,Ich mag es nicht, wenn
fuer Informationstechnik Berlin sich die Dinge so frueh
Heilbronner Strasse 10 am Morgen schon so
W-1000 Berlin 31 dynamisch entwickeln!''
Federal Republic of Germany
<Schoepf@sc.ZIB-Berlin.de> or <Schoepf@sc.ZIB-Berlin.dbp.de>
Technical Details
Message-ID:
<SCHOEPF.92Aug13162436@quattro.sc.ZIB-Berlin.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!zrz.tu-berlin.de!math.fu-berlin.de!gibb.math.fu-berlin.de!SchoepfReferences:
<maassen.713431649@kreon> <dak.713449064@cip-s02> <RALPH.92Aug13144317@orion.laas.fr>Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!zrz.tu-berlin.de!math.fu-berlin.de!gibb.math.fu-berlin.de!Schoepf From: Schoepf@sc.ZIB-Berlin.de (Rainer Schoepf) Subject: Re: Problems including files verbatim In-Reply-To: ralph@laas.fr's message of 13 Aug 92 12:43:17 GMT Message-ID: <SCHOEPF.92Aug13162436@quattro.sc.ZIB-Berlin.de> Sender: news@math.fu-berlin.de (Math Department) Reply-To: Schoepf@sc.ZIB-Berlin.de Organization: Konrad-Zuse-Zentrum fuer Informationstechnik Berlin References: <maassen.713431649@kreon> <dak.713449064@cip-s02> <RALPH.92Aug13144317@orion.laas.fr> Date: Thu, 13 Aug 1992 15:24:36 GMT Lines: 37