Skip to content

LaTeXML hanging with TIKZ example #784

Description

@casio7131

I've got a simple example that causes LaTeXML to hang (uncomment marked line). Hopefully it'll be a simple fix.

\documentclass[10pt,a4paper,twoside,openany]{book}
\usepackage{tikz}
\usetikzlibrary{shapes}
\tikzstyle{calloutBox}=[rectangle callout,thick,rounded corners, draw=black, fill=green!70, opacity=0.9, callout absolute pointer={#1}]
\begin{document}
DUMMY TEXT.
\begin{tikzpicture}[remember picture]
\draw[fill=gray,draw=none,opacity=0.1] (0,0) rectangle (15,9.5);
\node[calloutBox={(+1,1)}, text width=6cm] at (+5,6.2) {This works!};
\node[calloutBox={(+1,1)}, text width=6cm] at (+12,6.2) {This works too!};
\node[rectangle callout,thick,rounded corners, draw=black, fill=green!70, opacity=0.9, callout absolute pointer={(+1,1)}, text width=6cm] at (+12,6.2) {... And this works too ...};
\node[rectangle callout,thick,rounded corners, draw=black, fill=green!70, opacity=0.9, callout absolute pointer={(+4.8,8.4)}, text width=6cm] at (+8,1.2) {This works in LaTeXML. Now make this a long line...};
%\node[rectangle callout,thick,rounded corners, draw=black, fill=green!70, opacity=0.9, callout absolute pointer={(+4.8,8.4)}, text width=6cm] at (+12,1.2) {*** Uncomment this line to hang LaTeXML *** (works in pdflatex tho)};
\end{tikzpicture}
\end{document}

Inn case it's useful, here is error after I manually kill it (via CTRL-C):

^C
Fatal:interrupt:interrupted LaTeXML was interrupted
    at ...pgf.tex; line 13 col 225
    INT
    In Core::Definition::Register[\toks Number] from TeX.pool.ltxml line 1105
     <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[Begin] <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[Begin] <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[Begin] <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[Begin] <= Core::Stomach[@0x3306218] <= Core::Definition::Constructor[\hbox B... <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[Begin] <= Core::Stomach[@0x3306218] <= Core::Definition::Constructor[\hbox B... <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[\setbox N... <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[Begin] <= Core::Stomach[@0x3306218] <= Core::Definition::Constructor[\hbox B... <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[\setbox N... <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[Begin] <= Core::Stomach[@0x3306218] <= Core::Definition::Constructor[\hbox B... <= Core::Stomach[@0x3306218] <= Core::Definition::Primitive[\setbox N... <= Core::Stomach[@0x3306218] <= Core::Definition::Constructor[\begin{... <= Core::Stomach[@0x3306218]
1 fatal error

NOTE: I'm using latest LaTeXML (via latexml-daily PPA on Ubuntu).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions