-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fonts are ignored in PDF #131
Comments
PDF export is using pandoc, which is using LaTeX under the hood. There, not all normally installed fonts are supported. See https://pandoc.org/MANUAL.html#fonts |
Okay. But I have a font which works with pandoc on another machine, but I do not use panwriter there. So what would be the correct syntax to tell pandoc from panwriter where the fontfile resides? I already tried the full path to the font file but I did not succeed. |
I checked as described here: https://fedidat.com/160-installing-fonts-for-pandoc/ and I can see: My font is installed. |
Update: pandoc -f markdown --pdf-engine=xelatex --to pdf -o Untitled.pdf Untitled.md This works with my intended font "Avenir Next" but when I define in the papersize: A4
mainfont: Avenir Next
output:
latex:
toc: true
pdf-engine: xelatex panWriter fails
|
Update: |
Would, maybe, this solve the issue?
Yes, it does. Please see PR #134 |
Will be fixed when PR #134 is merged. |
We only want to set PanWriter-specific styles in the HTML export case anyway (so that it looks the same as the PanWriter preview). fixes #131
I put into my document:
and. in split mode I can see the font change.
But when exporting to PDF, the font is ignored.
Are there any troubleshooting tips?
I'm using
The text was updated successfully, but these errors were encountered: