Skip to content
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

Externalization of tikz-feynman environment inside math environment spawns multiple figure files #67

Open
Turgon-Aran-Gondolin opened this issue Oct 24, 2019 · 1 comment

Comments

@Turgon-Aran-Gondolin
Copy link

Turgon-Aran-Gondolin commented Oct 24, 2019

I was using the following code to externalize the tikz-feynman diagrams

\usetikzlibrary{external}
\tikzexternalize[shell escape=-enable-write18,prefix=./,system call={lualatex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -jobname "\image" "\texsource"},up to date check=diff]

When the diagrams are in figure environment everything works fine. But those in align environment were generated twice. So my working dir is now filled with duplicated feynman diagrams. Is there any way to resolve this?

@JP-Ellis
Copy link
Owner

This is very odd, though I doubt it's an issue with TikZ-Feynman and probably is an issue upstream in TikZ itself. Consider raising this issue with pgf-tikz/pgf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants