source: NEMO/trunk/doc/HTML_latex2html.sh @ 10075

Last change on this file since 10075 was 9407, checked in by nicolasmartin, 3 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.