unwanted double width space before inline listings when using luatexja-fontspec
Thanks. Fixed in the repository (commit 5b43743 or fec4e5c).
... I found another bug in luatexja + listings. If a line which has inline listings and ends with a Japanese character, the end-of-line emits an unwanted space:
\documentclass[]{article}
\usepackage{luatexja,listings}
\begin{document}
\lstinline!bar!あ
a
\end{document}
h7k への返信
If a line which has inline listings and ends with a Japanese character, the end-of-line emits an unwanted space:
Oops, that space is xkanjiskip (space between Japanese char. and non-Japanese char.), which is correct.
I am seeing an extra big space (which looks like double width space) in my document before inline listings bits:
\documentclass[]{article} \usepackage{fontspec} \usepackage{listings} \usepackage{luatexja-fontspec} \setmainjfont{WenQuanYi Zen Hei} \begin{document} foo \lstinline!bar! baz \end{document}Please see http://tex.stackexchange.com/q/220987/28495 for details.