CamDavidsonPilon / Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/
MIT License
26.51k stars 7.84k forks source link

Chapter 2 | TFP | nbconvert reports "You can't use `macro parameter character #' in restricted horizontal mode." #467

Open bridgeland opened 5 years ago

bridgeland commented 5 years ago

When converting Chapter 2 TFP to PDF, nbconvert fails, report "You can't use `macro parameter character #' in restricted horizontal mode."

! You can't use `macro parameter character #' in restricted horizontal mode.
<argument> ##
              Users
l.1457 \end{align*}

? 
! Emergency stop.
<argument> ##
              Users
l.1457 \end{align*}

This seems to be caused by the # in \text{# Users}, as described here.