Skip to content

Feature request: when cache option is set and files are missing for \inln, run code #16

@kiryph

Description

@kiryph

same as #9 which has lead to the addition of this functionality for \runExtCode in commit:

bf864d3 [...] force RunExtCode to run if output does not exist

But I miss it as well for \inln.

MWE:

\documentclass{article}

\usepackage[cache]{runcode}

\begin{document}

\begin{equation}
  \inln{/usr/local/bin/gap -A -b --nointeract -c 'LoadPackage("typeset");'}{x := [ [ 0, 0, 0, 1 ], [ 0, 0, 1, 0 ], [ 0, 1, 0, 0 ], [ 1, 0, 0, 0 ] ];; Typeset(x);}
\end{equation}

\end{document}

With the option [cache] and no cache files, you will get errors for empty lines in equation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions