On Tue, 12 Feb 2002, Joao Luis Meloni Assirati wrote:

> Hey folks, I want to learn .lyx files syntax, I already said this. How can
> I start? Is there a document on this or will I need to reverse engeneer
> reLyX?

There isn't really much in the way of documentation of the LyX format.
A couple of things to note though:
        it looks a bit like LaTeX (\begin_inset and \end_inset stuff
                with commands for layout (paragraph style))
        maths is latex
        tables use an XML format since 1.1.6

The parser is fussy about formatting and relies upon things like

\layout Standard

not having any leading or trailing white space although IIRC the
whitespace limitation isn't a problem anymore.  They are however
required to be on a line of their own.

reLyX and Buffer::readLyXFormat2() in buffer.C are the closet things
to documentation we have for the format.

Allan. (ARRae)

Reply via email to