##// END OF EJS Templates
fix stream output created by raw_input...
fix stream output created by raw_input was using incorrect 'name', when it should have been 'stream', creating invalid content in notebook documents.

File last commit:

r15672:8a560994
r17062:d9126cc7
Show More
style_python.tplx
21 lines | 630 B | text/plain | TextLexer
((= Python input/output style =))
((*- extends 'base.tplx' -*))
% Custom definitions
((* block definitions *))
((( super() )))
% Pygments definitions
((( resources.latex.pygments_definitions )))
((* endblock definitions *))
%===============================================================================
% Input
%===============================================================================
((* block input scoped *))
\begin{Verbatim}[commandchars=\\\{\}]
((( cell.input | highlight2latex(language=resources.get('language'), strip_verbatim=True) | add_prompts )))
\end{Verbatim}
((* endblock input *))