ۥ- /@	  U -             >O  X                            :                       V   V                   ǯ   ٯ                 
          M N    N    N    N    N    N    N    N    N  S   -  Bo    o    o    o      4 .  * o            o    o      ( )                                                             \frenchspacing
\documentstyle[11pt]{article}

\setcounter{secnumdepth}{1}
\setlength{\topmargin}{0.in}
\begin{document}

\title{Sample Document for Conversion}
\author{Allin Cottrell}

\date{}

\maketitle


\section{Introduction}

This document functions as a demo for the capabilities of WW2TOLTX.  As stated in WW2TOLTX.DOC, the program was designed with academic papers in mind, so this sampler is set up to look like such a paper---albeit much truncated.  It features all of the style-names that are required for making full use of WW2TOLTX, both those that have been added to the standard WinWord list---``title'' for the title of the article, ``author'' for the name of the author, ``quote'' for quoted paragraphs, and ``references'' for the books and articles cited at the end---and those of the standard WinWord styles that are also used as cues in conversion: ``Normal,'' ``Heading 1,'' and ``Heading 2.''  In this document the latter styles do not, however, have their default stylistic content, but rather a content that I happen to prefer.  The stylistic content is irrelevant to the conversion: only the style-names matter.  

The remainder of this document was written (or rather, merely typed) with regard to neither semantic content nor \ae sthetic {\it \'{e}lan\/}, and is na\"{\i}vely crammed with (a few instances of) each of the features the program can handle.\footnote{ This is the first footnote.  It has no content, but includes some character {\it formatting\/}. }   

\section{The dropping of names}

This short paragraph drops some names: G\"{o}del, Schr\"{o}dinger, Mallarm\'{e}, Proust, Gadamer, Merleau-Ponty, Steindl, Hilferding, Austin, Pigou, Herg\'{e}, X\$_{2}\$, and so on and so forth.  And, of course, Marx.  Marx is used to illustrate a second-level section heading, as below.  

\subsection{Karl Marx (1818--1883)}

There follows a famous quotation from Marx's {\it Capital\/}, which appears towards the end of chapter 32, on ``The historical tendency of capitalist accumulation,'' and recapitulates the general theme of the {\it Manifesto of the Communist Party\/} of 1848.  

\begin{quote}
{\small Along with the constant decrease in the number of capitalist magnates, who usurp and monopolize all the advantages of the process of transformation, the mass of misery, oppression, slavery, degradation and exploitation grows; but with this there also grows the revolt of the working class, a class constantly increasing in numbers, and trained, united and organized by the very mechanism of the capitalist process of production.  The monopoly of capital becomes a fetter on the mode of production which has flourished alongside it and under it.  The centralization of the means of production and the socialization of labour reach a point at which they are incompatible with their capitalist integument.  This integument is burst asunder.  The knell of capitalist private property sounds.  The expropriators are expropriated.  (Marx, 1976 [1867], p. 929)  }
\end{quote}

I now proceed to show a second sub-heading.  

\subsection{Ludwig Wittgenstein (1889--1951)}

Wittgenstein tries to persuade us that consciousness is not an ``inner'' matter in quite the way that we are tempted to think.  Specifically, the idea that we are able to imagine that other people, while {\it behaving\/} quite normally, nonetheless lack any inner conscious life, is, he maintains, problematic.  

\begin{quote}
{\small But can't I imagine that the people around me are automata, lack consciousness, even though they behave in the same way as usual?---If I imagine it now---alone in my room---I see people with fixed looks (as in a trance) going about their business---the idea is perhaps a little uncanny.  But just try to keep hold of this idea in the midst of your ordinary intercourse with others, in the street, say!  Say to yourself, for example: ``The children over there are mere automata; all their liveliness is mere automatism.''  And you will either find these words becoming quite meaningless; or you will produce in yourself some kind of uncanny feeling... (Wittgenstein, 1953, \S 420).  }
\end{quote}

\section{Conclusion}

Here is a little dummy conclusion, with a second footnote.\footnote{ ``Footnote'' the second. }   As will be seen, this little paper is quite {\it chaotic\/} (Baumol and Benhabib, 1989).  

\section*{References}

\begin{flushleft}

\begin{description}\itemsep -.05in
\item[Baumol, W. and Benhabib, S.]1989. ``Chaos: Significance, Mechanism, and Economic Applications.'' {\it Journal of Economic Perspectives\/} 3:77--105.
\item[Marx, Karl]1976 [1867].  {\it Capital\/}, Volume I.  Harmondsworth: Penguin/New Left Review.  
\item[Wittgenstein, L.]1953.  {\it Philosophical Investigations\/}, tr. G. E. M. Anscombe.  Oxford: Basil Blackwell.  

\end{description}

\end{flushleft}

\end{document}



  MAIN
 4 
\section{} 9 + 
  MAIN
 4 \footnote{}  9 , 
  MAIN
 4 \begin{itemize}$ 5 0 4 \item A 5 M 4 \item ^ 5 j 4 \item { 5  4 \end{itemize} 5  ;  > 
  MAIN
 4 \begin{quote}" 5 . 5 : 4  D \end{quote}S 5 _ ; i 
  MAIN
 4 
\begin{enu 	! merate}, 5 8 4 \item I 5 U 4 \item f 5 r 4  | \item  5  4 \end{enumerate} 5  ;  > 
  MAIN
 4 {\bf } 9 ' 
  MAIN
 4 {\it } 9 ' 
  MAIN
 4   $ $ 9 ' 
  MAIN

 4 $_{}$ 9 & 
  MAIN
 4   \section*{}# 9 / 
  MAIN
     Y W   This first block inserts STARTING AND ENDING MATTER for TeX file, new or converted. ?r =   If the settings here are not to your taste, change them.     4 \frenchspacing 5 " 4 \documentstyle[11pt]{article}5 5  4 \setcounter{secnumdepth}{1}@5 !L4 \setlength{\topmargin}{0.in}s5 4 \begin{document}5 5 5 5 4 \end{document};  CA    The next block prompts for name of existing WinWord file, and*4(    dumps its contents into BLANK.TEX.  _ b,-*Nofilexa${Enter name of WinWord file to convert (specify full path if necessary).  If starting a TeX file from scratch, press Cancel.Conversion/New LaTeX file.DOC,q  a$CGT*DoneFile	cNofile8lErrf 	%error trap for pressing Cancel button	Err  	*
DoneNofile 
	-Err
DoneNofile=*bye		0exit already if starting LaTeX file from scratchDoneFile) D,B    This block changes Word-style SECTION HEADINGS into TeX formatq @te !Shall I replace section headings?WINW2LTX! e  	*EndSectionHeadingsG	Fixheads1,-*EndSectionHeadings>GO	Fixheads2[  	heading 22Z            +!   Until end of doc encountered	V 	5 	4 \subsection{6	X 	B	4 }	O	9 \	 	h	: v	5 	5 *	Fixheads2"  	heading 12Z            +!   Until end of doc encounteredR	V \	5 i	4 	\section{~	X 		4 }		9 	 		: 	5 	5 *	Fixheads1"EndSectionHeadings XV    The following puts the text from Word styles "title" and "author" into TeX TITLE. _ ;bt OK to redo title and author?WINW2LTX! t  	*EndTitleAuthorG  title	Z    7	V @	5 L	; V	4 \title{h	X s	9 	4 }	G	  author	Z    	<	=	F  
V 
5 
; $
4 \author{7
X B
9 N
4 }Z
5 f
4 \date{}x
5 
4 
\maketitle
5 
5 
EndTitleAuthor
 G
E    This block changes Word-style "quote" into LaTeX quotation format >d OK to replace quote formatting?WINW2LTX! Od  ^	*EndQuotationss{G	Fixquotes,-*EndQuotations  quote2Z            +@!   Until end of doc encounteredv	V 	5 	4 \begin{quote}	5 	4 {\small 	X 		4 }		9 	 	:	5 	4 \end{quote})	5 6	5 C*	FixquotesS"YEndQuotationsi PlN    This block reformats FOOTNOTES, which I found quite tricky.  Others may beNL    able to find a more elegant solution.  NOTE THAT THIS WILL WORK ONLY FOR     ONE-PARAGRAPH FOOTNOTES.  - 40g OK to redo footnotes?WINW2LTX! eg  t	*EndFootnotesGStartFootnotes%\  f	Go to footnote marker"f  			Open footnotes window2: 			%Step over the current footnote symbolF WFa iA$r|N A$EN# 			1ANSI 13 is carriage return. Show's it's last note	*EndFootnotesW f   4 
\footnote{X & 19 =4 } J U `*StartFootnotesuEndFootnotesf    GE    This block changes Word-style "reference" into a simple home-made    LaTeX REFERENCE format.    Bc #OK to replace reference formatting?WINW2LTX! Fc  U	*EndReferencesjrH; 5 4 \end{description}5 4 \end{flushleft}G*Z References^p     ( R+P   Note in the above line that the cue here is a heading "References".  Could be9~7   changed to "Bibliography" or whatever if you like.    I  	reference		0important that references are in a WinWord style					named "reference"6Z      hV q5 }4 \section*{References}5 5 4 \begin{flushleft}5 '4 "\begin{description}\itemsep -.05in
5 4 \item['X 2EP:Z  1     	+It is crucial to this routine that year of -+						publication follows the author's name86						directly.  If, instead, the title of the book or42						article come next, you'll have to change the270						" 1" in the above Find field, perhaps to a5j3						quote mark or unspecified italic character.  V 4 ]1
Changerefs  	referenceZ      +!   Until end of doc encounteredO	V Y	4 \item[k	X w	E#	Z  1     	V 
	4 ]1*
Changerefs"G  	reference^ Normal4=[              EndReferences .,    This block changes ITALICS to TeX codes. @a !OK to replace italics with codes?WINW2LTX! +a  :	*
EndItalicsLTGeStartItalics
t   8 !  "  $  %  2  ='  &  3 (  #   9+  -  X,-*
EndItalics2rZ            +!   Until end of doc encountered*   V 
4 {\it X (4 \/}6*StartItalicsI"O
EndItalics\ J_H    This block replaces WinWord (3-point) SUBSCRIPTS with LaTeX commands 7m Shall I redo subscripts?WINW2LTX! m  	*EndSubscripts	G"StartSubscripts:4 !  "  $  %  2  B'  &  3 (  #  +  -3 pt-  2Z            +V!   Until end of doc encounteredV 4 $_{X  9   : 4 }$*StartSubscripts	"EndSubscripts I"G    This block replaces QUOTATION marks and dashes with TeX versions.  l 9ob OK to replace punctuation?WINW2LTX! b  	*EndPunctuationG6 [  `          Y 6j[  '           7[  ``          . 7?[  ''           8[  ---            7 [  --          p  : [    ---             EndPunctuation ! G!E   This section searches for and replaces selected special charactersK! CN!p $Replace selected special characters?WINW2LTX! !p  !	*EndSpecialChars!!G!9![  \ae           F" IW"[  \j" {o}          " J"[  \j" {\i}          A# :R#[  \'{e}          # :#[  \`{a}          $ <.$[  \pounds          $ 7$[  \S          $ 7	%[ & \&          c% 7t%[ % \%          % 7%[ $ \$          9& =J&[  $\ldots$          & &EndSpecialChars& .&,   Standardize font and paragraph formatting& '|  Normal~   , =' ! System(e'     0 in 0 in 2' 0 in 0 in 0 in 1 li(G(
,(|  NormalR(
a(w ! System"  (G( A(?    The following ensures DOUBLE PARA BREAKS between paragraphs1(/    and also deletes some unwanted para markers) )G-)<	 9):R)[ ^p ^p^p          ) 6)[ ^p^p^p^p ^p^p       *    44*[ ^p^p^p ^p^p       *    4*[ ^p^p^p ^p^p       *    H+[ begin{quote}^p^p begin{quote}^p       +    >+[ ^p^p\end{qu 	^p\end{qu       +    6,[ ^p\item \item       p,    ,G>,[ ^p^p\author 	^p\author       ,    -EndLinebreaks+-  .-   End of substantive sectionsO- R-bye"X- Over and outWINW2LTX@ -
  MAINZ
 b$7Enter name for saving TeX file (with path if required).WINW2LTX.TEXi H  b$    * (    Search for and replace broken dashes  , Msg$"Fix broken dashes in saved file?  A Msg$Msg$/If you choose 'OK', then also choose 'OK' when ?,Msg$Msg$-when prompted For conversion from Text - only%kd Msg$
 WINW2LTX ! d  	*EndFixDashes
 q  b$GFixBrokenDashes='[ -^p -%^p         H  b$  L 6File now saved as LaTeX.  Don't try to save BLANK.TEX.WINW2LTX@ 
  MAIN
  R P   This block prompts for name of existing TeX file, and dumps it into BLANK.TEX`      h ,-*NofileH~ Msg$>Enter name of TeX file to open (with full path if required).  L Msg$Msg$:Choose 'OK' when prompted about conversion from text-only.8a$Msg$Edit existing LaTeX file .TEXNq  a$eGv*DoneFile	NofileErrf 	Err  	*
DoneNoFile 
	-Err
DoneNoFileDoneFile
  MAIN
 G  ? =	This macro replaces straight quotes (both single and double)A^ ?	with left and right curly quotes.  It may be used on a WinWord- +	document prior to conversion into LaTeX.    8 [  '            , 6=[ '            9[  j"              =[ j"            { :[ ^p ^p           :[ ^p ^p          W :h[ ^t ^t           :[ ^t ^t          3 8D[ ( (           8[ ( (           8[            w 8[              
  MAIN
 G /4 	FirstLoop	Loops around lists in document`   
BulletList$ 		This stylename must be applied9 		3to items in a bulleted list for the macro to work.  Z      (! If end of doc not encounteredG9 S5 _4 \begin{itemize}y5  .: 	#Selects bullet character and tab....4 \item 	and overwrites with LaTeX code5
SecondLoop	#Loops around items in a single list-+ 	%Look for next "BulletList" paragraph.2^		,The first time round this will be the second6		0such -- I'm assuming any list will have at least		two elements.9 : 4 \item *F	"Take a peek at the next paragraph:4=		.Is it also in BulletList style? If so, it will.p		(be part of the same list.  If not, we'll/		)look for the beginning of the next list. D   
BulletList	*
SecondLoop 		4 \end{itemize}"	5 /	5 <	*	FirstLoopMU"[
  MAIN
 G /4 	FirstLoop	Loops around lists in document`   NumList$ 		This stylename must be applied9 		3to items in a numbered list for the macro to work.  Z      (! If end of doc not encounteredD9 P5 \4 \begin{enumerate}x5  -: 	"Selects numeral, period and tab....4 \item 	and overwrites with LaTeX code5
SecondLoop	#Loops around items in a single list*) 	"Look for next "NumList" paragraph.2Y		,The first time round this will be the second6		0such -- I'm assuming any list will have at least		two elements.9 : 4 \item *
F	"Take a peek at the next paragraph:18		+Is it also in NumList style? If so, it will.h		(be part of the same list.  If not, we'll/		)look for the beginning of the next list. D   NumList	*
SecondLoop 	4 \end{enumerate}	5 &	5 3	*	FirstLoopDL"R [


		

System(e'     0 in 0 in 2' 0 in 0 in 0 in 1 li(G(
,(|  NormalR(
a(w ! System"                   %  '          :  <  k  m          =  =  @  @  B  B  F  F  K  K  8O  <O  >O  EO  GO  IO  W  X  }  q  s  f  h                                                                                                                                                                                                                                                                                 F         3                 (  A  C  L  N  Z  \  ^  v  x      i  k              	  	  	  S  `  b                                             w  y                        '      <  m      =  @  B                 @     @     @     @     @     @     @     @     @     @     @ MB  F  K  :O  <O  >O  GO  IO  s  h                                                                                                                                                                                                                                                                                                                                                                                                                                                             @          
! J           quotetitleauthorrefhead	referencep                F       	                                     hx       h x 
             @ x x       h      h       hhx       Ph(                                                                 MAIN
     Y W   This first block inserts STARTING AND ENDING MATTER for TeX file, new or converted. ?r =   If the settings here are not to your taste, change them.     4 \frenchspacing 5 " 4 \documentstyle[11pt]{article}5 5  4 \setcounter{secnumdepth}{1}@5 !L4 \setlength{\topmargin}{0.in}s5 4 \begin{document}5 5 5 5 4 \end{document};  CA    The next block prompts for name of existing WinWord file, and*4(    dumps its contents into BLANK.TEX.  _ b,-*Nofilexa${Enter name of WinWord file to convert (specify full path if necessary).  If starting a TeX file from scratch, press Cancel.Conversion/New LaTeX file.DOC,q  a$CGT*DoneFile	cNofile8lErrf 	%error trap for pressing Cancel button	Err  	*
DoneNofile 
	-Err
DoneNofile=*bye		0exit already if starting LaTeX file from scratchDoneFile) D,B    This block changes Word-style SECTION HEADINGS into TeX formatq @te !Shall I replace section headings?WW2TOLTX! e  	*EndSectionHeadingsG	Fixheads1,-*EndSectionHeadings>GO	Fixheads2[  	heading 22Z            +!   Until end of doc encountered	V 	5 	4 \subsection{6	X 	B	4 }	O	9 \	 	h	: v	5 	5 *	Fixheads2"  	heading 12Z            +!   Until end of doc encounteredR	V \	5 i	4 	\section{~	X 		4 }		9 	 		: 	5 	5 *	Fixheads1"EndSectionHeadings XV    The following puts the text from Word styles "title" and "author" into TeX TITLE. _ ;bt OK to redo title and author?WW2TOLTX! t  	*EndTitleAuthorG  title	Z    7	V @	5 L	; V	4 \title{h	X s	9 	4 }	G	  author	Z    	<	=	F  
V 
5 
; $
4 \author{7
X B
9 N
4 }Z
5 f
4 \date{}x
5 
4 
\maketitle
5 
5 
EndTitleAuthor
 G
E    This block changes Word-style "quote" into LaTeX quotation format >d OK to replace quote formatting?WW2TOLTX! Od  ^	*EndQuotationss{G	Fixquotes,-*EndQuotations  quote2Z            +@!   Until end of doc encounteredv	V 	5 	4 \begin{quote}	5 	4 {\small 	X 		4 }		9 	 	:	5 	4 \end{quote})	5 6	5 C*	FixquotesS"YEndQuotationsi PlN    This block reformats FOOTNOTES, which I found quite tricky.  Others may beNL    able to find a more elegant solution.  NOTE THAT THIS WILL WORK ONLY FOR     ONE-PARAGRAPH FOOTNOTES.  - 40g OK to redo footnotes?WW2TOLTX! eg  t	*EndFootnotesGStartFootnotes%\  f	Go to footnote marker"f  			Open footnotes window2: 			%Step over the current footnote symbolF WFa iA$r|N A$EN# 			1ANSI 13 is carriage return. Show's it's last note	*EndFootnotesW f   4 
\footnote{X & 19 =4 } J U `*StartFootnotesuEndFootnotesf    GE    This block changes Word-style "reference" into a simple home-made    LaTeX REFERENCE format.    Bc #OK to replace reference formatting?WW2TOLTX! Fc  U	*EndReferencesjrH; 5 4 \end{description}5 4 \end{flushleft}G*Z References^p     ( R+P   Note in the above line that the cue here is a heading "References".  Could be9~7   changed to "Bibliography" or whatever if you like.    I  	reference		0important that references are in a WinWord style					named "reference"6Z      hV q5 }4 \section*{References}5 5 4 \begin{flushleft}5 '4 "\begin{description}\itemsep -.05in
5 4 \item['X 2EP:Z  1     	+It is crucial to this routine that year of -+						publication follows the author's name86						directly.  If, instead, the title of the book or42						article come next, you'll have to change the270						" 1" in the above Find field, perhaps to a5j3						quote mark or unspecified italic character.  V 4 ]1
Changerefs  	referenceZ      +!   Until end of doc encounteredO	V Y	4 \item[k	X w	E#	Z  1     	V 
	4 ]1*
Changerefs"G  	reference^ Normal4=[              EndReferences .,    This block changes ITALICS to TeX codes. @a !OK to replace italics with codes?WW2TOLTX! +a  :	*
EndItalicsLTGeStartItalics
t   8 !  "  $  %  2  ='  &  3 (  #   9+  -  X,-*
EndItalics2rZ            +!   Until end of doc encountered*   V 
4 {\it X (4 \/}6*StartItalicsI"O
EndItalics\ J_H    This block replaces WinWord (3-point) SUBSCRIPTS with LaTeX commands 7m Shall I redo subscripts?WW2TOLTX! m  	*EndSubscripts	G"StartSubscripts:4 !  "  $  %  2  B'  &  3 (  #  +  -3 pt-  2Z            +V!   Until end of doc encounteredV 4 $_{X  9   : 4 }$*StartSubscripts	"EndSubscripts I"G    This block replaces QUOTATION marks and dashes with TeX versions.  l 9ob OK to replace punctuation?WW2TOLTX! b  	*EndPunctuationG6 [  `          Y 6j[  '           7[  ``          . 7?[  ''           8[  ---            7 [  --          p  : [    ---             EndPunctuation ! G!E   This section searches for and replaces selected special charactersK! CN!p $Replace selected special characters?WW2TOLTX! !p  !	*EndSpecialChars!!G!9![  \ae           F" IW"[  \j" {o}          " J"[  \j" {\i}          A# :R#[  \'{e}          # :#[  \`{a}          $ <.$[  \pounds          $ 7$[  \S          $ 7	%[ & \&          c% 7t%[ % \%          % 7%[ $ \$          9& =J&[  $\ldots$          & &EndSpecialChars& .&,   Standardize font and paragraph formatting& '|  Normal~   , =' ! System(e'     0 in 0 in 2' 0 in 0 in 0 in 1 li(G(
,(|  NormalR(
a(w ! System"  (G( A(?    The following ensures DOUBLE PARA BREAKS between paragraphs1(/    and also deletes some unwanted para markers) )G-)<	 9):R)[ ^p ^p^p          ) 6)[ ^p^p^p^p ^p^p       *    44*[ ^p^p^p ^p^p       *    4*[ ^p^p^p ^p^p       *    H+[ begin{quote}^p^p begin{quote}^p       +    >+[ ^p^p\end{qu 	^p\end{qu       +    6,[ ^p\item \item       p,    ,G>,[ ^p^p\author 	^p\author       ,    -EndLinebreaks+-  .-   End of substantive sectionsO- R-bye"X- Over and outWW2TOLTX@ -  MAINZ
 b$7Enter name for saving TeX file (with path if required).WW2TOLTX.TEXi H  b$    * (    Search for and replace broken dashes  , Msg$"Fix broken dashes in saved file?  A Msg$Msg$/If you choose 'OK', then also choose 'OK' when ?,Msg$Msg$-when prompted For conversion from Text - only%kd Msg$
 WW2TOLTX ! d  	*EndFixDashes
 q  b$GFixBrokenDashes='[ -^p -%^p         H  b$  L 6File now saved as LaTeX.  Don't try to save BLANK.TEX.WW2TOLTX@ 
  MAINZ
 b$7Enter name for saving TeX file (with path if required).WW2TOLTX.TEXi H  b$    * (    Search for and replace broken dashes  , Msg$"Fix broken dashes in saved file?  A Msg$Msg$/If you choose 'OK', then also choose 'OK' when ?,Msg$Msg$-when prompted For conversion from Text - only%kd Msg$
 WW2TOLTX ! d  	*EndFixDashes
 q  b$GFixBrokenDashes='[ -^p -%^p         H  b$  ZSaveMsg$File b$= now saved as LaTeX.  Don't try to save it in WinWord format. SaveMsg$WW2TOLTX@ /
  MAIN
 4 {\it \/} 9 )   MAINZ
 b$7Enter name for saving TeX file (with path if required).WW2TOLTX.TEXi H  b$    * (    Search for and replace broken dashes  , Msg$"Fix broken dashes in saved file?  A Msg$Msg$/If you choose 'OK', then also choose 'OK' when ?,Msg$Msg$-when prompted For conversion from Text - only%kd Msg$
 WW2TOLTX ! d  	*EndFixDashes
 q  b$GFixBrokenDashes='[ -^p -%^p         H  b$  ZSaveMsg$File b$= now saved as LaTeX.  Don't try to save it in WinWord format. SaveMsg$WW2TOLTX@ /
  MAIN
 4 {\it \/} 9 )   MAIN
     Y W   This first block inserts STARTING AND ENDING MATTER for TeX file, new or converted. ?r =   If the settings here are not to your taste, change them.     4 \frenchspacing 5 " 4 \documentstyle[11pt]{article}5 5  4 \setcounter{secnumdepth}{1}@5 !L4 \setlength{\topmargin}{0.in}s5 4 \begin{document}5 5 5 5 4 \end{document};  CA    The next block prompts for name of existing WinWord file, and*4(    dumps its contents into BLANK.TEX.  _ b,-*Nofilexa${Enter name of WinWord file to convert (specify full path if necessary).  If starting a TeX file from scratch, press Cancel.Conversion/New LaTeX file.DOC,q  a$CGT*DoneFile	cNofile8lErrf 	%error trap for pressing Cancel button	Err  	*
DoneNofile 
	-Err
DoneNofile=*bye		0exit already if starting LaTeX file from scratchDoneFile) D,B    This block changes Word-style SECTION HEADINGS into TeX formatq @te !Shall I replace section headings?WW2TOLTX! e  	*EndSectionHeadingsG	Fixheads1,-*EndSectionHeadings>GO	Fixheads2[  	heading 22Z            +!   Until end of doc encountered	V 	5 	4 \subsection{6	X 	B	4 }	O	9 \	 	h	: v	5 	5 *	Fixheads2"  	heading 12Z            +!   Until end of doc encounteredR	V \	5 i	4 	\section{~	X 		4 }		9 	 		: 	5 	5 *	Fixheads1"EndSectionHeadings XV    The following puts the text from Word styles "title" and "author" into TeX TITLE. _ ;bt OK to redo title and author?WW2TOLTX! t  	*EndTitleAuthorG  title	Z    7	V @	5 L	; V	4 \title{h	X s	9 	4 }	G	  author	Z    	<	=	F  
V 
5 
; $
4 \author{7
X B
9 N
4 }Z
5 f
4 \date{}x
5 
4 
\maketitle
5 
5 
EndTitleAuthor
 G
E    This block changes Word-style "quote" into LaTeX quotation format >d OK to replace quote formatting?WW2TOLTX! Od  ^	*EndQuotationss{G	Fixquotes,-*EndQuotations  quote2Z            +@!   Until end of doc encounteredv	V 	5 	4 \begin{quote}	5 	4 {\small 	X 		4 }		9 	 	:	5 	4 \end{quote})	5 6	5 C*	FixquotesS"YEndQuotationsi PlN    This block reformats FOOTNOTES, which I found quite tricky.  Others may beNL    able to find a more elegant solution.  NOTE THAT THIS WILL WORK ONLY FOR     ONE-PARAGRAPH FOOTNOTES.  - 40g OK to redo footnotes?WW2TOLTX! eg  t	*EndFootnotesGStartFootnotes%\  f	Go to footnote marker"f  			Open footnotes window2: 			%Step over the current footnote symbolF WFa iA$r|N A$EN# 			1ANSI 13 is carriage return. Show's it's last note	*EndFootnotesW f   4 
\footnote{X & 19 =4 } J U `*StartFootnotesuEndFootnotesf    GE    This block changes Word-style "reference" into a simple home-made    LaTeX REFERENCE format.    Bc #OK to replace reference formatting?WW2TOLTX! Fc  U	*EndReferencesjrH; 5 4 \end{description}5 4 \end{flushleft}G*Z References^p     ( R+P   Note in the above line that the cue here is a heading "References".  Could be9~7   changed to "Bibliography" or whatever if you like.    I  	reference		0important that references are in a WinWord style					named "reference"6Z      hV q5 }4 \section*{References}5 5 4 \begin{flushleft}5 '4 "\begin{description}\itemsep -.05in
5 4 \item['X 2EP:Z  1     	+It is crucial to this routine that year of -+						publication follows the author's name86						directly.  If, instead, the title of the book or42						article come next, you'll have to change the270						" 1" in the above Find field, perhaps to a5j3						quote mark or unspecified italic character.  V 4 ]1
Changerefs  	referenceZ      +!   Until end of doc encounteredO	V Y	4 \item[k	X w	E#	Z  1     	V 
	4 ]1*
Changerefs"G  	reference^ Normal4=[              EndReferences .,    This block changes ITALICS to TeX codes. @a !OK to replace italics with codes?WW2TOLTX! +a  :	*
EndItalicsLTGeStartItalics
t   8 !  "  $  %  2  ='  &  3 (  #   9+  -  X,-*
EndItalics2rZ            +!   Until end of doc encountered*   V 
4 {\it X (4 \/}6*StartItalicsI"O
EndItalics\ I_G    This block replaces QUOTATION marks and dashes with TeX versions.   9b OK to replace punctuation?WW2TOLTX! b  	*EndPunctuationG$6=[  `           6[  '            7[  ``          k 7|[  ''           8[  ---          B 7S[  --           :[    ---           ,EndPunctuation= G@E   This section searches for and replaces selected special characters Cp $Replace selected special characters?WW2TOLTX! p  	*EndSpecialCharsG9'[  \ae            I[  \j" {o}             J [  \j" {\i}          ~  : [  \'{e}            : [  \`{a}          Z! <k![  \pounds          ! 7![  \S          5" 7F"[ & \&          " 7"[ % \%          # 7#[ $ \$          v# =#[  $\ldots$          # #EndSpecialChars
$ J$H    This block replaces WinWord (3-point) SUBSCRIPTS with LaTeX commandsX$ 7[$m Shall I redo subscripts?WW2TOLTX! $m  $	*EndSubscripts$$G$StartSubscripts:$ !  "  $  %  2  B:%'  &  3 (  #  +  %-3 pt-  2%Z            +&!   Until end of doc encountered:&V C&4 $_{Q&X \& m&9  |& &: &4 }$&*StartSubscripts&"&EndSubscripts& .&,   Standardize font and paragraph formatting& '|  Normal~   , =' ! System(e'     0 in 0 in 2' 0 in 0 in 0 in 1 li(G(
,(|  NormalR(
a(w ! System"  (G( A(?    The following ensures DOUBLE PARA BREAKS between paragraphs1(/    and also deletes some unwanted para markers) )G-)<	 9):R)[ ^p ^p^p          ) 6)[ ^p^p^p^p ^p^p       *    44*[ ^p^p^p ^p^p       *    4*[ ^p^p^p ^p^p       *    H+[ begin{quote}^p^p begin{quote}^p       +    >+[ ^p^p\end{qu 	^p\end{qu       +    6,[ ^p\item \item       p,    ,G>,[ ^p^p\author 	^p\author       ,    -EndLinebreaks+-  .-   End of substantive sectionsO- R-bye"X- Over and outWW2TOLTX@ -  MAINZ
 b$7Enter name for saving TeX file (with path if required).WW2TOLTX.TEXi H  b$    * (    Search for and replace broken dashes  , Msg$"Fix broken dashes in saved file?  A Msg$Msg$/If you choose 'OK', then also choose 'OK' when ?,Msg$Msg$-when prompted For conversion from Text - only%kd Msg$
 WW2TOLTX ! d  	*EndFixDashes
 q  b$GFixBrokenDashes='[ -^p -%^p         H  b$  ZSaveMsg$File b$= now saved as LaTeX.  Don't try to save it in WinWord format. SaveMsg$WW2TOLTX@ /:                          :   >O      :  
         :            (   B    ) * M  Times New Roman 	Symbol & Arial 	" System 1Terminal " Small Fonts  SectionFootnoteItemizeQuote	EnumerateBoldfaceItalicsMathmodeSubscripting
NonNumHeadWinWordToLaTeX
SaveAsTextOpenTex             
          
      
   	                  	                  
               
     	         3   g     p  '  V          )  ,  
.  f2  6  :  :  +  /+  @+  P+  ^+  p+  +  +  +  +  +  +  +  ,  ,  *,      Section#Inserts LaTeX section-heading blankFootnoteInserts blank LaTeX footnoteItemize5Inserts codes for itemized list (with 3 items preset)Quote-Inserts delimiters for LaTeX quoted paragraph	Enumerate#Inserts empty LaTeX enumerated listBoldfaceInserts LaTeX code for boldingItalicsInserts LaTeX code for italicsMathmode'Inserts blank LaTeX mathmode delimitersSubscripting#Inserts LaTeX command for subscript
NonNumHead*Inserts LaTeX non-numbered section headingWinWordToLaTeX6The main macro for converting WinWord docs to LaTeX.  
SaveAsText%Prompts for save of file as text-onlyOpenTex'Opens an existing .TEX file for editing	WinQuotesPCorrects straight quote marks in WinWord doc, inserting 'curly' quotes instead. Bullets2LTX'Converts WinWord bulleted list to LaTeXEnum2LTX'Converts WinWord numbered list to LaTeX           Z    #  )  )  ,  :  :  :                  :        =        @     :O     <O    "       h    8م     A                *       Allin Cottrell	Your name         