[List] File format

Tom Lechner tom at tomlechner.com
Sat Nov 16 20:13:43 CET 2013


Hi!

Not sure if it would be useful to you, but you might be able to use my 
Scribus File Format documenter. It's a perl script that reads an 
indented data description file that corresponds to xml, and can create 
html, a wiki page, or a dtd-ish file.

The script (rename to not be a text file):
http://laidout.org/scribus/build-format-table.txt

I made it in the course of trying to figure out a Scribus file importer 
for Laidout.

The config file I have, easy to edit, has simple syntax (as long as you 
never use tabs, always spaces):
http://laidout.org/scribus/Scribus-Current-fileformat.att

..generates this kind of html:
http://laidout.org/scribus/Scribus-Current-fileformat.att.html


..and this kind of dtd. It's probably not really valid dtd, I only
implemented dtd output this morning to approximate your impagina dtd:
http://laidout.org/scribus/Scribus-Current-fileformat.att.dtd


I used it a while back to generate the Scribus file format wiki page:
http://wiki.scribus.net/canvas/File_Format_Specification_for_Scribus_1.4


-Tom
tomlechner.com


More information about the List mailing list