From 0e49231bbfefe339b33b8ccc4d13e716a74871c4 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sun, 28 Aug 2016 19:12:20 -0400 Subject: [PATCH] Convert deprecated '\rm' to '\textrm' in examples This change fixes the export of our FeynmanDiagrams.lyx example files on the latest TeX Live 2016. The IJMP(C|D).lyx examples compiled before the change but might as well convert these instances of '\rm' also. The changes were made with the help of the following command: find ./ -iregex .*lyx -exec sed -i 's/\\rm /\\textrm /g' {} \; and the resulting diff was confirmed manually. This commit is consistent with 3cecd4d3. --- lib/examples/FeynmanDiagrams.lyx | 8 ++++---- lib/examples/de/FeynmanDiagrams.lyx | 8 ++++---- lib/examples/fr/FeynmanDiagrams.lyx | 8 ++++---- lib/examples/ja/FeynmanDiagrams.lyx | 8 ++++---- lib/templates/IJMPC.lyx | 2 +- lib/templates/IJMPD.lyx | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/examples/FeynmanDiagrams.lyx b/lib/examples/FeynmanDiagrams.lyx index 2f04454611..f294d92ce2 100644 --- a/lib/examples/FeynmanDiagrams.lyx +++ b/lib/examples/FeynmanDiagrams.lyx @@ -671,7 +671,7 @@ particle-momentum specification \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\backslash{\rm momentum}\{fA\}\{\vec{p\}}$ +\begin_inset Formula $\backslash{\textrm momentum}\{fA\}\{\vec{p\}}$ \end_inset @@ -733,7 +733,7 @@ p \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\backslash{\rm vertexlabel}^{e^{+}}fA$ +\begin_inset Formula $\backslash{\textrm vertexlabel}^{e^{+}}fA$ \end_inset @@ -747,7 +747,7 @@ p \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $fglS\backslash{\rm vertexlabel}_{\gamma}$ +\begin_inset Formula $fglS\backslash{\textrm vertexlabel}_{\gamma}$ \end_inset @@ -769,7 +769,7 @@ p \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\Diagram{\vertexlabel^{{\rm e^{+}}}fA\\ +\begin_inset Formula $\Diagram{\vertexlabel^{{\textrm e^{+}}}fA\\ fglS\vertexlabel_{\gamma} } $ diff --git a/lib/examples/de/FeynmanDiagrams.lyx b/lib/examples/de/FeynmanDiagrams.lyx index be9fb6539c..60d30c011c 100644 --- a/lib/examples/de/FeynmanDiagrams.lyx +++ b/lib/examples/de/FeynmanDiagrams.lyx @@ -676,7 +676,7 @@ Teilchenimpuls-Angabe \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\backslash{\rm momentum}\{fA\}\{\vec{p\}}$ +\begin_inset Formula $\backslash{\textrm momentum}\{fA\}\{\vec{p\}}$ \end_inset @@ -738,7 +738,7 @@ p \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\backslash{\rm vertexlabel}^{e^{+}}fA$ +\begin_inset Formula $\backslash{\textrm vertexlabel}^{e^{+}}fA$ \end_inset @@ -752,7 +752,7 @@ p \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $fglS\backslash{\rm vertexlabel}_{\gamma}$ +\begin_inset Formula $fglS\backslash{\textrm vertexlabel}_{\gamma}$ \end_inset @@ -774,7 +774,7 @@ p \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\Diagram{\vertexlabel^{{\rm e^{+}}}fA\\ +\begin_inset Formula $\Diagram{\vertexlabel^{{\textrm e^{+}}}fA\\ fglS\vertexlabel_{\gamma} } $ diff --git a/lib/examples/fr/FeynmanDiagrams.lyx b/lib/examples/fr/FeynmanDiagrams.lyx index d5e85d7dd4..f81189f86d 100644 --- a/lib/examples/fr/FeynmanDiagrams.lyx +++ b/lib/examples/fr/FeynmanDiagrams.lyx @@ -683,7 +683,7 @@ spécification des moments particulaires \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\backslash{\rm momentum}\{fA\}\{\vec{p\}}$ +\begin_inset Formula $\backslash{\textrm momentum}\{fA\}\{\vec{p\}}$ \end_inset @@ -745,7 +745,7 @@ Une étiquette de sommet \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\backslash{\rm vertexlabel}^{e^{+}}fA$ +\begin_inset Formula $\backslash{\textrm vertexlabel}^{e^{+}}fA$ \end_inset @@ -759,7 +759,7 @@ Une étiquette de sommet \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $fglS\backslash{\rm vertexlabel}_{\gamma}$ +\begin_inset Formula $fglS\backslash{\textrm vertexlabel}_{\gamma}$ \end_inset @@ -781,7 +781,7 @@ Une étiquette de sommet \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\Diagram{\vertexlabel^{{\rm e^{+}}}fA\\ +\begin_inset Formula $\Diagram{\vertexlabel^{{\textrm e^{+}}}fA\\ fglS\vertexlabel_{\gamma} } $ diff --git a/lib/examples/ja/FeynmanDiagrams.lyx b/lib/examples/ja/FeynmanDiagrams.lyx index 00fa6694ab..dc8c6a537a 100644 --- a/lib/examples/ja/FeynmanDiagrams.lyx +++ b/lib/examples/ja/FeynmanDiagrams.lyx @@ -644,7 +644,7 @@ momentum{ch}{文字列} \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\backslash{\rm momentum}\{fA\}\{\vec{p\}}$ +\begin_inset Formula $\backslash{\textrm momentum}\{fA\}\{\vec{p\}}$ \end_inset @@ -706,7 +706,7 @@ p \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\backslash{\rm vertexlabel}^{e^{+}}fA$ +\begin_inset Formula $\backslash{\textrm vertexlabel}^{e^{+}}fA$ \end_inset @@ -720,7 +720,7 @@ p \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $fglS\backslash{\rm vertexlabel}_{\gamma}$ +\begin_inset Formula $fglS\backslash{\textrm vertexlabel}_{\gamma}$ \end_inset @@ -742,7 +742,7 @@ p \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\Diagram{\vertexlabel^{{\rm e^{+}}}fA\\ +\begin_inset Formula $\Diagram{\vertexlabel^{{\textrm e^{+}}}fA\\ fglS\vertexlabel_{\gamma} } $ diff --git a/lib/templates/IJMPC.lyx b/lib/templates/IJMPC.lyx index 7445abd9f9..21607804e3 100644 --- a/lib/templates/IJMPC.lyx +++ b/lib/templates/IJMPC.lyx @@ -548,7 +548,7 @@ A schematic illustration of dissociative recombination. \end_inset is initiated when the molecular ion S -\begin_inset Formula $_{{\rm L}}$ +\begin_inset Formula $_{{\textrm L}}$ \end_inset captures an electron with kinetic energy. diff --git a/lib/templates/IJMPD.lyx b/lib/templates/IJMPD.lyx index 8fed9d8ac8..f4825a28ac 100644 --- a/lib/templates/IJMPD.lyx +++ b/lib/templates/IJMPD.lyx @@ -554,7 +554,7 @@ A schematic illustration of dissociative recombination. \end_inset is initiated when the molecular ion S -\begin_inset Formula $_{{\rm L}}$ +\begin_inset Formula $_{{\textrm L}}$ \end_inset captures an electron with kinetic energy. -- 2.39.5