profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/dpvc/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

dpvc/MathJax 20

Beautiful math in all browsers

CharlieMcVicker/mathjax-react 17

React Component Library for MathJax

dpvc/readium 5

Readium: open source library for handling EPUB documents

dpvc/MathJax-dev 3

Build and release tools for the MathJax project

dpvc/webwork-open-problem-library 1

A library of WeBWorK problem contributed by the OpenWeBWorK community

Doenet/math-parser 0

Parse mathematical text into an abstract syntax tree

dpvc/arabic-mathjax 0

An extension for Arabic math support in MathJax.

dpvc/cdnjs 0

🌍 The best FOSS web front-end resource CDN

dpvc/CSSStyleDeclaration 0

A work-a-like for the CSSStyleDeclaration in https://github.com/NV/CSSOM, but with CSS2Properties interface

issue commentmathjax/MathJax

subtle? poor translation from TeX

As you say, trying to decide whether {GL}_2 should be separate mi elements for G and L or a single one containing both is not easy. Note, however, that your example \rm{GL}_2 is not correct (or at least not what I think you intend), as \rm doesn't take an argument; it is a switch that turns the font to roman from then on (so in your example, it applies to the 2 as well as anything else that follows, and the braces are redundant). You may have meant {\rm GL}_2, but I don't consider this to be semantic as the \rm is changing the font style, not providing a meaning.

Did you mean \mathrm{GL}_2 instead? As it turns out, MathJax does code \mathrm{GL}_2 using a single mi for both letters. This was the result of a discussion in issue #2595 where \mathbf, \mathrm, and similar macros are handled specially so that letter groups in their arguments are combined into a single mi, as will occur in your example. Personally, I still don't consider the use of \mathrm, etc., to be semantic, but apparently some do.

There is also \operatorname{GL}_2 that actually is semantic, and does produce a single mi, when possible. Finally, \mathop{\rm GL}\nolimits_2 also produces a single mi (as a special case), since this also suggests a semantic interpretation.

The \mathrm handling is new in v3.1, but the \operatorname and \mathop treatment is also in v2.

NSoiffer

comment created time in 3 hours

pull request commentmathjax/MathJax-src

Fix problem with msubsup when subscript is blank (#2765)

@EricDunsworth, yes, thanks. I've corrected the statement.

dpvc

comment created time in 6 days

issue commentmathjax/MathJax

Mathjax version 3. Any update regarding font support other than MathJax TeX font?

@apolanco115, yes. I have the data files ready for Gyre Pagella read to go for the next release (and will have the other Gyre fonts as well). The tools for creating the needed MathJax data files will be made available, so you could create your own font for Fira Sans, or a font extension to override some of an existing font.

gbala2412

comment created time in 7 days

PR opened mathjax/MathJax-src

Update webpack files for empheq and cases (mathjax/MathJax#2762)

This PR corrects the location for the empheq and cases extensions, which were being put into the wrong place.

Resolves issue mathjax/MathJax#2762.

+8 -8

0 comment

2 changed files

pr created time in 7 days

create barnchmathjax/MathJax-src

branch : issue2762

created branch time in 7 days

issue commentmathjax/MathJax-docs

MathJax CDN doesn't have some environments such as empheq

See mathjax/MathJax#2762 for a workaround. Thanks for reporting the issue.

ickc

comment created time in 7 days

issue commentmathjax/MathJax

empheq is missing

Thanks for your report. It turns out that the build file for empheq and cases put the packed file into the wrong location. I will make a pull request to fix it, but in the meantime, you can use

MathJax = {
  loader: {
    source: {
      '[tex]/empheq': 'https://cdn.jsdelivr.net/npm/mathjax-full@3/components/es5/empheq.js',
      '[tex]/cases': 'https://cdn.jsdelivr.net/npm/mathjax-full@3/components/es5/cases.js',
    }
  },
};

to access these components.

ickc

comment created time in 7 days

push eventmathjax/MathJax

Davide P. Cervone

commit sha 1335230503dddfeb0e07687308a55795d9c005e8

Update issue templates

view details

Davide P. Cervone

commit sha 10160614b6b5844f231c91423533fbddd28d55cb

Merge branch 'update-shields'

view details

Davide P. Cervone

commit sha af2bacdb2a38245a4a68c84bf7a5fb2e6da35426

Merge branch 'develop'

view details

Davide P. Cervone

commit sha be11806df1ae075508e33500c990497062ef3c5a

Merge branch 'develop'

view details

Davide P. Cervone

commit sha 7146ffa47956e7dae05739cfe905d8aaf1e4780a

Release version 3.2.0

view details

Eric Dunsworth

commit sha 9a69defd9f95083f5a16ad56d6e06ddf7ff48cd0

CONTRIBUTING: Fix broken CSS-Tricks link The "reduced test case" link in the bug reports section was pointing to a 404 error page. This brings it back to life. Port of mathjax/MathJax-src#740

view details

push time in 7 days

push eventmathjax/MathJax

Eric Dunsworth

commit sha 9a69defd9f95083f5a16ad56d6e06ddf7ff48cd0

CONTRIBUTING: Fix broken CSS-Tricks link The "reduced test case" link in the bug reports section was pointing to a 404 error page. This brings it back to life. Port of mathjax/MathJax-src#740

view details

Davide P. Cervone

commit sha bea9e1a6e6433d6eef739f3df1f449d49285d0cd

Merge pull request #2763 from EricDunsworth/contributing-css-tricks-fix CONTRIBUTING: Fix broken CSS-Tricks link

view details

push time in 7 days

PR merged mathjax/MathJax

CONTRIBUTING: Fix broken CSS-Tricks link

The "reduced test case" link in the bug reports section was pointing to a 404 error page.

This brings it back to life.

Port of mathjax/MathJax-src#740

+1 -1

1 comment

1 changed file

EricDunsworth

pr closed time in 7 days

pull request commentmathjax/MathJax

CONTRIBUTING: Fix broken CSS-Tricks link

Thanks again.

EricDunsworth

comment created time in 7 days

push eventmathjax/MathJax-src

dependabot[bot]

commit sha 0c0717a36faee4aeb1f5ad97a17ec15c5070cc9d

Bump ini from 1.3.5 to 1.3.7 Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7) Signed-off-by: dependabot[bot] <support@github.com>

view details

Davide P. Cervone

commit sha aa41c0b9362de07c29dcef6de474941385386293

Merge pull request #567 from mathjax/dependabot/npm_and_yarn/ini-1.3.7 Bump ini from 1.3.5 to 1.3.7

view details

IronBlood

commit sha eb8c992e059f2b5770127484e747f6cfc22c18f9

fix typo: adding the missing colon

view details

Davide P. Cervone

commit sha 6ba6cca458080ec2a73c60f8b19db6491985f92b

Merge pull request #574 from IronBlood/fix/link-of-documentation-in-readme fix typo: adding the missing colon

view details

dependabot[bot]

commit sha e2c47c997dc5267cdbfa4d8072108a4c43c970c0

Bump elliptic from 6.5.3 to 6.5.4 Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4) Signed-off-by: dependabot[bot] <support@github.com>

view details

Davide P. Cervone

commit sha c41585debaed8a73f0f90b451c1c2be047bb875e

Merge pull request #613 from mathjax/dependabot/npm_and_yarn/elliptic-6.5.4 Bump elliptic from 6.5.3 to 6.5.4

view details

dependabot[bot]

commit sha 70a1fba319761b1ad5b9568830cbe300fe0db6c6

Bump y18n from 4.0.0 to 4.0.1 Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/yargs/y18n/commits) Signed-off-by: dependabot[bot] <support@github.com>

view details

Davide P. Cervone

commit sha ec3415931aeb5237bb365fc6c8ef248c9703228e

Merge pull request #669 from mathjax/dependabot/npm_and_yarn/y18n-4.0.1 Bump y18n from 4.0.0 to 4.0.1

view details

Davide P. Cervone

commit sha 21ad222854c3eba22c539996edfb88b0be524f04

Add more sheilds for downlads and rank

view details

Davide P. Cervone

commit sha 5d7b7dd1c93cc4d1bf6e754a7ab117b52f05b172

Merge branch 'update-shields'

view details

Davide P. Cervone

commit sha e2843364b6591d9da10c916fc7dd8007f771d073

Merge branch 'develop' into master (version 3.1.3)

view details

Davide P. Cervone

commit sha 29cd0e8569788ec41dd4b2198018983493b83e36

Remove trailing spaces from README

view details

Davide P. Cervone

commit sha 41d1515f8968626758bdbb44a840745f6e56ac46

Merge branch 'develop'

view details

Davide P. Cervone

commit sha eb9c51fbcdaf5b18539b9495564459d9e8353733

Merge branch 'develop'

view details

Davide P. Cervone

commit sha e5844ead4170dd942c1bbd3eee3b1229c59bc5a9

Merge pull request #693 from mathjax/issue2678 Clear the stylesheet when used in a new MathDocument. (mathjax/MathJax#2678)

view details

Davide P. Cervone

commit sha 08f05968d564da9eaae2a85be74d48cf9eda25db

Revert "Clear the stylesheet when used in a new MathDocument. (mathjax/MathJax#2678)"

view details

Davide P. Cervone

commit sha 22a626b3d9ade3d11fe7dd2f69476607fdb46617

Merge pull request #711 from mathjax/revert-693-issue2678 Revert "Clear the stylesheet when used in a new MathDocument. (mathjax/MathJax#2678)"

view details

Davide P. Cervone

commit sha 41565a97529c8de57cb170e6a67baf311e61de13

Release version 3.2.0.

view details

Eric Dunsworth

commit sha d53fb1e4ae7478ec1a1a4f99ecb06c8f3fb9a85d

CONTRIBUTING: Fix broken CSS-Tricks link The "reduced test case" link in the bug reports section was pointing to a 404 error page. This brings it back to life.

view details

Davide P. Cervone

commit sha 02e3fc2e5ba85d5b29f83692d6c36b4e5c24d598

Merge commit 'd53fb1e4' into develop

view details

push time in 7 days

push eventmathjax/MathJax-src

Eric Dunsworth

commit sha d53fb1e4ae7478ec1a1a4f99ecb06c8f3fb9a85d

CONTRIBUTING: Fix broken CSS-Tricks link The "reduced test case" link in the bug reports section was pointing to a 404 error page. This brings it back to life.

view details

Davide P. Cervone

commit sha 2dd53ce6c8af3c9cceba0baf014ea9b065130774

Merge pull request #740 from EricDunsworth/contributing-css-tricks-fix CONTRIBUTING: Fix broken CSS-Tricks link

view details

push time in 7 days

PR merged mathjax/MathJax-src

CONTRIBUTING: Fix broken CSS-Tricks link

The "reduced test case" link in the bug reports section was pointing to a 404 error page.

This brings it back to life.

+1 -1

1 comment

1 changed file

EricDunsworth

pr closed time in 7 days

pull request commentmathjax/MathJax-src

CONTRIBUTING: Fix broken CSS-Tricks link

Thanks for the updated link.

EricDunsworth

comment created time in 7 days

issue commentmathjax/MathJax

Issues with a few stretchy accents

I'm trying to work through a backlog of questions, and have been working from recent backwards. Due to personal reasons, I have not been able to respond to nearly anyone for the past month or more, and now my teaching schedule limits by availability. There is also a funding issue that is also limiting my hours for MathJax; perhaps the ACS would be willing to become a MathJax sponsor?

Do you think you or someone else could please take a look at these some time soon too?

There really is no one else to do it. There are two developers for MathJax, and your questions fall into my area of expertise, so I am the one who has to answer them. The line breaking questions are a bit more complicated than this one, and will take more time to answer, so gave you a response here first, since it would get you something more quickly. I will get to the others as soon as I am able.

jmitsdarfer

comment created time in 7 days

push eventmathjax/MathJax-src

Davide P. Cervone

commit sha 24d1d0e78fc0fd15aa6a7d755e1de93fefecfa77

Don't export V and H, which seem to cause problems in components/src/svg.js when loaded by System.js in browser

view details

Davide P. Cervone

commit sha ed0041ab3e02f9349fd7f6aa46b5f6379015d728

Get V and H from Direction.js, since it is no longer exported from FontData.js

view details

Davide P. Cervone

commit sha 2b2b27a7b9275390105efb141d22f3b5cdab5fb2

Move output font option to fontData and use font to specify font component to load

view details

Davide P. Cervone

commit sha 303eb89f60019f8ca84ed4621a5277b33e833fdd

Properly handle missing configuration, and fix jax name in chtml

view details

push time in 7 days

push eventmathjax/MathJax-src

Davide P. Cervone

commit sha 24d1d0e78fc0fd15aa6a7d755e1de93fefecfa77

Don't export V and H, which seem to cause problems in components/src/svg.js when loaded by System.js in browser

view details

Davide P. Cervone

commit sha ed0041ab3e02f9349fd7f6aa46b5f6379015d728

Get V and H from Direction.js, since it is no longer exported from FontData.js

view details

push time in 7 days

push eventmathjax/MathJax-demos-web

Eric Dunsworth

commit sha 8b9207181ad742f65d453ace0fe3d9d9c5542de6

Add html element's opening tag Some demos had it, but others didn't. Since all of them contain closing tags, the lack of opening ones was probably unintentional.

view details

Davide P. Cervone

commit sha a15f0a57da8642b95806c2493cfa0f900c9f0869

Merge pull request #36 from EricDunsworth/html-opening-tag Add html element's opening tag

view details

push time in 7 days

PR merged mathjax/MathJax-demos-web

Add html element's opening tag

Some demos had it, but others didn't.

Since all of them contain closing tags, the lack of opening ones was probably unintentional.

+18 -0

1 comment

18 changed files

EricDunsworth

pr closed time in 7 days

pull request commentmathjax/MathJax-demos-web

Add html element's opening tag

Thanks for the fix. I must have accidentally deleted it in one file, and it propagated when I duplicated that file to create the others.

EricDunsworth

comment created time in 7 days

issue commentmathjax/MathJax

Issues with a few stretchy accents

MathJax needs to have data about how to stretch each stretchy character, and not every potentially stretchy character has that data (most of it was taken from the font's OpenType MATH table, which lists the stretchy characters). But you can add more characters to the delimiter table as needed. For example, adding

MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready", function () {
  var HTMLCSS = MathJax.OutputJax['HTML-CSS'];
  var DELIMITERS = HTMLCSS.FONTDATA.DELIMITERS;
  DELIMITERS[0x0305] = {dir: "H", alias: 0x00AF};
  DELIMITERS[0x033F] = {dir: "H", alias: 0x003D};
  DELIMITERS[0x20E1] = {dir: "H", alias: 0x2194};
});

to your configuration would define the stretchy data for the three missing (by making them act like the ones that you mentioned, for which stretchy data is available). Is that good enough?

jmitsdarfer

comment created time in 8 days

issue commentmathjax/MathJax

Missing standard core LaTeX symbols: /ae, /o, etc.

There are several reasons these are not included. First, MathJax concentrates on math-mode macros, not text-mode ones. Even though you can use \text{}, by default very few text macros are processed. Second, MathJax doesn't usually define macros for characters that aren't in its default fonts, and most of the ones on your list are not in the MathJax fonts. That means MathJax would need to call on local fonts on your system, and the results would vary from user to user, depending on the fonts they have installed.

You can, of course, define these macros yourself in your MathJax configuration, if you are willing to accept the variation that users may see. You will need to include the textmacros package in your configuration, and you may want to set mtextInheritFont to true so that the unknown characters will match the rest of your text better. For example:

MathJax = {
  loader: {load: ['[tex]/textmacros']},
  tex: {
    packages: {'[+]': ['textmacros']},
    macros: {
      oe: '\u0153',
      OE: '\u0152',
      ae: '\u00E6',
      AE: '\u00C6',
      aa: '\u00E5',
      AA: '\u00C5',
      o:  '\u00F8',
      O:  '\u00D8',
      l:  '\u0142',
      L:  '\u0141',
      ss: '\u00DF',
      SS: '\u1E9E',
      dag: '\u2020',
      ddag: '\u2021',
      P:  '\u00B6',
      copyright: '\u00A9',
      pounds: '\u00A3'
    }
  },
  chtml: {
    mtextInheritFont: true
  },
  sag: {
    mtextInheritFont: true
  }
};

should do the trick.

bdtc

comment created time in 8 days

issue commentmathjax/MathJax

The line break(\\) is not work

@ShadiestGoat, not until next year.

woody-li

comment created time in 8 days

issue commentmathjax/MathJax

Bug:Bad rendering in DuckDuckGo browser

I'm not able to reproduce the issue in DuckDuckGo 5.95.0 on Android 11 on a Samsung A32 phone. I don't have access to a Galaxy Tab to try it there. Can you try updating DuckDuckGo and see if that helps?

shaughanlavine

comment created time in 8 days

issue commentmathjax/MathJax

empty \dot{} should render higher on the baseline.

I thought it sounded familiar. It looks like that was after we had started on v3 already, and so the patch was done to v2 without it making it into v3. I can see about adding it in.

pkra

comment created time in 8 days

issue commentmathjax/MathJax

ignoreHtmlClass not checked for MathML content

Right now, ignoreClass and the related options only affect TeX and AsciiMath processing, not MathML. The mechanism for finding MathML tags is different, and doesn't require walking the DOM tree, as is required for TeX and AsciiMath. I've considered doing the same for MathML, but it hasn't been a priority.

On the other hand, you could override the current FindMathML object in the MathML input jax's options and have it filter out certain math nodes, say ones that are marked with class="mathjax_ignore". Here is a configuration that does that:

MathJax = {
  startup: {
    ready() {
      const {combineDefaults} = MathJax._.components.global;
      const {FindMathML} = MathJax._.input.mathml.FindMathML;
      
      class myFindMathML extends FindMathML {
        processMath(set) {
          const adaptor = this.adaptor;
          for (const node of set.values()) {
            if (adaptor.hasClass(node, 'mathjax_ignore')) {
              set.delete(node);
            }
          }
          return super.processMath(set);
        }
      }
      
      combineDefaults(MathJax.config, 'mml', {FindMathML: new myFindMathML()});

      MathJax.startup.defaultReady();
    }
  }
};
xworld21

comment created time in 8 days

issue commentmathjax/MathJax

TeX input: array support for @{...} with spacing

It is on my list of things to do. I worked a bit on the rowspan and colspan options for tables, and was planning to consider this as part of a larger table update next year.

pkra

comment created time in 8 days

push eventmathjax/MathJax-src

Davide P. Cervone

commit sha cb863f92c2ee9919abbcae4eb182e06de41e3f13

Done export V and H, which seem to cause problems in components/src/svg.js when loaded by System.js in browser

view details

Davide P. Cervone

commit sha fa5bc504ab170b2c8e6cf057672e397f0beb4291

Move output font option to fontData and use font to specify font component to load

view details

Davide P. Cervone

commit sha 22b1b214783dd5c55be1d5675c5de0ed76985aee

Properly handle missing configuration, and fix jax name in chtml

view details

push time in 8 days

push eventmathjax/MathJax-src

Davide P. Cervone

commit sha cb863f92c2ee9919abbcae4eb182e06de41e3f13

Done export V and H, which seem to cause problems in components/src/svg.js when loaded by System.js in browser

view details

push time in 8 days