I tried to set the font family to Source Sans Pro, but pandoc gives me the following error:
pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. \AtBegShi@Output ...ipout \box \AtBeginShipoutBox
I have sourcesanspro installed via miktex console and set the yaml header as follows:
--- geometry: margin=2cm papersize: a4paper toc: true fontenc: T1 fontfamily: sourcesanspro fontfamilyoptions: sfdefault ---
What am I doing wrong?