The Extension:Popup preview was only working in SVG mode.
Added a new selector for the preview in MathML mode while keeping the old one working.
The selector for the preview in MathML works via the href attribute.
Bug: T381046
Change-Id: I81b5c3f2eabaf738de231868089ed80f0f19db6b
$\left(a\right)'$ produced rendered MathML output that
looked like $\left(a'\right)'$.
* Remove the deriv (') state when rendering the element
within the brackets.
Bug: T381102
Change-Id: Id7f192c1f6b7bf4109e735e393e2546e5a39efd7
In I94887f6ccb45072180a318776ae96aead8658a18 oint macros were
not taken into account.
Add \ to respective oint macros.
Bug: T380184
Change-Id: Iebcf81f4983442ead8665df47d65899a16a6f422
In I94887f6ccb45072180a318776ae96aead8658a18 some ams macros were
not taken into account.
Add \ to respective AMS macros.
Bug: T380184
Change-Id: I7c59569fb7242f4f6123047003de6cc86ce868ea
In I94887f6ccb45072180a318776ae96aead8658a18 named operators that render
as their tex command e.g. \gcd -> gcd, were not taken into account.
Remove additional \ in operator names.
Bug: T380184
Change-Id: If21cbd091cc9437715b10e3e6e7ffc86d6436010
In I94887f6ccb45072180a318776ae96aead8658a18 the array environment was missed.
Add the array environment in the same as matrix was added.
Bug: T380184
Change-Id: I92111829e7e93bc5abd40e01b6c036bbc01ee8a5
In I94887f6ccb45072180a318776ae96aead8658a18 nullary macros
such as $\AA$ were missed.
Instead of adding a backslash (cf. patch set 1) we move the
functionality to texutil.
Bug: T380184
Change-Id: Ie9947b48f03dac03612a5c33bce92bf00df70aa3
* Transform structure rich information on LaTeX length
specifications introduced in I08996129beca9ad852d23f28d7136c982707aea1
into new TexNode class
* Adjust rows, i.e., arrays to hold length information
* Add tests
Bug: T380654
Change-Id: I1aff53c7a5782c1333ed4c16639dfc660802931c
* in Ie374524dbdf6a753063172fb88e6f60e91b9212e parsing
of operatorname was simplified. However, in this
process a space after operatorname was introduced.
* This adjusts the reference files pointing to the
latest release on zendo
https://doi.org/10.5281/zenodo.14209690
Bug: T375274
Change-Id: I29a797cdf16088d704c343dd66cc7bfafc519cd9
Render all formulae from Wikipedia and make sure no errors
(that end up as wikimedia production errors in logstash)
are thrown.
Check that no merror tags are generated for the manual page
that intends to cover the full spectrum.
Currently, some merror tags are generated, which we ignore
for this commit.
Change-Id: Ifecbd8a1b0afabaa2f818e9241add92a9508bae9
Currently, information regarding individual LaTeX
macros is distributed in various files. This is the
first to attempt to collect declarative information
regarding tex macros in the texutil.json file.
As a proof of concept we start with only the cancel
macros.
* Adjust texutil tests so that whitespaces are allowed
in the payload
Change-Id: Iba2dfd5293ad96d8d8e4e2f555c8df9d1ae4d6ca
Instead of rendering \limits or \nolimits when those
commands are misplaced the commands are ignored.
TeX does it the same way, but issues a warning in addition.
Issuing the warning will be taken care of in a follow-up commit.
Bug: T365170
Change-Id: Ic1c28be2a5669183c3dd5d15577a35a1b5a76971
Chrome and similar browsers do not support the
mathvariant attribute that can be used to change
math fonts conveniently. Like for mathcal there is
a table that can be used to translate from latin
to mathfraktur chars.
Bug: T378433
Change-Id: Id8c3e121ed104ba3f08329b4151a7e3bec699754
* Add hline search in matrix construction:
** This avoids a second scan later for the cost of some
memory overhead
* Parse | in array column specification
* Add CSS based table lines as done by TMML, cf.
https://github.com/w3c/mathml-core/issues/245
Bug: T377167
Change-Id: I6e29b47b1731638ea9b06de3006ce2834e4f0c68
* Extend the list of operators that use munder instead
of msub.
* Use rendering of main operator, as some artificial
spaces might be added in the operator representation
Bug: T375907
Change-Id: I45e96257411bd7641ad6cc32aaac4c94bfcfa8a3
isset() should only be used to suppress errors, not for null check.
When the variable is always defined, there is no need to use isset.
Found by a new phan plugin (2efea9f989)
https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#isset
Change-Id: I4e797c539d8d7868bfac63fcac6b2f78463f6475