Probabilistic-Programming-and-Bayesian-Methods-for-Hackers icon indicating copy to clipboard operation
Probabilistic-Programming-and-Bayesian-Methods-for-Hackers copied to clipboard

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

Open bridgeland opened this issue 6 years ago • 1 comments

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.

bridgeland avatar May 29 '19 23:05 bridgeland

@bridgeland I found that using "RawNBConvert" cells (for instance, when one wants to prevent a cell from being executed) containing "#" character triggers this error.

ReHoss avatar Nov 28 '24 14:11 ReHoss