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

VerbatimInput for file includes? #63

Merged
merged 1 commit into from
Jan 7, 2016
Merged

VerbatimInput for file includes? #63

merged 1 commit into from
Jan 7, 2016

Conversation

eah13
Copy link
Collaborator

@eah13 eah13 commented Jan 6, 2016

In the spirit of DRY, wondering if you'd consider VerbatimInput for including .py files?

Here's what I get when I compile this quick example with book.sh:
screenshot 2016-01-06 at 7 57 29 am

Besides avoiding the possibility of code files that differ from what's written in the book, this will make adding interactivity easier in the future :)

Downside: It makes the tex source less readable

@csev
Copy link
Owner

csev commented Jan 7, 2016

I added a way for this to work for epub and HTML

csev/pythonlearn@a6e659d

Time to merge. And I will remove the duplicate bit in my next commit.

csev added a commit that referenced this pull request Jan 7, 2016
VerbatimInput for file includes?
@csev csev merged commit 58fec6c into csev:master Jan 7, 2016
@eah13 eah13 mentioned this pull request Jan 7, 2016
15 tasks
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

Successfully merging this pull request may close these issues.

None yet

2 participants