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 14530 for NEMO/trunk/doc/latex/global/highlighting.tex – NEMO

Ignore:
Timestamp:
2021-02-22T21:19:07+01:00 (3 years ago)
Author:
nicolasmartin
Message:

Revert commit 14526, can't use verbatim envs in macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/global/highlighting.tex

    r14526 r14530  
    2929 
    3030%% Namelists inclusion 
    31 \newcommand{\nlst}[1]{ 
    32    \begin{listing} 
    33       \newmintedfile{fortran}{../../../namelists/#1} 
    34       \caption{\forcode{&#1}} 
    35       \label{lst:#1} 
    36    \end{listing} 
    37 } 
     31\newcommand{\nlst}[1]{\forfile{../../../namelists/#1}} 
     32 
Note: See TracChangeset for help on using the changeset viewer.