I am already using grffile to ensure that all files are found on the file system (windows 7), but now I have an example where the second file is not found.
\documentclass[]{scrbook} %
\usepackage[%
extendedchars, encoding, multidot, space,
filenameencoding=latin1, % Windows XP, Vista, 7
]{grffile}
\RequirePackage{pdfpages}
\begin{document}
\includepdf{fonts/fontsample - Latin Modern Family.pdf}
\includepdf{fonts/fontsample - Charter, Bera Sans, Luxi Mono.pdf}
\end{document}
The error is
LaTeX Error: File `fonts/fontsample - Charter' not found.
How can I ensure that a comma is a valid char for a filename in \includepdf ?
grffilepackage might help. But IMNSHO it's better to avoid filenames like these with TeX. – Martin Schröder Jan 29 '13 at 18:54\includepdfcommand executes internally\AM@readlistthat gets as argument a comma separated list; it's probably done for avoiding code duplication with\includepdfmerge, but has the effect of not accepting file names with commas. – egreg Jan 29 '13 at 22:48\includepdf{{...}}, i.e., protect the filename in quotes. – Aditya Jan 30 '13 at 06:17