source: trunk/LMDZ.MARS/doc/make_documentation.bash @ 3026

Last change on this file since 3026 was 2569, checked in by emillour, 3 years ago

Mars GCM: update documentation (mostly better handling of http links)
EM

  • Property svn:executable set to *
File size: 942 bytes
RevLine 
[1954]1#!/bin/bash
2#  This script simly run pdflatex to make the documentation
3
4# 0. cleanup from previous compilations
5\rm -f main.pdf main.bbl main.aux main.blg main.idx main.log main.toc
6
7# 1. make some files "on the fly" based on current deftank examples:
8cd input
9echo '\begin{verbatim}' > z2sig.tex
[2569]10cat ../../deftank/z2sig.def.MCD5 >> z2sig.tex
[1954]11echo '\end{verbatim}' >> z2sig.tex
12
13echo '\begin{verbatim}' > run.tex
14cat ../../deftank/run.def.64x48x49.MCD5 >> run.tex
15echo '\end{verbatim}' >> run.tex
16
17echo '\begin{verbatim}' > callphys.tex
18cat ../../deftank/callphys.def.MCD5 >> callphys.tex
19echo '\end{verbatim}' >> callphys.tex
20
21echo '\begin{verbatim}' > run.def.1d.tex
22cat ../../deftank/run.def.1d >> run.def.1d.tex
23echo '\end{verbatim}' >> run.def.1d.tex
24
25# 2. proceed with pdflatex
26cd -
27pdflatex main.tex
28bibtex main
29pdflatex main.tex
30pdflatex main.tex
31
32# 3. copy output main.pdf to ../user_manual.pdf
33\mv -f main.pdf ../user_manual.pdf
34 
Note: See TracBrowser for help on using the repository browser.