source:
NEMO/trunk/doc/latex/HTML_latex2html.sh
@
10191
Last change on this file since 10191 was 10146, checked in by nicolasmartin, 6 years ago | |
---|---|
|
|
File size: 503 bytes |
Rev | Line | |
---|---|---|
[6997] | 1 | #!/bin/bash |
2 | ||
[9407] | 3 | ./inc/clean.sh |
4 | ./inc/build.sh | |
5 | ||
6 | cd tex_main | |
[9378] | 7 | sed -i -e 's#\\documentclass#%\\documentclass#' -e '/{document}/ s/^/%/' \ |
[9407] | 8 | ../tex_sub/*.tex |
9 | sed -i 's#\\subfile{#\\include{#g' \ | |
[9378] | 10 | NEMO_manual.tex |
[9407] | 11 | latex2html -local_icons -no_footnode -split 4 -link 2 -mkdir -dir ../html_LaTeX2HTML \ |
12 | $* \ | |
[9378] | 13 | NEMO_manual |
14 | sed -i -e 's#%\\documentclass#\\documentclass#' -e '/{document}/ s/^%//' \ | |
[9407] | 15 | ../tex_sub/*.tex |
16 | sed -i 's#\\include{#\\subfile{#g' \ | |
[9378] | 17 | NEMO_manual.tex |
[9407] | 18 | cd - |
[9376] | 19 | |
[6997] | 20 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.