Hi,
I've been talking to the OpenDocument people about the possibility of
including the citation style language (CSL) I designed in OpenDocument
in some form.
http://xbiblio.sourceforge.net/csl.html
One issue they raised is that it doesn't really make use of the OD
styling infrastructure. So I've been experimenting a bit with what it
might mean to bring them closer in line.
Basically, it would primarily mean moving a lot of element content into
attributes. This fragment, for example, is about 75% more compact than
my current schema, and more in line with an OD approach:
<names initialize-with="." and-as=" &"/>
<months jan="Jan" feb="Feb" mar="Mar" apr="Apr" may="May" jun="Jun"
jul="Jul" aug="Aug" sep="Sep" oct="Oct" nov="Nov" dec="Dec"/>
<locator unit="page" use-when="missing-volume-issue" single="p. "
multiple="pp. "/>
<locator unit="paragraph" single="¶ " multiple="¶¶ "/>
<role term="editor" single="Ed. " multiple="Eds. "/>
<role term="translator" single="tran. " multiple="trans. "/>
<genre term="dissertation" value="PhD Dissertation"/>
<genre term="letter" value="letter"/>
<genre term="press release" value="press release"/>
<genre term="memo" value="memo"/>
<medium term="cdrom" value="CD-ROM"/>
OK, so it's a lot more compact (and probably faster to process as a
result). What we give up with this approach is any possibility to add
markup to attribute content. So for example, current OOo code to
handle prefixes and suffixes for citations is handled in attributes.
Hence, they can only ever be strings effectively.
Is that a reasonable tradeoff? How much of a compromise would it be
worth it to get this into the OD file format?
And thinking about the document I posted the other day, how would
people imagine configuring the styling for the example which has:
author name
... citation 1 ...
.... citation 2 ...
In other words, how would you see configuring a GUI such that you
indicate that a) citations should be grouped by author, and b) that the
group ought to be labeled with the author name, followed by a paragraph
break? It might have bearing on the above.
Bruce
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]