Open PaleNeutron opened 3 months ago
Related issue: https://github.com/Wandmalfarbe/pandoc-latex-template/issues/391
Nbconvert's default template file (https://github.com/jupyter/nbconvert/blob/main/share/templates/latex/index.tex.j2) will also face the same problem.
In my environment, the latest Pandoc 3.3, we need the following part:
https://github.com/jgm/pandoc/blob/04825ceb6bdf72fe1b93759ec14e30115366575c/data/templates/default.latex#L304-L317
to the base.tex.j2.
base.tex.j2
I think it wolud be better to append at the following area:
https://github.com/jupyter/nbconvert/blob/e1599627fd1f9e06d983e3974eadb58d2a92c44c/share/templates/latex/base.tex.j2#L149
Related issue: https://github.com/Wandmalfarbe/pandoc-latex-template/issues/391
Nbconvert's default template file (https://github.com/jupyter/nbconvert/blob/main/share/templates/latex/index.tex.j2) will also face the same problem.