Closed davidmjones closed 4 months ago
Related downstream issue: https://github.com/AmerMathSoc/ams-xml-to-html/issues/254, https://github.com/AmerMathSoc/ams-xml-to-html/issues/220.
Alternatively, could texml pick up on an xml fragment containing JATS/BITS metadata? For now, I'm planning on doing so manually for the test files downstream.
Generally speaking, a special-like "rawxml" command would be nice.
Generally speaking, a special-like "rawxml" command would be nice.
There is an \importXMLfragment; see, e.g., mcl05.tex (or any of the other books that incorporate external HTML tables. I'm not sure how well that will work with metadata, though, since it might be hard to get it inserted into exactly the right place.
Thanks! \importXMLfragment seems like a useful macro for this but I could not get it to have any effect on my end.
@pkra Have a look at tests/maketitle.tex in the latest push.
Very nice!
Very nice!
Alas, maketitle.tex compiles fine but our "regular" test files don't. Maybe we can sort that out at our next F2F.
Alas, maketitle.tex compiles fine but our "regular" test files don't.
maybe that's not appropriate anyway since our test files should be closer to production.
Maybe we can sort that out at our next F2F.
But lot's of questions so it'd be great to find some time next week.
But lot's of questions so it'd be great to find some time next week.
@pkra Sure.
One problem I know about is that if the test file contains \maketitle, the XML file now gets an xml-last-modified date, which causes the regression test to fail. Is that what you ran into, or is there something else?
Texml now can do quite a bit (author, thanks, title etc) - but I think only for the noti classes?
Hopefully it'll be easy to expose this more generally (and the noti classes have a ton of useful stuff for section metadata, too).
I think this can be closed. We have some support. Specific features can be specific issues.
Most of the JATS/BITS
<front>
element comes from the AMS gentag files. We should implement a backup system that uses what little data is available in the LaTeX file.