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
|
Rev | Line | |
---|
[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: |
---|
| 8 | cd input |
---|
| 9 | echo '\begin{verbatim}' > z2sig.tex |
---|
[2569] | 10 | cat ../../deftank/z2sig.def.MCD5 >> z2sig.tex |
---|
[1954] | 11 | echo '\end{verbatim}' >> z2sig.tex |
---|
| 12 | |
---|
| 13 | echo '\begin{verbatim}' > run.tex |
---|
| 14 | cat ../../deftank/run.def.64x48x49.MCD5 >> run.tex |
---|
| 15 | echo '\end{verbatim}' >> run.tex |
---|
| 16 | |
---|
| 17 | echo '\begin{verbatim}' > callphys.tex |
---|
| 18 | cat ../../deftank/callphys.def.MCD5 >> callphys.tex |
---|
| 19 | echo '\end{verbatim}' >> callphys.tex |
---|
| 20 | |
---|
| 21 | echo '\begin{verbatim}' > run.def.1d.tex |
---|
| 22 | cat ../../deftank/run.def.1d >> run.def.1d.tex |
---|
| 23 | echo '\end{verbatim}' >> run.def.1d.tex |
---|
| 24 | |
---|
| 25 | # 2. proceed with pdflatex |
---|
| 26 | cd - |
---|
| 27 | pdflatex main.tex |
---|
| 28 | bibtex main |
---|
| 29 | pdflatex main.tex |
---|
| 30 | pdflatex 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.