Add a sanity check to the math extension that skips shelling out to
texvc if the input is insanely large.
Bug: T129506
Change-Id: I2c7b6561464bddb4c3eab9230fa8168b24adaa37
There are separate JS files for them, so the CSS should be separate, too.
This is a part of the refactoring that is required for bug T153365.
Change-Id: Iadbe5eeccff25ed1d184658945a4eb52e465d863
Add mwe-math-element class attribute to the outermost element
holding mathematical expressions. Add a css rule that adds a
scrollbar to the element in case it's a div, which is the case
for displaystyle formulae.
Note, there will be no scroll bar if long formulae are not
explicitly marked up das displaystyle formulae.
Bug: T134281
Change-Id: Iba462601bb15f8667d1284282ba4f6c2020a02b9
This reverts commit e674d7e73b.
That commit does not help to solve T134281.
It adds a CSS class name which is configurable
by a global variable to various math elements, which is confusing.
Change-Id: Iea5f231e0cea1221dc717b3409b36c0baf11bb24
The pattern "*.mli" was incorrectly added to texvccheck/.gitignore by
4c9dc2f08e with the comment "Compiled
source". As with d9a7da14f1, .mli files
define the interfaces for the corresponding .ml module and thus should
not be ignored.
The only exception to this is parser.mli which is generated by the
ocamlyacc from the parser.mly definition, so this change only ignores
those files.
Change-Id: I263df70e58fb14a7228c32d5c985ff7f1b841891
The script has a syntax error, the program tex2svg is not contained in
this repository, "texvc" should probably be "texvccheck", and the
result of this invocation is thrown away, thus always outputting
"bad".
Change-Id: I9ca0324d58f81dbb9e1bfb31e677fc877172675f
As texvccheck is a directory, make always considered the target
texvccheck to be up-to-date, thus never invocating make in the
subdirectory itself. This change marks texvccheck as a .PHONY target,
causing make to compile texvccheck in the subdirectory.
Change-Id: Ib758965c1eb53e1f7221e304fc808dc68136a219
The pattern "*.mli" was incorrectly added to math/.gitignore by
159708754c with the comment "Compiled
source". Actually, .mli files define the interfaces for the
corresponding .ml module. They are manually created and maintained,
akin to .h files in C, and thus changes to them should not be ignored.
Change-Id: I1eee6b46f8f81a7a0085901f602eb7a1f4ae6fd4
This is the fix for the bug that makes the whole page scroll when long
equations are present in the wiki article.
Bug: T134281
Change-Id: I29f8df027384098cd0923bcfa23a914c8d887bba
Primary command name is used by double click and enter.
Make this launch the default edit action 'mathDialog'.
Change-Id: Ie7a87914a55ecc87769c4a1aa029b36966b83a04