Hi -- attached is an example .lyx file which illustrates the problem. Thank you very much for your help and interest.
Best, Alex Andre Poenitz wrote: > On Thu, Feb 14, 2002 at 05:50:35PM -0500, Alex Casti wrote: > > It happens often, but not always, which perplexes me even further. > > Hm... and I cannot reproduce it. Maybe you could just save a .lyx and send > it to me if this occurs the next time? > > > Sometimes this error occurs when I use a new version of lyx > > to open an old .lyx document (generated by an older version of lyx). > > Many errors of this type occur, despite the fact that the older version > > of lyx that I used to generate the file accepted these horizontal spaces > > with no LATEX compilation errors. > > There have been no big changes to the math code in the stable tree > including your 1.1.6fix4 for about three years. This puzzles me further. > > Andre' > > -- > André Pönitz .............................................. [EMAIL PROTECTED]
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \begin_preamble \pagestyle{empty} \setlength{\topmargin}{-0.5in} \setlength{\oddsidemargin}{0.2in} \setlength{\evensidemargin}{0.2in} \setlength{\textheight}{8.6in} \setlength{\textwidth}{6.1in} %****** Begin Definitions *************************** \def\mskip{\hspace{.05in}} \def\mskipp{\hspace{.1in}} \def\neg{\hspace{.05in}} \def\for{\hspace{.05in}} \def\hs{\hspace{.25in}} \def\ns{\hspace{-.03in}} \def\nss{\hspace{-.17in}} \def\nsss{\hspace{-.1in}} \def\nege{\ns = \ns} \def\order{{\cal{O}}} \def\la{\hbox{\raise.35ex\rlap{$<$}\lower.6ex\hbox{$\sim$}\ }} \def\ga{\hbox{\raise.35ex\rlap{$>$}\lower.6ex\hbox{$\sim$}\ }} \def\beq{\begin{equation}} \def\eeq{\end{equation}} \def\beqa{\begin{eqnarray}} \def\eeqa{\end{eqnarray}} \def\eps{\epsilon} %****** End Definitions *************************** \end_preamble \language english \inputencoding default \fontscheme default \graphics default \float_placement ht \paperfontsize 10 \spacing single \papersize Default \paperpackage a4 \use_geometry 1 \use_amsmath 0 \paperorientation portrait \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \series bold Example lyx file illustrating the error \layout Standard \series bold Message I frequently get when I insert \layout Standard \series bold horizontal space within the math equation mode. \layout Standard \latex latex \backslash vspace{.3cm} \layout Standard \latex latex \backslash noindent \backslash fbox{ \backslash rm \backslash bf{Some Equation}} \layout Standard \latex latex \backslash vspace{.1cm} \layout Standard \latex latex \backslash noindent \latex default Suppose \begin_inset Formula \( {\cal V}=P_{3}[x] \) \end_inset and \begin_inset Formula \( {\cal W}=P_{4}[x] \) \end_inset , where \begin_inset Formula \( P_{n}[x] \) \end_inset is the vector space of \begin_inset Formula \( n^{{\rm th}} \) \end_inset -order polynomials: \layout Standard \begin_inset Formula \[ P_{n}[x]=\left\{ p(x)\mid p(x)=c_{0}+c_{1}x+\ldots +c_{n-1}x^{n-1}+c_{n}x^{n}\right\} \, \, .\] \end_inset If you take the horizontal space before the period out of the above equation, then the LATEX compilation error disappears. \the_end