Menu

#513 positioning library is not supporting /tikz/name prefix

TeX Live 2019
closed-fixed
nobody
None
5
2019-12-01
2019-02-13
jcb
No

Hello,

The MWE given below does not compile with the following message:

! Package pgf Error: No shape named a is known.
See the pgf package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
l.12   \node (b) [below of=a,yshift=0.2cm] {B};
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
  \begin{scope}[name prefix=local-]
    \node (a) {A};
  \node (b) [below of=a,yshift=0.2cm] {B};
    %\node (b) [below=3mm] at (a) {B};
  \end{scope}
\end{tikzpicture}
\end{document}

We are using the following versions:

 tikz.sty    2019/02/02 v3.1.1 (3.1.1)
 pgf.sty    2019/02/02 v3.1.1 (3.1.1)

Thank you for your work.

Discussion

  • Henri Menke

    Henri Menke - 2019-02-13

    name prefix is sort of broken anyway, see https://sourceforge.net/p/pgf/bugs/312/

     
  • Stefan Pinnow

    Stefan Pinnow - 2019-12-01
    • status: open --> closed-fixed
     
  • Stefan Pinnow

    Stefan Pinnow - 2019-12-01
     
MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →