Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > e8b7ce893d130f732758286a15c74b5e > files > 19

hevea-1.10-4mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>

<META http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<META name="GENERATOR" content="hevea 1.10">
<META name="Author" content="Luc Maranget">
<LINK rel="stylesheet" type="text/css" href="manual.css">
<TITLE>How to get started</TITLE>
</HEAD>
<BODY >
<A HREF="manual002.html"><IMG SRC="contents_motif.gif" ALT="Up"></A>
<A HREF="manual004.html"><IMG SRC="next_motif.gif" ALT="Next"></A>
<HR>
<H2 CLASS="section"><A NAME="htoc2">1</A>&#XA0;&#XA0;How to get<A NAME="getstarted"></A> started</H2><P>
Assume that you have a file, <TT>a.tex</TT>, written in L<sup>A</sup>T<sub>E</sub>X, using the
<TT>article</TT>, <TT>book</TT> or <TT>report</TT> style. Then,
translation
is achieved by issuing the command:
</P><PRE CLASS="verbatim"># hevea a.tex
</PRE><P>Probably, you will get some warnings. If
H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A does not crash, just ignore them for the moment
(Section&#XA0;<A HREF="manual006.html#trouble">4</A> explains how to correct errors).</P><P>If everything goes fine, this will produce a new file,
<TT>a.html</TT>, which you can visualize through a HTML&#XA0;browser.</P><P>If you wish to experiment H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A on small L<sup>A</sup>T<sub>E</sub>X source fragments,
then launch H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A without arguments. H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A will read its
standard input and print the translation on its standard output.
For instance:
</P><PRE CLASS="verbatim"># hevea
$x \in \mathcal{E}$
^D
&lt;I&gt;x&lt;/I&gt; &amp;#X2208; &lt;FONT COLOR=red&gt;&lt;I&gt;E&lt;/I&gt;&lt;/FONT&gt;
</PRE><P>Incidentally, notice that the symbol &#X201C;&#X2208;&#X201D; translates to the
appropriate numerical character reference and that the calligraphic
letter &#X201C;<FONT COLOR=red><I>E</I></FONT>&#X201D; renders as a red &#X201C;<I>E</I>&#X201D;. You can find some
more elaborate <A HREF="http://hevea.inria.fr/examples/index.html">examples</A> in
the on-line documentation.</P><HR>
<A HREF="manual002.html"><IMG SRC="contents_motif.gif" ALT="Up"></A>
<A HREF="manual004.html"><IMG SRC="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>