The latest mathed changes have broken support for \textrm.
If I load and save a file, this is what happens (below).
If I revert math_parser.C to v1.126, then all is Ok.
Hope this is of some use.
Angus
--- grant_proposal_bob_safe.lyx Sun Sep 2 13:41:10 2001
+++ grant_proposal_bob.lyx Sun Sep 2 13:41:49 2001
@@ -32,7 +32,7 @@
\begin_inset FormulaMacro
-\newcommand{\otwo}{\textrm{O}_{\textrm{2}} }
+\newcommand{\otwo}{\textrm {O}
\end_inset
@@ -213,7 +213,7 @@
Particles are largely influenced by convection even in the lung periphery
because their intrinsic motion is so small (the diffusivity of a
0.5\SpecialChar ~
-\begin_inset Formula $\mu \textrm{m}$
+\begin_inset Formula $\mu \textrm {m}$
\end_inset
particle is about six orders of magnitude smaller than that of typical
@@ -370,7 +370,7 @@
In part, this finding is due to the choice of dispersion coefficient in
the 1D transport equation.
The acinar dispersion studies above have all used
-\begin_inset Formula $D=D_{\textrm{mol}} $
+\begin_inset Formula $D=D_{\textrm {mol} }$
\end_inset
, the species' coefficient of molecular diffusion.
@@ -406,7 +406,7 @@
\end_inset
for all Reynolds numbers and alveolar to duct volumes
-\begin_inset Formula $V_{\textrm{a}} /V_{\textrm{d}} $
+\begin_inset Formula $V_{\textrm {a} }/V_{\textrm {d} }$
\end_inset
.
@@ -423,7 +423,7 @@
\end_inset
, but was a function of
-\begin_inset Formula $V_{\textrm{a}} /V_{\textrm{d}} $
+\begin_inset Formula $V_{\textrm {a} }/V_{\textrm {d} }$
\end_inset
; increasing the alveolar volume reduces
@@ -431,7 +431,7 @@
\end_inset
to considerably less than
-\begin_inset Formula $D_{\textrm{mol}} $
+\begin_inset Formula $D_{\textrm {mol} }$
\end_inset