diff --git a/notebook/static/notebook/js/menubar.js b/notebook/static/notebook/js/menubar.js index a6ab705f2..a49e7795c 100644 --- a/notebook/static/notebook/js/menubar.js +++ b/notebook/static/notebook/js/menubar.js @@ -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); diff --git a/notebook/templates/notebook.html b/notebook/templates/notebook.html index e23554bf2..53e5ebbb4 100644 --- a/notebook/templates/notebook.html +++ b/notebook/templates/notebook.html @@ -109,6 +109,7 @@ data-notebook-path="{{notebook_path | urlencode}}"