Is there a way to export into Docbook format?
Is there a way to export into Docbook format?
Peter
Peter
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
I have never worked with docbook, but Zotero exports bibliographic data in all kinds of formats, but docbook is a general document format, no? Zotero doesn't export to, say, doc, odt, or tex, either.
The Zotero Firefox plugin certainly exports to BibTex, which the bib. format for tex.
Docbook and LaTeX are structurally similar (that will get me shot!) in that the user composes marked up source code and passes that through a "compiler" to produce typeset output. If I want to use LaTex I can export bib. entries suitable to paste into my LaTex source by selecting BibTex as output type from export.
I now use Docbook rather than LaTex (for reasons outside scope of the forum) and would like a DocBook menu pick on the Zotero Firefox export dialog so I can paste bib. entries into my DocBook sources.
I suppose I could use the Dublin Core export menu pick and write some code to transform it to DocBook sytle, but a native solution would be better
If it doesn't, I don't quite get what you're after.
Also, if it does have such a format: writing any export format, but especially XML, is a _huge_ amount of work, but doesn't require a huge amount of expertise - so doing that for a relatively niche format would likely be something that only someone with a direct interest - e.g. you - would do.
Also, see Rintze's comment on Pandoc - if I understand correctly you can already use docbook&pandoc&citeproc and use existing zotero output formats - I think most people use bibtex.
Yes - here http://www.docbook.org/tdg5/en/html/bibliography.html
Although not as popular as tex with the academic community, DocBook is hardly a niche. All(?) the O'Reilly books are written with it.
I will check out pandoc but that will need to wait till Monday.
My comment about the likelihood of this happening remains, though. In six years of Zotero, you're the first person to ask about this. Which isn't saying it's bad or wouldn't be nice - but it would likely need someone who'll want to use it to code it.
Translators are separate js files in relatively simple js and you can use existing export translators (like DC) as templates.
The other thing I found is REFDB, which appears to read bibtex and convert it to docbook format.
Others here know this terrain much better than I do, but it looks like you would probably be best off exporting data to one of the existing exchange formats, and crafting a tool to convert the data into the form needed by your DocBook toolchain.
It is possible to write a parser for XML almost as fast as one can write, so I will target the output of the current Dublin Core export and transform that into something I can paste into DocBook sources.
I wonder just how much of the Dublin Core Zotero export actually uses, and how much I can leave stubbed out...
I will post a note here when it is done, in case anyone else wants a copy.
I plan to use Docbook for my next project too. What solution did you finally use?