source: trunk/LMDZ.GENERIC/DOC/test.tex @ 1315

Last change on this file since 1315 was 987, checked in by jleconte, 11 years ago

11/06/2013 == JL+EM

  • User manual (+ sources) added in DOC.
File size: 3.1 KB
Line 
1%
2%
3%     Test comportement LATEX et LATEX2HTML
4%
5%
6%
7\documentclass[dvips]{report}
8\usepackage{makeidx}
9\usepackage{a4}
10\usepackage{graphicx}
11%
12% Pour definir un paragraph avec retour a la ligne
13\usepackage{loc}
14%
15\usepackage{html,htmllist}
16% \usepackage{times}
17\scrollmode
18% use %sort -f -u manual.idx > manual.index for a primitive index
19%
20%  NOTE:  You must use LaTeX2e in order to process this document
21%       If you do not have LaTeX2e, a PostScript version
22%       (manual.ps) is included with this distribution.
23%
24%%%%%%%%%%%%%%%%%%% No changes beyond this point %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25
26\makeindex
27\sloppy
28% Transforms the \indexentry generated by \makeindex in the concepts.idx
29% file into a form understood by the theindex environment.
30% See below on how to produce an index.
31%
32\newcommand{\latextohtml}{\LaTeX 2\texttt{HTML}}
33\newcommand{\fn}[1]{{\ttfamily #1}}     % file names
34\newcommand{\Email}[1]{{\ttfamily <#1>}}% file names
35\newcommand{\HTML}[1]{{\ttfamily <#1>}}%  HTML tag
36\newcommand{\Meta}[1]{\texttt{<\emph{#1}>}}%  Meta string
37\newcommand{\indexentry}[2]{\item #1 #2}
38\def\contrat{contrat numero N de l'ESA}
39\newcommand{\onlinedoc}{http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/}
40\newcommand{\patches}{http://www-dsed.llnl.gov/files/programs/unix/latex2html}
41\newcommand{\sourceA}{ftp://www-dsed.llnl.gov/files/programs/unix/latex2html/sources/latex2html-96.1.tar.gz}
42\newcommand{\sourceB}{ftp://ftp.mpn.com/pub/nikos/latex2html-96.1.tar.gz}
43\newcommand{\sourceC}{ftp://ftp.rzg.mpg.de/outgoing/latex2html-96.1.tar.gz}
44\newcommand{\CTAN}{tex-archive/support/latex2html}
45
46%\setlength{\textwidth}{5.5in}
47%\setlength{\textwidth}{16cm}
48%\setlength{\changebarwidth}{1pt}
49%\addtolength{\oddsidemargin}{-1in}
50%\addtolength{\oddsidemargin}{-2cm}
51%\addtolength{\evensidemargin}{-1in}
52%\addtolength{\evensidemargin}{-2cm}
53 
54% numero de la derniere section numerotee
55\setcounter{secnumdepth}{3}
56% numero de la derniere section a apparaitre dans la table des matieres
57\setcounter{tocdepth}{3}
58 
59
60\begin{document}
61\bibliographystyle{abbrv}
62
63\input{def}
64%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
65%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66%    variables definies pour doc Terre ou Mars
67
68\def\planete{mars}
69\def\italique{{\it mars}}
70\def\planeteX{mars/}
71\def\STARTFI{startfi}
72%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
73%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
74
75
76
77
78planete sans espace -\planete-\\
79italique -\italique-\\
80planete en italique -{\it \planete}-\\
81
82planeteX sans espace -\planeteX-\\
83planete avec espace -\planete -\\
84planete avec /  -\planete/coucou\\
85STARTFI sans espace -\STARTFI-\\
86STARTFI avec espace -\STARTFI -\\
87
88
89% lorsqu'on appelle une variable definie au prealable dans une nouvelle
90%commande, latex2html ajoute un blanc apres cette variable.
91
92\def\OK#1#2{\planete/#1/#2.html}
93ecrit OK: \OK{dyn3d}{lectba}\\
94ecrit OK: mars/dyn3d/lectba.html\\
95
96ATTENTION: latex2html n'aime pas les \def\nom ou nom contient un
97chiffre!\\
98
99
100\def\sourceF#1#2{\htmladdnormallink{#2}{#1}}
101
102
103\sourceF{dyn3d}{lectba}
104
105\end{document}
Note: See TracBrowser for help on using the repository browser.