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.
Changeset 9376 for branches/2017/dev_merge_2017/DOC/LaTeX2HTML.sh – NEMO

Ignore:
Timestamp:
2018-03-06T17:12:34+01:00 (6 years ago)
Author:
nicolasmartin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/DOC/LaTeX2HTML.sh

    r9360 r9376  
    11#!/bin/bash 
    22 
    3 sed -i -e 's#\\documentclass#%\\documentclass#' -e '/{document}/ s/^/%/' TexFiles/Chapters/*.tex 
    4 sed -i    '30,${s#\\subfile{#\\include{#g}'                              NEMO_book.tex 
    5 latex -shell-escape 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 
    9 sed -i    '30,${s#\\include{#\\subfile{#g}'                              NEMO_book.tex 
     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 
    1015 
    1116exit 0 
Note: See TracChangeset for help on using the changeset viewer.