Skip to content

Running gnuplot from pgfplots #15

@pol5xc

Description

@pol5xc

I understand that this issue might have more to do with how flatpak works as a whole than with this package but when I try to compile a document like this

\documentclass{paper}
\usepackage{pgfplots}

\begin{document}
\begin{tikzpicture}
  \begin{axis}
    \addplot gnuplot {x};
  \end{axis}
\end{tikzpicture}
\end{document}

on Fedora 37 I get these relevant error lines from the log

runsystem(gnuplot parameterized-plots.pgf-plot.gnuplot)...executed.

! Package pgfplots Error: Sorry, the gnuplot-result file 'parameterized-plots.p
gf-plot.table' could not be found. Maybe you need to enable the shell-escape fe
ature? For pdflatex, this is '>> pdflatex -shell-escape'.

and no pdf. This issue doesn't occur on my laptop where I'm using the AUR version from archlinux.

Is there a solution that doesn't involve relying on the distribution packages?
I also enabled any possible permission on flatseal.
test.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions