I disagree Bruce, about not storing rendered content in the XML. I think it
needs to be stored in a rendered form.

If you don't then it will make it very hard to write things like
OpenDocument to HTML transforms in random languages as you would need to run
citeproc to format citations and bibliographies.

Related to this is an interoperability question. It is important not to
focus only on interop with OOo2, after all with a free software package it
is easy to get users to upgrade. Consider the interop problems with MS Word.

Have you considered an approach where citations are stored as rendered text
(or footnote/endnotes) in place with a link of some kind back to the
bibliographic database with the citation details stored as an item in the
database. That is you would have a (1) Work, with (2) particular expression
(is that what you call it) with (3) a citation by page or line number or
whatever . That is three items in the database - and only one simple link in
the documnet text. Seems to me that this would fit very well with your RDF
approach, Bruce. And an approach like this might mean that you could build a
solution that could wodk with OpenXML docs as well.





On 6/28/06, Bruce D'Arcus <[EMAIL PROTECTED]> wrote:

bib project questions ...

Re: David Wilson's idea that citeproc give pre-rendered citation and
bibliography chunks (first/subsequent, etc.) and save it in the XML,
described here:

<http://wiki.services.openoffice.org/wiki/Citeproc_Writer_Interaction>

I've thought about this some, and agree with the first part, but not
that the rendered content should be saved in the XML. I think perhaps
we can modify the bibliographic class to store that pre-formatted
content (or create a new ReferenceList class?), so that it's just
stored in memory, rather than saved?




I've updated the wiki to reflect this.

So process is something like:

Citation passes list of ids to ReferenceList
ReferenceList requests formatted citation and bib chunks from citeproc
Citation requests formatted citation from ReferenceList
Bibliography = ReferenceList to ODF

I think this is how MS is doing it in Word 2007.

Right now citeproc is XSLT 2.0. It'd be nice if we could just use it
more-or-less as is. Svante has suggested it's likely OOo might switch
to using Saxon (and thus get XSLT 2.0 for free) in the next major
release.

How feasible would it be to this? Could we implement essentially
real-time citation processing using XSLT?

It's hard enough to get good C++ programmers, and I'd rather not have
them waste time reimplementing citeproc in that language when it
already works quite well.

Bruce

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Peter (pt) Sefton
Toowoomba 4350
Queensland, Australia
Phone: +61 4 1032 6955
Web: http://ptsefton.com
Email: [EMAIL PROTECTED]

Reply via email to