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 9407 for branches/2017/dev_merge_2017/DOC/HTML_latex2html.sh – NEMO

Ignore:
Timestamp:
2018-03-15T17:40:35+01:00 (6 years ago)
Author:
nicolasmartin
Message:

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
File:
1 moved

Legend:

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

    r9394 r9407  
    11#!/bin/bash 
    22 
     3./inc/clean.sh 
     4./inc/build.sh 
     5 
     6cd tex_main 
    37sed -i -e 's#\\documentclass#%\\documentclass#' -e '/{document}/ s/^/%/' \ 
    4    texfiles/chapters/*.tex 
    5 sed -i    '30,${s#\\subfile{#\\include{#g}' \ 
     8   ../tex_sub/*.tex 
     9sed -i    's#\\subfile{#\\include{#g' \ 
    610   NEMO_manual.tex 
    7  
    8 latex     -shell-escape    NEMO_manual 
    9 makeindex                  NEMO_manual 
    10 bibtex                     NEMO_manual 
    11  
    12 latex2html -local_icons -no_footnode -split 4 -link 2 -mkdir -dir html_LaTeX2HTML   \ 
    13             $*                                                                      \ 
     11latex2html -local_icons -no_footnode -split 4 -link 2 -mkdir -dir ../html_LaTeX2HTML   \ 
     12            $*                                                                         \ 
    1413   NEMO_manual 
    15  
    1614sed -i -e 's#%\\documentclass#\\documentclass#' -e '/{document}/ s/^%//' \ 
    17    texfiles/chapters/*.tex 
    18 sed -i    '30,${s#\\include{#\\subfile{#g}' \ 
     15   ../tex_sub/*.tex 
     16sed -i    's#\\include{#\\subfile{#g' \ 
    1917   NEMO_manual.tex 
     18cd - 
    2019 
    2120exit 0 
Note: See TracChangeset for help on using the changeset viewer.