Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Trying to compile this example:

\documentclass{article}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[remember picture,overlay]

% A path that follows the edges of the current page
\tikzstyle{reverseclip}=[insert path={(current page.north east) --
(current page.south east) --
(current page.south west) --
  (current page.north west) --
  (current page.north east)}
]

\coordinate (A) at (0,0);
\coordinate (B) at (1,0);
\coordinate (C) at (1,1);

\begin{pgfinterruptboundingbox} % To make sure our clipping path does not mess up the         placement of the picture
\path [clip] (A) -- (B) -- (C) -- cycle [reverseclip];
\end{pgfinterruptboundingbox}

\draw[thick] (A) circle (2mm);
\draw[thick] (B) circle (2mm);    
\draw[thick] (C) circle (2mm);   

\end{tikzpicture}
\end{document}

But I got the error: I do not know the key '/tikz/insert path'

My Tikz version is tikz.code.tex,v 1.76 2010/10/13 09:20:31 Could you help me?

share|improve this question
1  
This seems to compile fine for me. I am using the same version (updated TeXLive 2010), so most likely one of the other tikz libraries need updating. –  Peter Grill Jul 24 '11 at 18:30
2  
It doesn't compile with TeX Live 2009; so probably the upgrading of TikZ has not been done properly. The key insert path is indeed in tikz.code.tex. –  egreg Jul 24 '11 at 18:58
    
Thanks, I solved installing the latest version of Tikz, taken from here (bulldog.duhs.duke.edu/~faheem/debian/pgf_2.10-0_all.deb). –  Diegolo Jul 24 '11 at 20:49

1 Answer 1

The key insert path is indeed in tikz.code.tex.

The document doesn't compile with TeX Live 2009; so probably the upgrading of TikZ has not been done properly.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.