- Update packages.
- Switch to Peggy from PEG.js
- BibTeX parser allows %-style comments.
- Fast match optimization
- (#32) Fix isInlienMath to isInlineMath
- Fix MathElement locations
- Fix parsing environments. Thanks to @lyeyixian
- Fix parsing the verbatim environment and others.
- Fix parsing \verbatimfont{\small}
- (#31) Fix parsing optional arguments including a tilde.
- Fix parsing
\newline
- Fix parsing commands beginning with
\newline
and\linebreak
- Update packages.
- Update packages.
- Use
typedoc
to generate https://tamuratak.github.io/latex-utensils/.
- Spaces parsed as
Space
. \\
parsed asLinebreak
.- Single
\n
parsed asSoftbreak
.
latexParser.parse
acceptsenableMathCharacterLocation
as an option.- Fix a null check in
luparse
.
- (#23)
\url{...}
parsed asUrlCommand
. - (#23)
\href{...}{...}
parsed asHrefCommand
. \label{...}
,\ref{...}
, and others parsed asLabelCommand
.- Stop parsing
\end{document}
andEOF
as parbreak. - Unbalanced
\begin{abc} \end{efg} \end{abc}
parsed as three commands.
- Fix parsing
alignedat
andcases*
.
- (#22) Fix parsing [] having spaces.
- Add
pmatrix
and others toMathEnvAligned
. - Set
"types": "./out/types/src/main.d.ts"
.
- Executed
npm audit fix
- Fix latexParser.findNodeAt.
- latexParser.find, findAll, findAllSequences, findNodeAt
- latexParser.pattern
- (#17) Performance issue matching \left and \right
- Rename
latexParser.MathMatchingParen
tolatexParser.MatchingDelimiters
. latexParser.parse
parses mathematical delimiters without\left
and\right
,(...)
,[...]
, and so on now. The type of delimiters islatexParser.MathDelimiters
.- Change the name of the property of
latexParser.Superscript
andlatexParser.Subscript
fromcontent
toarg
.
1.2.3 (2019-12-31)
- (#11) Fix parsing
\verb*
. - (#12) Fix parsing
verbatim*
env. - (#13) Fix picking comments.
1.2.2 (2019-12-26)
- Fix dependencies.
1.2.1 (2019-12-25)
- (#10) Add
hasArgsArray
to test if node.args exist.
1.2.0 (2019-12-22)
- (#8) Add
DefCommand
type.
- (#9) Allow spaces in optional arguments.
1.1.10 (2019-12-18)
- Refactoring
isSyntaxError
.
1.1.9 (2019-12-16)
- (#7) Allow
isbn = 1-2-3
in BibTeX files.