Ticket #33769

LuaTeX-ja with KOMA-classes

Open Date: 2014-05-08 14:45 Last Update: 2014-06-21 21:53

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

以下のような質問が DANTE e.V. の人から寄せられました (黒木さん,報告ありがとうございます):

While testing the new style I run into a problem with luatex-ja and
the KOMA-classes: The KOMA-classes lets you change \parskip and
\parindent through an option. They do it by adding a command
\par@update to \selectfont.
Sadly luatex-ja redefines \selectfont and so the command is lost.

\documentclass[parskip=full]{scrartcl}%should change \parindent to 0pt
\usepackage{luatexja-fontspec}

\begin{document}
\showthe\parindent %didn't work
a\par b\\c

\makeatletter\par@update
\showthe\parindent  %now the value is correct
a\par b\\c
\end{document}

Could the luatex-ja team add this command to \selectfont if a
KOMA-Class is used?

Ticket History (3/8 Histories)

2014-05-08 14:45 Updated by: h7k
  • New Ticket "LuaTeX-ja with KOMA-classes" created
2014-05-08 18:08 Updated by: h7k
Comment

luatexko のように,everysel パッケージを使うようにしました(commit 03d183a で多分直っている).

2014-05-11 11:02 Updated by: h7k
  • Owner Update from (None) to h7k
  • Resolution Update from None to Fixed
Comment

commit 03d183a では不十分で,commit a5b89715 (kitagawa_tfont branch) のようにすれば良いようです. 後でバックポートしておきます.

2014-05-14 18:15 Updated by: kmaeda
Comment

a5b89715 以降,

LaTeX Warning: Command \selectfont   has changed.
               Check if current package is valid.
というのが毎回出るのですが,これはなんとかならないのでしょうか.

2014-05-14 18:48 Updated by: h7k
Comment

LaTeX Warning: Command \selectfont has changed.

どうするのがいいのかなあ. 通常の ltjsclasses とかでは 1cc2fdd で警告が出ないようにしたつもりですが, KOMA-script の scrartcl を使ったときはまだ警告が出てしまいます.

2014-06-21 21:12 Updated by: h7k
  • Resolution Update from Fixed to Later
Comment

20140621.0 を出したので完了……と思ったら,以前の黒木さんからのメールにあった

\documentclass[parskip=full]{scrartcl}
\usepackage{luatexja-fontspec}

\begin{document}
a\par b \\c

\KOMAoptions{parskip=false}
a\par b \\c

\KOMAoptions{parskip=false}\makeatletter\par@update
a\par b \\c
\end{document}
がいつのまにか正しく動かなくなっていました,困ったなあ.

2014-06-21 21:29 Updated by: kmaeda
Comment

いつのまにか正しく動かなくなっていました,

kitagawa_tfont ブランチでは問題ないような.単純に,

commit 03d183a では不十分で,commit a5b89715 (kitagawa_tfont branch) のようにすれば良いようです. 後でバックポートしておきます.

のバックポートをし忘れているのではないでしょうか.

2014-06-21 21:53 Updated by: h7k
  • Resolution Update from Later to Fixed
  • Ticket Close date is changed to 2014-06-21 21:53
  • Status Update from Open to Closed
Comment

kmaeda への返信

kitagawa_tfont ブランチでは問題ないような.単純に,

commit 03d183a では不十分で,commit a5b89715 (kitagawa_tfont branch) のようにすれば良いようです. 後でバックポートしておきます.

のバックポートをし忘れているのではないでしょうか.

そうでした,1cc2fdd ばっかり気にしていたようです.修正し,20140621.1 を出しておきました.

Attachment File List

No attachments

Edit

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