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
Implicitly marking parameter $... as nullable is deprecated in PHP
8.4. The explicit nullable type must be used instead.
Bug: T376276
Change-Id: Idcd0b50c1c01a33c4cabeed3e31828f77c3f6443
Changes to the use statements done automatically via script
Addition of missing use statement done manually
Change-Id: I4cf7903b9700e6366bdf349f99ffd4a04da0c087