nbconvert icon indicating copy to clipboard operation
nbconvert copied to clipboard

Bug report about: Export to pdf without LaTex yields the wrong symbol for real numbers

Open EBAdev opened this issue 2 years ago • 0 comments


Nbconvert version: 7.8.0

Discription

When exporting a Jupyter notebook to pdf from VSCode the latex commands $\mathbb{#}$ yields the wrong symbol font in the pdf.

Steps to reproduce

  • make sure you have a latex installation installed.
  • create .ipynb file
  • create a markdown file with the content $\mathbb{R},\mathbb{N},\mathbb{Q}$
  • Export to pdf with nbconvert

Expected behaviour

The pdf export should have the correct fonts from the amsmath package Screenshot 2023-09-10 at 16 24 15

Achieved behaviour:

A pdf with the following symbols: Screenshot 2023-09-10 at 16 25 25

Workaround

I get the correct symbol by exporting to LaTeX and then compiling using MacTeX

System information

I use an m1 MacBook Pro, with a local MacTex 2023 installation. I run python and such through conda.

EBAdev avatar Sep 10 '23 14:09 EBAdev