From f9413c26b23853738c69a26120a1440b62beadbe Mon Sep 17 00:00:00 2001
From: fauno <fauno@endefensadelsl.org>
Date: Mon, 8 Oct 2018 15:02:37 -0300
Subject: [PATCH] use `\detokenize` to allow special characters in file names

---
 lib/jekyll-pandoc-multiple-formats/unite.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/jekyll-pandoc-multiple-formats/unite.rb b/lib/jekyll-pandoc-multiple-formats/unite.rb
index 04b08dd..d4206eb 100644
--- a/lib/jekyll-pandoc-multiple-formats/unite.rb
+++ b/lib/jekyll-pandoc-multiple-formats/unite.rb
@@ -32,7 +32,7 @@ module JekyllPandocMultipleFormats
       \\end{document}
       EOT
 
-    INCLUDE_TEMPLATE = '\\includepdf[fitpaper=true,pages=-]{@@document@@}'
+    INCLUDE_TEMPLATE = '\\includepdf[fitpaper=true,pages=-]{\detokenize@@document@@}}'
 
     attr_accessor :files, :template
 
-- 
GitLab