put examples into separate files #24
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Would it be possible to put the example code as .py files into a subfolder of this repos, and then include them automatically from the
*.tex
?That would make it a lot easier to test e.g. to make sure that the examples are still up-to-date.
Should be easier to do for the standalone or straight-forawrd examples.
Might need some refactoring for more complicated ones, like Urukul RAM mode & SU-Servo. I purposefully omitted & reformat the codes to make it less verbose and easier to follow.
A build script could perhaps extract the relevant part for inclusion? It could be delimited with a special comment syntax in Python.
9488a03a
for DIO datasheets.8404fed3
for Urukul,48eb5a5a
for Zotino.I just ended up using
\inputminted
and specify the lines to include. It seems like the easiest way.