Using libertinus
as fontfamily within a yaml-header of a .md
-file and trying to convert with pandoc (2.9.2) and the pdf-engine lualatex
(TL 2020, LuaLaTeX 1.12.0) I get the following error-message:
! LaTeX Error: Command `\eth' already defined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.240 ...mbol{\eth} {\mathord}{AMSb}{"67}
Steps to reproduce
Take this mwe for the .md
-file
---
title: Test
author: Author
date: \today
fontfamily: libertinus
---
This is a test-file.
ÄÜÖß
1234567890
the command for the conversion is
pandoc -s libertinus-test.md --pdf-engine=lualatex -o libertinus-test.pdf
I figured out that the problem is the line with the math-packages:
Note:
As soon as I change the fontfamily to libertine
it is no problem.
But same problem also occurs with libertinus-otf
(by HV).
There is also an issue for this topic: https://github.com/alif-type/libertinus/issues/327
pandoc
not to loadamssymb
.pandoc
people that loadingamssymb
along withunicode-math
is nonsensical. As far as I can see, there is no conditional around\usepackage{amssymb,amsmath}
in the default template, so you're doomed.