I am getting the error:

TeX capacity exceeded, sorry [parameter stack size = 120].

Full MWE::



\begin{figure}[!h] \label{diagram}

    \coordinate (A1)        at (-1, -1);
    \coordinate (A2)        at ( 1, 1) ;
    \coordinate (Acon)      at (0.5,0) ;
    \coordinate (B1)        at (1, -1) ;
    \coordinate (B2)        at (-1, 1) ;
    \coordinate (Bcon)      at (0, 0.5);

    \draw[name path = lineA] (A1)..controls(Acon)..(A2) node[above]{$A$};
    \draw[name path = lineB] (B1) -- (B2) node[above]{$B$};

    \fill[black, name intersections = {of = lineA and lineB}] (intersection-1) circle (2pt) node[above right]{$f(p)$};

    \end{tikzpicture} \caption{$\phi(A)$ and $\phi(B)$ in $\mathbb{C}$}


If I change lineA to be

\draw[name path = lineA] (A1) -- (A2) node[above]{$A$};

everything works.

FYI: I’m using TeXPad on iPad.

closed as off-topic by Stefan Pinnow, Troy, Andrew Swann, user36296, dexteritas Jun 10 '18 at 20:16

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to TeX.SX! Please don't post code fragments. Instead, put your fragments into a complete compilable document that shows the problem. – Stefan Pinnow May 30 '18 at 8:20
  • Nonetheless I would guess this is because TeX/TikZ doesn't know what (Acon) is? – Stefan Pinnow May 30 '18 at 8:21
  • @StefanPinnow sadly thats not the issue. – Niclas May 30 '18 at 8:26
  • Thanks for updating the code. For me this works perfectly fine using TikZ v3.0.1a both, using PDFLaTeX and using LuaLaTeX ... – Stefan Pinnow May 30 '18 at 8:34
  • 2
    I'm voting to close this question because it is most likely that the question is solved by updating PGFPlots to the most recent version (v1.16). – Stefan Pinnow Jun 10 '18 at 19:19