##// END OF EJS Templates
s/pygment/pygments
Jonathan Frederic -
Show More
@@ -46,7 +46,7 b' class LatexPreprocessor(Preprocessor):'
46 """
46 """
47 # Generate Pygments definitions for Latex
47 # Generate Pygments definitions for Latex
48 resources["latex"] = {}
48 resources["latex"] = {}
49 resources["latex"]["pygment_definitions"] = LatexFormatter().get_style_defs()
49 resources["latex"]["pygments_definitions"] = LatexFormatter().get_style_defs()
50 return super(LatexPreprocessor, self).preprocess(nb, resources)
50 return super(LatexPreprocessor, self).preprocess(nb, resources)
51
51
52
52
@@ -7,7 +7,7 b''
7 ((( super() )))
7 ((( super() )))
8
8
9 % Pygments definitions
9 % Pygments definitions
10 ((( resources.latex.pygment_definitions )))
10 ((( resources.latex.pygments_definitions )))
11
11
12 % Exact colors from NB
12 % Exact colors from NB
13 \definecolor{incolor}{rgb}{0.0, 0.0, 0.5}
13 \definecolor{incolor}{rgb}{0.0, 0.0, 0.5}
@@ -17,7 +17,7 b''
17 ((( super() )))
17 ((( super() )))
18
18
19 % Pygments definitions
19 % Pygments definitions
20 ((( resources.latex.pygment_definitions )))
20 ((( resources.latex.pygments_definitions )))
21
21
22 % NB prompt colors
22 % NB prompt colors
23 \definecolor{nbframe-border}{rgb}{0.867,0.867,0.867}
23 \definecolor{nbframe-border}{rgb}{0.867,0.867,0.867}
@@ -7,7 +7,7 b''
7 ((( super() )))
7 ((( super() )))
8
8
9 % Pygments definitions
9 % Pygments definitions
10 ((( resources.latex.pygment_definitions )))
10 ((( resources.latex.pygments_definitions )))
11 ((* endblock definitions *))
11 ((* endblock definitions *))
12
12
13 %===============================================================================
13 %===============================================================================
@@ -14,7 +14,7 b''
14 ((( super() )))
14 ((( super() )))
15
15
16 % Pygments definitions
16 % Pygments definitions
17 ((( resources.latex.pygment_definitions )))
17 ((( resources.latex.pygments_definitions )))
18
18
19 \newlength{\promptspace}
19 \newlength{\promptspace}
20 \setlength{\promptspace}{4\baselineskip} % Space needed to start a new
20 \setlength{\promptspace}{4\baselineskip} % Space needed to start a new
General Comments 0
You need to be logged in to leave comments. Login now