-
Notifications
You must be signed in to change notification settings - Fork 61
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
Merge guide and notebook #139
Comments
thanks @ChristopherBrix, we talked about this other years. There is a lot of text in the guide and that can make using the notebook a bit cumbersome. Having said that, code duplication and the consequent inconsistencies are a problem each year. @kepler and I have been talking about at least generating the exercises automatically both for the guide and the notebooks. |
But editing a large notebook wouldn't be much more complicated than editing the correct LaTeX files, right? Only reading it might be less convenient. So maybe we could use a combination of tags (introduced in Jupyter 5) and nbconvert? |
@ramon-astudillo Any thoughts on that? If you think it is worth a shot, I can try to implement it. I wanted to learn about git hooks anyway. |
I think the guide serves various purposes and it is unclear how to disentangle them. At least we know that automatic workflows to maintain synchronicity between notebooks and guide are very much needed. We also need more stuff like synchronicity between master and student branches. The one you propose replaces native latex compilation by latex compilation within a notebook, are you sure we get the same quality?. @kepler and I discussed using place-markers (e.g. another option is total separation of exercises and guide, leaving the guide more as a collection of tutorials on the formal principles with exercise place markers. |
I propose to merge the guide into the notebooks. Jupyter is able to render LaTeX and markdown, so we should not loose anything by doing so. And this way, we have one official version of code + explanations, without the risk of duplicating anything and differences between both versions.
For people that prefer to read a PDF, we can always convert the notebooks into a joint pdf afterwards (in the best case, this should be done automatically on every commit).
The text was updated successfully, but these errors were encountered: