\documentclass[a4paper,11pt]{article} \usepackage{mls} \newcommand{\emtex}{\texttt{emtex}} \title{\LaTeX-{\mnr yn anxny shat} \\ A Quick First Step Guide} \author{Oliver Corff} \date{October 29, 1997} \begin{document} \maketitle \begin{abstract} This text describes, in shortest possible form, how to set up the popular emtex package (a port of \TeX/\LaTeX\ to MSDOS made by Eberhard Mattes), how to produce the first document, and where to find documentation. \end{abstract} \section{Installing \emtex} \subsection{Hardware Requirements} You need: am IBM-compatible PC (at least i386 or better) with at least 30MB of hard disk space left. More is better. You'll also need a VGA screen for getting optimal results. \subsection{Installation} \subsubsection{Unpacking} \emtex\ comes on eight floppy disks containing about 30 archive files which can be uncompressed using PKUNZIP. That software, by incident, is found on the first disk. You will also need a font library for a specific type of printer. For this you should prepare a ninth disk. Font libraries are named \textit{xxx}\verb"_base.fli" where \textit{xxx} stands for the printer model, like \verb"lj" for LaserJet printers, etc. Go to the root directory of your drive (e.~g. \verb"C:\") and unpack the UNZIP archive first, it is self-extracting. Then unpack all archives (well, you do not need all of them, but it is easier that way). \subsubsection{Modifying \texttt{autoexec.bat}} The following directories must be appended to your path: \verb"\emtex\bin" and \verb"\emx\bin". There are a few environment variables to be set. They are either initialized by a file \verb"\emtex\bin\set_tex.bat", or you put the following lines into your \verb"autoexec.bat" (strongly recommended): \begin{verbatim} SET EMTEXDIR=C:\EMTEX SET DVIDRVINPUT=C:\EMTEX\DOC SET DVIDRVFONTS=C:\TEXFONTS SET MFJOBOPT=/3 \end{verbatim} \subsubsection{Initialization of \TeX\ and \LaTeX} Run the following commands: \begin{verbatim} cd \emtex\btexfmts makefmt 386 plain US makefmt 386 latex2e US German 8bit -b \emtex\bin\latex2e cd \emtex\bmfbases makebas 386 plain cd \emtex\dist\latex\packages\tools latex2e tools.ins copy *.tex \emtex\texinput\latex2e copy *.sty \emtex\texinput\latex2e \end{verbatim} You are now ready to go. \section{Your first document} Now it is time to test the installation. Go to a temporary directory and enter the following lines into a newly created file: \begin{verbatim} \documentclass[a4paper]{article} \begin{document} Here is my text, a few words only. \end{document} \end{verbatim} \begin{enumerate} \item Save the text as \verb"test.tex" \item Run \LaTeX\ by saying \verb"latex2e test[.tex]" \item View the file by saying \verb"v test[.dvi]" \item Print the file by saying \verb"prthplj test[.dvi]" \end{enumerate} Please note that the actual print command depends on the model of printer you intend to use. More can be found in the documentation (see also the following section). \section{Documentation} Unfortunately, \LaTeX\ needs some studying of commands before it can be put to practical use. Fortunately, there is good documentation which comes with the system. It is found in \verb"\emtex\doc" and its subdirectories. The first file to study is \verb"l2kurz.dvi" (in German); view it or print it with the commands just learnt. \verb"dviscr.dvi" tells you how to use the viewer. Some texts are available both in German and English and exist twice, once in a directory named \verb"\emtex\doc\german" and once in a directory named \verb"\emtex\doc\english". There is also a Russian translation available which is not recommended because it covers the old version of \LaTeX\ called \LaTeX209. Some commands have changed so when reading it you should always check the German or English documentation for the new version of the command. \end{document}