Closed seloumi closed 5 years ago
It may be able to avoid this warning, but the fix implied by the error message of loading color
before bidi
seems to work:
\documentclass[12pt]{article}
\usepackage{color}
\usepackage{minted}
\usepackage{fontspec}
\usepackage{bidi}
\begin{document}
Test
\end{document}
Package minted
add color
package at end preamble if not loaded
\AtEndPreamble{%
\@ifpackageloaded{color}{}{%
\@ifpackageloaded{xcolor}{}{\RequirePackage{xcolor}}}%
}
https://github.com/gpoore/minted/blob/5d72859d714a6f2f6a42eec524476994d954b960/source/minted.sty#L48-L51 Thanks for your reply, you can close the issue, I think.
Brief outline of the issue
Adding
minted
package withbidi
(even if it is added before) produce errorMinimal example showing the issue
Log and PDF files
test.log