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.
HTML_latex2html.sh in NEMO/trunk/doc/latex – NEMO

source: NEMO/trunk/doc/latex/HTML_latex2html.sh @ 10405

Last change on this file since 10405 was 10146, checked in by nicolasmartin, 6 years ago

Reorganisation for future addition of .rst files from users wiki extraction

  • Create root directories latex and rst for tidy up
  • Move namelists folder to the root with the aim to gather later all namelist groups here (OCE, ICE & TOP) Also building scripts have been modified so that figures is now expected to be present at the root
  • Create bin directory with namelist utilities (check and update)
  • Under rst, add 4 dummy files that would gather the whole documentation existing currently in users wiki
    • model_interfacing.rst
    • reference_configurations.rst
    • setup_configuration.rst
    • test_cases.rst
  • Property svn:executable set to *
File size: 503 bytes
Line 
1#!/bin/bash
2
3./inc/clean.sh
4./inc/build.sh
5
6cd tex_main
7sed -i -e 's#\\documentclass#%\\documentclass#' -e '/{document}/ s/^/%/' \
8   ../tex_sub/*.tex
9sed -i    's#\\subfile{#\\include{#g' \
10   NEMO_manual.tex
11latex2html -local_icons -no_footnode -split 4 -link 2 -mkdir -dir ../html_LaTeX2HTML   \
12            $*                                                                         \
13   NEMO_manual
14sed -i -e 's#%\\documentclass#\\documentclass#' -e '/{document}/ s/^%//' \
15   ../tex_sub/*.tex
16sed -i    's#\\include{#\\subfile{#g' \
17   NEMO_manual.tex
18cd -
19
20exit 0
Note: See TracBrowser for help on using the repository browser.