<div dir="ltr">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:<br>

<br><br>%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
\documentclass[11pt,a4paper,<div>fleqn,twoside]{book}<br>
<br>
\usepackage{pgf}<br>
<div>\usepackage{preview}<br>
<br>
\title{Test of inclusion of \\<br>
preview latex package  }<br>
\author{John C Frain \\<br>
  Economics Department \\<br>
  Trinity College Dublin<br>
\thanks{Comments to author}}<br>
\begin{document}<br>
\frontmatter<br>
\maketitle<br>
<br>
\pagestyle{plain}<br>
<br>
\chapter*{Preview Test}<br>
<br>
Test test test<br>
<br>
\end{document}<br>
</div>%%%%%%%%%%%%%%%%%%%%%%%%%%<br><br>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?<br><br></div><div>Best Regards<br><br></div><div>
John Frain<br></div><div><br></div>
<div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>John C Frain<br></div>3 Aranleigh Park<br><div><div>Rathfarnham<br>Dublin 14<br>Ireland<br><a href="http://www.tcd.ie/Economics/staff/frainj/home.html" target="_blank">www.tcd.ie/Economics/staff/frainj/home.html</a><br>

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