[lug] Latex and SGML

David Outteridge dajo at privatei.com
Wed Sep 15 17:22:59 MDT 1999


      Sure, I could take a step up to bat.  If somebody has a "portable" Linux
  platform
  with a fairly complete implementation of LaTeX/TeX I could check out, I'd be
  glad to
  prepare a presentation on how to use it, what the various steps are in
  generating
  a document, what it's major advantages/disadvantages are, etc.  [My PowerPC
  has
  a full-blown version of the latest TeX stuff on it, but it is a strange
  flavor of Linux, and
  is hardly portable].
  
      -- Dave Lovering
      -- 303-497-5662
      -- lovering at boulder.nist.gov

You could use my machine if you like.
  
I use LaTeX all the time, I have written hundreds of pages of it.  My
"slides" for the August Emacs presentation are written in LaTeX.  If
Wayde tells me how, I'll put the source code where everyone can get at
it.

dajo


If you want to try LaTeX (and find out if you have it on your system:)
make a file out of the code below called something.tex and then
command latex something.  If you do have a LaTeX system probaly you
will see kpathsea running first - it is creating fonts that do do not
exist.  If it appears to complete you will have a bunch of files
including something.dvi.  Command latex something again! - there *is*
a reason for this.  Then command xdvi something.dvi (the .dvi is
necessary, unlike the .tex when compiling) to see the result.  Then go
and buy the $50 book to see what else you can do.

\documentclass[]{article}

\begin {document}

\section{A Section}
\label{section-label}

\LARGE
This is some writing at the section level.
\normalsize

\subsection{A Subsection}
\label{subsection-label}

This is {\bf some {\em writing}} at the subsection level.  The
following is an itemised list.

\begin{itemize}

\item Item one.

\item Item two.

\end{itemize}

\paragraph{A Paragraph}

This is {\bf some {\em writing}} at the paragraph level.  This is a
reference to the subsection \ref{subsection-label}.

Here is a bit of mathematical stuff.

\begin{math}
                \sqrt{x^2 + y^2}
\end{math}

\subparagraph{A Subparagraph}

This is {\em some {\bf writing}} at the subparagraph level.  This is a
reference to the section \ref{section-label}.

\end {document}



More information about the LUG mailing list