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/tex_sub/chap_misc.tex – 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.

Location:
branches/2017/dev_merge_2017/DOC/tex_sub
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/DOC/tex_sub/chap_misc.tex

    r9387 r9388  
    119119\noindent Add the new attribute to any input files requiring a j-row offset, i.e: 
    120120\vspace{-10pt} 
    121 \begin{shcode} 
     121\begin{cmds} 
    122122ncatted  -a open_ocean_jstart,global,a,d,41 eORCA1_coordinates.nc  
    123123ncatted  -a open_ocean_jstart,global,a,d,41 eORCA1_bathymetry_v2.nc 
    124 \end{shcode} 
     124\end{cmds} 
    125125  
    126126\noindent Add the logical switch to \ngn{namcfg} in the configuration namelist and set true: 
    127127%--------------------------------------------namcfg-------------------------------------------------------- 
    128 \fortranfile{namelists/namcfg} 
     128\forfile{../namelists/namcfg} 
    129129%-------------------------------------------------------------------------------------------------------------- 
    130130 
     
    134134and 3D, netcdf, input field by adding the: 
    135135\vspace{-10pt} 
    136 \begin{fortrancode} 
     136\begin{forlines} 
    137137lrowattr=ln_use_jattr 
    138 \end{fortrancode} 
     138\end{forlines} 
    139139optional argument to the appropriate \np{iom\_get} call and the \np{open\_ocean\_jstart} attribute to the corresponding input files. It remains the users responsibility to set \np{jpjdta} and \np{jpjglo} values in the \np{namelist\_cfg} file according to their needs. 
    140140 
     
    235235\label{MISC_opt} 
    236236%--------------------------------------------namctl------------------------------------------------------- 
    237 \fortranfile{namelists/namctl}  
     237\forfile{../namelists/namctl}  
    238238%-------------------------------------------------------------------------------------------------------------- 
    239239 
Note: See TracChangeset for help on using the changeset viewer.