Hi John, Pedro, Where (in what file) are you defining this yaml when you get your Helvetica result? Are you adding this yaml to your .md file? Or some other file? How are you calling it and with what arg? --- fontfamily: helvet ... I've tried passing it in as *-d* (which it apparently isn't, based on https://pandoc.org/MANUAL.html#default-files) I've tried using *--metadata-file* (which it perhaps isn't and appears to ignore https://pandoc.org/MANUAL.html#option--metadata-file) I've tried passing it in as a sequential yaml file per (https://pandoc.org/MANUAL.html#extension-yaml_metadata_block) And I earlier tried the straight argument without the yaml, *-V fontfamily=helvet* None of them work. I still don't get Helvetica. Thanks for any help! On Thursday, July 1, 2021 at 11:56:24 AM UTC-4 John MacFarlane wrote: > > I do get Helvetica font when I try this (pandoc test.md -o test.pdf). > > "Pedro P. Palazzo" writes: > > > OK, there's something weird going on with Pandoc (not the Docker image). > I created a test file with the following in the front matter: > > > > --- > > fontfamily: helvet > > header-includes: > > - \renewcommand\familydefault{\sfdefault} > > --- > > > > If I run `pandoc -o myfile.pdf`, it does NOT use Helvetica. However, if > I run `pandoc -o myfile.tex` and then `pdflatex myfile`, the document DOES > come out in Helvetica. Not sure where to go from here, though. > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e14acfcd-b5da-42ef-9261-fc5a0ab0953bn%40googlegroups.com.