latex3 / pdfresources

LaTeX PDF resource management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`luacolor` package interferes with `\DocumentMetadata{}`

ryofurue opened this issue · comments

With \DocumentMetadata{} and the luacolor package, the URL link color turns black. See the following code. Remove \DocumentMetadata{} and the link color is blue as specified. I always use the luacolor package with luatex to fix the spacing problem of xcolor.

\DocumentMetadata{} %-> Link color -> black
\documentclass{article}
\usepackage[colorlinks=true,urlcolor=blue]{hyperref}
%\usepackage{xcolor}
\usepackage{luacolor} % fix xcolor's spacing problem.
\begin{document}
\url{https://en.wikipedia.org/wiki/Durbin–Watson\_statistic}
\end{document}

We are considering moving to using Lua-based colour automatically for LuaTeX - hopefully that will help here :)

I uploaded a new version which temporarly fixes the problem for lualatex in PDF mode until a full solution is available.