-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: raise an error if \path
is used in \pgfextra
without \pgfinterruptpath
#1328
Comments
Or, in a more general way, execute pgf/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex Lines 2558 to 2566 in 12f1783
Related to |
Hmm, No. The suggested way would disable (at least make it harder) use of \pgfextra{\pgfinterruptpath \path ...; \endpgfinterruptpath} |
This would break existing documents, therefore unfortunately rejected. |
I think a document that issues Adding Tikz node in pgfextra triggers double drawing of containing path - TeX - LaTeX Stack Exchange (not exactly the same issue but related) That said, we can just make it a warning. I see no harm (cf. |
As in the title.
Disadvantage is that it will incur an additional check i.e. runtime penalty. Advantage is that it will prevent inadvertent errors in the code which can save user/developer's time.
The text was updated successfully, but these errors were encountered: