PGFPlotsX debugging: where is the tex file?

I’m trying to debug this error:

Package pgfkeys Error: Choice ‘outer north west’ unknown in choice key ‘/pgfp
lots/legend pos’. I am going to ignore this key.

I’m not able to find the temporary file with the tex code.
I guess the package removes it when it fails.
Is that configurable?

I am not an expert but from a quick look at the code it does not look like it is possible, although it would be a nice feature.

The workaround is to comment out the line PGFPlotsX.jl/src/tikzdocument.jl at c46316a588c9882d5996e71535bf691cce523cc7 · KristofferC/PGFPlotsX.jl · GitHub and add a println(tmp_tex) to know where the temporary file is stored.

1 Like