Skip to content

Commit

Permalink
Add missing support for \ref and \eqref in textmacros. (mathjax/MathJ…
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Sep 8, 2020
1 parent d4b8ff6 commit daa159c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ts/input/tex/textmacros/TextMacrosMethods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ export const TextMacrosMethods = {
Spacer: BaseMethods.Spacer,
Hskip: BaseMethods.Hskip,
rule: BaseMethods.rule,
Rule: BaseMethods.Rule
Rule: BaseMethods.Rule,
HandleRef: BaseMethods.HandleRef

};

7 changes: 7 additions & 0 deletions ts/input/tex/textmacros/TextParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ export class TextParser extends TexParser {
return this.configuration.packageData.get('textmacros').texParser;
}

/**
* @override
*/
public get tags() {
return this.texParser.tags;
}

/**
* @override
* @constructor
Expand Down

0 comments on commit daa159c

Please sign in to comment.