チケット #34786

unwanted double width space before inline listings when using luatexja-fontspec

登録: 2015-01-07 08:23 最終更新: 2015-01-21 15:31

報告者:
担当者:
(未割り当て)
チケットの種類:
状況:
完了
コンポーネント:
(未割り当て)
マイルストーン:
(未割り当て)
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
なし

詳細

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.

チケットの履歴 (4 件中 3 件表示)

2015-01-07 08:23 更新者: wilx
  • 新しいチケット "unwanted double width space before inline listings when using luatexja-fontspec" が作成されました
2015-01-07 09:08 更新者: h7k
コメント

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}

2015-01-07 11:09 更新者: h7k
  • 解決法なし から 修正済み に更新されました
コメント

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.

2015-01-21 15:31 更新者: h7k
  • 状況オープン から 完了 に更新されました
  • チケット完了時刻2015-01-21 15:31 に更新されました

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする