[tex-live] Issue with \textgreater and lualatex
jfbu
jfbu at free.fr
Mon Jul 16 01:45:30 CEST 2018
Hi,
apologies if wrong list, but I am online for a short wile and
wasn't sure where to post.
This MWE
\documentclass{article}
\ifdefined\directlua
\usepackage{fontspec}
\else
\ifdefined\XeTeXinterchartoks
\usepackage{fontspec}
\else
\usepackage[T1]{fontenc}
\fi\fi
\begin{document}
% uniquement avec lualatex donne »
\textgreater{}\textgreater{}
% ici aussi donne »
{\textgreater}{\textgreater}
\end{document}
produces similar result with pdflatex and xelatex
but not with lualatex which applies a ligature.
Surely this has been raised somewhere, but is there
a fix in mark-up which would be engine independent.
This is a real life issue arising in indexing of
Python's >>> prompt with the > being escaped into
TeX macro \textgreater{} by some documentation
production tool, and then LuaLaTeX gives bad result.
Best,
Jean-François
More information about the tex-live
mailing list