Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make texvcjs compatible to texvc #2

Open
wants to merge 209 commits into
base: master
Choose a base branch
from

Conversation

physikerwelt
Copy link
Contributor

No description provided.

physikerwelt and others added 27 commits November 19, 2014 12:12
* Import enwiki dataset as json file and not as plain text
* Fix issues with spaces in literal translation of texvc
  specific macros
Fixup: Remove bad chars from previous commit
…t-master

Conflicts:
	test/en-wiki-formulae.js
This adds testcases for all mediwiki specific mathjax
command for client-side mathjax rendering.
Add test cases for mathjax commands
Currently literals (i.e. literals_1) are surrounded by
mbox. For example \AA is transformed to \mbox{\AA}.
In this change we use mathrm instead mbox to surround the text literal
literal since this is supported by MathJax. For example
\AA is now transformed to \mathrm{\AA}.
Introduce a new option --mathjax that uses
\mathrm rather than \mbox to render some
text literals like \AA
* Also update README.MD to reflect changes
Use mathrm instead of mbox for text literals
* Replace empty tokens with ""
* Change the name of the parse() function.
* Use location() instead of offset() line() etc. in the sytax error.
* Remove  the ..h version that were not used, since they cause
  recursion problems.
* Adjust hacks for jshint.
* Print out list with real and expected visitor cases
* Adjust jshint settings for generated code
  to allow for late definitions
Fix upstream typo: \hAar -> \hArr
physikerwelt and others added 30 commits August 18, 2022 13:53
* Only for matrix

Change-Id: I2e5f1ec9f54120a47d9d20e1653df6e1fe542671
* Only for dq

Change-Id: I061e21517355263ae117a59316d8e7b9ceca9019
Change-Id: Id7dcaf1f61e6da4e1da37a4ad3a42369ac49166e
* Avoid regressions by copying all previous test cases
* Fix bug from inlining applyOnArray

Change-Id: Ia7e1b579bce8c03fc9c26ba54d54072be37803d7
* Test with all gold identifiers.
* Fix problem in declh

Change-Id: I04477a65427d29eea1b7bdfa3ade5f1dbbfa7e6e
* Remove skipped test from gold identifiers.

Change-Id: Idcde6a0f722856faced6320a157c52390d96924a
* Add additional curly to mhchem for strict consistency.
While this might not be needed for functionality, it ensures that the hash sum is not changed.

Change-Id: I13754d73b615e3d3ab12a05ae817044531413707
* Adjust grammar to use new classes
* Remove some dead code. More removal will be done in a follow-up.
* Stop exporting ast module
* Do not enforce test for class constants

Change-Id: Ic44e4db378c60f26d2aded9c3d24d19ea4d523a2
* stop exporting astutil
* rename matrix->main to matrix->mainarg

Change-Id: I32173b12e9a95904d8286e33fe61fee4d5ebf336
As texutil defines several sets, it is reasonable to store the additional set as well in texutil.

Change-Id: I1ff2182a57171e4fbbd25d4a119e1dbd12c91dd0
* update README
* update dependencies
* fix bug in option parsing

Change-Id: Ibc2f42a541c3cf39a6ca8326d4928402f1e11323
Add list of all supported functions with sample rendering.

Change-Id: I6a1970b072bd24defc865bb4860c803709f0b6db
* Simplify en-wiki test case
* Run them as part of regular CI tasks (cf., T323942)
* Remove duplicates
* Remove invalid input

Change-Id: Ifbc8e1851535400cc5670aa8ff750f791accbc98
* For designing dowstream mathoid tests we need to get the
new format of the enwiki test cases into a release.

* Fix a test description.

* Update dependencies

Change-Id: Ib55fa797c183b4ef9afa93c4af272c2496bc334f
* Allow different error message formats
* Suppress no-hashbang errors

Change-Id: I4b4698e34d75262f92a3464399abc53f57fc2c19
* GHSA-9c47-m6qq-7p4h

Change-Id: Ib246c3960c771f80e82fb9e65ce05ced635c2f11
* takes a json file such as en-wiki-formulae and
  produces output in the same format.

Change-Id: I30e5dc0e1e8f308129a5b57d3fc031b4894d1ec3
* uq (a^b) was naming b down even though it was rendered as superscript

* See also Iec273dcc967be46d3df52260fc56f1969667e497

Change-Id: I88187ece864cf6e7297f432f17c0a15cb1bf9655
Add \circ to mhchem macros to allow them in bonds.

Bug: T328833
Change-Id: Idcbb51e38670553669258980a185dd20a90091b6
LaTeX function names and the following optional braces
will be split into individual literals.

Bug: T332183
Change-Id: If78e1506e17afeed23de446ca9b929c2d1366c44
\strokeint allowed by texvcjs, but it is not documented anywhere findable with google how the rendered latex symbol should look like.

* Remove command
* Remove test
* Update documentation
* Resolve security/detect-non-literal-fs-filename issues
* Update dependencies
* Bump version

Bug: T348373
Change-Id: I292e3804909142aa0e4edb61ac8f5f26cf389041
* Add stix_requierd group and rename mathoid_required to stix_required

Bug: T137787
Change-Id: I2d704bcd120e49ecf220af790322acbb931d9c97
Change-Id: I6a9f6dc09f3e1edefc5dcf104cbff1794f05401b
* Update dependencies
* Use human-readable string for valid UTF-16 chars.
  Before only the lower parts of the UTF-16 chars were
  used in error messages which produced problems in PHP

Bug: T350004
Change-Id: Iba74d000bca808223a44b7344c6740fc15062d8e
* GHSA-67hx-6x53-jw92

Change-Id: Ib0e0b16821692e5fa3ba68b619744512eefdc21a
* GHSA-grv7-fg5c-xmjg

Change-Id: Ibde0c81df74d704a9052e72a177c2b01f06a631a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants