Re: Prague bibliography

On Wednesday 01 June 2022 14:55:38 (+02:00), Dorothy Hoskins wrote:


I may take a stab at some JATS output eventually, where was the source for 
the bibliography, Steve?
(Steven) It was text from an HTML document.


The top-level rules look like this:


 bibliography: biblioentry*.
 biblioentry: abbrev, (author; editor), -", ", title, -", ", publisher, -", 
", pubdate, -", ", (artpagenums, -", ")?, (bibliomisc; biblioid)**-", ", 
-#a.
 abbrev: -"[", ~["]"; #a]+, -"] ".
 author: personname++-" and ".
 editor: personname, -"(ed.)".
 personname: firstname, -" ", surname.


Steven




JATS uses <ref> and a choice of children including the flexible 
<mixed-citation> 
https://jats.nlm.nih.gov/publishing/tag-library/1.3/element/mixed-citation.html.



On Wed, Jun 1, 2022, 8:20 AM Steven Pemberton <steven.pemberton@cwi.nl> 
wrote:

Doing the bibliography right is the hardest bit of getting my papers into
Docbook.

So for Prague, I used ixml!

Example:

[spec] Steven Pemberton (ed.), Invisible XML Specification,
invisiblexml.org, 2022, https://invisiblexml.org/ixml-specification.html

     <biblioentry>
        <abbrev>spec</abbrev>
        <editor>
           <personname>
              <firstname>Steven</firstname>
              <surname>Pemberton </surname>
           </personname>
        </editor>
        <title>Invisible XML Specification</title>
        <publisher>invisiblexml.org</publisher>
        <pubdate>2022</pubdate>
        <bibliomisc>
           <link
xl:href='https://invisiblexml.org/ixml-specification.html'/>
        </bibliomisc>
     </biblioentry>

Note that it even treats the difference between authors and editors.

(I had to edit the xl:href by hand)

Steven




-- 

Received on Wednesday, 1 June 2022 13:54:03 UTC