brucemiller / LaTeXML

LaTeXML: a TeX and LaTeX to XML/HTML/ePub/MathML translator.
http://dlmf.nist.gov/LaTeXML/
Other
916 stars 96 forks source link

author missing from EPUB #1947

Open xworld21 opened 2 years ago

xworld21 commented 2 years ago

EPUB.pm tries to get the authors from the DB data: https://github.com/brucemiller/LaTeXML/blob/0130f4309d436c158dac82d60b71c84a9ec7ae84/lib/LaTeXML/Post/Manifest/Epub.pm#L104 However authors doesn't seem to be in the DB, so the EPUB doesn't get a list of authors.

dginev commented 2 years ago

That line may have been wishful thinking on my part. I am unsure if Scan is currently collecting the <creator role="author"> entries, and may need an extension.

brucemiller commented 2 years ago

There's probably some confusion between the document level "author" (which should be split into multiple individuals? I think), and bibliographies with an "authors" collecting all of them. It appears that scan is only looking at bibliography's "authors"; it may not even yet be collecting up the document author metadata?

We'll have to dig in to see what's recorded, what ePub wants, etc.

xworld21 commented 2 years ago

We'll have to dig in to see what's recorded, what ePub wants, etc.

Just tried to make sense of it all! See PR.