# Circledsteps give error “option clash for xcolor”

Consider:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[table]{xcolor}
\usepackage{circledsteps}
\begin{document}
test
\end{document}


in TeXLive 2017 (the standard distribution in Ubuntu 18.04 and derivatives) will fail with

! LaTeX Error: Option clash for package xcolor.


and pressing H on the error we have:

? H
[table].
There has now been an attempt to load it with no options.
[...]


what's happening? I supposed that loading a package with no options (as it is done into circledsteps.sty) should be always ok --- it will simply inherit the already-specified one.

• I have no problem with this code. Is your installation up-to-date? – Bernard Mar 2 at 20:18
• @Bernard you are right --- works ok on TeXLive 2019, not on TeXLive 2017 --- thanks for noticing! – Rmano Mar 2 at 20:43

If you can, as noticed by Bernard in a comment, update your distribution --- the snippet has no problem in TeXLive 2019.

Otherwise, the problem is that the package menukeys uses the catoptions package; that package changes the behavior of package loading.

A possible workaround was mildly suggested in chat by David Carlisle, and implemented by myself (so all the blame is mine):

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[table]{xcolor}