Hi Lars,

enclosed please find a _simple_ example where the automatic conversion
from latex font to ERT inset fails. In the given file, a table with 2
columns and 1 row contains some latex code in both cells. After loading
the file with lyx cvs, the content of the first cell is moved to the
second and the content of the second is discarded. BTW: Purify did not
find any memory problem.

After some more investigation I come to the conclusion that this is the
only case where the inset causes trouble. So I hope the
emotional discussion on pros and cons may come to an end soon.

Michael

-- 
======================================================================
Michael Schmitt                            phone:     +49 451 500 3725
Institute for Telematics                   secretary: +49 451 500 3721
Medical University of Luebeck              fax:       +49 451 500 3722
Ratzeburger Allee 160              eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany           WWW:   http://www.itm.mu-luebeck.de
======================================================================
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset  Tabular
<lyxtabular version="2" rows="1" columns="2">
<features rotate="false" islongtable="false" endhead="0" endfirsthead="0" endfoot="0" 
endlastfoot="0">
<column alignment="center" valignment="top" leftline="true" rightline="false" width="" 
special="">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="" 
special="">
<row topline="true" bottomline="true" newpage="false">
<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" 
width="" special="">
\begin_inset Text

\layout Standard


\latex latex 
{
\backslash 
texttt{ a} }
\end_inset 
</cell>
<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="true" rotate="false" usebox="none" 
width="" special="">
\begin_inset Text

\layout Standard


\latex latex 

\backslash 
texttt{ b } }
\end_inset 
</cell>
</row>
</lyxtabular>

\end_inset 


\the_end

Reply via email to