Ticket #669 (new enhancement)

Opened 18 months ago

Last modified 18 months ago

XSLT for citation

Reported by: kohlhase Owned by: clange
Priority: major Milestone:
Component: XSLT Version: v0.1.3
Keywords: Cc:
Blocked By: Blocking:
Due to close: YYYY/MM/DD Include in GanttChart: no
Dependencies: Due to assign: YYYY/MM/DD

Description

I have just introduced the <citation> elements for OMDoc (it was long overdue). And we can generate them from sTeX now, so we need to have some support for them in the XSLTs.

Some of the code may be stealable/adaptable/importable from LaTeXML (our treatment of them is very near to that Bruce does).

I made very basic templates (no crossreferences) so that we are operational now.

Change History

  Changed 18 months ago by kohlhase

What we would really like to do is to do what bibTeX does.

  • Generate an identifier from the metadata
  • generate a bibligraphy item from the bibTeX database
  • present the <citation> element as the identifier crosslinked to the bibliography item.

We may be able to use the *.bbl file for that.

follow-up: ↓ 3   Changed 18 months ago by kohlhase

hmmm, I guess we could just reuse parts of the WSML code we use for bibTeX here. But wait, this does not work for the LaTeXML-generated bibtex xml. What a pity.

in reply to: ↑ 2 ; follow-up: ↓ 4   Changed 18 months ago by clange

Replying to kohlhase:

hmmm, I guess we could just reuse parts of the WSML code we use for bibTeX here. But wait, this does not work for the LaTeXML-generated bibtex xml. What a pity.

The actual pity is a different one ;-) No one has ever explained to me how BibTeX->XML works with LaTeXML. If you could do that, or point me to some documentation, and if that XML representation supports everything we need, I would be most happy to port the WSML code – after you-know-what, of course.

in reply to: ↑ 3   Changed 18 months ago by kohlhase

Replying to clange:

The actual pity is a different one ;-) No one has ever explained to me how BibTeX->XML works with LaTeXML. If you could do that, or point me to some documentation, and if that XML representation supports everything we need, I would be most happy to port the WSML code – after you-know-what, of course.

that is very good, but there are still problems with the explicitness of crossreferences and non-standard slots in the generated XML, see  this LaTeXML ticket

  Changed 18 months ago by kohlhase

Bruce has just added the necessary support, so we are good to go on this. We should probably also revert our bibtex2webpubs generation to LaTeXML now, as Bruce also now includes  bibTeX source in in the XML, so we can generate the bibTeX entries for the users who want to cite our papers.

Note: See TracTickets for help on using tickets.