luatexko のように,everysel パッケージを使うようにしました(commit 03d183a で多分直っている).
commit 03d183a では不十分で,commit a5b89715 (kitagawa_tfont branch) のようにすれば良いようです. 後でバックポートしておきます.
a5b89715 以降,
LaTeX Warning: Command \selectfont has changed.
Check if current package is valid.
というのが毎回出るのですが,これはなんとかならないのでしょうか.LaTeX Warning: Command \selectfont has changed.
どうするのがいいのかなあ. 通常の ltjsclasses とかでは 1cc2fdd で警告が出ないようにしたつもりですが, KOMA-script の scrartcl を使ったときはまだ警告が出てしまいます.
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}
がいつのまにか正しく動かなくなっていました,困ったなあ.いつのまにか正しく動かなくなっていました,
kitagawa_tfont ブランチでは問題ないような.単純に,
commit 03d183a では不十分で,commit a5b89715 (kitagawa_tfont branch) のようにすれば良いようです. 後でバックポートしておきます.
のバックポートをし忘れているのではないでしょうか.
kmaeda への返信
kitagawa_tfont ブランチでは問題ないような.単純に,
commit 03d183a では不十分で,commit a5b89715 (kitagawa_tfont branch) のようにすれば良いようです. 後でバックポートしておきます.
のバックポートをし忘れているのではないでしょうか.
そうでした,1cc2fdd ばっかり気にしていたようです.修正し,20140621.1 を出しておきました.
以下のような質問が 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?