[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-users
Subject:    Re: Progress on the MS Word to LyX conversion (xml)
From:       Andre Poenitz <andre.poenitz () mathematik ! tu-chemnitz ! de>
Date:       2008-07-23 19:02:41
Message-ID: 20080723190240.GA5461 () tu-chemnitz ! de
[Download RAW message or body]

On Wed, Jul 23, 2008 at 10:33:16AM -0400, Steve Litt wrote:
> On Wednesday 23 July 2008 07:00, José Matos wrote:
> 
> > XML will not change the current status.
> >
> > grep '<style name="Section"' somefile.lyx
> >
> > will still work and it not so different from what we have now. You need the
> > '' already if you have spaces in your expression...
> 
> The trouble is, XML tags can be anywhere -- spacing and linefeeds are 
> immaterial. That means you can no longer parse based on position, such as: 
> 
> /^begin_layout/
> 
> because technically the whole XML file could be in a single line. Or a single 
> tag could be split between lines.

This is formally correct, but we would pretty precisely know how 
(100 - \epsilon)% of all .lyx files will be formatted because LyX
is more or less the only application that actually writes it.

Andre'

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic