From 661a5b97fb950fa3e2f7b9a79e476c3174a8e740 Mon Sep 17 00:00:00 2001 From: Tali Herzka Date: Mon, 6 Jun 2022 14:50:02 -0400 Subject: [PATCH 1/2] Fix default maxMacros in configuration block example `maxMacros` is set to `10000` by default, not `1000`. The text of the `maxMacros` option description is correct but the example block isn't. --- options/input/tex.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/input/tex.rst b/options/input/tex.rst index e6d2e397..297b1d36 100644 --- a/options/input/tex.rst +++ b/options/input/tex.rst @@ -38,7 +38,7 @@ The Configuration Block tagSide: 'right', // side for \tag macros tagIndent: '0.8em', // amount to indent tags useLabelIds: true, // use label name rather than tag for ids - maxMacros: 1000, // maximum number of macro substitutions per expression + maxMacros: 10000, // maximum number of macro substitutions per expression maxBuffer: 5 * 1024, // maximum size for the internal TeX string (5K) baseURL: // URL for use with links to tags (when there is a tag in effect) (document.getElementsByTagName('base').length === 0) ? From c4a733d6d0ced4242a4df1c46137d4be6b3aaaee Mon Sep 17 00:00:00 2001 From: Tali Herzka Date: Mon, 6 Jun 2022 15:02:43 -0400 Subject: [PATCH 2/2] Update tex.rst --- options/input/tex.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/input/tex.rst b/options/input/tex.rst index 297b1d36..122cd60d 100644 --- a/options/input/tex.rst +++ b/options/input/tex.rst @@ -38,7 +38,7 @@ The Configuration Block tagSide: 'right', // side for \tag macros tagIndent: '0.8em', // amount to indent tags useLabelIds: true, // use label name rather than tag for ids - maxMacros: 10000, // maximum number of macro substitutions per expression + maxMacros: 10000, // maximum number of macro substitutions per expression maxBuffer: 5 * 1024, // maximum size for the internal TeX string (5K) baseURL: // URL for use with links to tags (when there is a tag in effect) (document.getElementsByTagName('base').length === 0) ?