When I try to use \tikzmark
(actually, any feature that relies on the [remember picture]
functionality of TikZ) in the WYSIWYG editor BaKoMa TeX, I get the following warning:
Package pgf Warning: Your graphic driver pgfsys-dvips.def does not support marking the current position. This warning is given only once on input line 24.
and the desired output is not rendered.
According to the developer of BaKoMa, this is an issue with the dvips driver of the PGF package, and not with BaKoMa editor.
Is this truly a bug of the PGF package? If so, is there a work-around before an official patch is available?
An example to illustrate how the problem looks like:
\documentclass{beamer}
\usepackage{tikz}
\begin{document}
\begin{frame}{Title}
\tikz[remember picture] \node[circle,fill=red!50] (n1) {};
something
\bigskip
\centering
\tikz[remember picture] \node[fill=blue!50] (n2) {};
\bigskip
\begin{tikzpicture}[remember picture]
\node (c) [circle,draw] {Big circle};
\draw [overlay,->,very thick,red,opacity=.5]
(c) to[bend left] (n1) (n1) |- (n2);
\end{tikzpicture}
\end{frame}
\end{document}
Output via BaKoMa
Output via TeXworks (with pdflatex
)
/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvips.de File: pgfsys-dvips.def 2008/04/03 (rcs-revision 1.20)
which version is shown in your log?latex
command must bepdflatex running in dvi mode
as the whole feature relies on the\pdflastxpos
feature. If you are using a classic TeX engine it can not work (but don't do that)pgfsys-dvips.def
has the same version as yours,v 1.20 2008/04/03 17:04:45
. When I compile in command line usinglatex mwe.tex
twice, I get the desired result inmwe.dvi
. But I still get the wrong output with BaKoMa...