jupyter-book icon indicating copy to clipboard operation
jupyter-book copied to clipboard

TeX macros don't transfer to Latex

Open stoffprof opened this issue 2 years ago • 0 comments

It appears that TeX macros defined following the example are not included in the latex created by

jb build mybookname/ --builder latex

as described here.

Specifically, I have a line in _config.yml that says

    macros:
      "R": "\\mathbb{R}"

This works fine in generating HTML. But the generated latex file gets hung up on \R. Manually adding

\newcommand\R{\mathbb{R}}

to the .tex file fixes the problem.

stoffprof avatar Sep 20 '22 15:09 stoffprof