##// END OF EJS Templates
regenerate tex templates
Matthias BUSSONNIER -
Show More
@@ -6,11 +6,11 b' IF YOU ARE COPY AND PASTING THIS FILE'
6 YOU ARE PROBABLY DOING THINGS WRONG.
6 YOU ARE PROBABLY DOING THINGS WRONG.
7
7
8 Null template, Does nothing except defining a basic structure
8 Null template, Does nothing except defining a basic structure
9 To layout the diferents blocks of a notebook.
9 To layout the different blocks of a notebook.
10
10
11 Subtemplates can Override Blocks to define their custom reresentation.
11 Subtemplates can override blocks to define their custom representation.
12
12
13 If one of the block you do overrite is not a leave block, consider
13 If one of the block you do overwrite is not a leave block, consider
14 calling super.
14 calling super.
15
15
16 ((*- block nonLeaveBlock -*))
16 ((*- block nonLeaveBlock -*))
@@ -19,7 +19,7 b' calling super.'
19 #add stuff at end
19 #add stuff at end
20 ((*- endblock nonLeaveBlock -*))
20 ((*- endblock nonLeaveBlock -*))
21
21
22 consider calling super even if block is leave block, we might insert more block later.
22 consider calling super even if it is a leave block, we might insert more blocks later.
23
23
24 =))
24 =))
25 ((*- block header -*))
25 ((*- block header -*))
@@ -37,8 +37,9 b' consider calling super even if block is leave block, we might insert more block '
37 ((*- if cell.outputs -*))
37 ((*- if cell.outputs -*))
38 ((*- block output_group -*))
38 ((*- block output_group -*))
39 ((*- block output_prompt -*))((*- endblock output_prompt -*))
39 ((*- block output_prompt -*))((*- endblock output_prompt -*))
40 ((*- block outputs -*))
40 ((*- block outputs scoped -*))
41 ((*- for output in cell.outputs -*))
41 ((*- for output in cell.outputs -*))
42 ((*- block output scoped -*))
42 ((*- if output.output_type in ['pyout'] -*))
43 ((*- if output.output_type in ['pyout'] -*))
43 ((*- block pyout scoped -*))((*- endblock pyout -*))
44 ((*- block pyout scoped -*))((*- endblock pyout -*))
44 ((*- elif output.output_type in ['stream'] -*))
45 ((*- elif output.output_type in ['stream'] -*))
@@ -63,6 +64,7 b' consider calling super even if block is leave block, we might insert more block '
63 ((*- endfor -*))
64 ((*- endfor -*))
64 ((*- endblock pyerr -*))
65 ((*- endblock pyerr -*))
65 ((*- endif -*))
66 ((*- endif -*))
67 ((*- endblock output -*))
66 ((*- endfor -*))
68 ((*- endfor -*))
67 ((*- endblock outputs -*))
69 ((*- endblock outputs -*))
68 ((*- endblock output_group -*))
70 ((*- endblock output_group -*))
General Comments 0
You need to be logged in to leave comments. Login now