[XeTeX] Bug in xetex?

Stefan Müller Stefan.Mueller at fu-berlin.de
Thu Feb 19 18:55:11 CET 2015


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.

>> I thought that this shows that there
>> must be something wrong with xelatex.
> 
> And which part of xelatex? The tikz code? The graphicx code? The
> xetex binary? xdvipdfmx? 

If you compile this with pdflatex you get an arrow to the 1 and 2. If
you use xelatex instead the arrows are above the topmost V, which is wrong.

With my naive understanding of everything I would say it is the xelatex
part since the other parts are used by pdflatex as well. But maybe this
is wrong and there are special parts of the mentioned packages for
xelatex vs. pdflatex.

Thanks for your help!

Best

	Stefan


\documentclass{article}
\usepackage{forest}

\usetikzlibrary{tikzmark}


\begin{document}


\begin{forest}
[V
                        [\tikzmark{ap1}{AP}
                                [ungewaschen]]
                        [V{[ \tikzmark{arg11}{1}, \tikzmark{arg12}{2} ]}
                                [isst]]]
\end{forest}
\begin{forest}
        [V
                [\tikzmark{ap2}{AP}
                        [ungewaschen]]
                [V{[\tikzmark{arg21}{1} ]}]]
\end{forest}
\begin{tikzpicture}[overlay,remember picture]
\draw[->, bend angle=40, bend left] ($(pic cs:ap1)+(1ex,2ex)$) to($(pic
cs:arg11)+(1ex,2.5ex)$);
\draw[->, bend angle=40, bend left] ($(pic cs:ap1)+(1ex,2ex)$) to($(pic
cs:arg12)+(1ex,2.5ex)$); % 1ex links, 2ex hoch
%
\draw[->, bend angle=40, bend left] ($(pic cs:ap2)+(1ex,2ex)$) to($(pic
cs:arg21)+(1ex,2.5ex)$);
\end{tikzpicture}


\end{document}


-- 
Stefan Müller       Tel: (+49) (+30) 838 52973
                    Fax: (+49) (030) 838 4 52973
Institut für Deutsche und Niederländische Philologie
Deutsche Grammatik
Habelschwerdter Allee 45
14 195 Berlin

http://hpsg.fu-berlin.de/~stefan/

http://langsci-press.org/

http://hpsg.fu-berlin.de/Projects/CoreGram.html


More information about the XeTeX mailing list