I need to use \usepackage[T2A]{fontenc}. Pandoc default is \usepackage[T1]{fontenc}
My YAML header in md file is
---
title: My tytle
author: Me
header-includes:
- \usepackage[T2A]{fontenc}
---
When I compile md file, I have both T1 and T2A packages. Is it possible to exclude T1 package, please?
I try
---
title: My tytle
author: Me
header-includes:
- \usepackage[T2A]{fontenc}
header-excludes:
- \usepackage[T1]{fontenc}
---
but it not working
pandoc -D latexto print the default latex template to check whatpandocis actually doing, instead of guessing... – DG' Oct 07 '20 at 09:35\usepackage{lmodern}(I use Cyrillic fonts). I can comment it in tex file, but it will be nice if I can remove it from YAML header in md file. – Alan Ford Oct 07 '20 at 10:46