mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 20:48:41 +00:00
Indicate missing support for delimited macros
This commit is contained in:
@@ -17,6 +17,10 @@ function MacroExpander(input, macros) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Recursively expand first token, then return first non-expandable token.
|
* Recursively expand first token, then return first non-expandable token.
|
||||||
|
*
|
||||||
|
* At the moment, macro expansion doesn't handle delimited macros,
|
||||||
|
* i.e. things like those defined by \def\foo#1\end{…}.
|
||||||
|
* See the TeX book page 202ff. for details on how those should behave.
|
||||||
*/
|
*/
|
||||||
MacroExpander.prototype.nextToken = function() {
|
MacroExpander.prototype.nextToken = function() {
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
Reference in New Issue
Block a user