Closed SFr682k closed 11 months ago
yes. A quite old bug. Happily the hycolor package contains a patch (https://tex.stackexchange.com/a/520379/2388). I will move it to xcolor, but for now you can load it directly (or load hyperref).
\documentclass{article}
\usepackage{xcolor}
\usepackage{xcolor-patch}
\begin{document}
\selectcolormodel{Gray}
\definecolor{SomeColor}{gray}{0.50}
Hello World!
\end{document}
This has been fixed in version 3.00
Current behavior
Each of the following snippets fails with “Illegal unit of measure (pt inserted)” and “Missing number, treated as zero” errors.
Snippet 1 (Log file):
Snippet 2 (Log file):
Snippet 3 (Log file)
Expected behavior
The
Gray
color model “just works”Environment