|
|
|
|
@ -1,9 +1,5 @@
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
|
// Copyright (C) 2008-2011 The IPython Development Team
|
|
|
|
|
//
|
|
|
|
|
// Distributed under the terms of the BSD License. The full license is in
|
|
|
|
|
// the file COPYING, distributed as part of this software.
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
|
// Copyright (c) IPython Development Team.
|
|
|
|
|
// Distributed under the terms of the Modified BSD License.
|
|
|
|
|
|
|
|
|
|
//============================================================================
|
|
|
|
|
// MenuBar
|
|
|
|
|
@ -125,6 +121,10 @@ var IPython = (function (IPython) {
|
|
|
|
|
that._nbconvert('rst', true);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
this.element.find('#download_pdf').click(function () {
|
|
|
|
|
that._nbconvert('pdf', true);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
this.element.find('#rename_notebook').click(function () {
|
|
|
|
|
IPython.save_widget.rename_notebook();
|
|
|
|
|
});
|
|
|
|
|
|