Closed ronaldtse closed 5 years ago
... in fact, this is documenting the Asciidoctor/Asciimath gem, which is not our job, it's Asciidoctor/Asciimath's.
Failing that, perhaps someone other than me can peruse the Asciidoctor/Asciimath source code, and write this up.
So, this task is to add a page to metanorma.com, documenting the differences between AsciiMath as documented on http://asciimath.org, and AsciiMath as implemented in https://github.com/asciidoctor/asciimath, which is what we use. It will involve going through the code, and listing the AsciiMath commands that are not included in asciimath.org, such as the font commands like ii
.
It also should document common gotchas. (A longstanding gotcha: the asciidoctor/asciimath parser is more insistent than the asciimath.org parser about needing to include parentheses in expressions to group parts of it: I found that very early on with fractions.)
This is a page that will be included under author/ref/.
Just to chime in for a bit—yeah, if it’s in reference-like format then it should be under author/ref. I’d recommend using existing references (document attributes namely) as a framework for how to structure the new page.
Hi All! Here is my attempt to document the differences:
parser.rb:
asciimath.org:
Missing from asciimath.org:
Missing from asciimath.org:
All are the same.
Present in asciimath.org but not in parser.rb:
All the same
Missing from parser.rb:
Lots of capital greek letters missing from asciimath.org:
All the same
Missing from asciimath.org
OK, thank you for this.
I need this comparison turned into an Asciidoc page to be added to metanorma.com; please work with @strogonoff to do so:
So, this task is to add a page to metanorma.com, documenting the differences between AsciiMath as documented on http://asciimath.org, and AsciiMath as implemented in https://github.com/asciidoctor/asciimath, which is what we use.
bsf:: bold sans serif font
.@tgolubev I am concerned that I have not heard back from you on this task in the past week. I have created a page for you to populate with the required information, in branch feature/asciimath : https://github.com/metanorma/metanorma.com/blob/feature/asciimath/author/ref/asciimath.adoc . Please populate it as requested with specifics of the differences between asciimath.org and Asciidoctor Asciimath.
@opoudjis I have copied over the differences to asciimath.adoc, but I am not sure about the desired formatting since I am not familiar with Asciidoc formatting. I apologize, but it seems that it would be more efficient if someone skilled with Asciidoc does the final formatting. (My skills with math editing are in LaTeX.)
Ok, thank you, I'll take it from there.
We should explain the AsciiMath syntax on metanorma.com, especially since it somewhat differs from asciimath.org in implementation.
Originally posted by @manuel489 in https://github.com/metanorma/metanorma-standoc/issues/128#issuecomment-537735750