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/branches/2018/dev_r10057_ENHANCE03_ZTILDE/doc – NEMO

source: NEMO/branches/2018/dev_r10057_ENHANCE03_ZTILDE/doc/HTML_latex2html.sh @ 10167

Last change on this file since 10167 was 9407, checked in by nicolasmartin, 6 years ago

Complete refactoring of cross-referencing

  • Use of \autoref instead of simple \ref for contextual text depending on target type
  • creation of few prefixes for marker to identify the type reference: apdx|chap|eq|fig|sec|subsec|tab
  • 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.