-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Milestone
Description
Hello!
I have the following use-case of header-include:
---
title: Pandoc bug?
header-includes: \pgfpagesuselayout{2 on 1}[a4paper]
---
Test.
When generating a PDF, the string [a4paper]
gets converted to the invalid LaTeX sequence {[}a4paper{]}
:
% pandoc -s -w latex <foo.md | grep uselayout
\pgfpagesuselayout{2 on 1}{[}a4paper{]}
Am I doing something wrong?
I also tried the following variations, to no avail:
---
title: Pandoc bug?
header-includes: |
\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper]
---
Test.
And:
---
title: Pandoc bug?
header-includes:
- \usepackage{pgfpages}
- \pgfpagesuselayout{2 on 1}[a4paper]
---
Test.
May thanks in advance! My pandoc version is 1.13.2.
yihui, zommuter, edusantana, dnguyen85 and josephuses