GNOME Bugzilla – Bug 659590
EXTRA_PACKAGES can't handle package options
Last modified: 2015-06-27 19:01:55 UTC
I can load additional LaTeX packages with the EXTRA_PACKAGES config entry, like EXTRA_PACKAGES = xy resulting in \usepackage{xy} But what I need to be able to do is to provide additional parameters to these packages, like EXTRA_PACKAGES = [all]xy in my case (xy really lacks features without this option, but I need it to draw diagrams). As for now, this only seems to be possible with gruesome hacks: EXTRA_PACKAGES = somethingelse}\n\\usepackage[all]{xy (untested, maybe they get escaped!) Because latexgen.cpp (line 260) looks like this: t << "\\usepackage{" << s << "}\n"; There seems to be no official way to pass package parameters. So my request is, to include some way to pass package parameters :) Thanks in advance Stephan
What works for me: doxygen} \usepackage[export]{adjustbox Alternatice might be an area in the doxyfile where we could add arbitrary text to be inserted before the \begin{document}
I've just pushed a proposed solution to github (pull request 304).
Thanks, I've merged the pull request
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.10. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).