DCsunset / pandoc-include

A pandoc filter to allow file and header inclusion
MIT License
63 stars 14 forks source link

Raw latex in yaml headers #6

Closed trymnf closed 4 years ago

trymnf commented 4 years ago

I have an issue when using raw Latex in the document's yaml header:

---
title: Title
date: \today{}
---

Here is a file in the same directory:

!include file.md 

Yields the following pdf:

image

This is not a huge problem on its own, but header-includes also doesn't work, which is a bit more of an issue.

Any thoughts?

DCsunset commented 4 years ago

After inspecting it for several days, I found that the assignment of metadata was problematic. It has been fixed in v0.6.3. See 69b60e1dfd54f08e1bc5fbc122252965eb7bc0bd