home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!spool.mu.edu!yale.edu!jvnc.net!netnews.upenn.edu!cattell.psych.upenn.edu!baron
- From: baron@cattell.psych.upenn.edu (Jonathan Baron)
- Newsgroups: comp.text.tex
- Subject: Scribe/FinalWord to LaTeX conversion
- Message-ID: <103378@netnews.upenn.edu>
- Date: 30 Dec 92 02:53:07 GMT
- Sender: news@netnews.upenn.edu
- Organization: University of Pennsylvania
- Lines: 31
- Nntp-Posting-Host: cattell.psych.upenn.edu
-
- I have been using FinalWord and have just decided to try LaTeX.
- Our computer has a program (from where I don't know) called
- s2latex, which does a basic conversion. But here is a little
- file that might help to supplement it:
-
- @heading REPLACE section
- @subheading REPLACE subsection
- @foot REPLACE footnote
- @display ENV quote
-
- You call this by saying
- s2latex -s thisfile < FinalWordfile
-
- Then the following replacements are also useful:
-
- s/heading{/section{toc}{/g
- s/section{/section{toc}{/g
- s/chapter{/chapter{toc}{/g
- s/@{[\achrt`<]*}/\\noindent /g
- s/`/``/g
- s/' /'' /g
- s/'$/''/g
- s/')/'')/g
-
- These are used with the stream editor sed:
- sed -f thisfile < outputofs2latex > finaltexfile
-
- These two things together will handle almost everything in a
- basic, nonfancy, manuscript. (Tables excluded.)
-
- Jon Baron
-