任务单 #37100

Unwanted space between \item and bracket 「

开放日期: 2017-04-03 02:12 最后更新: 2017-04-03 10:53

报告人:
属主:
类型:
状态:
关闭
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

There seems to be an unwanted space if 「 follows immediately after \item. The same problem occurs for all the brackets in "開き括弧類" class defined in jfm-jis.lua.

  1. \documentclass{article}
  2. \usepackage{luatexja}
  3. \begin{document}
  4. \begin{itemize}
  5. \item
  6. 「」
  7. 「」
  8. \item
  9. 日本語
  10. 日本語
  11. \item
  12. english
  13. english
  14. \end{itemize}
  15. \end{document}

Please see http://tex.stackexchange.com/questions/361779/unwanted-space-before-japanese-bracket-in-luatexja for the compiling result.

任务单历史 (3/6 Histories)

2017-04-03 02:12 Updated by: liutianren
  • New Ticket "Unwanted space between \item and bracket 「" created
2017-04-03 06:20 Updated by: h7k
评论

Please see a reply in the stackexchange page.

2017-04-03 08:32 Updated by: None
评论

Thank you, @h7k.

While I'm also interested in using package luatexja-ruby. But this package seems to break the current patches.

New demo code:

  1. \documentclass{ltjsarticle}
  2. \usepackage{luatexja-ruby}
  3. \begin{document}
  4. \begin{itemize}
  5. \item
  6. 「」
  7. 「」
  8. \item
  9. 日本語
  10. 日本語
  11. \item
  12. english
  13. english
  14. \end{itemize}
  15. \end{document}

2017-04-03 09:44 Updated by: h7k
  • 属主 Update from (无) to h7k
评论

While I'm also interested in using package luatexja-ruby. But this package seems to break the current patches.

It's a bug in ltj-ruby.lua (Lua modules of luatexja-ruby package). Commit a071387 (the patch is attached above as luatexja_whatsit_callback.diff) should solve the issue.

2017-04-03 10:53 Updated by: liutianren
  • 处理结果 Update from to Fixed
  • 状态 Update from 开启 to 关闭
  • Ticket Close date is changed to 2017-04-03 10:53
评论

Thank you for your prompt reply! Very helpful. This resolves the problem.

Attachment File List

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名