2

Good Evening

I've installed the bclogo package. And I'v got a problem I can't solve.

\documentclass{article}
\usepackage{lipsum}
%\usepackage{mdframed}
\usepackage{graphicx}
\usepackage{xkeyval}
\usepackage{ifthen}
\usepackage{etoolbox}
\usepackage[tikz]{bclogo}
\DeclareGraphicsRule{.mps}{eps}{*}{}

\begin{document}

\begin{bclogo}[couleur=blue!30]{}
$\bcdanger$
\end{bclogo}

\end{document}

And below the result, as you can see, there isn't any logo. May you help me, please?

enter image description here

4
  • 1
    Remove the \DeclareGraphicsRule{.mps}{eps}{*}{}, Commented Aug 19, 2017 at 22:40
  • 1
    ... and welcome to TeX.SX!
    – Bobyandbob
    Commented Aug 19, 2017 at 22:42
  • I have got an error : Package pdftex.def Error: Cannot convert bc-fleur.mps from MPS to PDF. (pdftex.def)
    – Stu
    Commented Aug 19, 2017 at 22:43
  • and that : The support file `supp-pdf.mkii' (supp-pdf.tex) is missing.
    – Stu
    Commented Aug 19, 2017 at 22:44

1 Answer 1

3

Assuming that you compile with pdflatex it works if you remove the \DeclareGraphicsRule{.mps}{eps}{*}{}:

\documentclass{article}
\usepackage{lipsum}
%\usepackage{mdframed}
\usepackage{graphicx}
\usepackage{xkeyval}
\usepackage{ifthen}
\usepackage{etoolbox}
\usepackage[tikz]{bclogo}

\begin{document}

\begin{bclogo}[couleur=blue!30]{}
$\bcdanger$
\end{bclogo}

\end{document}

enter image description here

2
  • I compile with pdf latex but I have got an error when I launch the compilation
    – Stu
    Commented Aug 19, 2017 at 22:46
  • 1
    supp-pdf.mkii is in the miktex package "mptopdf". Install it with the package manager. Commented Aug 19, 2017 at 22:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .