Skip to content

Feature request: include code files.  #199

@Reissner

Description

@Reissner

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.

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