I am developping a package which uses some lualatex
features. In order to show examples in the documentation, I have to use lualatex
for the compilation as well. I decided to use the documentation
library from the tcolorbox
package, however this fails, if I want to use lualatex
.
The compilation stops with this error message right at the start (i.e. in the preamble phase)
! String contains an invalid utf-8 sequence.
l.52 moredelim={[is][\itshape\rmfamily]{
�}{�}},
The additional tcolorbox
libraries listings
or listingsutf8
did not help. Since documentation
is based on those libraries (as far as I understand it) I suspect however that this unhealthy feature has it's origin in the listings package (the moredelim
error is some indicator)
I tried the solution to a similar problem (LuaLaTeX and listings do not work while XeLaTex works fine), but it does not improve the situation.
I don't claim this is a bug of tcolorbox
or listings.sty
really.
\documentclass{article}
\usepackage{blindtext}
\usepackage[documentation]{tcolorbox}
\begin{document}
\blindtext
\end{document}
tcbdocumentation.code.tex
. Not sure if this helps, though.^^a7
intcbdocumentation.code.tex
should work.tcolorbox
version3.35 (2015/01/07)