-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reconsider x hackery #445
Comments
With texml generating more x elements, we need to move on this. In particular, statement titles will now wrap their parens in x elements - and we don't want to loose those in articles (cf. proc 16467) |
Besides some lingering texml issues, I'm running into trouble dealing with x inside tex-math, i.e. ref/cite in math mode. Right now, downstream journal content wants everything removed but the comma inside cite-detail. We could preserve enough markup but then our tex-math output will not be straight forward to use with MathJax (then again, it formally isn't right now either since we don't provide delimiters). Otherwise, we'd need to keep hacking x elements here (i.e., look up xml nodes). So
Right now I'm leaning towards option 1. |
We still have some hackery for the x element from the earliest days.
texml-to-html/lib/elements/x.js
Lines 23 to 24 in 964ecee
(which will change slightly in #443)
Let's consider mapping
x
to some HTML element and let downstream delete those it doesn't like.The text was updated successfully, but these errors were encountered: