File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 18
18
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
19
19
20
20
project = 'MOST'
21
- copyright = '2011-2024 , Power Systems Engineering Research Center (PSERC)'
21
+ copyright = '2011-2025 , Power Systems Engineering Research Center (PSERC)'
22
22
author = 'Ray D. Zimmerman, Carlos E. Murillo-Sánchez'
23
23
24
24
# The full version, including alpha/beta/rc tags
112
112
113
113
with open ('mp-docs-shared/mathCmds.tex.txt' , 'r' ) as f :
114
114
for line in f :
115
- macros = re .findall (r'\\(re)?newcommand{\\(.*?)}(\[(\d)\])?{(. +)}' , line )
115
+ macros = re .findall (r'(?<!%) \\(re)?newcommand{\\(.*?)}(\[(\d)\])?{([^%\n] +)}' , line )
116
116
for macro in macros :
117
117
if len (macro [2 ]) == 0 :
118
118
mathjax3_config ['tex' ]['macros' ][macro [1 ]] = macro [4 ]
You can’t perform that action at this time.
0 commit comments