Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
6.13k stars 959 forks source link

Hyphens not appearing in generated PDF #366

Closed dm5n closed 11 months ago

dm5n commented 11 months ago

Hyphens/ dashes between clauses – such as this example – from my Markdown text, aren't rendering on the PDF. I'm using LuaLatex to render PDF.

Using Eisvogel 2.4.1 and Pandoc 3.1.8 on a Markdown document in Zettlr 3.0.2 on macOS

My YAML:

title: "XYZ" author: Anon date: October 2023 reference-section-title: References titlepage: true disable-header-and-footer: true footnotes-pretty: true header-includes:

dm5n commented 11 months ago

SOLVED: appears to be an issue between specific font and Luatex engine see discussion here

Added this line to YAML:

\setmainfont[Renderer=Basic,Ligatures=TeX]{librebaskerville}