-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lualatex: escaping of >
by \textgreater{}
is not enough, >>
applies ligature
#5179
Comments
It seems
|
@tk0miya To prevent ligature I was recommended upstream by David Carlisle to use either side-note: for literals and code-blocks, preventing |
By the way also
because:
But with LuaLaTeX and a non-monospace font, input such as |
Sphinx LaTeX escapes
>
in source to\textgreater{}
in produced TeX file. Unfortunately withlualatex
,\textgreater{}\textgreater{}
becomes a ligature:»
. This is not the case withxelatex
orpdflatex
.This showed up as real-life problem when trying to build the PDFs of the CPython documentation using lualatex, as Python wants
>>>
indexed of course!The text was updated successfully, but these errors were encountered: