Created
July 8, 2019 12:43
-
-
Save alexsoin/fad06684abaff92dad2055806ad878e0 to your computer and use it in GitHub Desktop.
Настройки pandoc для вывода русского текста в pdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install texlive-xetex | |
sudo apt-get install texlive-lang-all | |
pandoc test.md -s -o test.pdf --latex-engine=xelatex | |
--- | |
title: Title text | |
geometry: margin=2cm | |
lang: ru | |
header-includes: | | |
\newfontfamily{\cyrillicfont}{Arial} | |
\newfontfamily{\cyrillicfontrm}{Arial} | |
\newfontfamily{\cyrillicfonttt}{Arial} | |
\newfontfamily{\cyrillicfontsf}{Arial} | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment