From 8a26259cee6789b6244e2368a47722ef4a27e8c8 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Mon, 4 Jan 2016 15:58:57 +0100 Subject: [PATCH] Tex input requires posix path --- patacrep/content/tex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patacrep/content/tex.py b/patacrep/content/tex.py index f32880cf..2f20f70b 100755 --- a/patacrep/content/tex.py +++ b/patacrep/content/tex.py @@ -16,10 +16,10 @@ class LaTeX(ContentItem): self.filename = filename def render(self, context): - return r'\input{{{}}}'.format(files.relpath( + return r'\input{{{}}}'.format(files.path2posix(files.relpath( self.filename, os.path.dirname(context['filename']), - )) + ))) #pylint: disable=unused-argument def parse(keyword, argument, contentlist, config):