[XeTeX] Bug in xetex?
Ulrike Fischer
news3 at nililand.de
Thu Feb 19 20:37:42 CET 2015
Am Thu, 19 Feb 2015 18:55:11 +0100 schrieb Stefan Müller:
> Am 19.02.15 um 18:21 schrieb Ulrike Fischer:
>> Am Thu, 19 Feb 2015 17:09:08 +0100 schrieb Stefan Müller:
>> Minimize the example. I certainly don't want to wander through a
>> large forest tree to track down an error. It must be possible to
>> remove quite a large part of your example.
>
> Please find the reduced code below.
pulling it down a bit more it is obvious that tikzmarks in
tikzpictures don't work correctly: they are all placed at the zero
coordinate:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\begin{document}
x\pgfmark{tA}some text \pgfmark{tB} some text
\begin{tikzpicture}[remember picture]
\draw (0,0)node (A){A} rectangle (1,1)node (B){B};
\end{tikzpicture}
\begin{tikzpicture}[remember picture]
\draw (0,0)node {\pgfmark{nA}} rectangle (1,1)node {\pgfmark{nB}};
\end{tikzpicture}
\vspace{3cm}\centering
\begin{tikzpicture}[overlay,remember picture]
\draw[red,->] (0,0)--(pic cs:tA) (0,0)--(pic cs:tB);
\draw[blue,->](0,0)--(pic cs:nA) (0,0)--(pic cs:nB); %nB faulty
\draw[green,->](0,0)--(A) (0,0)--(B);
\end{tikzpicture}
\end{document}
As normal nodes works fine (see the node A and B) I suggest to
contact the author of tikzmark.
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
More information about the XeTeX
mailing list