Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: include code files. #199

Open
Reissner opened this issue Jun 26, 2022 · 0 comments
Open

Feature request: include code files. #199

Reissner opened this issue Jun 26, 2022 · 0 comments

Comments

@Reissner
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant