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

Ignore:
Timestamp:
2018-03-08T17:57:24+01:00 (6 years ago)
Author:
nicolasmartin
Message:

Global reorganisation of DOC directory: implementation and configuration of syntax highlighting with 'minted' LaTeX package
New macros have been created to insert different source codes (fortran, xml, c and shell-session) in the document.
Pygments Python package is now required to compile the documentation.

File:
1 edited

Legend:

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

    r9378 r9388  
    11#!/bin/sh 
    22 
    3 latex     -shell-escape    NEMO_manual 
    4 makeindex                  NEMO_manual 
    5 bibtex                     NEMO_manual 
    6 latex     -shell-escape    NEMO_manual 
     3latex_file='NEMO_manual' 
     4latex_opts='-shell-escape -interaction=nonstopmode' 
    75 
    8 pdflatex  -shell-escape    NEMO_manual 
     6cd tex_main 
     7 
     8latex       ${latex_opts}           ${latex_file} 
     9makeindex   -s ${latex_file}.sty    ${latex_file} 
     10bibtex                              ${latex_file} 
     11 
     12pdflatex    ${latex_opts}           ${latex_file} 
     13 
     14mv ${latex_file}.pdf .. 
     15 
     16cd - 
    917 
    1018exit 0 
Note: See TracChangeset for help on using the changeset viewer.