git.iko.soy/typeable/pandoc
on master help sign in
LaTeX template: include grffile together with graphicx.
c5acaecJohn MacFarlane
README+2−1
@@ -127,7 +127,8 @@ Production of a PDF requires that a LaTeX engine be installed (see
127`--latex-engine`, below), and assumes that the following LaTeX packages are
127`--latex-engine`, below), and assumes that the following LaTeX packages are
128available: `amssymb`, `amsmath`, `ifxetex`, `ifluatex`, `listings` (if the
128available: `amssymb`, `amsmath`, `ifxetex`, `ifluatex`, `listings` (if the
129`--listings` option is used), `fancyvrb`, `longtable`, `booktabs`, `url`,
129`--listings` option is used), `fancyvrb`, `longtable`, `booktabs`, `url`,
130+`graphicx` and `grffile` (if the document contains images),
130−`graphicx`, `hyperref`, `ulem`, `babel` (if the `lang` variable is set),
131+ `hyperref`, `ulem`, `babel` (if the `lang` variable is set),
131`fontspec` (if `xelatex` or `lualatex` is used as the LaTeX engine), `xltxtra`
132`fontspec` (if `xelatex` or `lualatex` is used as the LaTeX engine), `xltxtra`
132and `xunicode` (if `xelatex` is used).
133and `xunicode` (if `xelatex` is used).
133
134
data/templates+1−1

Submodule changed.

tests/writer.latex+1−1
@@ -25,7 +25,7 @@
25}{}
25}{}
26\usepackage{fancyvrb}
26\usepackage{fancyvrb}
27\VerbatimFootnotes
27\VerbatimFootnotes
28−\usepackage{graphicx}
28+\usepackage{graphicx,grffile}
29\makeatletter
29\makeatletter
30\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
30\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
31\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
31\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}