2

I know someone who is working on a LaTeX document requiring pst-plot, geometry, and hyperref, and I recently gifted him some TikZ improvements of diagrams that didn't seem to be working out for him.

However, TikZ is clashing with the other packages, hyperref being the most critical. How does one circumnavigate around such an obstacle without sacrificing much?

Edit: Minimal example:

\documentclass[z,11pt]{amsart}
\usepackage{pst-plot}
\input xy
\xyoption{all}
\usepackage{mathptmx,tikz}
\usetikzlibrary{matrix,arrows}
\begin{document}
Test
\end{document}

The error produced seems to be

/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code
.tex:19: No room for a new \dimen .
\ch@ck ...\else \errmessage {No room for a new #3}
                                                   \fi 
l.19 \newdimen\tikz@lastxsaved
jdc
  • 1,245

1 Answers1

3

As Herbert pointed out in his comment, adding

\usepackage{etex}

directly after the line with \documentclass solves the problem. This answer explains why this works.

Scz
  • 1,633