[scribus] Darwin Information Typing Architecture (DITA) PlugIn, Adobe InDesign

avox avox at arcor.de
Thu Sep 25 20:15:34 CEST 2008




Steve Herrick wrote:
> 
> On Thu, Sep 25, 2008 at 10:35 AM, avox <avox at arcor.de> wrote:
>>
>> No. I've some ideas of making XML+CSS the native format for Scribus text
>> frames.
>> It would allow to store the XML in external databases and do round-trip
>> editing (just for
>> the content, CSS formatting would be one-way).
> 
> I floated this idea way back at the dawn of this list, years ago.
> Without digging up those emails, I recall that the arguments in favor
> were, first, consistency and second, portability, and the arguments
> against were, first, how fine-grained would the control be?, and
> second, how many times are we gonna re-invent the file format?
> 

The Scribus fileformat is due for a complete overhaul anyway.

What were the details of your idea? My idea is to allow *any* XML
and use the CSS 'display' and 'class' attributes to provide links
to Scribus's style system. On first import, Scribus could synthesize
Scribus-styles from existing CSS formatting. 

When saving, Scribus would use the 'class' attribute to point to a Scribus
style. The 'display' attribute would control if that is a paragraph style,
char style or other. Direct formatting would be translated to CSS attributes
or to a limited set of Scribus specific custom attributes.
Unknown attributes would be preserved by Scribus. Element names would be
meaningless to Scribus, since anything Scribus needs to know will be in the
attributes.

/Andreas


-- 
View this message in context: http://www.nabble.com/Darwin-Information-Typing-Architecture-%28DITA%29-PlugIn%2C-Adobe-InDesign-tp19658153p19675384.html
Sent from the Scribus New mailing list archive at Nabble.com.





More information about the scribus mailing list