source:
branches/2017/dev_merge_2017/DOC/LaTeX2HTML.sh
@
9346
Last change on this file since 9346 was 9346, checked in by nicolasmartin, 6 years ago | |
---|---|
|
|
File size: 529 bytes |
Rev | Line | |
---|---|---|
[6997] | 1 | #!/bin/bash |
2 | ||
3 | sed -i -e 's#\\documentclass#%\\documentclass#' -e '/{document}/ s/^/%/' TexFiles/Chapters/*.tex | |
[9346] | 4 | sed -i '30,${s#\\subfile{#\\include{#g}' NEMO_book.tex |
[6997] | 5 | latex NEMO_book && makeindex NEMO_book && bibtex NEMO_book |
6 | mkdir -p html | |
7 | latex2html -local_icons -no_footnode -split 4 -link 2 -dir html $* | |
8 | sed -i -e 's#%\\documentclass#\\documentclass#' -e '/{document}/ s/^%//' TexFiles/Chapters/*.tex | |
[9346] | 9 | sed -i '30,${s#\\include{#\\subfile{#g}' NEMO_book.tex |
[6997] | 10 | |
11 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.