Commit Graph

2380 Commits

Author SHA1 Message Date
MinRK
984cc1315d fix a few markup issues and inaccuracies 2013-07-29 10:34:16 -07:00
MinRK
b045fa70c9 txt/rst in notebook docs 2013-07-29 10:18:09 -07:00
David P. Sanders
152e515424 Initial refactoring of htmlnotebook.txt into 3 parts.
Renamed htmlnotebook.txt to notebook.txt. 79-char width hard wrapping imposed. Rearrangment of order and level within notebook.txt. Almost no text modified.
2013-07-29 10:16:10 -07:00
Matthias BUSSONNIER
8b71a49fc2 remove again a few other occurences 2013-07-29 00:31:54 +02:00
Jonathan Frederic
f782beb830 Merge pull request #3784 from jdfreder/export_flavors
nbconvert: Export flavors & PDF writer (ipy dev meeting)
2013-07-27 08:38:42 -07:00
Jonathan Frederic
de691a5ba2 Part way through adding 'flavor' support 2013-07-26 15:46:23 -07:00
Jonathan Frederic
181b8709b3 Merge pull request #3770 from damianavila/group_reveal
Organizing reveal's templates.
2013-07-26 15:44:55 -07:00
Matthias Bussonnier
433761dac3 Merge pull request #3782 from minrk/import-nb-example
add Importing Notebooks example
2013-07-26 10:38:16 -07:00
MinRK
9c94c96bec remove informal notes from importing example 2013-07-26 09:41:41 -07:00
Matthias Bussonnier
e2538556b7 Merge pull request #3793 from jhamrick/master
Disable autotooltip if no docstring 

This will disable the tooltip if there's no docstring, after ( is typed. Pressing tab to request the tooltip will still bring it up. This hasn't been tested against the Julia kernel, however.

Closes #3788
2013-07-26 08:16:28 -07:00
Jessica B. Hamrick
9973445f9a Closes #3788 2013-07-25 18:40:25 -07:00
Matthias Bussonnier
11cffbe52e Merge pull request #3781 from minrk/oinfo_request
comply with the message spec in the notebook
2013-07-25 17:48:32 -07:00
MinRK
1c7002cd64 add Importing Notebooks example 2013-07-25 13:52:57 -07:00
MinRK
d3540da8f5 add missing block key in complete_request 2013-07-25 13:19:07 -07:00
MinRK
defd49a8b9 comply with the message spec in object_info requests
missing detail_level key
2013-07-25 13:11:07 -07:00
Matthias Bussonnier
5de1fc038f Merge pull request #3779 from minrk/new
remove bad `if logged_in` preventing new-notebook without login

Min's mistake :-)
2013-07-25 12:08:24 -07:00
MinRK
03883d82e4 remove bad if logged_in preventing new-notebook without login 2013-07-25 12:07:40 -07:00
Matthias Bussonnier
e07ddebdf6 Merge pull request #3743 from minrk/noro
remove notebook read-only view

it is largely broken, and had problematic security issues.
2013-07-25 10:51:26 -07:00
Matthias Bussonnier
b78f0851a3 Merge pull request #3732 from minrk/slow-save-on-close
add delay to autosave in beforeunload

allows forceful 'discard changes' by reloading the page and dismissing the warning.
The timer doesn't start until after the dialog is dismissed, so if you decide to nav away without saving changes, the changes will actually not be saved.
2013-07-25 10:50:39 -07:00
damianavila
309649e469 Fixed path in setupbase, again... 2013-07-25 08:09:05 -03:00
damianavila
839cd00e50 Fixed typo in reveal/*.tpl path in setupbase. 2013-07-25 08:01:44 -03:00
damianavila
61cc245423 Add reveal/*.tpl path to setupbase. 2013-07-25 07:58:26 -03:00
Matthias Bussonnier
68cf7df38a Merge pull request #3741 from minrk/badnbmsg
better message when notebook format is not supported

different messages for bad version and bad JSON.

closes #1592
2013-07-25 00:11:39 -07:00
Min RK
4013b972a8 Merge pull request #3766 from StefanKarpinski/master
handle missing metadata in pyout messages more gracefully.
2013-07-24 21:38:16 -07:00
Stefan Karpinski
f0cb45536c handle empty metadata in pyout messages more gracefully. 2013-07-24 21:03:57 -07:00
MinRK
f9dd129e1c remove notebook read-only view
it is largely broken, and had problematic security issues.
2013-07-23 13:22:05 -07:00
MinRK
2a09958bb6 better message when notebook format is not supported
Different messages for bad version and bad JSON.

closes #1592
2013-07-23 12:36:22 -07:00
MinRK
6970a79e6a add delay to autosave in beforeunload
allows forceful 'discard changes' by reloading the page and dismissing the warning,
which @fperez really wanted today.
2013-07-22 18:07:12 -07:00
Min RK
6fd10471e1 Merge pull request #3716 from minrk/debugagain
raw_input fixes for kernel restarts

- fixes multiple event-registration causing duplicate messages
  after kernel restart.
- removes any raw_inputs hanging around that might have been left by kernel restarts.

closes #3710
2013-07-21 11:55:07 -07:00
MinRK
6fbbd1dea3 remove any lingering raw_inputs on raw_input
There should never be more than one,
so ensure that is the case on creation.

closes #3710
2013-07-21 10:53:54 -07:00
MinRK
cea07fb351 bind kernel events in Kernel.bind_events
avoids multiple-register of send_input event
2013-07-21 10:40:09 -07:00
Min RK
754a649ed8 Merge pull request #3683 from minrk/matplotlib_magic
use `%matplotlib` in example notebooks

- removes any mention of `%pylab` in our examples
- adds `--matplotlib` command-line flag, mapping to the new
- adds `Populated namespace` message to %pylab output, at the request of @fperez.
- fix unicode bug in SVG, discovered during testing

closes #3680
closes #3684
2013-07-19 18:01:12 -07:00
Min RK
73771392aa Merge pull request #3685 from minrk/pager
fix Pager.detach

detaching the pager would result in the pager not working anymore.
2013-07-19 09:52:35 -07:00
Min RK
54193e98cb Merge pull request #3675 from minrk/deps
document new dependencies

adds `all` extras key, which combines everything

also discuss pandoc in install docs

closes #3542
2013-07-19 09:52:07 -07:00
Min RK
b7b9b8692f Merge pull request #3671 from jdfreder/new_tests
start nbconvert tests

fixes a few things along the way

closes #3688
2013-07-19 09:48:59 -07:00
Min RK
2eff332dce Merge pull request #3692 from rcl33/notebook-rename-dialog
Fix rename notebook - show error with invalid name
2013-07-19 09:26:22 -07:00
Rick Lupton
7b474e5ce6 Fix rename notebook - show error with invalid name
Before the dialog was closing anyway so you couldn't see the error message.
2013-07-19 10:59:14 +01:00
MinRK
0f5de6f4f8 fix Pager.detach
detaching the pager would result in the pager not working anymore.
2013-07-18 14:43:10 -07:00
Jonathan Frederic
6803663813 nbconvert no longer depends on markdown 2013-07-18 14:22:38 -07:00
MinRK
5c2bce3216 re-run example notebooks without %pylab
prefer `%matplotlib` and explicit imports
2013-07-18 13:25:33 -07:00
Min RK
a7cf16ce98 Merge pull request #3660 from minrk/focusclick
refocus active cell on dialog close

if there is one.

Otherwise the cursor is lost on kernel restart, etc. and the mouse must be used to get back to work.
2013-07-18 11:13:06 -07:00
Min RK
cf47bc329f Merge pull request #3598 from Carreau/statelessify-mjutil
Statelessify mathjaxutils

pass math as a variable, rather than instance attribute.

closes #3596
2013-07-18 09:52:25 -07:00
Matthias BUSSONNIER
38fc90a1b0 add mising semicolon 2013-07-18 18:48:27 +02:00
Matthias BUSSONNIER
42fb90acac patch header-cell and use-strict 2013-07-18 18:29:41 +02:00
Matthias BUSSONNIER
e166732257 linting and remove unused var 2013-07-18 18:24:25 +02:00
Matthias BUSSONNIER
7a452f10ca statelessify matjaxutils
stateless-ification of function that was using module level
variable to share data.

Now varaible are passed around, and usage of replace math
require user to pass a return value of remove_math around
2013-07-18 18:24:24 +02:00
Matthias Bussonnier
ba24f709cb Merge pull request #3673 from minrk/cm-comment
enable comment/uncomment selection in notebook

Bound to `(cmd|ctrl)-/`
2013-07-18 08:56:16 -07:00
Jonathan Frederic
211eb6fb4e Try including everything
(Trying to get config tests to pass)
2013-07-17 17:16:29 -07:00
Jonathan Frederic
2cf4fffb3b Copy ipynb example files need for nbconvert tests 2013-07-17 16:50:23 -07:00
Jonathan Frederic
7782f29910 Re-enable files directory exclusion. 2013-07-17 16:17:25 -07:00