Re: Question about tex2lyx and ERT

2006-11-24 Thread Charles de Miramon
Georg Baum wrote: > If the integrated latex support is based on writer2latex, then I would do > something else: Tell writer2latex to ignore visual markup, and only to > export the document structure. This could be done with a config file, and > I got very good results with that some time ago. Ye

Re: Question about tex2lyx and ERT

2006-11-24 Thread Enrico Forestieri
On Fri, Nov 24, 2006 at 03:17:56PM +0100, Abdelrazak Younes wrote: > I am trying to convert a word document to lyx using OpenOffice newly > integrated latex export. My problem is that there is an awful lot of ERT > in the converted LyX document, things like '\clearpage', '{', '}', > '\selectlan

Re: Question about tex2lyx and ERT

2006-11-24 Thread Charles de Miramon
Abdelrazak Younes wrote: > I would be interested in coding some kind of global ERT search and > replace in LyX. > Why not a real search&replace function for LyX 1.5.x, where you can find anything in your documment LyX, LaTeX in ERT, math, citations, styles ? Cheers, Charles -- http://www.kde-f

Re: Question about tex2lyx and ERT

2006-11-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > At least \selectlanguage should be handled by tex2lyx. Yes it should, but it is not. Georg

Re: Question about tex2lyx and ERT

2006-11-24 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Dear Georg, I am trying to convert a word document to lyx Abdelrazak> using OpenOffice newly integrated latex export. My problem Abdelrazak> is that there is an awful lot of ERT in the converted LyX Abdelrazak> documen

Re: Question about tex2lyx and ERT

2006-11-24 Thread Georg Baum
Abdelrazak Younes wrote: > So I have two questions: > 1) is it possible to tell tex2lyx to ignore all ERT? Would this be hard > to implement? No, have a look at handle_ert. > 2) how would it be possible to filter out all ERT inside a LyX file? > > I would be interested in coding some kind of gl

Question about tex2lyx and ERT

2006-11-24 Thread Abdelrazak Younes
Dear Georg, I am trying to convert a word document to lyx using OpenOffice newly integrated latex export. My problem is that there is an awful lot of ERT in the converted LyX document, things like '\clearpage', '{', '}', '\selectlanguage{english}', ... So I have two questions: 1) is it possi