Le 29/08/2016 à 00:41, Scott Kostyshak a écrit :
commit 0e49231bbfefe339b33b8ccc4d13e716a74871c4
Author: Scott Kostyshak <skost...@lyx.org>
Date: Sun Aug 28 19:12:20 2016 -0400
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 2f04454..f294d92 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
Hi Scott,
I think this should be
\begin_inset Formula $\backslash{\textrm{momentum}}\{fA\}\{\vec{p\}}$
unfortunately.