##// END OF EJS Templates
Proof of concept
Jonathan Frederic -
Show More
@@ -0,0 +1,5 b''
1 ((= Complex input/output style =))
2
3 ((*- extends 'latex_base.tplx' -*))
4
5 ((*- block input_group scoped -*))+++prompt+++((*- endblock input_group -*))
@@ -0,0 +1,5 b''
1 ((*- if not cell_style is defined -*))
2 ((*- set cell_style = 'complex_style.tplx' -*))
3 ((*- endif -*))
4
5 ((*- extends 'latex_article.tplx' -*))
@@ -0,0 +1,7 b''
1 ((= Complex input/output style =))
2
3 ((*- if not cell_style is defined -*))
4 ((*- set cell_style = 'simple_style.tplx' -*))
5 ((*- endif -*))
6
7 ((*- extends cell_style -*))
@@ -78,14 +78,6 b' This template does not define a docclass, the inheriting class must define this.'
78 78 % Support blocks
79 79 %===============================================================================
80 80
81 % Default output style -code cell style %Use filters ot do cell latex formating
82 ((* block header scoped *))
83 ((( super() )))
84 ((* block output_style scoped *))
85 ((* include 'simple_style.tplx' with context *))
86 ((* endblock output_style *))
87 ((* endblock header *))
88
89 81 % Displaying simple data text
90 82 ((* block data_text *))
91 83 \begin{verbatim}
@@ -1,4 +1,5 b''
1 1 ((= Simple input/output style =))
2 2
3 !!!outputstyle!!!
4 ((*- block in_prompt scoped -*))!!!prompt!!!((*- endblock in_prompt -*))
3 ((*- extends 'latex_base.tplx' -*))
4
5 ((*- block input_group scoped -*))!!!prompt!!!((*- endblock input_group -*))
General Comments 0
You need to be logged in to leave comments. Login now