source: branches/2017/dev_merge_2017/DOC/LaTeX2HTML.sh @ 9376

Last change on this file since 9376 was 9376, checked in by nicolasmartin, 2 years ago

Global reorganisation of DOC directory: refactoring & cleaning of TeX source code for readability

  • Property svn:executable set to *
File size: 596 bytes
Line 
1#!/bin/bash
2
3sed -i -e 's#\\documentclass#%\\documentclass#' -e '/{document}/ s/^/%/' texfiles/chapters/*.tex
4sed -i    '30,${s#\\subfile{#\\include{#g}'                              NEMO_manual.tex
5
6makeindex               NEMO_manual
7bibtex                  NEMO_manual
8latex    -shell-escape  NEMO_manual
9
10mkdir -p html_LaTeX2HTML
11latex2html -local_icons -no_footnode -split 4 -link 2 -dir html_LaTeX2HTML $* NEMO_manual
12
13sed -i -e 's#%\\documentclass#\\documentclass#' -e '/{document}/ s/^%//' texfiles/chapters/*.tex
14sed -i    '30,${s#\\include{#\\subfile{#g}'                              NEMO_manual.tex
15
16exit 0
Note: See TracBrowser for help on using the repository browser.