Steve Litt wrote:
I don't know how it will be after LyX goes XML, but right now at 1.5.3, converting my LyX code to something else by parsing the LyX native code would be trivial.

My understanding is that, whatever happens with the LyX file format, we want it to remain possible to do the sort of simple scripting we all like to be able to do. The XML business is really just a matter of replacing things like this:

\begin_layout Standard
this.
\end_layout

\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "/tmp/bib"
options "plain"

\end_inset


\end_layout

with things like this:

<layout name="Standard">
this.
</layout>

<layout name="Standard">
<inset type="bibtext" latex="bibtex" bibfiles="/tmp/bib" options="plain" />
</layout>

Just as easy to parse, I hope. Maybe even easier.

That's not anything actually agreed or implemented....

rh

Reply via email to