# problems with $\mathbb{1}$ in pandoc

I use pandoc, pandoc in.tex --latex-engine=xelatex -o out.pdf, and want characters like "𝟙𝟚𝟛ℝ" to be produced from

\documentclass{article}
\usepackage[utopia]{mathdesign}
\let\mathbb\undefined  % delete the command definition
\usepackage{bbold}     % let bbold define its own \mathbb command
\begin{document}
$\mathbb{123R}$
\end{document}


I get "⊮⊭⊯ℝ" in my pdf. It produces correct output in html and docx.

pandoc 1.19.2.1
Compiled with pandoc-types 1.17.0.4, texmath 0.9, skylighting 0.1.1.4


I am sure the problem is having the right font for pdf, in my case. So the right question may be - which font should I use for blackboard bold numbers for pdf for pandoc. Keeping in mind that pdflatex has the fonts somehow.

• You need another font, see e.g. tex.stackexchange.com/questions/291329/… – Ulrike Fischer Sep 4 '17 at 19:44
• @Ulrike, I tried, but even the example from that answer does not produce anything reasonable when I run it via pandoc: ! Undefined control sequence. l.61 \amsmathbb – Vlad Patryshev Sep 5 '17 at 0:14
• What does pdffonts command say for the pandoc version, and what does it say for the pdflatex version? – Boris Sep 5 '17 at 1:42
• By the way, does pandoc produce TeX log? Can you post it? – Boris Sep 5 '17 at 1:43
• @Boris, thank you; so far I'm clueless how do I run pdffonts command. I did produce a log, using pandoc's --verbose; it's about 16k. It also refers a log file, but by the time it finishes, the file is gone. – Vlad Patryshev Sep 5 '17 at 2:40

Will have to create the folder for templates, and then cp ~/Downloads/eisvogel.latex ~/.pandoc/templates/
It will work with the following command: pandoc in.tex --latex-engine=xelatex --template eisvogel -o out.pdf