mirror of https://gitee.com/openkylin/mathjax.git
Import Upstream version 2.7.9+dfsg
This commit is contained in:
parent
735c72b4e8
commit
6ad47a5aa4
|
@ -1,7 +0,0 @@
|
|||
.DS_Store
|
||||
docs/build/html-mathjax-site
|
||||
config/local/*.js
|
||||
!config/local/local.js
|
||||
unpacked/config/local/*.js
|
||||
!unpacked/config/local/local.js
|
||||
fonts/HTML-CSS/TeX/png
|
|
@ -7,11 +7,11 @@ script:
|
|||
- npm test
|
||||
branches:
|
||||
only:
|
||||
- /^\d+\.\d+/
|
||||
- "/^\\d+\\.\\d+/"
|
||||
deploy:
|
||||
provider: npm
|
||||
email: manager@mathjax.org
|
||||
api_key:
|
||||
secure: TUDca8/Hk1h6GUqVwIjVXcVK4PUBUSfzXWumuq4PDcV6olmaaNFfcVBIdB3QC6dyTyY/ECDBnio+QdtVWmnaPvbbM/LdJeFrMgZzuCRHLMWjNH7+5B8GAiOJse2tKiJ+FUbqUQo6B5+dA+AH2spl6UdJWDV3ZvgWqExxR6gUC/nLDYEl0kF8UuLSe+PANaYkoUjldPvrgf16axRuRGfid+pCY456OUi251GxUXI5PXKYYPj1c7nLPllewxQZqJE588OcVaX4YflV8LDjBKuAqd4w0qHf0/CkKgl7b7zRYIz4BYbX4DXqHAazpKZqQkVQ6kDfFCg0yd+FKBZE3FHJTGTMm7Q4vlEdmww1sC3kT50kwUQNgs2r75pcwvmIrPylXo29mwFav1yKJJ1GiwX0OvgW3am4Ir/hcbz+KR2hiD1TCa659XRKrb7dT++M4j2YTLcq4UnUFmerVc264QyfZfpFJlxitXh8QS23yIlh8mFRpRkxYqyqAGUvd869vJX5lx2w08l4JdrhW2ant3Z02hCsMfhpYT8LyVlSH/Pt1TeYMYM+Xx5FCqX27Esyk4GlFaIYdOWS7npDfoJcHKkeqpaBIGh4MR4zWofVNrbeoNDUm+ZVT98BOZXgTyXqRRrnyCYGa0PApAzJkcBb5pVXGSH8iydOm/Ti/Z9F4S6AhWU=
|
||||
secure: VbG6GALVGUCeZKhaqpR1JD70ZWC20NyTSyue9htlmLMhrw02JR/5Bi7mZDZrnvAqo8gSO6MGE6lbbaBBI5u42iklNHFYg+RTeEF7CafoVBSC7QeNNdkpDJyeEQ+zEAWKv4/oOcqH9logQBJoW+iT9xHlyVIZxmEYG9ptWYzouWk=
|
||||
on:
|
||||
tags: true
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# Contributing to MathJax
|
||||
|
||||
You are interested in giving us a hand? That's awesome! We've put together some brief guidelines that should help you get started quickly and easily.
|
||||
You are interested in giving us a hand? That's awesome! We've put
|
||||
together some brief guidelines that should help you get started
|
||||
quickly and easily.
|
||||
|
||||
There are lots and lots of ways to get involved, this document covers:
|
||||
|
||||
|
@ -47,17 +49,33 @@ Guidelines for bug reports:
|
|||
1. **Use the GitHub issue search** — check if the issue has already been
|
||||
reported.
|
||||
|
||||
2. **Check if the issue has been fixed** — look for [closed issues in the
|
||||
current milestone](https://github.com/MathJax/MathJax/issues?&page=1&state=closed) or try to reproduce it
|
||||
using the latest `develop` branch. Please note that we only pack MathJax for releases, so on the `develop` branch you have to use `/unpacked/MathJax.js` etc. to test.
|
||||
2. **Check if the issue has been fixed** — look for [closed
|
||||
issues in the current
|
||||
milestone](https://github.com/MathJax/MathJax/issues?&page=1&state=closed)
|
||||
or try to reproduce it using the latest `develop` branch. Please
|
||||
note that we only pack MathJax for releases, so on the `develop`
|
||||
branch you have to use `/unpacked/MathJax.js` etc. to test.
|
||||
|
||||
3. **Share a live sample of the problem** — without a live page it is usually impossible to debug problems; see also the Bug Report Template below.
|
||||
3. **Share a live sample of the problem** — without a live page
|
||||
it is usually impossible to debug problems; see also the Bug Report
|
||||
Template below.
|
||||
|
||||
4. **Isolate the problem** — a live sample is a starting point but if you want to speed things up create a [reduced test
|
||||
case](http://css-tricks.com/6263-reduced-test-cases/). Be specific about your setup (browser, OS versions etc). Use services like [jsbin](http://jsbin.com), [CodePen](http://codepen.io), [JSfiddle](http://jsfiddle.com) to make collaboration on minimal test cases easier for everyone. Use the unpacked copy of MathJax (`[...]/unpacked/MathJax.js` etc.) for better debugging.
|
||||
4. **Isolate the problem** — a live sample is a starting point
|
||||
but if you want to speed things up create a [reduced test
|
||||
case](http://css-tricks.com/6263-reduced-test-cases/). Be specific
|
||||
about your setup (browser, OS versions etc). Use services like
|
||||
[jsbin](http://jsbin.com), [CodePen](http://codepen.io),
|
||||
[JSfiddle](http://jsfiddle.com) to make collaboration on minimal
|
||||
test cases easier for everyone. Use the unpacked copy of MathJax
|
||||
(`[...]/unpacked/MathJax.js` etc.) for better debugging.
|
||||
|
||||
5. **Include a screenshot/cast as a last resort** — Is your issue about a layout
|
||||
or design feature / bug but hard to reproduce or isolate? Then please provide a screenshot or screencast. Tools like [LICEcap](http://www.cockos.com/licecap/) or [SauceLabs](http://www.saucelabs.com) allow you to quickly and easily record a screencasts. Make it an animated gif, embed it directly into your GitHub issue -- kapow!
|
||||
5. **Include a screenshot/cast as a last resort** — Is your
|
||||
issue about a layout or design feature / bug but hard to reproduce
|
||||
or isolate? Then please provide a screenshot or screencast. Tools
|
||||
like [LICEcap](http://www.cockos.com/licecap/) or
|
||||
[SauceLabs](http://www.saucelabs.com) allow you to quickly and
|
||||
easily record a screencasts. Make it an animated gif, embed it
|
||||
directly into your GitHub issue -- kapow!
|
||||
|
||||
6. Use the Bug Report template below or [click this
|
||||
link](https://github.com/MathJax/MathJax/issues/new?title=Bug%3A&body=%23%23%23%20Issue%20Summary%0A%0A%23%23%23%20Steps%20to%20Reproduce%0A%0A1.%20This%20is%20the%20first%20step%0A%0AThis%20is%20a%20bug%20because...%0A%0A%23%23%23%20Technical%20details%0A%0A*%20MathJax%20Version%3A%20master%20-%20latest%20commit%3A%20%20INSERT%20COMMIT%20REF%0A*%20Client%20OS%3A%20%0A*%20Browser%3A%20%0A*%20)
|
||||
|
@ -69,6 +87,7 @@ more information. Be sure to include the details of your environment.
|
|||
Here is a [real example](https://github.com/mathjax/MathJax/issues/820)
|
||||
|
||||
Template Example ([click to use](https://github.com/MathJax/MathJax/issues/new?title=Bug%3A&body=%23%23%23%20Issue%20Summary%0A%0A%23%23%23%20Steps%20to%20Reproduce%0A%0A1.%20This%20is%20the%20first%20step%0A%0AThis%20is%20a%20bug%20because...%0A%0A%23%23%23%20Technical%20details%0A%0A*%20MathJax%20Version%3A%20master%20-%20latest%20commit%3A%20%20INSERT%20COMMIT%20REF%0A*%20Client%20OS%3A%20%0A*%20Browser%3A%20%0A*%20)):
|
||||
|
||||
```
|
||||
Short and descriptive example bug report title
|
||||
|
||||
|
@ -216,6 +235,10 @@ repository.
|
|||
|
||||
## Conduct
|
||||
|
||||
As a NumFOCUS fiscally sponsored project, MathJax is governed by the
|
||||
[NumFOCUS code of conduct](https://numfocus.org/code-of-conduct),
|
||||
which we summarize as follows:
|
||||
|
||||
We are committed to providing a friendly, safe and welcoming environment for
|
||||
all, regardless of gender, sexual orientation, disability, ethnicity, religion,
|
||||
or similar personal characteristic.
|
||||
|
@ -229,26 +252,30 @@ circumstances.
|
|||
Please keep unstructured critique to a minimum. If you have solid ideas you
|
||||
want to experiment with, make a fork and see how it works.
|
||||
|
||||
We will exclude you from interaction if you insult, demean or harass anyone.
|
||||
That is not welcome behaviour. We interpret the term "harassment" as
|
||||
including the definition in the
|
||||
[Citizen Code of Conduct](http://citizencodeofconduct.org/);
|
||||
if you have any lack of clarity about what might be included in that concept,
|
||||
please read their definition. In particular, we don't tolerate behavior that
|
||||
We will exclude you from interaction if you insult, demean or harass
|
||||
anyone. That is not welcome behaviour. We interpret the term
|
||||
"harassment" as including the definition in the [Unacceptable
|
||||
Behavior](https://numfocus.org/code-of-conduct#unacceptable-behavior)
|
||||
section of the [NumFOCUS code of
|
||||
conduct](https://numfocus.org/code-of-conduct); if you have any lack
|
||||
of clarity about what might be included in that concept, please read
|
||||
that definition. In particular, we don't tolerate behavior that
|
||||
excludes people in socially marginalized groups.
|
||||
|
||||
Private harassment is also unacceptable. No matter who you are, if you feel
|
||||
you have been or are being harassed or made uncomfortable by a community
|
||||
member, please contact one of the channel ops or any of the
|
||||
Private harassment is also unacceptable. No matter who you are, if you
|
||||
feel you have been or are being harassed or made uncomfortable by a
|
||||
community member, please contact one of the channel ops or any of the
|
||||
[MathJax](https://github.com/MathJax/MathJax) core team
|
||||
immediately. Whether you're a regular contributor or a newcomer, we care about
|
||||
making this community a safe place for you and we've got your back.
|
||||
immediately. Whether you're a regular contributor or a newcomer, we
|
||||
care about making this community a safe place for you and we've got
|
||||
your back.
|
||||
|
||||
Likewise any spamming, trolling, flaming, baiting or other attention-stealing
|
||||
behaviour is not welcome.
|
||||
|
||||
We also suggest to read [discourse's
|
||||
We also recommend that you read [discourse's
|
||||
rules](http://blog.discourse.org/2013/03/the-universal-rules-of-civilized-discourse/)
|
||||
for further suggestions on appropriate behavior.
|
||||
|
||||
## References
|
||||
|
||||
|
|
19
MathJax.js
19
MathJax.js
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,5 @@
|
|||
# MathJax
|
||||
# MathJax <img alt="GitHub package.json version (branch)" src="https://img.shields.io/github/package-json/v/mathjax/MathJax/legacy-v2.svg">
|
||||
|
||||
|
||||
## Beautiful math in all browsers
|
||||
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
Scripts in `packer` and `combiner` directories are based on upstream ones, which
|
||||
can be found at:
|
||||
|
||||
https://github.com/mathjax/MathJax-dev/
|
||||
|
||||
Debian modifications to packer/packMJfile:
|
||||
* Use Debian yui-compressor path (`/usr/share/yui-compressor/yui-compressor.jar`);
|
||||
* Replace current working directory in MathJax with `MathJax` string;
|
||||
* Do not require the configuration script.
|
||||
|
||||
Debian modifications to packer/packMJ:
|
||||
* Do not exclude a11y and TeX/mhchem3 extensions from packing.
|
||||
|
||||
The latest version is based on upstream commit
|
||||
c385ab91ea8839ca30319b3ec9e746e1c817a92f.
|
|
@ -1,5 +0,0 @@
|
|||
mathjax (2.7.4+dfsg-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800
|
|
@ -1,52 +0,0 @@
|
|||
#! /usr/bin/perl
|
||||
|
||||
#
|
||||
# Create all the combined configuration files
|
||||
#
|
||||
# Usage: ./combineMJ [--force] [proj-dir]
|
||||
#
|
||||
|
||||
use Cwd;
|
||||
use FindBin;
|
||||
|
||||
if ($ARGV[0] eq '--force') {$force = true; shift}
|
||||
|
||||
$DIR = $FindBin::Bin;
|
||||
$MJX = shift || getcwd;
|
||||
$COMBINELIST = "$DIR/combineMJlist";
|
||||
$COMBINELISTU = "$DIR/combineMJlist-unpacked";
|
||||
|
||||
die "Project directory must contain a config directory\n" unless -d "$MJX/config";
|
||||
|
||||
|
||||
opendir(LISTS,"$DIR/lists") || die "Can't list $DIR/lists: $!\n";
|
||||
@lists = grep {/.*\.lis/} readdir(LISTS);
|
||||
closedir(LISTS);
|
||||
|
||||
foreach $list (@lists) {
|
||||
$file = $list; $file =~ s/\.[^.]*/.js/;
|
||||
$needsUpdate = 1;
|
||||
if (-e "$MJX/config/$file" && !$force) {
|
||||
$needsUpdate = 0;
|
||||
$date = (stat("$MJX/config/$file"))[9];
|
||||
open(LIST,"<","$DIR/lists/$list") || warn "Can't read $DIR/lists/$list: $!\n";
|
||||
@files = <LIST>; chomp(@files);
|
||||
close(LIST);
|
||||
foreach $name (@files) {
|
||||
last unless $name =~ m/\S/;
|
||||
if (!(-e "$MJX/$name") || (stat("$MJX/$name"))[9] > $date) {
|
||||
$needsUpdate = 1;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($needsUpdate) {
|
||||
print "Refreshing: config/$file\n";
|
||||
system("$COMBINELIST '$MJX' '$DIR/lists/$list' > /dev/null");
|
||||
system("$COMBINELISTU '$MJX' '$DIR/lists/$list' > /dev/null");
|
||||
} else {
|
||||
print "Up to date: config/$file\n";
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
|
@ -1,77 +0,0 @@
|
|||
#! /usr/bin/perl
|
||||
|
||||
#
|
||||
# Combine scripts in the MathJax project into single-file-load
|
||||
# configuration files.
|
||||
#
|
||||
# Usage: ./combineMJlist proj-dir [files.lis]
|
||||
#
|
||||
|
||||
use Cwd;
|
||||
use FindBin;
|
||||
|
||||
$DIR = $FindBin::Bin;
|
||||
$MJX = shift || getcwd;
|
||||
|
||||
$name = $ARGV[0]; $name =~ s!.*/!!;
|
||||
die "Usage: ./combineMJlist srcdir files.lis\n" unless $name =~ m/\S/;
|
||||
die "Project directory must contain a config directory\n" unless -d "$MJX/config";
|
||||
|
||||
$outfile = "config/$name"; $outfile =~ s/\.[^.]*/.js/;
|
||||
|
||||
@files = ();
|
||||
while ($file = <>) {
|
||||
chomp($file);
|
||||
if ($file =~ m/\S/) {
|
||||
push (@files,$file);
|
||||
} else {
|
||||
@config = <>;
|
||||
chomp(@config);
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
$MMLorHTML = 0;
|
||||
@list = ();
|
||||
|
||||
foreach $file (@files) {
|
||||
$MMLorHTML = 1 if $file =~ m!/MMLorHTML.js!;
|
||||
push(@list,"[MathJax]/$file");
|
||||
}
|
||||
$files = ' "'.join("\",\n \"",@list).'"';
|
||||
$MMLorHTML = ("","\nMathJax.Hub.Config({delayJaxRegistration: true});\n")[$MMLorHTML];
|
||||
|
||||
open(CONFIG,"<","$DIR/template.js") || die "Can't open $DIR/template.js: $!\n";
|
||||
@lines = <CONFIG>;
|
||||
close(CONFIG);
|
||||
$config = join("",@lines);
|
||||
|
||||
$config =~ s!%%% NAME %%%!/MathJax/$outfile!;
|
||||
$config =~ s!%%% FILES %%%!$files!;
|
||||
$config =~ s!%%% MMLorHTML %%%!$MMLorHTML!;
|
||||
|
||||
print "Creating $outfile\n";
|
||||
open(CONFIG,">","$MJX/$outfile") || die "Can't write $MJX/$outfile: $!\n";
|
||||
print CONFIG $config;
|
||||
|
||||
if (scalar(@config)) {
|
||||
print CONFIG "MathJax.Hub.Config({\n ";
|
||||
print CONFIG join("\n ",@config);
|
||||
print CONFIG "\n});\n\n";
|
||||
}
|
||||
|
||||
foreach $file (@files) {
|
||||
print " $file\n";
|
||||
open(JS,"<","$MJX/$file") || warn "Can't read $MJX/$file: $!\n";
|
||||
@lines = <JS>;
|
||||
close(JS);
|
||||
$lines = join("",@lines);
|
||||
$lines =~ s!/.*?\*/\n\n!!s;
|
||||
print CONFIG $lines;
|
||||
}
|
||||
|
||||
print CONFIG "MathJax.Ajax.loadComplete(\"[MathJax]/$outfile\");\n";
|
||||
|
||||
close(CONFIG);
|
||||
|
||||
1;
|
|
@ -1,73 +0,0 @@
|
|||
#! /usr/bin/perl
|
||||
|
||||
#
|
||||
# Combine scripts in the MathJax project into single-file-load
|
||||
# configuration files.
|
||||
#
|
||||
# Usage: ./combineMJlist-unpacked proj-dir [files.lis]
|
||||
#
|
||||
|
||||
use Cwd;
|
||||
use FindBin;
|
||||
|
||||
$DIR = $FindBin::Bin;
|
||||
$MJX = shift || getcwd;
|
||||
|
||||
$name = $ARGV[0]; $name =~ s!.*/!!;
|
||||
die "Usage: ./combineMJlist srcdir files.lis\n" unless $name =~ m/\S/;
|
||||
die "Project directory must contain an unpacked/config directory\n" unless -d "$MJX/unpacked/config";
|
||||
|
||||
$outfile = "config/$name"; $outfile =~ s/\.[^.]*/.js/;
|
||||
|
||||
@files = ();
|
||||
while ($file = <>) {
|
||||
chomp($file);
|
||||
if ($file =~ m/\S/) {
|
||||
push (@files,$file);
|
||||
} else {
|
||||
@config = <>;
|
||||
chomp(@config);
|
||||
@config = grep {!/^extensions:/} @config;
|
||||
while (scalar(@config) && $config[-1] !~ m/\S/) {pop(@config)}
|
||||
$config[-1] =~ s/,$// if scalar(@config);
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
@CONFIG = ();
|
||||
@JAX = ();
|
||||
@EXTENSIONS = ();
|
||||
|
||||
foreach $file (@files) {
|
||||
if ($file =~ m!^jax/(.*)/config.js!) {push(@JAX,"\"$1\"")}
|
||||
if ($file =~ m!^extensions/a11y/(.*)!) {push(@EXTENSIONS,"\"[a11y]/$1\"")}
|
||||
elsif ($file =~ m!^extensions/(.*)!) {push(@EXTENSIONS,"\"$1\"")}
|
||||
if ($file =~ m!^config/(.*)!) {push(@CONFIG,"\"$1\"")}
|
||||
}
|
||||
|
||||
@HUB = ();
|
||||
push(@HUB,"config: [".join(",",@CONFIG)."]") if scalar(@CONFIG);
|
||||
push(@HUB,"extensions: [".join(",",@EXTENSIONS)."]") if scalar(@EXTENSIONS);
|
||||
push(@HUB,"jax: [".join(",",@JAX)."]") if scalar(@JAX);
|
||||
push(@HUB,join("\n ",@config)) if scalar(@config);
|
||||
|
||||
open(CONFIG,"<","$DIR/template-unpacked.js") || die "Can't open $DIR/template-unpacked.js: $!\n";
|
||||
@lines = <CONFIG>;
|
||||
close(CONFIG);
|
||||
$config = join("",@lines);
|
||||
|
||||
$config =~ s!%%% NAME %%%!/MathJax/unpacked/$outfile!;
|
||||
|
||||
print "Creating $outfile\n";
|
||||
open(CONFIG,">","$MJX/unpacked/$outfile") || die "Can't write $MJX/$outfile: $!\n";
|
||||
print CONFIG $config;
|
||||
|
||||
print CONFIG "MathJax.Hub.Config({\n";
|
||||
print CONFIG " ",join(",\n ",@HUB);
|
||||
print CONFIG "\n});\n\n";
|
||||
|
||||
print CONFIG "MathJax.Ajax.loadComplete(\"[MathJax]/$outfile\");\n";
|
||||
|
||||
close(CONFIG);
|
||||
|
||||
1;
|
|
@ -1,18 +0,0 @@
|
|||
jax/input/AsciiMath/config.js
|
||||
jax/output/CommonHTML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/CommonHTML/jax.js
|
||||
jax/output/CommonHTML/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,16 +0,0 @@
|
|||
jax/input/AsciiMath/config.js
|
||||
jax/output/CommonHTML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,21 +0,0 @@
|
|||
jax/input/AsciiMath/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/NativeMML/jax.js
|
||||
jax/output/HTML-CSS/jax.js
|
||||
jax/output/HTML-CSS/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,18 +0,0 @@
|
|||
jax/input/AsciiMath/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,18 +0,0 @@
|
|||
jax/input/AsciiMath/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/SVG/jax.js
|
||||
jax/output/SVG/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,15 +0,0 @@
|
|||
jax/input/AsciiMath/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,36 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/NativeMML/jax.js
|
||||
jax/output/HTML-CSS/jax.js
|
||||
jax/output/HTML-CSS/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
menuSettings: {
|
||||
zoom: "Double-Click",
|
||||
mpContext: true,
|
||||
mpMouse: true
|
||||
},
|
||||
errorSettings: {
|
||||
message: ["[",["MathError","Math Error"],"]"]
|
||||
},
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,33 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
menuSettings: {
|
||||
zoom: "Double-Click",
|
||||
mpContext: true,
|
||||
mpMouse: true
|
||||
},
|
||||
errorSettings: {
|
||||
message: ["[",["MathError","Math Error"],"]"]
|
||||
},
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,18 +0,0 @@
|
|||
jax/input/MathML/config.js
|
||||
jax/output/CommonHTML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/CommonHTML/jax.js
|
||||
jax/output/CommonHTML/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,16 +0,0 @@
|
|||
jax/input/MathML/config.js
|
||||
jax/output/CommonHTML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,21 +0,0 @@
|
|||
jax/input/MathML/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/NativeMML/jax.js
|
||||
jax/output/HTML-CSS/jax.js
|
||||
jax/output/HTML-CSS/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,19 +0,0 @@
|
|||
jax/input/MathML/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
jax/input/MathML/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/SVG/jax.js
|
||||
jax/output/SVG/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,16 +0,0 @@
|
|||
jax/input/MathML/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,28 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/NativeMML/jax.js
|
||||
jax/output/HTML-CSS/jax.js
|
||||
jax/output/HTML-CSS/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,25 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,25 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/SVG/jax.js
|
||||
jax/output/SVG/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,23 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,22 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/output/CommonHTML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/output/CommonHTML/jax.js
|
||||
jax/output/CommonHTML/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,20 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/output/CommonHTML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,22 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/output/HTML-CSS/jax.js
|
||||
jax/output/HTML-CSS/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,20 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,22 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/output/SVG/jax.js
|
||||
jax/output/SVG/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,20 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,28 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/input/AsciiMath/config.js
|
||||
jax/output/CommonHTML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/CommonHTML/jax.js
|
||||
jax/output/CommonHTML/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,26 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/input/AsciiMath/config.js
|
||||
jax/output/CommonHTML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,31 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/input/AsciiMath/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/NativeMML/jax.js
|
||||
jax/output/HTML-CSS/jax.js
|
||||
jax/output/HTML-CSS/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,28 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/input/AsciiMath/config.js
|
||||
jax/output/HTML-CSS/config.js
|
||||
jax/output/NativeMML/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
config/MMLorHTML.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,28 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/input/AsciiMath/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/SVG/jax.js
|
||||
jax/output/SVG/autoload/mtable.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,26 +0,0 @@
|
|||
jax/input/TeX/config.js
|
||||
jax/input/MathML/config.js
|
||||
jax/input/AsciiMath/config.js
|
||||
jax/output/SVG/config.js
|
||||
jax/output/PreviewHTML/config.js
|
||||
extensions/tex2jax.js
|
||||
extensions/mml2jax.js
|
||||
extensions/asciimath2jax.js
|
||||
extensions/MathEvents.js
|
||||
extensions/MathZoom.js
|
||||
extensions/MathMenu.js
|
||||
jax/element/mml/jax.js
|
||||
extensions/toMathML.js
|
||||
extensions/TeX/noErrors.js
|
||||
extensions/TeX/noUndefined.js
|
||||
jax/input/TeX/jax.js
|
||||
extensions/TeX/AMSmath.js
|
||||
extensions/TeX/AMSsymbols.js
|
||||
jax/input/MathML/jax.js
|
||||
jax/input/AsciiMath/jax.js
|
||||
jax/output/PreviewHTML/jax.js
|
||||
extensions/fast-preview.js
|
||||
extensions/AssistiveMML.js
|
||||
extensions/a11y/accessibility-menu.js
|
||||
|
||||
extensions: ['[a11y]/accessibility-menu.js']
|
|
@ -1,15 +0,0 @@
|
|||
/*************************************************************
|
||||
*
|
||||
* %%% NAME %%%
|
||||
*
|
||||
* Copyright (c) 2010-2018 The MathJax Consortium
|
||||
*
|
||||
* Part of the MathJax library.
|
||||
* See http://www.mathjax.org for details.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0;
|
||||
* you may not use this file except in compliance with the License.
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*/
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* %%% NAME %%%
|
||||
*
|
||||
* Copyright (c) 2010-2018 The MathJax Consortium
|
||||
*
|
||||
* Part of the MathJax library.
|
||||
* See http://www.mathjax.org for details.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0;
|
||||
* you may not use this file except in compliance with the License.
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*/
|
||||
%%% MMLorHTML %%%
|
||||
MathJax.Ajax.Preloading(
|
||||
%%% FILES %%%
|
||||
);
|
||||
|
|
@ -1 +0,0 @@
|
|||
11
|
|
@ -1,70 +0,0 @@
|
|||
Source: mathjax
|
||||
Section: javascript
|
||||
Priority: optional
|
||||
Maintainer: Dmitry Shachnev <mitya57@debian.org>
|
||||
Uploaders: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
|
||||
Build-Depends: debhelper (>= 11), perl, yui-compressor
|
||||
Standards-Version: 4.1.4
|
||||
Homepage: https://www.mathjax.org
|
||||
Vcs-Git: https://salsa.debian.org/js-team/mathjax.git
|
||||
Vcs-Browser: https://salsa.debian.org/js-team/mathjax
|
||||
|
||||
Package: libjs-mathjax
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends: fonts-mathjax (>= 2.6.0~), ${misc:Depends}
|
||||
Suggests: fonts-mathjax-extras, fonts-stix, libjs-mathjax-doc
|
||||
Description: JavaScript display engine for LaTeX and MathML
|
||||
MathJax was designed with the goal of consolidating the recent advances in web
|
||||
technologies into a single, definitive, math-on-the-web platform supporting
|
||||
the major browsers and operating systems.
|
||||
.
|
||||
It requires no setup on the part of the user (no plugins to download or
|
||||
software to install), so the page author can write web documents that include
|
||||
mathematics and be confident that users will be able to view it naturally and
|
||||
easily. Simply include MathJax and some mathematics in a web page, and MathJax
|
||||
will do the rest.
|
||||
|
||||
Package: fonts-mathjax
|
||||
Section: fonts
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Suggests: libjs-mathjax
|
||||
Breaks: libjs-mathjax (<< 2.1)
|
||||
Replaces: libjs-mathjax (<< 2.1)
|
||||
Multi-Arch: foreign
|
||||
Description: JavaScript display engine for LaTeX and MathML (fonts)
|
||||
MathJax was designed with the goal of consolidating the recent advances in web
|
||||
technologies into a single, definitive, math-on-the-web platform supporting
|
||||
the major browsers and operating systems.
|
||||
.
|
||||
It requires no setup on the part of the user (no plugins to download or
|
||||
software to install), so the page author can write web documents that include
|
||||
mathematics and be confident that users will be able to view it naturally and
|
||||
easily. Simply include MathJax and some mathematics in a web page, and MathJax
|
||||
will do the rest.
|
||||
.
|
||||
This package contains OTF, SVG and WOFF fonts for MathJax.
|
||||
|
||||
Package: fonts-mathjax-extras
|
||||
Section: fonts
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Recommends: fonts-mathjax
|
||||
Suggests: libjs-mathjax
|
||||
Breaks: libjs-mathjax (<< 2.1)
|
||||
Replaces: libjs-mathjax (<< 2.1)
|
||||
Multi-Arch: foreign
|
||||
Description: JavaScript display engine for LaTeX and MathML (extra fonts)
|
||||
MathJax was designed with the goal of consolidating the recent advances in web
|
||||
technologies into a single, definitive, math-on-the-web platform supporting
|
||||
the major browsers and operating systems.
|
||||
.
|
||||
It requires no setup on the part of the user (no plugins to download or
|
||||
software to install), so the page author can write web documents that include
|
||||
mathematics and be confident that users will be able to view it naturally and
|
||||
easily. Simply include MathJax and some mathematics in a web page, and MathJax
|
||||
will do the rest.
|
||||
.
|
||||
This package contains EOT fonts for MathJax, that are provided in addition to
|
||||
OTF, SVG and WOFF fonts in "fonts-mathjax" package.
|
|
@ -1,220 +0,0 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: MathJax
|
||||
Source: https://github.com/mathjax/MathJax
|
||||
Comment: Repacked manually in get-orig-source target.
|
||||
|
||||
Files: *
|
||||
Copyright: 2009-2018 The MathJax Consortium
|
||||
License: Apache-2.0
|
||||
|
||||
Files: unpacked/extensions/TeX/mhchem3/mhchem.js
|
||||
Copyright: 2011-2015 The MathJax Consortium
|
||||
2015-2017 Martin Hensel
|
||||
License: Apache-2.0
|
||||
|
||||
Files: fonts/HTML-CSS/TeX/*
|
||||
Copyright: 2009-2013 The MathJax Consortium, with Reserved Font Names
|
||||
MathJax_AMS, MathJax_Main, MathJax_Math, etc
|
||||
License: OFL-1.1
|
||||
|
||||
Files: fonts/HTML-CSS/Asana-Math/*
|
||||
Copyright: 2007 Apostolos Syropoulos <asyropoulos@yahoo.com>, with
|
||||
Reserved Font Name Asana Math
|
||||
2013 The MathJax Consortium, with Reserved Font Name Asana MathJax
|
||||
License: OFL-1.1
|
||||
|
||||
Files: fonts/HTML-CSS/Neo-Euler/*
|
||||
Copyright: 1997-2009 American Mathematical Society, with Reserved Font Names
|
||||
EUEX10, EUEX7, EUEX8, EUEX9, EUFB10, EUFB5, EUFB7, EUFM10,
|
||||
EUFM5, EUFM7, EURB10, EURB5, EURB7, EURM10, EURM5, EURM7,
|
||||
EUSB10, EUSB5, EUSB7, EUSM10, EUSM5, EUSM7,
|
||||
CMEX10, CMSY5, CMSY7
|
||||
2009-2010 Khaled Hosny <khaledhosny@eglug.org>
|
||||
2013 The MathJax Consortium, with Reserved Font Name Neo Euler
|
||||
MathJax
|
||||
License: OFL-1.1
|
||||
|
||||
Files: fonts/HTML-CSS/STIX-Web/*
|
||||
Copyright: 2001-2010 STI Pub Companies, consisting of the American Institute of
|
||||
Physics, the American Chemical Society, the American
|
||||
Mathematical Society, the American Physical Society,
|
||||
Elsevier, Inc., and The Institute of Electrical and
|
||||
Electronic Engineers, Inc. (www.stixfonts.org), with
|
||||
Reserved Font Name STIX Fonts
|
||||
1998-2003 MicroPress, Inc., with Reserved Font Name TM Math
|
||||
1990 Elsevier, Inc
|
||||
2013 The MathJax Consortium, with Reserved Font Name STIX
|
||||
MathJax
|
||||
License: OFL-1.1
|
||||
|
||||
Files: fonts/HTML-CSS/Gyre-Pagella/*
|
||||
fonts/HTML-CSS/Gyre-Termes/*
|
||||
fonts/HTML-CSS/Latin-Modern/*
|
||||
Copyright: 2012-2013 B. Jackowski, P. Strzelczyk and P. Pianowski
|
||||
(on behalf of TeX Users Groups)
|
||||
2013 The MathJax Consortium, with Reserved Font Names
|
||||
GyrePagellaMathJax, GyreTermesMathJax and LatinModernMathJax
|
||||
License: GFL
|
||||
|
||||
Files: unpacked/jax/input/AsciiMath/jax.js
|
||||
Copyright: 2005 Peter Jipsen
|
||||
2012-2014 The MathJax Consortium
|
||||
License: GPL-2+ or Apache-2.0
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2011 Julien Jehannet <julien.jehannet@logilab.fr>
|
||||
2012-2018 Dmitry Shachnev <mitya57@debian.org>
|
||||
License: Apache-2.0
|
||||
|
||||
Files: debian/packer/*
|
||||
debian/combiner/*
|
||||
Copyright: 2009-2015 The MathJax Consortium
|
||||
License: Apache-2.0
|
||||
|
||||
License: Apache-2.0
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
You may obtain a copy of the License at
|
||||
.
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
.
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
.
|
||||
On Debian systems, the complete text of the Apache License version 2.0
|
||||
can be found in "/usr/share/common-licenses/Apache-2.0".
|
||||
|
||||
License: GPL-2+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or (at
|
||||
your option) any later version.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||
|
||||
License: OFL-1.1
|
||||
SIL OPEN FONT LICENSE
|
||||
Version 1.1 - 26 February 2007
|
||||
.
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
.
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
.
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
.
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
.
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
.
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting — in part or in whole — any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
.
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
.
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
.
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
.
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
.
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
.
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
.
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
.
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
.
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
|
||||
License: GFL
|
||||
GUST FONT LICENSE
|
||||
.
|
||||
This is a preliminary version (2006-09-30), barring acceptance from
|
||||
the LaTeX Project Team and other feedback, of the GUST Font License.
|
||||
(GUST is the Polish TeX Users Group, http://www.gust.org.pl)
|
||||
.
|
||||
For the most recent version of this license see
|
||||
http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt
|
||||
or
|
||||
http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt
|
||||
.
|
||||
This work may be distributed and/or modified under the conditions
|
||||
of the LaTeX Project Public License, either version 1.3c of this
|
||||
license or (at your option) any later version.
|
||||
.
|
||||
Please also observe the following clause:
|
||||
1) it is requested, but not legally required, that derived works be
|
||||
distributed only after changing the names of the fonts comprising this
|
||||
work and given in an accompanying "manifest", and that the
|
||||
files comprising the Work, as listed in the manifest, also be given
|
||||
new names. Any exceptions to this request are also given in the
|
||||
manifest.
|
||||
.
|
||||
We recommend the manifest be given in a separate file named
|
||||
MANIFEST-<fontid>.txt, where <fontid> is some unique identification
|
||||
of the font family. If a separate "readme" file accompanies the Work,
|
||||
we recommend a name of the form README-<fontid>.txt.
|
||||
.
|
||||
The latest version of the LaTeX Project Public License is in
|
||||
http://www.latex-project.org/lppl.txt and version 1.3c or later
|
||||
is part of all distributions of LaTeX version 2006/05/20 or later.
|
|
@ -1,2 +0,0 @@
|
|||
fonts/HTML-CSS/TeX/eot usr/share/javascript/mathjax/fonts/HTML-CSS/TeX
|
||||
fonts/HTML-CSS/STIX-Web/eot usr/share/javascript/mathjax/fonts/HTML-CSS/STIX-Web
|
|
@ -1,5 +0,0 @@
|
|||
fonts/HTML-CSS/TeX/otf usr/share/javascript/mathjax/fonts/HTML-CSS/TeX
|
||||
fonts/HTML-CSS/TeX/svg usr/share/javascript/mathjax/fonts/HTML-CSS/TeX
|
||||
fonts/HTML-CSS/TeX/woff usr/share/javascript/mathjax/fonts/HTML-CSS/TeX
|
||||
fonts/HTML-CSS/STIX-Web/otf usr/share/javascript/mathjax/fonts/HTML-CSS/STIX-Web
|
||||
fonts/HTML-CSS/STIX-Web/woff usr/share/javascript/mathjax/fonts/HTML-CSS/STIX-Web
|
|
@ -1 +0,0 @@
|
|||
usr/share/javascript/mathjax/fonts/HTML-CSS/TeX/otf usr/share/fonts/opentype/mathjax
|
|
@ -1 +0,0 @@
|
|||
usr/share/javascript/mathjax
|
|
@ -1 +0,0 @@
|
|||
README.md
|
|
@ -1,7 +0,0 @@
|
|||
MathJax.js usr/share/javascript/mathjax
|
||||
config usr/share/javascript/mathjax
|
||||
extensions usr/share/javascript/mathjax
|
||||
jax usr/share/javascript/mathjax
|
||||
localization usr/share/javascript/mathjax
|
||||
test usr/share/javascript/mathjax
|
||||
unpacked usr/share/javascript/mathjax
|
|
@ -1,50 +0,0 @@
|
|||
#! /usr/bin/perl
|
||||
|
||||
#
|
||||
# Compresses scripts in the MathJax project
|
||||
#
|
||||
# Usage: packMJ [--force] [project-dir]
|
||||
|
||||
use Cwd;
|
||||
use FindBin;
|
||||
|
||||
if ($ARGV[0] eq '--force') {$force = true; shift}
|
||||
|
||||
$DST = shift || getcwd;
|
||||
$SRC = "$DST/unpacked";
|
||||
$bindir = $FindBin::Bin;
|
||||
$PACKMJFILE = "$bindir/packMJfile";
|
||||
|
||||
sub packDir {
|
||||
my ($src,$dst) = @_;
|
||||
opendir(SRC,$src);
|
||||
my @files = grep(/^[^.]/,readdir(SRC));
|
||||
closedir(SRC);
|
||||
foreach my $file (@files) {
|
||||
if (-d "$src/$file") {
|
||||
next if "$src/$file" eq "$SRC/fonts";
|
||||
next if "$src/$file" eq "$SRC/docs";
|
||||
next if "$src/$file" eq "$SRC/unpacked";
|
||||
if (! -e "$dst/$file") {mkdir "$dst/$file"}
|
||||
packDir("$src/$file","$dst/$file");
|
||||
} elsif ($file =~ m/\.js$/) {
|
||||
packFile($src,$dst,$file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sub packFile {
|
||||
my ($src,$dst,$file) = @_;
|
||||
$src .= "/$file"; $dst .= "/$file";
|
||||
my ($stime,$ssize) = (stat($src))[9,7];
|
||||
my $dtime = (stat($dst))[9];
|
||||
return if $stime <= $dtime && !$force;
|
||||
system("$PACKMJFILE '$src' '$dst'");
|
||||
my $dsize = (stat($dst))[7];
|
||||
print "Size: $dsize, Original: $ssize [saved: ",$ssize-$dsize," or ",
|
||||
sprintf("%.1f",100*($ssize-$dsize)/$ssize),"%]\n";
|
||||
}
|
||||
|
||||
packDir($SRC,$DST);
|
||||
|
||||
1;
|
|
@ -1,56 +0,0 @@
|
|||
#! /usr/bin/perl
|
||||
|
||||
# Compresses a MathJax file and reports the new size and savings.
|
||||
# You need to have yuicompressor in order for this to work
|
||||
#
|
||||
# Usage: packMJfile src-file dest-file
|
||||
|
||||
use Cwd;
|
||||
use FindBin;
|
||||
|
||||
$bindir = $FindBin::Bin;
|
||||
|
||||
$JAVA = "java";
|
||||
$SED = "sed";
|
||||
$YUICOMPRESSOR = "/usr/share/yui-compressor/yui-compressor.jar";
|
||||
|
||||
$YUIFILTER = "$bindir/yuiFilter";
|
||||
$src = shift; $dst = shift;
|
||||
|
||||
|
||||
if ($src =~ m!/config/(local/local|default)\.js$!) {
|
||||
print "============================================\n";
|
||||
print "Copying: $src\n";
|
||||
system("cp '$src' '$dst'");
|
||||
exit;
|
||||
}
|
||||
|
||||
print "============================================\n";
|
||||
print "Compressing: $src\n";
|
||||
print "--------------------------------------------";
|
||||
# The sed command uncomments the 'MathJax.isPacked = true;' from MathJax.js
|
||||
system("cat '$src' | $SED \"s\/^.*\\/\\/ \\(MathJax.isPacked = true;\\).*$\/\\1\/\" | $JAVA -jar '$YUICOMPRESSOR' -v -o '$dst' --type js 2>&1 | $YUIFILTER");
|
||||
|
||||
open(MJX,"<", $dst);
|
||||
@lines = <MJX>;
|
||||
close(MJX);
|
||||
$compressed = join("",@lines);
|
||||
|
||||
$template = "$bindir/template.js";
|
||||
|
||||
open(MJX,"<",$template);
|
||||
@lines = <MJX>;
|
||||
close(MJX);
|
||||
$lines = join("",@lines);
|
||||
|
||||
$dstname = $dst; $dstname =~ s!.*/(dpvc-)?MathJax!/MathJax!;
|
||||
$cwd = getcwd; $dstname =~ s/\Q$cwd\E/\/MathJax/;
|
||||
$lines =~ s/%%%NAME%%%/$dstname/;
|
||||
$lines =~ s/%%%DATA%%%/$compressed/;
|
||||
|
||||
|
||||
open(MJX,">",$dst);
|
||||
print MJX $lines;
|
||||
close(MJX);
|
||||
|
||||
1;
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* %%%NAME%%%
|
||||
*
|
||||
* Copyright (c) 2009-2018 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
%%%DATA%%%
|
|
@ -1,19 +0,0 @@
|
|||
#! /usr/bin/perl
|
||||
|
||||
# used internally to filter the yuicompressor output to not show certain messages
|
||||
|
||||
while ($line = <>) {
|
||||
if ($line =~ m/use a single 'var' statement per scope/) {
|
||||
$line = <>; $line = <>; # skip next two lines
|
||||
} elsif ($line =~ m/The symbol (VERSION|TEXCLASS|MO) is declared but/) {
|
||||
$line = <>; $line = <>; # skip next two lines
|
||||
} elsif ($line =~ m/Using 'eval' is not recommended/) {
|
||||
$line = <>; $line = <>; # skip next two lines
|
||||
} elsif ($line =~ m/Using charset (MacRoman|UTF)/) {
|
||||
$line = <>; # skip blank line
|
||||
} else {
|
||||
print $line;
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
|
@ -1,30 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# This file was originally written by Joey Hess and Craig Small.
|
||||
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
UPSTREAM_VERSION = $(DEB_VERSION_UPSTREAM:+dfsg=)
|
||||
|
||||
DELETED_FILES = config extensions jax localization \
|
||||
unpacked/extensions/a11y/mathjax-sre.js \
|
||||
unpacked/extensions/a11y/mathmaps \
|
||||
unpacked/extensions/a11y/wgxpath.install.js \
|
||||
fonts/HTML-CSS/TeX/png
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
./debian/packer/packMJ --force
|
||||
./debian/combiner/combineMJ --force
|
||||
|
||||
override_dh_auto_clean:
|
||||
rm -rfv config/ extensions/ jax/ localization/
|
||||
rm -fv MathJax.js
|
||||
|
||||
get-orig-source:
|
||||
uscan --noconf --download-current-version --no-symlink
|
||||
gunzip -c ../$(UPSTREAM_VERSION).tar.gz | \
|
||||
tar --delete $(addprefix MathJax-$(UPSTREAM_VERSION)/,$(DELETED_FILES)) | \
|
||||
xz -z > ../mathjax_$(UPSTREAM_VERSION)+dfsg.orig.tar.xz
|
|
@ -1 +0,0 @@
|
|||
3.0 (native)
|
|
@ -1,2 +0,0 @@
|
|||
mathjax source: source-is-missing
|
||||
mathjax source: source-contains-prebuilt-javascript-object
|
|
@ -1,8 +0,0 @@
|
|||
# watch control file for uscan
|
||||
# See uscan(1) for format
|
||||
|
||||
# Compulsory line, this is a version 3 file
|
||||
version=3
|
||||
|
||||
opts=uversionmangle=s/-/~/,dversionmangle=s/\+dfsg// \
|
||||
https://github.com/mathjax/MathJax/releases .*/archive/v?(.*).tar.gz
|
19
latest.js
19
latest.js
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* /MathJax/latest.js
|
||||
*
|
||||
* Copyright (c) 2009-2018 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
(function(){var h={"cdnjs.cloudflare.com":{api:"https://api.cdnjs.com/libraries/mathjax?fields=version",version:"version",mathjax:"https://cdnjs.cloudflare.com/ajax/libs/mathjax/"},"cdn.rawgit.com":{api:"https://api.github.com/repos/mathjax/mathjax/releases/latest",version:"tag_name",mathjax:"https://cdn.rawgit.com/mathjax/MathJax/"},"cdn.jsdelivr.net":{api:"https://api.jsdelivr.com/v1/jsdelivr/libraries?name=mathjax&lastversion=*",version:"lastversion",mathjax:"https://cdn.jsdelivr.net/mathjax/"}};function g(q){if(console&&console.log){console.log(q)}}function e(){if(document.currentScript){return document.currentScript}var r=document.getElementsByTagName("script");for(var v=0,q=r.length;v<q;v++){var t=r[v];for(var s in h){if(h.hasOwnProperty(s)){var u=h[s].mathjax;if(t.src&&t.src.substr(0,u.length)===u){return t}}}}}function a(r){if(!r){return}var q=r.src.replace(/https:\/\//,"").replace(/[\/\?].*/,"");return h[q]}var l=/(?:^|;\s*)mjx\.latest=([^;]*)(?:;|$)/;function d(){var q;try{q=l.exec(document.cookie)}catch(r){}if(q&&q[1]!==""){return q[1]}}function c(q){cookie="mjx.latest="+q;var s=new Date();s.setDate(s.getDate()+7);cookie+="; expires="+s.toGMTString();cookie+="; path=/";try{document.cookie=cookie}catch(r){}}function j(){if(window.XMLHttpRequest){return new XMLHttpRequest()}if(window.ActiveXObject){try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(q){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(q){}}}function o(r){var q=document.createElement("script");q.type="text/javascript";q.async=true;q.src=r;var s=document.head||document.getElementsByTagName("head")[0]||document.body;if(s){s.appendChild(q)}else{g("Can't find the document <head> element")}}function i(){var q=e();if(q){o(q.src.replace(/\/latest\.js/,"/MathJax.js"))}else{g("Can't determine the URL for loading MathJax")}}function m(q,r,s){var t=j();if(t){t.onreadystatechange=function(){if(t.readyState===4){if(t.status===200){var v=JSON.parse(t.responseText);if(v instanceof Array){v=v[0]}var u=v[q.version];if(u.substr(0,2)==="2."){c(u);o(q.mathjax+v[q.version]+s+"/MathJax.js"+r);return}}else{g("Problem acquiring MathJax version: status = "+t.status)}i()}};t.open("GET",q.api,true);t.send(null)}else{g("Can't create XMLHttpRequest object");i()}}var n=e();var p=a(n);if(p){var b=n.src.replace(/.*?(\?|$)/,"$1");b+=(b?"&":"?")+"latest";var f=(n.src.match(/\/unpacked\/latest\.js/)?"/unpacked":"");var k=d();if(k){o(p.mathjax+k+f+"/MathJax.js"+b)}else{m(p,b,f)}}else{i()}})();
|
25
package.json
25
package.json
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"name": "mathjax",
|
||||
"version": "2.7.4",
|
||||
"description": "Beautiful math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers.",
|
||||
"version": "2.7.9",
|
||||
"description": "Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers.",
|
||||
"main": "./unpacked/MathJax.js",
|
||||
"keywords": [
|
||||
"math",
|
||||
"svg",
|
||||
|
@ -23,7 +24,25 @@
|
|||
"type": "git",
|
||||
"url": "git://github.com/mathjax/MathJax.git"
|
||||
},
|
||||
"main": "./unpacked/MathJax.js",
|
||||
"files": [
|
||||
"MathJax.js",
|
||||
"/config",
|
||||
"/extensions",
|
||||
"/fonts/HTML-CSS/*-*",
|
||||
"/fonts/HTML-CSS/TeX/eot",
|
||||
"/fonts/HTML-CSS/TeX/otf",
|
||||
"/fonts/HTML-CSS/TeX/svg",
|
||||
"/fonts/HTML-CSS/TeX/woff",
|
||||
"/jax",
|
||||
"/latest.js",
|
||||
"/localization",
|
||||
"/package.json",
|
||||
"/test",
|
||||
"/unpacked",
|
||||
"/LICENSE",
|
||||
"/README.md",
|
||||
"/CONTRIBUTING.md"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "echo 'No tests here!'"
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax Example Page</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax Test Page</title>
|
||||
<!-- Copyright (c) 2009-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2009-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax Test Page</title>
|
||||
<!-- Copyright (c) 2009-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2009-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Localization</title>
|
||||
<!-- Copyright (c) 2013-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2013-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Wait Until MathJax is Finished Before Showing Page</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax AsciiMath Test Page</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Example of defining a macro that autoloads an extension</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Dynamic Preview of Textarea with MathJax Content</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax Dynamic Steps Test Page</title>
|
||||
<!-- Copyright (c) 2011-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2011-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax Dynamic Math Test Page</title>
|
||||
<!-- Copyright (c) 2010-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2010-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax Equation Numbering</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax Equation References</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Load MathJax with in-line configuration after the page is ready</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Load MathJax after the page is ready</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Example of defining a macro that autoloads an extension</title>
|
||||
<!-- Copyright (c) 2012-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2012-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax MathML Test Page</title>
|
||||
<!-- Copyright (c) 2010-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2010-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax Signals Test Page</title>
|
||||
<!-- Copyright (c) 2010-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2010-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax TeX Test Page</title>
|
||||
<!-- Copyright (c) 2010-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2010-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>MathJax Test Page</title>
|
||||
<!-- Copyright (c) 2009-2018 The MathJax Consortium -->
|
||||
<!-- Copyright (c) 2009-2020 The MathJax Consortium -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2009-2018 The MathJax Consortium
|
||||
* Copyright (c) 2009-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -45,9 +45,9 @@ if (window.MathJax) {window.MathJax = {AuthorConfig: window.MathJax}}
|
|||
|
||||
// MathJax.isPacked = true; // This line is uncommented by the packer.
|
||||
|
||||
MathJax.version = "2.7.4";
|
||||
MathJax.fileversion = "2.7.4";
|
||||
MathJax.cdnVersion = "2.7.4"; // specifies a revision to break caching
|
||||
MathJax.version = "2.7.9";
|
||||
MathJax.fileversion = "2.7.9";
|
||||
MathJax.cdnVersion = "2.7.9"; // specifies a revision to break caching
|
||||
MathJax.cdnFileVersions = {}; // can be used to specify revisions for individual files
|
||||
|
||||
/**********************************************************/
|
||||
|
@ -667,7 +667,6 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua
|
|||
var PATH = {};
|
||||
PATH[BASENAME] = ""; // empty path gets the root URL
|
||||
PATH.a11y = '[MathJax]/extensions/a11y'; // a11y extensions
|
||||
PATH.Contrib = "https://cdn.mathjax.org/mathjax/contrib"; // the third-party extensions
|
||||
|
||||
BASE.Ajax = {
|
||||
loaded: {}, // files already loaded
|
||||
|
@ -1893,7 +1892,10 @@ MathJax.Hub = {
|
|||
config: [], // list of configuration files to load
|
||||
styleSheets: [], // list of CSS files to load
|
||||
styles: { // styles to generate in-line
|
||||
".MathJax_Preview": {color: "#888"}
|
||||
".MathJax_Preview": {
|
||||
color: "#888",
|
||||
display: "contents" // for RTL languages in Chrome (see issue #2190)
|
||||
}
|
||||
},
|
||||
jax: [], // list of input and output jax to load
|
||||
extensions: [], // list of extensions to load
|
||||
|
@ -2042,17 +2044,20 @@ MathJax.Hub = {
|
|||
|
||||
setRenderer: function (renderer,type) {
|
||||
if (!renderer) return;
|
||||
if (!MathJax.OutputJax[renderer]) {
|
||||
var JAX = MathJax.OutputJax[renderer];
|
||||
if (!JAX) {
|
||||
MathJax.OutputJax[renderer] = MathJax.OutputJax({id: "unknown", version:"1.0.0", isUnknown: true});
|
||||
this.config.menuSettings.renderer = "";
|
||||
var file = "[MathJax]/jax/output/"+renderer+"/config.js";
|
||||
return MathJax.Ajax.Require(file,["setRenderer",this,renderer,type]);
|
||||
} else {
|
||||
this.config.menuSettings.renderer = renderer;
|
||||
if (type == null) {type = "jax/mml"}
|
||||
if (JAX.isUnknown) JAX.Register(type);
|
||||
var jax = this.outputJax;
|
||||
if (jax[type] && jax[type].length) {
|
||||
if (renderer !== jax[type][0].id) {
|
||||
jax[type].unshift(MathJax.OutputJax[renderer]);
|
||||
jax[type].unshift(JAX);
|
||||
return this.signal.Post(["Renderer Selected",renderer]);
|
||||
}
|
||||
}
|
||||
|
@ -2907,7 +2912,7 @@ MathJax.Hub.Startup = {
|
|||
}
|
||||
},{
|
||||
id: "Jax",
|
||||
version: "2.7.4",
|
||||
version: "2.7.9",
|
||||
directory: ROOT+"/jax",
|
||||
extensionDir: ROOT+"/extensions"
|
||||
});
|
||||
|
@ -2953,7 +2958,7 @@ MathJax.Hub.Startup = {
|
|||
}
|
||||
},{
|
||||
id: "InputJax",
|
||||
version: "2.7.4",
|
||||
version: "2.7.9",
|
||||
directory: JAX.directory+"/input",
|
||||
extensionDir: JAX.extensionDir
|
||||
});
|
||||
|
@ -2971,6 +2976,7 @@ MathJax.Hub.Startup = {
|
|||
load = AJAX.Require(file);
|
||||
return load;
|
||||
},
|
||||
Process: function (state) {throw Error(this.id + " output jax failed to load properly")},
|
||||
Register: function (mimetype) {
|
||||
var jax = HUB.outputJax;
|
||||
if (!jax[mimetype]) {jax[mimetype] = []}
|
||||
|
@ -2986,7 +2992,7 @@ MathJax.Hub.Startup = {
|
|||
Remove: function (jax) {}
|
||||
},{
|
||||
id: "OutputJax",
|
||||
version: "2.7.4",
|
||||
version: "2.7.9",
|
||||
directory: JAX.directory+"/output",
|
||||
extensionDir: JAX.extensionDir,
|
||||
fontDir: ROOT+(BASE.isPacked?"":"/..")+"/fonts",
|
||||
|
@ -3070,7 +3076,7 @@ MathJax.Hub.Startup = {
|
|||
}
|
||||
},{
|
||||
id: "ElementJax",
|
||||
version: "2.7.4",
|
||||
version: "2.7.9",
|
||||
directory: JAX.directory+"/element",
|
||||
extensionDir: JAX.extensionDir,
|
||||
ID: 0, // jax counter (for IDs)
|
||||
|
@ -3094,7 +3100,7 @@ MathJax.Hub.Startup = {
|
|||
// Some "Fake" jax used to allow menu access for "Math Processing Error" messages
|
||||
//
|
||||
BASE.OutputJax.Error = {
|
||||
id: "Error", version: "2.7.4", config: {}, errors: 0,
|
||||
id: "Error", version: "2.7.9", config: {}, errors: 0,
|
||||
ContextMenu: function () {return BASE.Extension.MathEvents.Event.ContextMenu.apply(BASE.Extension.MathEvents.Event,arguments)},
|
||||
Mousedown: function () {return BASE.Extension.MathEvents.Event.AltContextMenu.apply(BASE.Extension.MathEvents.Event,arguments)},
|
||||
getJaxFromMath: function (math) {return (math.nextSibling.MathJax||{}).error},
|
||||
|
@ -3113,7 +3119,7 @@ MathJax.Hub.Startup = {
|
|||
}
|
||||
};
|
||||
BASE.InputJax.Error = {
|
||||
id: "Error", version: "2.7.4", config: {},
|
||||
id: "Error", version: "2.7.9", config: {},
|
||||
sourceMenuTitle: /*_(MathMenu)*/ ["Original","Original Form"]
|
||||
};
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2010-2018 The MathJax Consortium
|
||||
* Copyright (c) 2010-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
* when you load MathJax.js, e.g.
|
||||
*
|
||||
* <script
|
||||
* src="file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS_HTML,Safe">
|
||||
* src="http://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_HTML,Safe">
|
||||
* </script>
|
||||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2013-2018 The MathJax Consortium
|
||||
* Copyright (c) 2013-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2009-2018 The MathJax Consortium
|
||||
* Copyright (c) 2009-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2009-2018 The MathJax Consortium
|
||||
* Copyright (c) 2009-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2015-2018 The MathJax Consortium
|
||||
* Copyright (c) 2015-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -29,7 +29,7 @@
|
|||
var SETTINGS = HUB.config.menuSettings;
|
||||
|
||||
var AssistiveMML = MathJax.Extension["AssistiveMML"] = {
|
||||
version: "2.7.4",
|
||||
version: "2.7.9",
|
||||
|
||||
config: HUB.CombineConfig("AssistiveMML",{
|
||||
disabled: false,
|
||||
|
@ -112,6 +112,8 @@
|
|||
//
|
||||
HandleMML: function (state) {
|
||||
var m = state.jax.length, jax, mml, frame, span;
|
||||
var MML = MathJax.ElementJax.mml;
|
||||
MML.copyAttributes.id = 1;
|
||||
while (state.i < m) {
|
||||
jax = state.jax[state.i];
|
||||
frame = document.getElementById(jax.inputID+"-Frame");
|
||||
|
@ -120,6 +122,7 @@
|
|||
try {
|
||||
mml = jax.root.toMathML("").replace(/\n */g,"").replace(/<!--.*?-->/g,"");
|
||||
} catch (err) {
|
||||
MML.copyAttributes.id = true;
|
||||
if (!err.restart) throw err; // an actual error
|
||||
return MathJax.Callback.After(["HandleMML",this,state],err.restart);
|
||||
}
|
||||
|
@ -137,6 +140,7 @@
|
|||
}
|
||||
state.i++;
|
||||
}
|
||||
MML.copyAttributes.id = true;
|
||||
state.callback();
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2014-2018 The MathJax Consortium
|
||||
* Copyright (c) 2014-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2010-2018 The MathJax Consortium
|
||||
* Copyright (c) 2010-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -86,7 +86,7 @@
|
|||
*/
|
||||
|
||||
(function (HUB,HTML) {
|
||||
var VERSION = "2.7.4";
|
||||
var VERSION = "2.7.9";
|
||||
|
||||
var STIXURL = "http://www.stixfonts.org/";
|
||||
var MATHJAXURL = "https://github.com/mathjax/MathJax/tree/master/fonts/HTML-CSS/TeX/otf";
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2012-2018 The MathJax Consortium
|
||||
* Copyright (c) 2012-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -37,7 +37,7 @@
|
|||
|
||||
|
||||
MathJax.Extension["HTML-CSS/handle-floats"] = {
|
||||
version: "2.7.4"
|
||||
version: "2.7.9"
|
||||
};
|
||||
|
||||
//
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2013-2018 The MathJax Consortium
|
||||
* Copyright (c) 2013-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -24,7 +24,7 @@
|
|||
(function (HUB,HTML,AJAX,OUTPUT,LOCALE) {
|
||||
|
||||
var HELP = MathJax.Extension.Help = {
|
||||
version: "2.7.4"
|
||||
version: "2.7.9"
|
||||
};
|
||||
|
||||
var STIXURL = "http://www.stixfonts.org/";
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2013-2018 The MathJax Consortium
|
||||
* Copyright (c) 2013-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
(function (HUB,AJAX) {
|
||||
var VERSION = "2.7.4";
|
||||
var VERSION = "2.7.9";
|
||||
|
||||
var CONFIG = MathJax.Hub.CombineConfig("MatchWebFonts",{
|
||||
matchFor: {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2011-2018 The MathJax Consortium
|
||||
* Copyright (c) 2011-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
(function (HUB,HTML,AJAX,CALLBACK,LOCALE,OUTPUT,INPUT) {
|
||||
var VERSION = "2.7.4";
|
||||
var VERSION = "2.7.9";
|
||||
|
||||
var EXTENSION = MathJax.Extension;
|
||||
var ME = EXTENSION.MathEvents = {version: VERSION};
|
||||
|
@ -120,7 +120,10 @@
|
|||
LEFT: 37,
|
||||
UP: 38,
|
||||
RIGHT: 39,
|
||||
DOWN: 40
|
||||
DOWN: 40,
|
||||
LESS: 188,
|
||||
GREATER: 190,
|
||||
DASH: 189
|
||||
},
|
||||
|
||||
Mousedown: function (event) {return EVENT.Handler(event,"Mousedown",this)},
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* The remainder falls under the copyright that follows.
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2013-2018 The MathJax Consortium
|
||||
* Copyright (c) 2013-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -78,7 +78,7 @@ MathJax.Extension["MathML/content-mathml"] = (function(HUB) {
|
|||
});
|
||||
|
||||
var CToP = {
|
||||
version: "2.7.4",
|
||||
version: "2.7.9",
|
||||
settings: CONFIG,
|
||||
|
||||
/* Transform the given <math> elements from Content MathML to Presentation MathML and replace the original elements
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* The remainder falls under the copyright that follows.
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2013-2018 The MathJax Consortium
|
||||
* Copyright (c) 2013-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -42,7 +42,7 @@
|
|||
|
||||
|
||||
MathJax.Extension["MathML/mml3"] = {
|
||||
version: "2.7.4"
|
||||
version: "2.7.9"
|
||||
};
|
||||
|
||||
MathJax.Hub.Register.StartupHook("MathML Jax Ready",function () {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2010-2018 The MathJax Consortium
|
||||
* Copyright (c) 2010-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
|
||||
(function (HUB,HTML,AJAX,CALLBACK,OUTPUT) {
|
||||
var VERSION = "2.7.4";
|
||||
var VERSION = "2.7.9";
|
||||
|
||||
var SIGNAL = MathJax.Callback.Signal("menu"); // signal for menu events
|
||||
|
||||
|
@ -1573,7 +1573,13 @@
|
|||
ITEM.RADIO(["TeXImage","TeX (image)"], "font", {action: MENU.Font}),
|
||||
ITEM.RULE(),
|
||||
ITEM.RADIO(["STIXLocal","STIX (local)"], "font", {action: MENU.Font}),
|
||||
ITEM.RADIO(["STIXWeb","STIX (web)"], "font", {action: MENU.Font})
|
||||
ITEM.RADIO(["STIXWeb","STIX (web)"], "font", {action: MENU.Font}),
|
||||
ITEM.RULE(),
|
||||
ITEM.RADIO(["AsanaMathWeb","Asana Math (web)"], "font", {action: MENU.Font}),
|
||||
ITEM.RADIO(["GyrePagellaWeb","Gyre Pagella (web)"], "font", {action: MENU.Font}),
|
||||
ITEM.RADIO(["GyreTermesWeb","Gyre Termes (web)"], "font", {action: MENU.Font}),
|
||||
ITEM.RADIO(["LatinModernWeb","Latin Modern (web)"], "font", {action: MENU.Font}),
|
||||
ITEM.RADIO(["NeoEulerWeb","Neo Euler (web)"], "font", {action: MENU.Font})
|
||||
),
|
||||
ITEM.SUBMENU(["ContextMenu","Contextual Menu"], {hidden:!CONFIG.showContext},
|
||||
ITEM.RADIO(["MathJax","MathJax"], "context"),
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2010-2018 The MathJax Consortium
|
||||
* Copyright (c) 2010-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
(function (HUB,HTML,AJAX,HTMLCSS,nMML) {
|
||||
var VERSION = "2.7.4";
|
||||
var VERSION = "2.7.9";
|
||||
|
||||
var CONFIG = HUB.CombineConfig("MathZoom",{
|
||||
styles: {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2013-2018 The MathJax Consortium
|
||||
* Copyright (c) 2013-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
|
||||
(function (HUB,AJAX) {
|
||||
var VERSION = "2.7.4";
|
||||
var VERSION = "2.7.9";
|
||||
|
||||
var CONFIG = MathJax.Hub.CombineConfig("Safe",{
|
||||
allow: {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2013-2018 The MathJax Consortium
|
||||
* Copyright (c) 2013-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -25,7 +25,7 @@
|
|||
*/
|
||||
|
||||
MathJax.Extension["TeX/AMScd"] = {
|
||||
version: "2.7.4",
|
||||
version: "2.7.9",
|
||||
config: MathJax.Hub.CombineConfig("TeX.CD",{
|
||||
colspace: "5pt",
|
||||
rowspace: "5pt",
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2009-2018 The MathJax Consortium
|
||||
* Copyright (c) 2009-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -25,7 +25,7 @@
|
|||
*/
|
||||
|
||||
MathJax.Extension["TeX/AMSmath"] = {
|
||||
version: "2.7.4",
|
||||
version: "2.7.9",
|
||||
|
||||
number: 0, // current equation number
|
||||
startNumber: 0, // current starting equation number (for when equation is restarted)
|
||||
|
@ -223,14 +223,14 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
|||
var cs = this.trimSpaces(this.GetArgument(name));
|
||||
if (cs.charAt(0) == "\\") {cs = cs.substr(1)}
|
||||
var op = this.GetArgument(name);
|
||||
op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}');
|
||||
if (!op.match(/\\text/)) op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}');
|
||||
this.setDef(cs, ['Macro', '\\mathop{\\rm '+op+'}'+limits]);
|
||||
},
|
||||
|
||||
HandleOperatorName: function (name) {
|
||||
var limits = (this.GetStar() ? "" : "\\nolimits\\SkipLimits");
|
||||
var op = this.trimSpaces(this.GetArgument(name));
|
||||
op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}');
|
||||
if (!op.match(/\\text/)) op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}');
|
||||
this.string = '\\mathop{\\rm '+op+'}'+limits+" "+this.string.slice(this.i);
|
||||
this.i = 0;
|
||||
},
|
||||
|
@ -486,7 +486,8 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
|||
for (var i = 0, m = data.length; i < m; i++) {
|
||||
if (data[i] && (data[i].type !== "mspace" &&
|
||||
(data[i].type !== "texatom" || (data[i].data[0] && data[i].data[0].data.length)))) {
|
||||
if (data[i].isEmbellished()) data.unshift(MML.mi());
|
||||
if (data[i].isEmbellished() ||
|
||||
(data[i].type === "texatom" && data[i].texClass === MML.TEXCLASS.REL)) data.unshift(MML.mi());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -550,7 +551,7 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
|||
this.numbered = (numbered && CONFIG.autoNumber !== "none");
|
||||
this.save = {notags: stack.global.notags, notag: stack.global.notag};
|
||||
stack.global.notags = (taggable ? null : name);
|
||||
stack.global.tagged = !numbered && !stack.global.forcetag; // prevent automatic tagging in starred environments
|
||||
stack.global.tagged = !numbered && taggable && !stack.global.forcetag; // prevent automatic tagging in starred environments
|
||||
},
|
||||
EndEntry: function () {
|
||||
if (this.row.length % 2 === 1) {this.fixInitialMO(this.data)}
|
||||
|
@ -560,10 +561,14 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
|||
EndRow: function () {
|
||||
var mtr = MML.mtr;
|
||||
if (!this.global.tag && this.numbered) {this.autoTag()}
|
||||
if (this.global.tag && !this.global.notags) {
|
||||
this.row = [this.getTag()].concat(this.row);
|
||||
mtr = MML.mlabeledtr;
|
||||
} else {this.clearTag()}
|
||||
if (!this.global.notags) {
|
||||
if (this.global.tag) {
|
||||
this.row = [this.getTag()].concat(this.row);
|
||||
mtr = MML.mlabeledtr;
|
||||
} else {
|
||||
this.clearTag();
|
||||
}
|
||||
}
|
||||
if (this.numbered) {delete this.global.notag}
|
||||
this.table.push(mtr.apply(MML,this.row)); this.row = [];
|
||||
},
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* ---------------------------------------------------------------------
|
||||
*
|
||||
* Copyright (c) 2009-2018 The MathJax Consortium
|
||||
* Copyright (c) 2009-2020 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -25,7 +25,7 @@
|
|||
*/
|
||||
|
||||
MathJax.Extension["TeX/AMSsymbols"] = {
|
||||
version: "2.7.4"
|
||||
version: "2.7.9"
|
||||
};
|
||||
|
||||
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue