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 @ 10419

Last change on this file since 10419 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
RevLine 
[6997]1#!/bin/bash
2
[9407]3./inc/clean.sh
4./inc/build.sh
5
6cd tex_main
[9378]7sed -i -e 's#\\documentclass#%\\documentclass#' -e '/{document}/ s/^/%/' \
[9407]8   ../tex_sub/*.tex
9sed -i    's#\\subfile{#\\include{#g' \
[9378]10   NEMO_manual.tex
[9407]11latex2html -local_icons -no_footnode -split 4 -link 2 -mkdir -dir ../html_LaTeX2HTML   \
12            $*                                                                         \
[9378]13   NEMO_manual
14sed -i -e 's#%\\documentclass#\\documentclass#' -e '/{document}/ s/^%//' \
[9407]15   ../tex_sub/*.tex
16sed -i    's#\\include{#\\subfile{#g' \
[9378]17   NEMO_manual.tex
[9407]18cd -
[9376]19
[6997]20exit 0
Note: See TracBrowser for help on using the repository browser.