LaTeXML icon indicating copy to clipboard operation
LaTeXML copied to clipboard

JATS: mixed-citation vs element-citation

Open castedo opened this issue 10 months ago • 0 comments

LaTeXML 0.8.8 outputs <mixed-citation> elements in the <ref-list>, instead of <element-citation> elements.

Not sure what is the right approach for LaTeXML but I can say mixed-citation causes a problem for anybody that wants to parse JATS with Pandoc, since Pandoc currently can not parse mixed-citation: https://github.com/jgm/pandoc/issues/6287. https://gitlab.com/perm.pub/epijats, and thus everything Baseprints, currently uses Pandoc to parse JATS. However that might change this year.

@dginev you mentioned PMC4053489 as a "another kind of high quality reference". It uses <element-citation>.

Unfortunately I am not experienced enough with publishing and JATS to know which makes sense in the context of how LaTeXML gets used. I can say that element-citation fundamentally is easier to parse because it's like a json object, whereas mixed-citation is marked up text, what XML is designed for.

castedo avatar Apr 12 '24 01:04 castedo