From tom at tomlechner.com Sat Nov 16 20:13:43 2013 From: tom at tomlechner.com (Tom Lechner) Date: Sat, 16 Nov 2013 11:13:43 -0800 Subject: [List] File format Message-ID: <5287C3E7.20907@tomlechner.com> 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 From ale at graphicslab.org Sat Nov 16 20:07:02 2013 From: ale at graphicslab.org (ale rimoldi) Date: Sat, 16 Nov 2013 20:07:02 +0100 Subject: [List] File format In-Reply-To: <5287C3E7.20907@tomlechner.com> References: <5287C3E7.20907@tomlechner.com> Message-ID: <20131116200702.4c7539c1@eiseiseis> hi tom, > 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 nice hint! i will definitively try it out! ... but first i have to recover from moving to a new flat :-) have a nice weekend! a.l.e