[texhax] Fwd: Incompatibility of tcolorbox and preview packages.

John C Frain frainj at gmail.com
Tue May 13 22:08:19 CEST 2014


Thomas.Sturm has suggested that the incompatibility that I have reported
might arise from the pgf package which is used by tcolorbox (and TikZ). If
I modify the example like the follows, the same error is thrown:


%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt,a4paper,
fleqn,twoside]{book}

\usepackage{pgf}
\usepackage{preview}

\title{Test of inclusion of \\
preview latex package  }
\author{John C Frain \\
  Economics Department \\
  Trinity College Dublin
\thanks{Comments to author}}
\begin{document}
\frontmatter
\maketitle

\pagestyle{plain}

\chapter*{Preview Test}

Test test test

\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%

The pgf/tikz was updated around end of 2013. Does the preview package use
some internals of the previous pgf/tikz and is broken now?

Best Regards

John Frain


John C Frain
3 Aranleigh Park
Rathfarnham
Dublin 14
Ireland
www.tcd.ie/Economics/staff/frainj/home.html
mailto:frainj at tcd.ie
mailto:frainj at gmail.com



>> ---------- Forwarded message ----------
> > From: John C Frain <frainj at gmail.com>
> > Date: 12 May 2014 20:02
> > Subject: Incompatibility of tcolorbox and preview packages.
> > To: texhax <texhax at tug.org>
> >
> >
> > Following a recent update to MikTeX 2.9 I found that several of the LaTeX
> > files that I am working on ceased to compile exiting with the maximum
> > number of errors. By a process of elimination I found that the ofending
> > package was the preview-latex package.
> >
> > Including other packages one by one revealed that the conflict was with
> > the
> > tcolorbox package. Checking the logs of my MiKTeX update revealed that
> > thia
> > package had included in the most recent update to MiKTeX.
> >
> > The simple work around at this stage is to exclude the preview package
> > from
> > my document.  It appears that the latest versions of TeXstudio do not
> need
> > it for preview to work. I was under the impression that it was needed for
> > earlier versions.  User's of Emacs may want to use both packages and I
> > don't know if there is a workaround for them.
> >
> > Below is a minimum file demonstrating the error and some extracts from
> the
> > log file. The full log file is attached
> >
> > %%%%%%%%%%%%%%%%%% minimum file showing error.
> >
> > \documentclass{book}[11pt,a4paper,fleqn,twoside]
> >
> > \usepackage{tcolorbox}
> > \usepackage{preview}
> >
> > \title{Test of inclusion of \\
> > preview latex package  }
> > \author{John C Frain \\
> >   Economics Department \\
> >   Trinity College Dublin
> > \thanks{Comments to author}}
> > \begin{document}
> > \frontmatter
> > \maketitle
> >
> > \pagestyle{plain}
> >
> > \chapter*{Preview Test}
> >
> > Test test test
> >
> > \end{document}
> >
> > %%%%%%%%%%%%% Minimum example
> >
> > This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded
> > format=pdflatex 2013.8.4) 12 MAY 2014 19:32
> >
> > entering extended mode
> >
> >
> >
> >
> > <snip>
> >
> >
> >
> > ! Undefined control sequence.
> >
> > \@EveryShipout at Output ...EveryShipout at Org@Shipout
> >
> > \box \@cclv
> >
> > l.15 \maketitle
> >
> >  The control sequence at the end of the top line
> >
> > of your error message was never \def'ed. If you have
> >
> > misspelled it (e.g., `\hobx'), type `I' and the correct
> >
> > spelling (e.g., `I\hbox'). Otherwise just continue,
> >
> > and I'll forget about whatever was undefined.
> >
> >
> >
> >
> >
> >
> > John C Frain
> > 3 Aranleigh Park
> > Rathfarnham
> > Dublin 14
> > Ireland
> > www.tcd.ie/Economics/staff/frainj/home.html
> > mailto:frainj at tcd.ie
> > mailto:frainj at gmail.com
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20140513/638d845c/attachment.html>


More information about the texhax mailing list