schlaicha / jupyter-publication-scripts

Useful scripts for Making publication ready Python Notebooks
BSD 2-Clause "Simplified" License
18 stars 8 forks source link

Let cite2c preprocessor also create bibliography in html export #6

Closed jcfschulz closed 8 years ago

jcfschulz commented 8 years ago

What is the correct way to get output format of nbconvert?

schlaicha commented 8 years ago

Sorry, I don't think I get your question completely. You don't talk about the nbcnvert --to html feature I guess... So are you interested in raw nbconvert?

jcfschulz commented 8 years ago

The way to distinguish the output type is using the resources["output_extension"] item, it is .tex for latex and pdf and .html for html export.

jcfschulz commented 8 years ago

fixed in e42a576 We now have citeproc and unicode_tex as dependencies. @schlaicha maybe you can modify the installer accordingly

schlaicha commented 8 years ago

dependencies added in 2356050