Closed aress31 closed 1 year ago
The options linkcolor
, filecolor
, citecolor
and urlcolor
and toccolor
are passed directly to hyperref, so they need to use color names from the xcolor
package, as mentioned in the pandoc manual. Hex color values are not supported at the moment.
The following color sets from xcolor
are supported in Eisvogel:
dvipsnames
svgnames
x11names
For a full list of all the available colors, please refer to the xcolor
documentation at http://mirrors.ctan.org/macros/latex/contrib/xcolor/xcolor.pdf (Section 4, 'Colors by Name').
All additional color related options from the Eisvogel template use hex color values like FDBDA4
because they allow for a more fine-grained control over the color. I also believe that users are more familiar with hex values (from HTML/CSS for example) than the limited list of xcolor
names.
I think it is worth it to propose a change in the default template to use hex color values for the default template.
I do not understand why
rgb
is not supported for theurlcolor
option. Trying to set a custom color using:But getting error:
Any help will be welcome!
EDIT: Tried as a workaround to define a custom colour and then set it as follows:
But still getting an error...