home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / text / tex / 10136 < prev    next >
Encoding:
Text File  |  1992-08-13  |  2.4 KB  |  52 lines

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