-
Notifications
You must be signed in to change notification settings - Fork 7
Incorporating mathematical formatting in RFC XML output #27
Comments
I don't think the MMark math blocks are rendered specially, they seem to be just passed through as centered code blocks. We just need a nice way of representing them. |
For now I guess it would make most sense if we just |
OK; just be aware that |
Ah ha, got it. Let's do it your way @opoudjis |
... What was my way? :-) I think it's leaving them alone. It does look ugly, admittedly. The real way of doing these is to embed them in an appropriate external schema, which a downstream processor can pay attention to or ignore. But whether that makes any sense to do at all is a matter of what IETF have in place! The native ASCIIdoc way of doing things looks like it's ASCIIMathML (http://www1.chapman.edu/~jipsen/mathml/asciimathsyntax.html), which a processor converts to MathML—and we could do the same, but only if that's going to be useful downstream. @ronaldtse, at the moment I'm leaving these alone then, but let me know if there would be any appetite over at IETF for dealing with MathML. |
Since the RFC XML schema doesn't specify specific support for Math, we probably shouldn't mess with that right now. But it might be a good idea to have that option later to convert math to MathML output within XML (https://github.com/asciidoctor/asciidoctor-mathematical) |
This issue does not need to be acted on in a hurry, since IETF does not say anything about Mathematical formatting yet; but I am already converting AsciiML to MathML for the asciidoctor-iso gem. |
Closing this for now, since no indication that IETF can deal with math formatting; if they ask for this, we reactivate this (and it will be a straightforward task). |
There's lots of mathematical formatting in MMark, delimited with $$, which I'm putting into Asciidoctor with the math[] macro. Maths is not natively supported by RFC XML. Should we presuppose an external XML schema for these, or leave them unrendered?
At a minimum, I could render it as italics, although I would have to selectively italicise only the letters and not the numbers or symbols in any such expression.
The text was updated successfully, but these errors were encountered: