3

I have a serious problem when using xelatex with tcolorbox: the text that follows a breakable tcolorbox simply disappear! The problem does not arise with pdflatex, just with xelatex. I am using TexLive (MacTeX) 2014 and tcolorbox 3.05.

Here is a minimal working example: you can switch between xelatex and pdflatex by changing the first (commented) line in many tex editors, e.g. TeXshop.

%!TEX TS-program = xelatex 

\documentclass[11pt,usletter]{book}
\usepackage[breakable]{tcolorbox}
\usepackage{blindtext}

\begin{document}
\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,title=test, breakable]
\blindtext[4]
\end{tcolorbox}
\blindtext[4]
\end{document}
8

1 Answer 1

2

The text color implementation of tcolorbox version 3.12 (2014/07/29) was changed to circumvent some other xelatex related color problems. The related problems are using paracol with breakable box (tcolorbox) and Last xe(la)tex colors text in white in some circumstances. @egreg confirmed that this also solved your problem.

Let me know, if you still have a problem after updating to tcolorbox version 3.12 (2014/07/29) or newer.

You must log in to answer this question.

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