New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
LaTeX2HTML.sh in branches/2017/dev_r8183_ICEMODEL/DOC – NEMO

source: branches/2017/dev_r8183_ICEMODEL/DOC/LaTeX2HTML.sh @ 8516

Last change on this file since 8516 was 6997, checked in by nicolasmartin, 8 years ago

Duplication of changes in DOC directory for the trunk

  • Property svn:executable set to *
File size: 541 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_book.tex
5latex NEMO_book && makeindex NEMO_book && bibtex NEMO_book
6mkdir -p html
7latex2html -local_icons -no_footnode -split 4 -link 2 -dir html $*
8sed -i -e 's#%\\documentclass#\\documentclass#' -e '/{document}/ s/^%//' TexFiles/Chapters/*.tex
9sed -i    '30,${s#\\include{#\\subfile{#g}'                                    NEMO_book.tex
10
11exit 0
Note: See TracBrowser for help on using the repository browser.