Import Upstream version 2.7.4+dfsg
This commit is contained in:
commit
f9b6cbd32f
|
@ -0,0 +1,6 @@
|
|||
.DS_Store
|
||||
docs/build/html-mathjax-site
|
||||
config/local/*.js
|
||||
!config/local/local.js
|
||||
unpacked/config/local/*.js
|
||||
!unpacked/config/local/local.js
|
|
@ -0,0 +1,7 @@
|
|||
.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
|
|
@ -0,0 +1,17 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- stable
|
||||
sudo: false
|
||||
script:
|
||||
- npm install
|
||||
- npm test
|
||||
branches:
|
||||
only:
|
||||
- /^\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=
|
||||
on:
|
||||
tags: true
|
|
@ -0,0 +1,259 @@
|
|||
# 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.
|
||||
|
||||
There are lots and lots of ways to get involved, this document covers:
|
||||
|
||||
* [reporting an issue](#reporting-an-issue)
|
||||
* [bug reports](#bug-reports)
|
||||
* [feature requests](#feature-requests)
|
||||
* [change requests](#change-requests)
|
||||
* [working on MathJax core](#working-on-mathjax-core)
|
||||
* [key branches and tags](#key-branches--tags)
|
||||
* [submitting pull requests](#submitting-pull-requests)
|
||||
* [testing and quality assurance](#testing-and-quality-assurance)
|
||||
* [writing documentation](#writing-documentation)
|
||||
* [translation](#translation)
|
||||
* [Conduct](#conduct)
|
||||
|
||||
|
||||
## Reporting An Issue
|
||||
|
||||
If you're about to raise an issue because you think you've found a
|
||||
problem with MathJax, or you'd like to make a request for a new
|
||||
feature in the codebase, or any other reason… please read this first.
|
||||
|
||||
The GitHub issue tracker is the preferred channel for [bug reports](#bug-reports),
|
||||
[feature requests](#feature-requests), [change requests](#change-requests) and [submitting pull
|
||||
requests](#submitting-pull-requests), but please respect the following restrictions:
|
||||
|
||||
* Please **search for existing issues**. Help us keep duplicate issues
|
||||
to a minimum by checking to see if someone has already reported your
|
||||
problem or requested your idea.
|
||||
|
||||
* Please **do not** use the issue tracker for personal support
|
||||
requests (use [the MathJax User Group](https://groups.google.com/forum/#!forum/mathjax-users)).
|
||||
|
||||
* Please **be civil**. Keep the discussion on topic and respect the
|
||||
opinions of others. See also our [Conduct Guidelines](#conduct)
|
||||
|
||||
### Bug Reports
|
||||
|
||||
A bug is a _demonstrable problem_ that is caused by the code in the repository.
|
||||
Good bug reports are extremely helpful - thank you!
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
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)
|
||||
to start creating a bug report with the template automatically.
|
||||
|
||||
A good bug report shouldn't leave others needing to chase you up for
|
||||
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
|
||||
|
||||
### Issue Summary
|
||||
|
||||
A summary of the issue and the browser/OS environment in which it occurs. If
|
||||
suitable, include the steps required to reproduce the bug.
|
||||
|
||||
### Steps to Reproduce
|
||||
|
||||
1. This is the first step
|
||||
2. This is the second step
|
||||
3. Further steps, etc.
|
||||
|
||||
Any other information you want to share that is relevant to the issue
|
||||
being reported. Especially, why do you consider this to be a bug? What
|
||||
do you expect to happen instead?
|
||||
|
||||
### Technical details:
|
||||
|
||||
* MathJax Version: 2.3 (latest commit: f3aaf3a2a3e964df2770dc4aaaa9c87ce5f47e2c)
|
||||
* Client OS: Mac OS X 10.8.4
|
||||
* Browser: Chrome 29.0.1547.57
|
||||
```
|
||||
|
||||
|
||||
### Feature Requests
|
||||
|
||||
Feature requests are welcome. Before you submit one be sure to have:
|
||||
|
||||
1. Read the
|
||||
[Roadmaps](https://github.com/mathjax/MathJax/wiki/Mathjax-roadmap),
|
||||
**use the GitHub search** and check the feature hasn't already been
|
||||
requested.
|
||||
2. Take a moment to think about whether your idea fits with the scope
|
||||
and aims of the project, or if it might better fit being a [custom
|
||||
extension](https://github.com/mathjax/MathJax-third-party-extensions).
|
||||
3. Remember, it's up to *you* to make a strong case to convince the
|
||||
project's leaders of the merits of this feature. Please provide as
|
||||
much detail and context as possible, this means explaining the use
|
||||
case and why it is likely to be common.
|
||||
4. Clearly indicate whether this is a feature request for MathJax
|
||||
core, input & output jax, or extensions.
|
||||
|
||||
|
||||
### Change Requests
|
||||
|
||||
Change requests cover both architectural and functional changes to how
|
||||
MathJax works. If you have an idea for a new or different dependency,
|
||||
a refactor, or an improvement to a feature, etc - please be sure to:
|
||||
|
||||
1. **Use the GitHub search** and check someone else didn't get there first
|
||||
2. Take a moment to think about the best way to make a case for, and
|
||||
explain what you're thinking. Are you sure this shouldn't really be
|
||||
a [bug report](#bug-reports) or a [feature
|
||||
request](#feature-requests)? Is it really one idea or is it many?
|
||||
What's the context? What problem are you solving? Why is what you
|
||||
are suggesting better than what's already there? Does it fit with
|
||||
the Roadmap?
|
||||
|
||||
## Working on MathJax core
|
||||
|
||||
You want to contribute code? Fantastic! Let's get you started.
|
||||
|
||||
### Key Branches & Tags
|
||||
|
||||
To get it out of the way:
|
||||
|
||||
- **[develop](https://github.com/MathJax/MathJax/tree/develop)** is
|
||||
the development branch. All work on the next release happens here so
|
||||
you should generally branch off `develop`. Do **NOT** use this branch
|
||||
for a production site.
|
||||
- **[master](https://github.com/MathJax/MathJax)** contains the latest
|
||||
release of MathJax. This branch may be used in production. Do
|
||||
**NOT** use this branch to work on MathJax's source.
|
||||
|
||||
### Submitting Pull Requests
|
||||
|
||||
Pull requests are awesome. If you're looking to raise a PR for
|
||||
something which doesn't have an open issue, please think carefully
|
||||
about [raising an issue](#reporting-an-issue) which your PR can close,
|
||||
especially if you're fixing a bug. This makes it more likely that
|
||||
there will be enough information available for your PR to be properly
|
||||
tested and merged.
|
||||
|
||||
##### Need Help?
|
||||
|
||||
If you're not completely clear on how to submit / update / *do* Pull
|
||||
Requests, please check out our [source control
|
||||
policies](https://github.com/mathjax/MathJax/wiki/Source-control-policies). For
|
||||
more insights, chech the excellent in depth [Git Workflow
|
||||
guide](https://github.com/TryGhost/Ghost/wiki/Git-Workflow) from
|
||||
Ghost, in particular
|
||||
|
||||
* [Ghost Workflow guide: commit messages](https://github.com/TryGhost/Ghost/wiki/Git-workflow#commit-messages)
|
||||
|
||||
### Testing and Quality Assurance
|
||||
|
||||
Never underestimate just how useful quality assurance is. If you're
|
||||
looking to get involved with the code base and don't know where to
|
||||
start, checking out and testing a pull request is one of the most
|
||||
useful things you could do.
|
||||
|
||||
If you want to get involved with testing MathJax, there is a set of QA
|
||||
Documentation [in our testing
|
||||
framework](https://github.com/MathJax/MathJax-test).
|
||||
|
||||
Essentially though, [check out the latest develop
|
||||
branch](#working-on-mathJax-core), take it for a spin, and if you find
|
||||
anything odd, please follow the [bug report guidelines](#bug-reports)
|
||||
and let us know!
|
||||
|
||||
#### Checking out a Pull Request
|
||||
|
||||
These are some [excellent
|
||||
instructions](https://gist.github.com/piscisaureus/3342247) on
|
||||
configuring your GitHub repository to allow you to checkout pull
|
||||
requests in the same way as branches:
|
||||
<https://gist.github.com/piscisaureus/3342247>.
|
||||
|
||||
|
||||
### Writing documentation
|
||||
|
||||
MathJax's main documentation can be found at [docs.mathjax.org](http://docs.mathjax.org).
|
||||
The source of the docs is hosted in the
|
||||
[mathjax/mathjax-docs](http://github.com/mathjax/mathjax-docs) repo here on GitHub.
|
||||
|
||||
The documentation is generated using [Sphinx-doc](http://sphinx-doc.org/) and hosted on
|
||||
[Read the docs](http://readthedocs.org).
|
||||
You can clone the repo and submit pull requests following the
|
||||
[pull-request](#submitting-pull-requests) guidelines.
|
||||
|
||||
|
||||
### Translation
|
||||
|
||||
If you wish to add or update translations of MathJax, please do it on
|
||||
[TranslateWiki.net](https://translatewiki.net/w/i.php?title=Special:Translate&group=out-mathjax-0-all)
|
||||
(and while you're there you can help other open source projects,
|
||||
too, because you're awesome!).
|
||||
|
||||
For bug reports and other questions that don't fit on
|
||||
TranslateWiki.net, head over to the
|
||||
[mathjax/mathjax-i18n](https://github.com/mathjax/MathJax-i18n)
|
||||
repository.
|
||||
|
||||
## Conduct
|
||||
|
||||
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.
|
||||
|
||||
Please be kind and courteous. There's no need to be mean or rude.
|
||||
Respect that people have differences of opinion and that every design or
|
||||
implementation choice carries a trade-off and numerous costs. There is seldom
|
||||
a right answer, merely an optimal answer given a set of values and
|
||||
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
|
||||
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
|
||||
[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.
|
||||
|
||||
Likewise any spamming, trolling, flaming, baiting or other attention-stealing
|
||||
behaviour is not welcome.
|
||||
|
||||
We also suggest to read [discourse's
|
||||
rules](http://blog.discourse.org/2013/03/the-universal-rules-of-civilized-discourse/)
|
||||
|
||||
## References
|
||||
|
||||
* We heavily borrowed from Mozilla and Ghost -- thank you!
|
||||
* https://github.com/TryGhost/Ghost/blob/master/CONTRIBUTING.md
|
||||
* https://github.com/mozilla/rust/wiki/Note-development-policy
|
||||
* https://github.com/jden/CONTRIBUTING.md/blob/master/CONTRIBUTING.md
|
||||
* http://blog.discourse.org/2013/03/the-universal-rules-of-civilized-discourse/
|
|
@ -0,0 +1,202 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
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.
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,53 @@
|
|||
# MathJax
|
||||
|
||||
## Beautiful math in all browsers
|
||||
|
||||
MathJax is an open-source JavaScript display engine for LaTeX, MathML, and
|
||||
AsciiMath notation that works in all modern browsers. It 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 does the rest.
|
||||
|
||||
Some of the main features of MathJax include:
|
||||
|
||||
- High-quality display of LaTeX, MathML, and AsciiMath notation in HTML pages
|
||||
|
||||
- Supported in most browsers with no plug-ins, extra fonts, or special
|
||||
setup for the reader
|
||||
|
||||
- Easy for authors, flexible for publishers, extensible for developers
|
||||
|
||||
- Supports math accessibility, cut-and-paste interoperability, and other
|
||||
advanced functionality
|
||||
|
||||
- Powerful API for integration with other web applications
|
||||
|
||||
See <http://www.mathjax.org/> for additional details.
|
||||
|
||||
|
||||
## Installation and Usage
|
||||
|
||||
The MathJax installation and usage documentation is available in a
|
||||
separate GitHub repository at <https://github.com/mathjax/mathjax-docs>.
|
||||
The HTML versions can now be viewed at <http://docs.mathjax.org/>,
|
||||
where it is possible for you to submit corrections and modifications
|
||||
directly to the documentation on line.
|
||||
|
||||
|
||||
## Community
|
||||
|
||||
The main MathJax website is <http://www.mathjax.org>, and it includes
|
||||
announcements and other important information. MathJax is maintained and
|
||||
distributed on GitHub at <http://github.com/mathjax/MathJax>. A user forum
|
||||
for asking questions and getting assistance is hosted at Google, and the
|
||||
bug tracker is hosted at GitHub:
|
||||
|
||||
Bug tracker: <https://github.com/mathjax/MathJax/issues>
|
||||
MathJax-Users Group: <http://groups.google.com/group/mathjax-users>
|
||||
|
||||
Before reporting a bug, please check that it has not already been reported.
|
||||
Also, please use the bug tracker for reporting bugs rather than the help forum.
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"name": "MathJax",
|
||||
"main": "./MathJax.js",
|
||||
"homepage": "http://www.mathjax.org/",
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"components"
|
||||
],
|
||||
"keywords": ["math", "js", "LaTeX", "MathML", "AsciiMath"]
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "mathjax/mathjax",
|
||||
"type": "library",
|
||||
"description": "MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers.",
|
||||
"keywords": ["math", "js", "LaTeX", "MathML", "AsciiMath"],
|
||||
"homepage": "http://www.mathjax.org/",
|
||||
"license": "Apache-2.0",
|
||||
"authors": [
|
||||
{
|
||||
"name": "MathJax Consortium",
|
||||
"homepage": "https://github.com/mathjax"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
The source files for the documentation are now kept in a separate
|
||||
GitHub repository at
|
||||
|
||||
https://github.com/mathjax/mathjax-docs
|
||||
|
||||
The HTML versions are now available at
|
||||
|
||||
http://docs.mathjax.org/
|
||||
|
||||
where it is possible for you to submit corrections and modifications
|
||||
directly to the documentation on line.
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>MathJax Documentation</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>
|
||||
The source files for the documentation are now kept in a separate
|
||||
GitHub repository at
|
||||
</p>
|
||||
<p style="text-indent:3em">
|
||||
<a href="https://github.com/mathjax/mathjax-docs">https://github.com/mathjax/mathjax-docs</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The HTML versions are now available at
|
||||
</p>
|
||||
<p style="text-indent:3em">
|
||||
<a href="http://docs.mathjax.org/">http://docs.mathjax.org/</a>
|
||||
</p>
|
||||
<p>
|
||||
where it is possible for you to submit corrections and modifications
|
||||
directly to the documentation on line.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,11 @@
|
|||
The source files for the documentation are now kept in a separate
|
||||
GitHub repository at
|
||||
|
||||
https://github.com/mathjax/mathjax-docs
|
||||
|
||||
The HTML versions are now available at
|
||||
|
||||
http://docs.mathjax.org/
|
||||
|
||||
where it is possible for you to submit corrections and modifications
|
||||
directly to the documentation on line.
|
|
@ -0,0 +1,98 @@
|
|||
Copyright (c) 2007, Apostolos Syropoulos (<asyropoulos@yahoo.com),
|
||||
with Reserved Font Name Asana Math.
|
||||
|
||||
Copyright (c) 2013, The MathJax Consortium,
|
||||
with Reserved Font Name Asana MathJax.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
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.
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,30 @@
|
|||
% 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.
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
Font: Gyre Pagella MathJax
|
||||
|
||||
Copyright 2012--2013 for TeX Gyre math extensions by B. Jackowski,
|
||||
P. Strzelczyk and P. Pianowski (on behalf of TeX Users Groups).
|
||||
|
||||
Copyright 2013 The MathJax Consortium
|
||||
|
||||
This work can be freely used and distributed under
|
||||
the GUST Font License (GFL -- see GUST-FONT-LICENSE.txt)
|
||||
which is actually an instance of the LaTeX Project Public License
|
||||
(LPPL -- see http://www.latex-project.org/lppl.txt).
|
||||
|
||||
Below, in three sections required by the GUST Font License,
|
||||
font names and file names specific for the Gyre Pagella MathJax
|
||||
font are listed.
|
||||
|
||||
NOTE: the names of the directories are not subject to the renaming
|
||||
restrictions.
|
||||
|
||||
1. Fonts whose names should be changed in derived works as requested
|
||||
by clause 1 of GUST-FONT-LICENSE.txt
|
||||
|
||||
Gyre Pagella MathJax
|
||||
GyrePagellaMathJax-*
|
||||
|
||||
2. Files whose names should be changed in derived works as requested
|
||||
by clause 1 of GUST-FONT-LICENSE.txt
|
||||
|
||||
*/GyrePagellaMathJax-*.otf
|
||||
|
||||
3. Files whose names need not be changed in derived works as requested
|
||||
by clause 1 of GUST-FONT-LICENSE.txt
|
||||
|
||||
All the other files not mentioned above.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue