Index: NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser/doc/latex/NEMO/subfiles/chap_LDF.tex
===================================================================
--- NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser/doc/latex/NEMO/subfiles/chap_LDF.tex	(revision 12178)
+++ NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser/doc/latex/NEMO/subfiles/chap_LDF.tex	(revision 12928)
@@ -68,5 +68,5 @@
 \label{sec:LDF_slp}
 
-\gmcomment{
+\cmtgm{
   we should emphasize here that the implementation is a rather old one.
   Better work can be achieved by using \citet{griffies.gnanadesikan.ea_JPO98, griffies_bk04} iso-neutral scheme.
@@ -84,5 +84,5 @@
 $r_{1f}$, $r_{1vw}$, $r_{2t}$, $r_{2vw}$ for $v$.
 
-%gm% add here afigure of the slope in i-direction
+\cmtgm{Add here afigure of the slope in i-direction}
 
 %% =================================================================================================
@@ -94,5 +94,6 @@
 the diffusive fluxes in the three directions are set to zero and $T$ is assumed to be horizontally uniform,
 \ie\ a linear function of $z_T$, the depth of a $T$-point.
-%gm { Steven : My version is obviously wrong since I'm left with an arbitrary constant which is the local vertical temperature gradient}
+\cmtgm{Steven : My version is obviously wrong since
+  I'm left with an arbitrary constant which is the local vertical temperature gradient}
 
 \begin{equation}
@@ -112,5 +113,5 @@
 \end{equation}
 
-%gm%  caution I'm not sure the simplification was a good idea!
+\cmtgm{Caution I'm not sure the simplification was a good idea!}
 
 These slopes are computed once in \rou{ldf\_slp\_init} when \np[=.true.]{ln_sco}{ln\_sco},
@@ -144,5 +145,5 @@
 \end{equation}
 
-%gm% rewrite this as the explanation is not very clear !!!
+\cmtgm{rewrite this as the explanation is not very clear !!!}
 %In practice, \autoref{eq:LDF_slp_iso} is of little help in evaluating the neutral surface slopes. Indeed, for an unsimplified equation of state, the density has a strong dependancy on pressure (here approximated as the depth), therefore applying \autoref{eq:LDF_slp_iso} using the $in situ$ density, $\rho$, computed at T-points leads to a flattening of slopes as the depth increases. This is due to the strong increase of the $in situ$ density with depth.
 
@@ -173,5 +174,4 @@
   will include a pressure dependent part, leading to the wrong evaluation of the neutral slopes.
 
-%gm%
   Note: The solution for $s$-coordinate passes trough the use of different (and better) expression for
   the constraint on iso-neutral fluxes.
@@ -182,5 +182,5 @@
     \alpha \ \textbf{F}(T) = \beta \ \textbf{F}(S)
   \]
-  % gm{  where vector F is ....}
+  \cmtgm{where vector F is ....}
 
 This constraint leads to the following definition for the slopes:
@@ -229,5 +229,5 @@
 This allows an iso-neutral diffusion scheme without additional background horizontal mixing.
 This technique can be viewed as a diffusion operator that acts along large-scale
-(2~$\Delta$x) \gmcomment{2deltax doesnt seem very large scale} iso-neutral surfaces.
+(2~$\Delta$x) \cmtgm{2deltax doesnt seem very large scale} iso-neutral surfaces.
 The diapycnal diffusion required for numerical stability is thus minimized and its net effect on the flow is quite small when compared to the effect of an horizontal background mixing.
 
@@ -237,5 +237,5 @@
 \begin{figure}[!ht]
   \centering
-  \includegraphics[width=0.66\textwidth]{Fig_LDF_ZDF1}
+  \includegraphics[width=0.66\textwidth]{LDF_ZDF1}
   \caption{Averaging procedure for isopycnal slope computation}
   \label{fig:LDF_ZDF1}
@@ -263,5 +263,5 @@
 \begin{figure}[!ht]
   \centering
-  \includegraphics[width=0.66\textwidth]{Fig_eiv_slp}
+  \includegraphics[width=0.66\textwidth]{LDF_eiv_slp}
   \caption[Vertical profile of the slope used for lateral mixing in the mixed layer]{
     Vertical profile of the slope used for lateral mixing in the mixed layer:
@@ -478,5 +478,5 @@
 
 %%gm  from Triad appendix  : to be incorporated....
-\gmcomment{
+\cmtgm{
   Values of iso-neutral diffusivity and GM coefficient are set as described in \autoref{sec:LDF_coef}.
   If none of the keys \key{traldf\_cNd}, N=1,2,3 is set (the default), spatially constant iso-neutral $A_l$ and
@@ -544,5 +544,5 @@
 \colorbox{yellow}{TBC}
 
-\onlyinsubfile{\input{../../global/epilogue}}
+\subinc{\input{../../global/epilogue}}
 
 \end{document}
