asciimath / asciimath.github.io Goto Github PK
View Code? Open in Web Editor NEWWebsite for AsciiMath
Home Page: http://asciimath.org/
Website for AsciiMath
Home Page: http://asciimath.org/
It seems custom domains on GitHub Pages now supports https. Would it be possible to enable this for asciimath.org
@pkra You made a commit 'Fix preview', but now it seems to be broken =D
asciimath.github.io/index.html
Line 254 in 9c3b9ca
It seems to me as though the grammar for AsciiMath differs from that offered on the site. The implementation offers the following comment.
v ::= [A-Za-z] | greek letters | numbers | other constant symbols
u ::= sqrt | text | bb | other unary symbols for font commands
b ::= frac | root | stackrel binary symbols
l ::= ( | [ | { | (: | {: left brackets
r ::= ) | ] | } | :) | :} right brackets
S ::= v | lEr | uS | bSS Simple expression
I ::= S_S | S^S | S_S^S | S Intermediate expression
E ::= IE | I/I Expression
This seems to be a more accurate description of the actual parser behavior. In the grammar defined at the moment sqrt(x^2+1)
would be invalid since x^2
is not a simple expression and could not match the SE
pattern in E
.
Also why isn't S/S
defined in the intermediate expression and then let E ::= IE | I
? Isn't this more correct?
The live demo is broken due to timing issue.
Right now http://www1.chapman.edu/~jipsen/mathml/asciimath.html has a much better search rank (cf. https://duckduckgo.com/?q=asciimathml)
@jipsen would you consider using some soft redirect (e.g., rel='canonical'
) to point to asciimath.org?
d/dx x^2 = 2
and
f'(x) = 2x
seem to work in the demo. I wonder if it would be worth adding them to the documentation.
There is no documentation for /_\
being the triangle symbol.
I guess the following:
asciimath.github.io/index.html
Lines 124 to 128 in 59f09a1
soon can be removed https://www.igalia.com/2023/01/10/Igalia-Brings-MathML-Back-to-Chromium.html
Check out the asciimath source code and add missing symbols
For better performance, the script should be at the top and using the -full configuration.
Let's add an author/history blurb.
The link to the "Getting Started" page here sends to a page that 404s
Here is the link destination: http://docs.mathjax.org/en/latest/start.html
The link seems to be defined here:
asciimath.github.io/index.html
Line 101 in 59f09a1
The index page
asciimath.github.io/index.html
Line 98 in e5925ea
However, it gracefully serves a loader that redirects to cdnjs.cloudflare (mentioned in previous link)
The page https://www.mathjax.org/#gettingstarted also provides details on this.
The following line in my asciidoctor document produces the trace below:
stem:[TD_t(s_t, a_t)=R(s_t, a_t)+\gamma \max_aQ(s_{t+1},a)-Q(s_t, a_t)]
asciidoctor-pdf -v -r asciidoctor-mathematical -a mathematical-format=svg WAD.adoc --trace
Traceback (most recent call last):
9775: from /usr/local/bin/asciidoctor-pdf:23:in <main>' 9774: from /usr/local/bin/asciidoctor-pdf:23:in
load'
9773: from /var/lib/gems/2.7.0/gems/asciidoctor-pdf-1.6.0/bin/asciidoctor-pdf:27:in <top (required)>' 9772: from /var/lib/gems/2.7.0/gems/asciidoctor-2.0.15/lib/asciidoctor/cli/invoker.rb:113:in
invoke!'
9771: from /var/lib/gems/2.7.0/gems/asciidoctor-2.0.15/lib/asciidoctor/cli/invoker.rb:113:in each' 9770: from /var/lib/gems/2.7.0/gems/asciidoctor-2.0.15/lib/asciidoctor/cli/invoker.rb:130:in
block in invoke!'
9769: from /var/lib/gems/2.7.0/gems/asciidoctor-2.0.15/lib/asciidoctor/convert.rb:189:in convert_file' 9768: from /var/lib/gems/2.7.0/gems/asciidoctor-2.0.15/lib/asciidoctor/convert.rb:189:in
open'
... 9763 levels...
4: from /var/lib/gems/2.7.0/gems/asciimath-2.0.2/lib/asciimath/ast.rb:99:in each' 3: from /var/lib/gems/2.7.0/gems/asciimath-2.0.2/lib/asciimath/latex.rb:385:in
block in is_very_small'
2: from /var/lib/gems/2.7.0/gems/asciimath-2.0.2/lib/asciimath/latex.rb:385:in is_very_small' 1: from /var/lib/gems/2.7.0/gems/asciimath-2.0.2/lib/asciimath/latex.rb:385:in
all?'
/var/lib/gems/2.7.0/gems/asciimath-2.0.2/lib/asciimath/ast.rb:99:in `each': stack level too deep (SystemStackError)
Replacing the {t+1} with t prevents the error from occurring.
This occurs only when using asciidoctor-pdf. With asciidoctor it works fine.
Could you please add usage examples of these on your ASCIIMath website? Thanks..Saf
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.