\hisyntax does not work in \slides
robertbachmann opened this issue · 2 comments
robertbachmann commented
The following code produces an error message with OpTeX v1.01 and OpTeX v1.01+
% !TeX program = optex
\slides
\begtt \hisyntax{C}
int main() {
return 0; // minimal C prog.
}
\endtt
\bye
Error: ! You can't use `macro parameter character #' in vertical mode.
olsak commented
Fixed, thank you for reporting.
robertbachmann commented
Tested
\slides
\slideshow
\begtt \hisyntax{C}
int main() {
return 0; // minimal C prog.
}
\endtt
\pg+
\begtt \hisyntax{python}
#
@x
def hello():
return "x" + 1 # xxx
\endtt
\pg+
\begtt \hisyntax{html}
<b class='x'>x</b> <!-- x -->
\endtt
\bye