New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXTRA_PACKAGES can't handle package options (Origin: bugzilla #659590) #4415

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.7.4 on platform Other
Assigned to: Dimitri van Heesch

On 2011-09-20 14:03:27 +0000, Stephan Friedrichs wrote:

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

On 2015-03-03 03:17:40 +0000, bkmr wrote:

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}

On 2015-03-04 18:03:12 +0000, albert wrote:

I've just pushed a proposed solution to github (pull request 304).

On 2015-03-05 20:58:08 +0000, Dimitri van Heesch wrote:

Thanks, I've merged the pull request

On 2015-06-27 19:01:55 +0000, Dimitri van Heesch wrote:

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).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment