diff options
author | albert-github <albert.tests@gmail.com> | 2018-05-08 18:23:58 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-05-08 18:23:58 (GMT) |
commit | 9b52da49cb544fb0a676e9d12fdbafaf0c1db8cb (patch) | |
tree | 8cc16bf4898ede8d13df368cd74927fd39f61ad8 /src/configgen.py | |
parent | c78c338fffbdbb9b2379b1896e647f7cc697da57 (diff) | |
download | Doxygen-9b52da49cb544fb0a676e9d12fdbafaf0c1db8cb.zip Doxygen-9b52da49cb544fb0a676e9d12fdbafaf0c1db8cb.tar.gz Doxygen-9b52da49cb544fb0a676e9d12fdbafaf0c1db8cb.tar.bz2 |
Making the 'tex' part of \makeindex available to the user
In case we need to use another 'makeindex' command in the Makefile / make.bat we can use the configuration tag MAKEINDEX_CMD_NAME
When we want to have another index we can use e.g. EXTRA_PACKAGES = [nottoc]tocbibind
but in those cases the \makeindex command is still the same but should be \makeindex[intoc]. By means of the new configuration tag LATEX_MAKEINDEX_CMD this discrepancy has been solved.
Due to the default value some small changes in the configuration parser were necessary as well.
(based on the stack question https://stackoverflow.com/questions/44394311/add-index-to-toc-with-doxygen).
Diffstat (limited to 'src/configgen.py')
-rwxr-xr-x | src/configgen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configgen.py b/src/configgen.py index 33857b7..ca2a5d1 100755 --- a/src/configgen.py +++ b/src/configgen.py @@ -272,7 +272,7 @@ def parseOption(node): print(" \"%s\"" % (line)) print(" );") if defval != '': - print(" cs->setDefaultValue(\"%s\");" % (defval)) + print(" cs->setDefaultValue(\"%s\");" % (defval.replace('\\','\\\\'))) if format == 'file': print(" cs->setWidgetType(ConfigString::File);") elif format == 'image': @@ -529,7 +529,7 @@ def parseOptionDoc(node, first): if defval != '': print("") print("The default value is: <code>%s</code>." % ( - defval)) + defval.replace('\\','\\\\'))) print("") # depends handling if (node.hasAttribute('depends')): |