diff --git a/components/src/output/chtml/fonts/tex/copy.json b/components/src/output/chtml/fonts/tex/copy.json index d31b2ccc6..c7d89efc7 100644 --- a/components/src/output/chtml/fonts/tex/copy.json +++ b/components/src/output/chtml/fonts/tex/copy.json @@ -3,8 +3,8 @@ "from": "../../../../../../mathjax3-ts/output/chtml/fonts/tex-woff-v2", "copy": [ "MathJax_AMS-Regular.woff", - "MathJax_Caligraphic-Bold.woff", - "MathJax_Caligraphic-Regular.woff", + "MathJax_Calligraphic-Bold.woff", + "MathJax_Calligraphic-Regular.woff", "MathJax_Fraktur-Bold.woff", "MathJax_Fraktur-Regular.woff", "MathJax_Main-Bold.woff", diff --git a/mathjax3-ts/input/tex/TexConstants.ts b/mathjax3-ts/input/tex/TexConstants.ts index b64ac80ea..16738932c 100644 --- a/mathjax3-ts/input/tex/TexConstants.ts +++ b/mathjax3-ts/input/tex/TexConstants.ts @@ -44,7 +44,7 @@ export namespace TexConstant { TAILED: 'tailed', LOOPED: 'looped', STRETCHED: 'stretched', - CALIGRAPHIC: '-tex-caligraphic', + CALLIGRAPHIC: '-tex-calligraphic', OLDSTYLE: '-tex-oldstyle' }; diff --git a/mathjax3-ts/input/tex/base/BaseMappings.ts b/mathjax3-ts/input/tex/base/BaseMappings.ts index 1f0ee9176..2c0315616 100644 --- a/mathjax3-ts/input/tex/base/BaseMappings.ts +++ b/mathjax3-ts/input/tex/base/BaseMappings.ts @@ -398,7 +398,7 @@ new sm.CommandMap('macros', { rm: ['SetFont', TexConstant.Variant.NORMAL], mit: ['SetFont', TexConstant.Variant.ITALIC], oldstyle: ['SetFont', TexConstant.Variant.OLDSTYLE], - cal: ['SetFont', TexConstant.Variant.CALIGRAPHIC], + cal: ['SetFont', TexConstant.Variant.CALLIGRAPHIC], it: ['SetFont', '-tex-mathit'], // needs special handling bf: ['SetFont', TexConstant.Variant.BOLD], bbFont: ['SetFont', TexConstant.Variant.DOUBLESTRUCK], diff --git a/mathjax3-ts/input/tex/boldsymbol/BoldsymbolConfiguration.ts b/mathjax3-ts/input/tex/boldsymbol/BoldsymbolConfiguration.ts index c28d67693..9c1dd6201 100644 --- a/mathjax3-ts/input/tex/boldsymbol/BoldsymbolConfiguration.ts +++ b/mathjax3-ts/input/tex/boldsymbol/BoldsymbolConfiguration.ts @@ -39,8 +39,8 @@ BOLDVARIANT[TexConstant.Variant.ITALIC] = TexConstant.Variant.BOLDITALIC; BOLDVARIANT[TexConstant.Variant.FRAKTUR] = TexConstant.Variant.BOLDFRAKTUR; BOLDVARIANT[TexConstant.Variant.SCRIPT] = TexConstant.Variant.BOLDSCRIPT; BOLDVARIANT[TexConstant.Variant.SANSSERIF] = TexConstant.Variant.BOLDSANSSERIF; -BOLDVARIANT['-tex-caligraphic'] = '-tex-caligraphic-bold'; -BOLDVARIANT['-tex-oldstyle'] = '-tex-oldstyle-bold'; +BOLDVARIANT['-tex-calligraphic'] = '-tex-bold-calligraphic'; +BOLDVARIANT['-tex-oldstyle'] = '-tex-bold-oldstyle'; // Namespace diff --git a/mathjax3-ts/input/tex/physics/PhysicsMappings.ts b/mathjax3-ts/input/tex/physics/PhysicsMappings.ts index 1a733d86f..e8efecd76 100644 --- a/mathjax3-ts/input/tex/physics/PhysicsMappings.ts +++ b/mathjax3-ts/input/tex/physics/PhysicsMappings.ts @@ -18,7 +18,7 @@ /** * @fileoverview Mappings for TeX parsing of the physics package. - * + * * @author v.sorge@mathjax.org (Volker Sorge) */ @@ -45,7 +45,7 @@ new CommandMap('Physics-automatic-bracing-macros', { 'evaluated': 'Eval', 'eval': 'Eval', 'order': ['Quantity', '(', ')', true, 'O', - TexConstant.Variant.CALIGRAPHIC], + TexConstant.Variant.CALLIGRAPHIC], 'commutator': 'Commutator', 'comm': 'Commutator', 'anticommutator': ['Commutator', '\\{', '\\}'], diff --git a/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Caligraphic-Bold.woff b/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Caligraphic-Bold.woff deleted file mode 100644 index ad70a1d9f..000000000 Binary files a/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Caligraphic-Bold.woff and /dev/null differ diff --git a/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Caligraphic-Regular.woff b/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Caligraphic-Regular.woff deleted file mode 100644 index 8c39739c6..000000000 Binary files a/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Caligraphic-Regular.woff and /dev/null differ diff --git a/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Calligraphic-Bold.woff b/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Calligraphic-Bold.woff new file mode 100644 index 000000000..57819c515 Binary files /dev/null and b/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Calligraphic-Bold.woff differ diff --git a/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Calligraphic-Regular.woff b/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Calligraphic-Regular.woff new file mode 100644 index 000000000..eb66c4617 Binary files /dev/null and b/mathjax3-ts/output/chtml/fonts/tex-woff-v2/MathJax_Calligraphic-Regular.woff differ diff --git a/mathjax3-ts/output/chtml/fonts/tex.ts b/mathjax3-ts/output/chtml/fonts/tex.ts index 7b371d637..81de1210f 100644 --- a/mathjax3-ts/output/chtml/fonts/tex.ts +++ b/mathjax3-ts/output/chtml/fonts/tex.ts @@ -42,8 +42,8 @@ import {sansSerif} from './tex/sans-serif.js'; import {scriptBold} from './tex/script-bold.js'; import {script} from './tex/script.js'; import {smallop} from './tex/smallop.js'; -import {texCaligraphicBold} from './tex/tex-caligraphic-bold.js'; -import {texCaligraphic} from './tex/tex-caligraphic.js'; +import {texCalligraphicBold} from './tex/tex-calligraphic-bold.js'; +import {texCalligraphic} from './tex/tex-calligraphic.js'; import {texMathit} from './tex/tex-mathit.js'; import {texOldstyleBold} from './tex/tex-oldstyle-bold.js'; import {texOldstyle} from './tex/tex-oldstyle.js'; @@ -82,8 +82,8 @@ CommonTeXFontMixin = { +export const texCalligraphicBold: CharMap = { 0x20: [0, 0, .25], 0x2F: [.711, .21, .894], 0x30: [.46, .017, .575], diff --git a/mathjax3-ts/output/common/fonts/tex/tex-caligraphic.ts b/mathjax3-ts/output/common/fonts/tex/tex-calligraphic.ts similarity index 98% rename from mathjax3-ts/output/common/fonts/tex/tex-caligraphic.ts rename to mathjax3-ts/output/common/fonts/tex/tex-calligraphic.ts index a0336bf8b..c56351c25 100644 --- a/mathjax3-ts/output/common/fonts/tex/tex-caligraphic.ts +++ b/mathjax3-ts/output/common/fonts/tex/tex-calligraphic.ts @@ -17,7 +17,7 @@ import {CharMap, CharOptions} from '../../FontData.js'; -export const texCaligraphic: CharMap = { +export const texCalligraphic: CharMap = { 0x20: [0, 0, .25], 0x30: [.452, .022, .5], 0x31: [.453, 0, .5], diff --git a/mathjax3-ts/output/svg/fonts/tex.ts b/mathjax3-ts/output/svg/fonts/tex.ts index f7496be2c..e09923c2c 100644 --- a/mathjax3-ts/output/svg/fonts/tex.ts +++ b/mathjax3-ts/output/svg/fonts/tex.ts @@ -46,8 +46,8 @@ import {sansSerif} from './tex/sans-serif.js'; import {scriptBold} from './tex/script-bold.js'; import {script} from './tex/script.js'; import {smallop} from './tex/smallop.js'; -import {texCaligraphicBold} from './tex/tex-caligraphic-bold.js'; -import {texCaligraphic} from './tex/tex-caligraphic.js'; +import {texCalligraphicBold} from './tex/tex-calligraphic-bold.js'; +import {texCalligraphic} from './tex/tex-calligraphic.js'; import {texMathit} from './tex/tex-mathit.js'; import {texOldstyleBold} from './tex/tex-oldstyle-bold.js'; import {texOldstyle} from './tex/tex-oldstyle.js'; @@ -91,8 +91,8 @@ CommonTeXFontMixin