After installing D-Din
as *.otf
from here (fc-list
shows it and the exact naming is used below), I have added the following to my rmarkdown
/bookdown
header:
output:
bookdown::pdf_document2:
...
latex_engine: lualatex
...
mainfont: D-DIN:style=Regular
sansfont: D-DIN:style=Regular
This compiles nicely and the font gets used but I use all formatting like bold and italic, as well as glyph-magic like --
to en
-dash etc. Not surprising, maybe, as I explicitly ask for the Regular
version ... Can anyone point out how I may instruct tinytex
/lualatex
/pandoc
to make use of the full weight etc. spectrum for D-Din
available on the system?
Thank you for any hints.