You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I just include code if it is more than a snipped with pycode or octavecode but this is quite messy.
First of all my code checker constantly complains and secondly, i frequently want to skip all that code when reading the document.
There are other packages with a similar problem, listing for example.
They offer two ways to include code: one verbatim and the other one via file.
I would like to suggest to offer this also in pythontex.
So at the end besides pyc for inline code, the environment pycode for bigger code snippets
and finally pycodefile or something for including python files by path.
That way, one could use those files not only in the document but to run it directly.
Or take it the other way round, one could access real productive code within a latex document.
Keep me informed.
The text was updated successfully, but these errors were encountered:
Currently, I just include code if it is more than a snipped with
pycode
oroctavecode
but this is quite messy.First of all my code checker constantly complains and secondly, i frequently want to skip all that code when reading the document.
There are other packages with a similar problem, listing for example.
They offer two ways to include code: one verbatim and the other one via file.
I would like to suggest to offer this also in
pythontex
.So at the end besides
pyc
for inline code, the environmentpycode
for bigger code snippetsand finally
pycodefile
or something for including python files by path.That way, one could use those files not only in the document but to run it directly.
Or take it the other way round, one could access real productive code within a latex document.
Keep me informed.
The text was updated successfully, but these errors were encountered: