Involved Source Filesalignedat.goams_flalign.goams_tags.goams_tags_environments.goamscd_handlers.go Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: BaseItems.ArrayItem.checkItem/EndEntry/EndRow/EndTable. Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: ts/input/tex/ParseUtil.ts fixInitialMO; base/BaseItems.ts
EqnArrayItem.EndEntry and ams/AmsItems.ts MultlineItem.EndEntry. Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: ts/input/tex/base/BaseItems.ts ArrayItem.EndRow/EndTable. Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Sources: BaseMethods.HLine and BaseItems.ArrayItem.checkLines/createMml.base_ams_handlers.go Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Sources: ts/input/tex/braket/{BraketMethods,BraketItems}.ts.buildrel.go Copyright (c) 2018-2022 MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Go translation of cases/CasesConfiguration.ts and EmpheqUtil.left. Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: BaseMethods.Entry/Cr/CrLaTeX, BaseItems.CellItem, and StackItem. Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Sources: FilterUtil.cleanSubSup, ParseOptions.getList/inTree,
ParseUtil.copyNode and NodeUtil.copyAttributes (MathJax 3.2.2).clean_stretchy.gocombine_relations.gocommands.go Package tex is a source-shaped Go port of MathJax 3.2.2's TeX input jax.
It compiles the fixed package set used by D2 (base, AMS, mathtools, AMS-CD,
braket, cancel, cases, color, gensymb, mhchem, and physics) into the shared
internal MathML tree.delimiters.go Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: TexParser.GetDimen/GetArgument and ParseUtil.matchDimen (MathJax 3.2.2).empheq_handlers.go Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: BaseMethods.BeginEnd and ParseUtil.checkMaxMacros. Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: BaseMethods.BeginEnd, BeginItem/EndItem, CasesMethods.NumCases,
and MathtoolsMethods.SpreadLines.environments.goerrors.go Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on Stack.Push, PhysicsMethods.AutoClose and BaseItems.PositionItem. Copyright (c) 2020-2022 MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: ts/input/tex/mathtools/MathtoolsConfiguration.ts, fixPrescripts. Copyright (c) 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0framebox.gogenfrac_palette.gogetnext_space.go Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: ts/input/tex/base/{BaseMethods,BaseItems}.ts.inheritance.gointernal_text.gokeyval_options.go Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on BaseMethods.LeftRight and BaseItems.LeftItem (MathJax 3.2.2). Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on BaseMethods.Limits and the node-specific MmlNode.coreMO methods. Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on ParseUtil.addArgs and ParseUtil.substituteArgs (MathJax 3.2.2). Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0 Copyright (c) 2020-2022 MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: ts/input/tex/mathtools/MathtoolsMethods.ts, MathtoolsUtil.ts,
and base/BaseItems.ts (EqnArrayItem and ArrayItem.addRowSpacing).mathtools_handlers.gomathtools_handlers_commands.gomathtools_handlers_environments.gomathtools_lap.gomathtools_style.gomathtools_text_lap.gomatrix_cases.gomatrix_command.go Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: ts/core/MmlTree/{MML,MmlNode,MmlFactory}.ts.mml_token.go Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on FilterUtil.moveLimits and NodeUtil.copyAttributes.mu_dimension.gonewcommand.gonodes.go Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Sources: BaseItems.NonscriptItem and BaseConfiguration.filterNonscript.operator_creation.gooperator_dictionary_generated.go Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Sources: BaseMethods.Array/AlignedArray, BaseItems.ArrayItem/BeginItem,
MathtoolsMethods.MtMatrix/MtSmallMatrix/SpreadLines, and Stack.Pop.parser.go Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on BaseMethods.Dots, BaseItems.DotsItem and MmlMo.texClass (MathJax 3.2.2). Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on BaseMethods.Not and BaseItems.NotItem (MathJax 3.2.2). Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on BaseMethods.Prime and BaseItems.PrimeItem/SubsupItem (MathJax 3.2.2). Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on PhysicsMethods.Derivative/OperatorApplication, PhysicsItems.AutoOpen
and ParseUtil.fenced. Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on PhysicsMethods.Derivative/Differential/Commutator, AmsMethods, and TexParser. Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: PhysicsMethods.Expectation and outputBraket.physics_handlers.go Copyright (c) 2019-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: ts/input/tex/physics/{PhysicsMethods,PhysicsMappings}.ts.physics_operator_application.go Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Sources: PhysicsMappings, PhysicsMethods.Quantity and PhysicsItems.AutoOpen. Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on BaseMethods.RaiseLower/MoveLeftRight and BaseItems.PositionItem.root_index.go Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: base/BaseMethods.ts Rule, color/ColorMethods.ts, and ArrayItem.copyEnv. Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on BaseMethods and BaseItems.SubsupItem (MathJax 3.2.2). Copyright 2017-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Based on BaseMethods.Subscript and BaseMethods.Superscript (MathJax 3.2.2).source_runtime.gosource_tables_ams_maps.gosource_tables_amscd_braket_cases_maps.gosource_tables_base_maps.gosource_tables_empheq_newcommand_maps.gosource_tables_mathtools_maps.gosource_tables_packages.gosource_tables_physics_maps.gosource_tables_selected_extensions_maps.gosource_tables_types.go Copyright (c) 2021-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Sources: MathtoolsMethods.SpreadLines and MathtoolsUtil.spreadLines.symbols.go Copyright (c) 2009-2022 The MathJax Consortium
SPDX-License-Identifier: Apache-2.0
Source: ts/input/tex/physics/PhysicsMethods.ts, createVectorToken/VectorBold.
Package-Level Type Names (total 2)
/* sort by: | */
Compiler implements pipeline.Compiler. Compiler has no mutable parse state;
every Compile call receives fresh macro and environment tables, as does the
MathJax TeX input jax after ParseOptions.clear(). Compile parses one TeX expression and wraps the result in MathJax's math
node. Display mode is represented by the explicit display="block"
attribute, matching TeX.compile in ts/input/tex.ts.
*Compiler : github.com/d2lang/mathjax-go/internal/pipeline.Compiler
func NewCompiler() *Compiler
Error is the Go equivalent of MathJax's TexError. ID is deliberately kept
separate from the rendered message because the JavaScript parser and its
tests use the stable identifier when classifying failures.IDstringMessagestring(*Error) Error() string
*Error : error
Package-Level Functions (only one)
NewCompiler constructs the fixed MathJax 3.2.2 compiler used by D2.
The pages are generated with Goldsv0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.