Closed WelliSolutions closed 4 days ago
I believe the error comes from the engine, try using xelatex
, as proposed in https://github.com/mrzool/invoice-boilerplate/pull/27#issue-2174143860
I got the same error (using xelatex) and fixed it by switching polyglossia
to babel
, as suggested here: https://github.com/jgm/pandoc/pull/7562. To do this,
template.tex
:\usepackage{polyglossia}
\setmainlanguage{$polyglossia-lang.name$}
with:
\usepackage[$lang$]{babel}
details.yml
:lang: en-GB
with:
lang: english
I have proposed a fix at #28 but this project seems dead unfortunately...
@josephmure I'm just very short on time and I apologize for that. I'll just assume that your PR works and merge it. Thanks a lot!
The sibling projects cv-boilerplate and letter-boilerplate both use polyglossia
and could use the same fix. If you have time to put together similar PRs for them, I’d be happy to merge them!
@mrzool Thanks for merging! The fix works on my computer at least. I can propose the same fix for the other projects (although I haven't pulled them), but you will have to test whether it works with them too.
I get the following error and I don't know what I'm doing wrong. I'm just trying to compile the default invoice
I wonder a bit why it says line 61, because \setmainlanguage is on line 69 in template.tex