balachia / panopy

Pandoc wrapper with workflow templates
Other
4 stars 1 forks source link

Issue parsing file name templates #1

Open frederik-elwert opened 9 years ago

frederik-elwert commented 9 years ago

With PyYAML 3.10, I get the following error when I have file name templates in my templates file:

yaml.scanner.ScannerError: while scanning for the next token
found character '%' that cannot start any token

It seems that % actually is an invalid character: http://pyyaml.org/ticket/63

balachia commented 9 years ago

I've just put filenames in quotes: '%.tex'. I imagine there's some situation where that breaks, but it's probably a workaround.