home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / tex / 14510 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.2 KB

  1. Path: sparky!uunet!munnari.oz.au!spool.mu.edu!yale.edu!jvnc.net!netnews.upenn.edu!cattell.psych.upenn.edu!baron
  2. From: baron@cattell.psych.upenn.edu (Jonathan Baron)
  3. Newsgroups: comp.text.tex
  4. Subject: Scribe/FinalWord to LaTeX conversion
  5. Message-ID: <103378@netnews.upenn.edu>
  6. Date: 30 Dec 92 02:53:07 GMT
  7. Sender: news@netnews.upenn.edu
  8. Organization: University of Pennsylvania
  9. Lines: 31
  10. Nntp-Posting-Host: cattell.psych.upenn.edu
  11.  
  12. I have been using FinalWord and have just decided to try LaTeX.
  13. Our computer has a program (from where I don't know) called
  14. s2latex, which does a basic conversion.  But here is a little
  15. file that might help to supplement it:
  16.  
  17. @heading REPLACE section
  18. @subheading REPLACE subsection
  19. @foot REPLACE footnote
  20. @display ENV quote
  21.  
  22. You call this by saying
  23. s2latex -s thisfile < FinalWordfile
  24.  
  25. Then the following replacements are also useful:
  26.  
  27. s/heading{/section{toc}{/g
  28. s/section{/section{toc}{/g
  29. s/chapter{/chapter{toc}{/g
  30. s/@{[\achrt`<]*}/\\noindent /g
  31. s/`/``/g
  32. s/' /'' /g
  33. s/'$/''/g
  34. s/')/'')/g
  35.  
  36. These are used with the stream editor sed:
  37. sed -f thisfile < outputofs2latex > finaltexfile
  38.  
  39. These two things together will handle almost everything in a
  40. basic, nonfancy, manuscript.  (Tables excluded.)
  41.  
  42. Jon Baron
  43.