I use a bunch of packages. I eventually wanted to use bashful but now I have a clash with xcolor. How should I solve/investigate this?
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[a4paper, total={165mm,250mm}]{geometry}
\usepackage[xparse,skins,breakable]{tcolorbox}
\usepackage[framemethod=tikz]{mdframed}
\usepackage[dvipsnames]{xcolor}
\usepackage{listings}
\usepackage{multicol}
\usepackage{graphicx}
\usepackage{regexpatch}
\usepackage{realboxes}
\usepackage{textcomp}
\usepackage{xfrac}
\usepackage{tikzpagenodes}
\usepackage{inconsolata}
\usepackage{booktabs}
\usepackage{tikz}
\usepackage{tabularx,ragged2e}
\usepackage{zref-savepos}
\usepackage{bashful}
\usetikzlibrary{calc}
\begin{document}
Lorem ipsum
\end{document}
Here the error:
! LaTeX Error: Option clash for package xcolor.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.9 \usepackage
{listings}
option clash xcolor. – Ulrike Fischer Jun 06 '22 at 08:53[dvipsnames]option as an option of\documentclass. – Bernard Jun 06 '22 at 09:28xcolorhad to be beforetcolorbox. – Zarko Jun 06 '22 at 09:29xcoloragain with different options than other package did. It's very likelydvipsnameswas not included before, hence the error. You could probably remove the line with\usepackage[dvipsnames]{xcolor}. However, you would need to follow @Bernard's suggestion to have access todvipsnames. – Celdor Jun 06 '22 at 10:40has the message suggests, so that the system tells you which options clash, and suggests a fix? – David Carlisle Jun 06 '22 at 11:37