Add latex button to dropdown

michaelpacer 9 years ago
parent 2b2d32158e
commit 9b771de18d

@ -204,6 +204,10 @@ define([
this.element.find('#download_pdf').click(function () {
that._nbconvert('pdf', true);
});
this.element.find('#download_latex').click(function () {
that._nbconvert('latex', true);
});
this.element.find('#download_script').click(function () {
that._nbconvert('script', true);

@ -109,6 +109,7 @@ data-notebook-path="{{notebook_path | urlencode}}"
<li id="download_html"><a href="#">HTML (.html)</a></li>
<li id="download_markdown"><a href="#">Markdown (.md)</a></li>
<li id="download_rst"><a href="#">reST (.rst)</a></li>
<li id="download_latex"><a href="#">LaTeX (.tex)</a></li>
<li id="download_pdf"><a href="#">PDF via LaTeX (.pdf)</a></li>
</ul>
</li>

Loading…
Cancel
Save