1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
<!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=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.07">
<META name="Author" content="Luc Maranget">
<TITLE>
Classes, Packages and Page Styles
</TITLE>
</HEAD>
<BODY TEXT=black BGCOLOR=white>
<A HREF="manual019.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="manual015.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="manual021.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>
<TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><TD BGCOLOR="#2de52d"><DIV ALIGN=center><TABLE>
<TR><TD><FONT SIZE=5><B><A NAME="htoc63">B.5</A></B></FONT></TD>
<TD WIDTH="100%" ALIGN=center><FONT SIZE=5><B>Classes, Packages and Page Styles</B></FONT></TD>
</TR></TABLE></DIV></TD>
</TR></TABLE><UL>
<LI><A HREF="manual020.html#toc48">Document Class</A>
<LI><A HREF="manual020.html#toc49">Packages and Page Styles</A>
<LI><A HREF="manual020.html#toc50">The Title Page and Abstract</A>
</UL>
<BR>
<A NAME="toc48"></A><TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><TD BGCOLOR="#66ff66"><DIV ALIGN=center><TABLE>
<TR><TD><FONT SIZE=4><B><A NAME="htoc64">B.5.1</A></B></FONT></TD>
<TD WIDTH="100%" ALIGN=center><FONT SIZE=4><B>Document Class</B></FONT></TD>
</TR></TABLE></DIV></TD>
</TR></TABLE>
Both L<sup>A</sup>T<sub>E</sub>X 2<FONT FACE=symbol>e</FONT> <CODE>\documentclass</CODE> and old L<sup>A</sup>T<sub>E</sub>X
<CODE>\documentstyle</CODE> are accepted.
Their argument <EM>style</EM> is interpreted by attempting to load a
<EM>style</EM><TT>.hva</TT> file (see <A HREF="manual044.html#comline">C.1.1.1</A> to see where H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A
searches for files).
Presently, only the style files <TT>article.hva</TT>, <TT>seminar.hva</TT>,
<TT>book.hva</TT> and <TT>report.hva</TT> exist, the latter two
being equivalent.<BR>
<BR>
If one of the reckognized styles has already been loaded at the time when
<CODE>\documentclass</CODE> or
<CODE>\documentstyle</CODE> is executed, then no attempt to load a style
file is made. This allows to override the document style file by
giving one of the four recognized style files of H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A as command
line arguments (see section <A HREF="manual005.html#otherbase">2.2</A>).<BR>
<BR>
Conversely, if H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A attempt to load <EM>style</EM><TT>.hva</TT>
fails, then a fatal error is flagged, since it can be sure
that the document cannot be processed.<BR>
<BR>
<A NAME="toc49"></A><TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><TD BGCOLOR="#66ff66"><DIV ALIGN=center><TABLE>
<TR><TD><FONT SIZE=4><B><A NAME="htoc65">B.5.2</A></B></FONT></TD>
<TD WIDTH="100%" ALIGN=center><FONT SIZE=4><B>Packages and Page Styles</B></FONT></TD>
</TR></TABLE></DIV></TD>
</TR></TABLE><A NAME="usepackage"></A><BR>
H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A reacts to
<CODE>\usepackage[</CODE><I>options</I><CODE>]{</CODE><I>pkg</I><CODE>}</CODE> in
the following way:
<OL type=1><LI>
The whole
<CODE>\usepackage</CODE> command with its arguments gets echoed to the
<EM>image</EM> file (see <A HREF="manual009.html#imagen">6</A>).
<LI>H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A attempt to load file <I>pkg</I><TT>.hva</TT>,
(see section <A HREF="manual044.html#search:path">C.1.1.1</A> on where H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A searches for files).
</OL>
Note that H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A will not fail if it cannot load
<I>pkg</I><TT>.hva</TT> and that no warning is issued in that case.<BR>
<BR>
The H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A distribution contains implementations of some packages,
such as <TT>verbatim</TT>, <TT>colors</TT>, <TT>graphics</TT>, etc.<BR>
<BR>
In some situations it may not hurt at all if H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A does not
implement a package, for instance H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>A does not provide an
implementation for the packages <TT>isolatin1</TT> or
<TT>fullpage</TT>...<BR>
<BR>
Users needing an implementation of a package that is widely used and
available are encouraged to contact the
<A HREF="mailto:Luc.Maranget@inria.fr">author</A>.
Experienced users may find it fun to attempt to write package
implementations by themselves.<BR>
<BR>
<A NAME="toc50"></A><TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR><TD BGCOLOR="#66ff66"><DIV ALIGN=center><TABLE>
<TR><TD><FONT SIZE=4><B><A NAME="htoc66">B.5.3</A></B></FONT></TD>
<TD WIDTH="100%" ALIGN=center><FONT SIZE=4><B>The Title Page and Abstract</B></FONT></TD>
</TR></TABLE></DIV></TD>
</TR></TABLE>
<A NAME="@default103"></A>
All title related commands exist, with the following peculiarities:
<UL><LI>
The <CODE>\title</CODE> command must appear in the preamble for the title
to appear in HTML document header.
<LI>When not present the date is left empty. The <CODE>\today</CODE>
command generates will work properly only if <TT>hevea</TT> is invoked
with the <CODE>-exec xxdate.exe</CODE> option.
Otherwise <CODE>\today</CODE> generates nothing and a warning is issued.
</UL>
The <CODE>abstract</CODE> environment is present is all base styles,
including the <EM>book</EM> style.
The <CODE>titlepage</CODE> environment does nothing.<BR>
<BR>
<HR>
<A HREF="manual019.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="manual015.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="manual021.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
|