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

Last change on this file since 11433 was 11187, checked in by nicolasmartin, 5 years ago

Modifications and bugfixes

  • Correction of the layout standard Right: scrreprt instead of scrreport
  • Switch to 2-columns for the bibliography
  • Update svn:ignore property for list of figures and tables
  • Update LaTeX dependencies
  • Move \triad command declaration to ./global/latex/new_cmds.tex with \DeclareRobustCommand specific prefix to prevent issue with \listoffigures
  • LaTeX typos
  • Ignore todonotes.tex for time being
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2
3#./inc/clean.sh
4#./inc/build.sh
5
6sed -i -e 's#utf8#latin1#'                                 \
7       -e 's#\[outputdir=../build\]{minted}#\[\]{minted}#' \
8       -e '/graphicspath/ s#{../#{../../#g'                \
9          global/packages.tex
10
11cd ./NEMO/main
12sed -i -e 's#\\documentclass#%\\documentclass#' -e '/{document}/ s#^#%#'   ../subfiles/*.tex
13sed -i    's#\\subfile{#\\input{#'                                         chapters.tex appendices.tex
14
15#latex2html                                   -noimages -local_icons -no_footnode -split 4 -link 2 -dir ../html_LaTeX2HTML $* NEMO_manual
16latex2html -debug -noreuse -init_file ../../l2hconf.pm -local_icons                               -dir ../build/html               NEMO_manual
17
18sed -i -e 's#%\\documentclass#\\documentclass#' -e '/{document}/ s#^%##'   ../subfiles/*.tex
19sed -i    's#\\input{#\\subfile{#'                                         chapters.tex appendices.tex
20cd -
21
22sed -i -e 's#latin1#utf8#'                                 \
23       -e 's#\[\]{minted}#\[outputdir=../build\]{minted}#' \
24       -e '/graphicspath/ s#{../../#{../#g'                \
25     global/packages.tex
26
27exit 0
Note: See TracBrowser for help on using the repository browser.