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