Hello, Doxygen users,
I’m using Doxygen 1.8.10 (on Windows) to generate LaTeX files, and MiKTex 2.9
to generate a PDF. The PDF is functional, but not very pretty. I’ve figured out
how to customize the title page (I added graphics and non-default text) and how
to get the images into the PDF.
1. But... how do I change the styling for things such as the color of URLs
(which are just text in the Doxygen comments, and then Doxygen turns them into
\href items)?
**** I believe I need to change something in the hyperref package’s config or
what Doxygen writes to the .tex files, but I’m not sure which approach is
right, nor how to do either one...
I’ve created a custom_doxygen.sty file, and assigned it to the
LATEX_EXTRA_STYLESHEET. I assume that it’s being picked up by Doxygen because
Doxygen is successfully picking up my custom LATEX_HEADER file, which is in the
same directory as the custom_doxygen.sty file. But what I don’t know is what to
put into the custom_doxygen.sty file?
If I run everything as default (that is, no LATEX_EXTRA_STYLESHEET), the
following code gets written to the refman.tex file:
% Hyperlinks (required, but should be loaded last)
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,pagebackref=true]{hyperref}
\else
\usepackage[ps2pdf,pagebackref=true]{hyperref}
\fi
\hypersetup{%
colorlinks=true,%
linkcolor=blue,%
citecolor=blue,%
unicode%
}
And what I need is for the “urlcolor” to also be blue (its default in the
hyperref package is magenta—an odd choice for sure).
I tried just basically copying what was in the refman.tex file to the
custom_doxygen.sty file (and making sure that the custom_doxygen.sty file *is*
assigned to the LATEX_EXTRA_STYLESHEET setting in my Doxyfile) and adding a
“urlcolor=blue,%” to the setup section, but there’s no change in the output.
2. And a similar issue to fix: links that are in the Doxygen comments as
explicit <a href> entities are appearing in the PDF as light blue stretched out
courier font. I’ve no idea what is setting this styling, nor how to change it?
Thanks for your help to figure this out!
-Monique
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users