-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
When using pandoc with --pdf-engine=lualatex
, an error occurs if strikeout is included.
$ echo '~~打ち消し線~~、それから[下線]{.underline}、さらに==ハイライト==' | pandoc -f markdown+mark --pdf-engine=lualatex -V documentclass=jlreq -o sample.pdf
Error producing PDF.
! Package soul Error: Reconstruction failed.
See the soul package documentation for explanation.
Type H <return> for immediate help.
...
l.59 \st{打ち消し線}
This is because the package soul
cannot be used with lualatex.
Would it be possible to modify the default.latex
as follows to address this issue?
$if(strikeout)$
$-- also used for underline
\ifLuaTeX
\usepackage{luacolor}
\usepackage[soul]{lua-ul}
\else
\usepackage{soul}
\fi
$endif$