Answer by user4686 for \input{} as argument for \inputgraphic{}
[moved from a comment]Just to provide additional context to already given answers: You can not, in general, hope to pass to some LaTeX command expecting something like a filename, a macro as argument;...
View ArticleAnswer by egreg for \input{} as argument for \inputgraphic{}
If the file shellout.tex just contains one line with the file name of the generated file, then\usepackage{catchfile}\newcommand{\includeplot}[2][]{% \immediate\write18{python pytexplot.py #2}%...
View ArticleAnswer by wipet for \input{} as argument for \inputgraphic{}
When you've got a shell command which creates plot1 in shellout.tex file, then you can simply modify this shell command in order it creates\includegraphics{plot1}instead simple plot1 in the...
View Article\input{} as argument for \inputgraphic{}
I got a question very similar to this post (\includegraphics{\input{|shell command}}) which unfortunately hasn't been really answered.The aim is to make a command that invokes a python script to make a...
View Article
More Pages to Explore .....