3

I'm trying to use bclogo package, but with a simple example like this I obtain series of errors

\documentclass{article}
\usepackage{bclogo}

\begin{document}


\begin{bclogo}{test}
hello world
\end{bclogo} 

\end{document}

Error message if compiled with XeLaTeX

! Package xkeyval Error: 'blur' undefined in families ,pstricks,pst-grad,pst-node,pst-coil'.

Error message if compiled with PDFLaTeX

In addition to last error I have this one

Undefined control sequence. \c@lor@to@ps

1
  • That is a bug in bclogo. You should report it to the author. With xelatex it should work without any error.
    – user2478
    Commented May 2, 2017 at 7:04

2 Answers 2

3

The pstricks usage with bclogo needs either to load \usepackage{pst-blur} manually or \usepackage[blur]{bclogo}, which is easier and shorter, of course.

The manual (written in French however) states this on page 14, section 7.2.

\documentclass{article}
\usepackage{pst-blur}
\usepackage[pstricks]{bclogo}% Or \usepackage[blur]{bclogo}
\begin{document}
\begin{bclogo}{hello world}
  And now for something completely different
\end{bclogo} 
\end{document}

If the tikz option is used, the blur is not needed, since bclogo uses TikZ then. (This has been answered by gernot, but he deleted his answer unfortunately)

enter image description here

The special solution for bernard:

\documentclass{article}
\usepackage[blur]{bclogo}
\begin{document}
\begin{bclogo}{How to recognize trees from quite a distance away}
  Number 3: The Larch. 
\end{bclogo} 

\begin{bclogo}{}
  And now for something completely different
\end{bclogo} 



\end{document}

enter image description here

7
  • 1
    ‘The larch’ would have been more suitable than ‘Hello world’, given the context ;o)
    – Bernard
    Commented May 1, 2017 at 16:10
  • @Bernar: Le Larch ;-)
    – user31729
    Commented May 1, 2017 at 16:10
  • Just as with Pepe le Pew?
    – Bernard
    Commented May 1, 2017 at 16:12
  • @Bernard: A version for MP ;-)
    – user31729
    Commented May 1, 2017 at 16:17
  • I'm afraid I don't get it. What's MP? (I don't speak Acronym very fluently…)
    – Bernard
    Commented May 1, 2017 at 16:20
1

You have to set blur with psset. Otherwise it makes no sense to use the optional argument blur for the package bclogo

\documentclass{article}
\usepackage[blur]{bclogo}
\begin{document}

\psset{blur,shadow}
\begin{bclogo}{test}
        hello world
\end{bclogo} 

\end{document}

enter image description here

However, it shouldn't throw an error when not using option blur and not using pstricks.

You must log in to answer this question.

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