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

IPython notebooks #4

Open
brettimus opened this issue Jan 15, 2016 · 7 comments
Open

IPython notebooks #4

brettimus opened this issue Jan 15, 2016 · 7 comments

Comments

@brettimus
Copy link

Any interest in this format? I'm working on a project that's heavily tied to ipynb. Wondering if any current students (or alums) have had exposure to IPython / Jupyter through their work.

@ismayc
Copy link
Owner

ismayc commented Jan 15, 2016

I have lots of interest in Jupyter notebooks. I haven't done much work with them though. Do they have the ability to have a template file sit in the background to match the output with? That's one reason I really like the customizability of RMarkdown with LaTeX sitting in the background, but if that also exists there I'd love to try to implement it!

@brettimus
Copy link
Author

I'm not really familiar with what it means to have a template file sitting in the background to match with output (haven't used rmd + latex together). I do know that IPython can use mathjax, but I'm assuming that's a notch below what you're talking bout.

Wanna link me to some stuff to help me understand?? 😁

@ismayc
Copy link
Owner

ismayc commented Jan 17, 2016

Here is the resource I used to learn how to make templates.  They have examples from a variety of different journals:  
http://rmarkdown.rstudio.com/developer_document_templates.html .

I think you will get an idea of what I mean by the template feature after seeing this.  Feel free to let me know if you'd like a different example or more details.  I'm happy to help and hopefully we can figure out a way to integrate Python in a way such as this.

@brettimus
Copy link
Author

Awesome! I was just scanning through the source code too and got a basic feel for what was happening (https://github.com/ismayc/reedtemplates/blob/master/R/reed_thesis.R#L5)

Thanks @ismayc!

@ismayc
Copy link
Owner

ismayc commented Jan 17, 2016

No problem! The template.tex file referred to in the function call you referred to also calls the LaTeX reedthesis class file that folks use to make their thesis if they are using the LaTeX template.

If you see $text$ in the LaTeX code, that is where values are passed from the YAML header into LaTeX.

@brettimus
Copy link
Author

Yeah this is such a nifty feature! I have to imagine the juptyer folks have made something analogous

@ismayc
Copy link
Owner

ismayc commented Jan 17, 2016

I haven't looked into the links here yet, but you might find something of value: https://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks#reproducible-academic-publications

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

2 participants