Undefined control sequence. \hl
Closed this issue · 2 comments
ttxtea commented
With the -d pdf
flag I get
Undefined control sequence.
\hl
Actually added a \newcommand{\hl}[1]{\colorbox{yellow}{#1}}
somewhere in the text. But the error persists. It is however possible to use the \hl
and colour text by hand.
ickc commented
I think it requires the soul package. Have you tried adding \usepackage{soul}
?
ickc commented
Try using this: fontfamily: lmodern,color,soul
. Both color and soul are needed for the commands. Hacking pandoc's fontfamily key to use packages. And of course add a font here too.