Closed
Description
Problem
I'm not sure if this is really a problem, probably I'm just using it wrong ...
Procedure to reproduce the problem
If I'm using this in a .rst
file:
.. raw:: latex
\begin{sphinxVerbatim}
abc
\end{sphinxVerbatim}
Error logs / results
I'm getting this when running pdflatex
:
! Undefined control sequence.
<recently read> \sphinx@verbatim@checkifhl
l.107 abc
Expected results
no error, PDF with "abc" formatted as code.
If I'm using this:
.. raw:: latex
\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}
abc
\end{sphinxVerbatim}
... everything works fine!
Environment info
- OS: Linux, Debian testing
- Python version: 3.7.2rc1
- Sphinx version:
master
- LaTeX: pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex)