From 12ba81ec9697e238c861ca6b7f8dc08f4e876e7b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 13 Apr 2015 08:53:08 -0700 Subject: LaTeX: include grffile when including graphics. This allows filenames with spaces etc. See jgm/pandoc#2074. --- default.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.latex b/default.latex index a3f895000..54aceb8a4 100644 --- a/default.latex +++ b/default.latex @@ -84,7 +84,7 @@ $if(tables)$ \usepackage{longtable,booktabs} $endif$ $if(graphics)$ -\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} -- cgit v1.2.3