Go to page:

Search:   Help

Developers' side bar

Selected categories

Edit

Shared groups

Links

XML

Categories: Development, LyX_2_1
<< | Page list | >>

Various notes about the new XML file format for LyX 2.0

Work in progress ...

Road to an XML format

The first step should be to change the current format meta-characters \ to an intermediate format where the meta-characters are those of XML <&>

Some examples:

  • \lyxformat -> <lyxformat>
  • \backslask ->
  • <,>,& -> &...;

Testing tips

Command sequences

  • Command that instructs LyX to open a file and save it under a different name. The file is deleted first to avoid a question about overwriting the output file.
    fin=in.lyx
    fout=/tmp/out.lyx
    rm -f $fout
    lyx -x "command-sequence file-open $fin; buffer-write-as $fout; lyx-quit;"
    
    Note: An extra argument -lyxdir <path-to-lyxdir/lib> may be needed.

Categories

Category: Development, LyX_2_1

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2010-03-04 23:35 CET