##// END OF EJS Templates
ensure filenames have posix-paths in latex on Windows
MinRK -
Show More
@@ -49,28 +49,28 b' it introduces a new line'
49
49
50 ((*- block data_png -*))
50 ((*- block data_png -*))
51 \begin{center}
51 \begin{center}
52 \includegraphics[max size={0.7\textwidth}{0.9\textheight}]{((( output.png_filename )))}
52 \includegraphics[max size={0.7\textwidth}{0.9\textheight}]{((( output.png_filename | posix_path )))}
53 \par
53 \par
54 \end{center}
54 \end{center}
55 ((*- endblock -*))
55 ((*- endblock -*))
56
56
57 ((*- block data_jpg -*))
57 ((*- block data_jpg -*))
58 \begin{center}
58 \begin{center}
59 \includegraphics[max size={0.7\textwidth}{0.9\textheight}]{((( output.jpeg_filename )))}
59 \includegraphics[max size={0.7\textwidth}{0.9\textheight}]{((( output.jpeg_filename | posix_path )))}
60 \par
60 \par
61 \end{center}
61 \end{center}
62 ((*- endblock -*))
62 ((*- endblock -*))
63
63
64 ((*- block data_svg -*))
64 ((*- block data_svg -*))
65 \begin{center}
65 \begin{center}
66 \includegraphics[width=0.7\textwidth]{((( output.svg_filename )))}
66 \includegraphics[width=0.7\textwidth]{((( output.svg_filename | posix_path )))}
67 \par
67 \par
68 \end{center}
68 \end{center}
69 ((*- endblock -*))
69 ((*- endblock -*))
70
70
71 ((*- block data_pdf -*))
71 ((*- block data_pdf -*))
72 \begin{center}
72 \begin{center}
73 \includegraphics[width=0.7\textwidth]{((( output.pdf_filename )))}
73 \includegraphics[width=0.7\textwidth]{((( output.pdf_filename | posix_path )))}
74 \par
74 \par
75 \end{center}
75 \end{center}
76 ((*- endblock -*))
76 ((*- endblock -*))
@@ -46,7 +46,7 b' Note: For best display, use latex syntax highlighting. =))'
46 \def\sphinxdocclass{(((parentdocumentclass)))}
46 \def\sphinxdocclass{(((parentdocumentclass)))}
47
47
48 % Declare the document class
48 % Declare the document class
49 \documentclass[letterpaper,10pt,english]{((( resources.sphinx.texinputs )))/sphinx(((documentclass)))}
49 \documentclass[letterpaper,10pt,english]{((( resources.sphinx.texinputs | posix_path )))/sphinx(((documentclass)))}
50
50
51 % Imports
51 % Imports
52 \usepackage[utf8]{inputenc}
52 \usepackage[utf8]{inputenc}
@@ -55,9 +55,9 b' Note: For best display, use latex syntax highlighting. =))'
55 \usepackage{babel}
55 \usepackage{babel}
56 \usepackage{times}
56 \usepackage{times}
57 \usepackage{import}
57 \usepackage{import}
58 \usepackage[((( resources.sphinx.chapterstyle )))]{((( resources.sphinx.texinputs )))/fncychap}
58 \usepackage[((( resources.sphinx.chapterstyle )))]{((( resources.sphinx.texinputs | posix_path )))/fncychap}
59 \usepackage{longtable}
59 \usepackage{longtable}
60 \usepackage{((( resources.sphinx.texinputs )))/sphinx}
60 \usepackage{((( resources.sphinx.texinputs | posix_path )))/sphinx}
61 \usepackage{multirow}
61 \usepackage{multirow}
62
62
63 \usepackage{amsmath}
63 \usepackage{amsmath}
@@ -352,19 +352,19 b' Note: For best display, use latex syntax highlighting. =))'
352 % Supported image formats
352 % Supported image formats
353 %==============================================================================
353 %==============================================================================
354 ((*- block data_png -*))
354 ((*- block data_png -*))
355 ((( conditionally_center_output(insert_graphics(output.png_filename)) )))
355 ((( conditionally_center_output(insert_graphics(output.png_filename | posix_path)) )))
356 ((*- endblock -*))
356 ((*- endblock -*))
357
357
358 ((*- block data_jpg -*))
358 ((*- block data_jpg -*))
359 ((( conditionally_center_output(insert_graphics(output.jpg_filename)) )))
359 ((( conditionally_center_output(insert_graphics(output.jpg_filename | posix_path)) )))
360 ((*- endblock -*))
360 ((*- endblock -*))
361
361
362 ((*- block data_svg -*))
362 ((*- block data_svg -*))
363 ((( conditionally_center_output(insert_graphics(output.svg_filename)) )))
363 ((( conditionally_center_output(insert_graphics(output.svg_filename | posix_path)) )))
364 ((*- endblock -*))
364 ((*- endblock -*))
365
365
366 ((*- block data_pdf -*))
366 ((*- block data_pdf -*))
367 ((( conditionally_center_output(insert_graphics(output.pdf_filename)) )))
367 ((( conditionally_center_output(insert_graphics(output.pdf_filename | posix_path)) )))
368 ((*- endblock -*))
368 ((*- endblock -*))
369
369
370 ((*- block data_latex *))
370 ((*- block data_latex *))
General Comments 0
You need to be logged in to leave comments. Login now