##// END OF EJS Templates
Systematic test of ipynb -> * conversion...
Matthias BUSSONNIER -
Show More

The requested changes are too big and content was truncated. Show full diff

1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
@@ -29,6 +29,7 b' class ConverterLaTeX(Converter):'
29
29
30 (or set the equivalent flag at startup or in your configuration profile).
30 (or set the equivalent flag at startup or in your configuration profile).
31 """
31 """
32 inkscape = inkscape
32 extension = 'tex'
33 extension = 'tex'
33 documentclass = 'article'
34 documentclass = 'article'
34 documentclass_options = '11pt,english'
35 documentclass_options = '11pt,english'
@@ -129,7 +130,7 b' class ConverterLaTeX(Converter):'
129 def _svg_lines(self, img_file):
130 def _svg_lines(self, img_file):
130 base_file = os.path.splitext(img_file)[0]
131 base_file = os.path.splitext(img_file)[0]
131 pdf_file = base_file + '.pdf'
132 pdf_file = base_file + '.pdf'
132 subprocess.check_call([ inkscape, '--export-pdf=%s' % pdf_file,
133 subprocess.check_call([ self.inkscape, '--export-pdf=%s' % pdf_file,
133 img_file])
134 img_file])
134 return self._img_lines(pdf_file)
135 return self._img_lines(pdf_file)
135
136
General Comments 0
You need to be logged in to leave comments. Login now