aboutsummaryrefslogtreecommitdiff
path: root/test/writer.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-10-29 21:42:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-10-29 21:44:08 -0700
commit4d5fd9e2fe360e47fd5beab724c612ce29aa39ee (patch)
treec027c03c3fdfc50c44debcf26c7d882d00f59d02 /test/writer.latex
parenta796b655cd2046c1297d800e328ed9ef58251405 (diff)
downloadpandoc-4d5fd9e2fe360e47fd5beab724c612ce29aa39ee.tar.gz
Remove include of grffile from default latex template.
This package is needed for proper handling of image filenames containing periods (in addition to the period before the extension). Unfortunately, grffile breaks in the latest texlive update. Until a fix is released (see ho-tex/oberdiek#73) it seems best to remove this from the default template. This may cause problems if you have filenames with periods. The workaround is to put `\usepackage{grffile}` in header-includes, and be sure you're using an older version of texlive packages. See #5848. We will leave that issue open to remind us to check upstream, and restore grffile when it's possible to do so.
Diffstat (limited to 'test/writer.latex')
-rw-r--r--test/writer.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/writer.latex b/test/writer.latex
index 8aa299990..e859e2d2e 100644
--- a/test/writer.latex
+++ b/test/writer.latex
@@ -43,7 +43,7 @@
pdfcreator={LaTeX via pandoc}}
\urlstyle{same} % disable monospaced font for URLs
\VerbatimFootnotes % allow verbatim text in footnotes
-\usepackage{graphicx,grffile}
+\usepackage{graphicx}
\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}