summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-13 09:00:55 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-13 09:00:55 -0700
commitc5acaec3b5c0d0bac4ac23ae2cf72336140b7d96 (patch)
tree2554adaebd2db3764bc9f23feb3637fe9c125d75 /tests
parent5ae48b7eaf55de42f55d885673a394af7de89641 (diff)
LaTeX template: include grffile together with graphicx.
This properly handles filenames containing spaces and dots. Closes #2074.
Diffstat (limited to 'tests')
-rw-r--r--tests/writer.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/writer.latex b/tests/writer.latex
index f7123be98..94e8f779e 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -25,7 +25,7 @@
}{}
\usepackage{fancyvrb}
\VerbatimFootnotes
-\usepackage{graphicx}
+\usepackage{graphicx,grffile}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}