README を読んでみたのですが,NFSSFamily=... というのが追加されているみたいです. これで和文フォントファミリ名を mc と gt に固定できれば,横組み・縦組み別の fontspec 実装は解決できるのかな. それでいいのかどうかはわかりませんが.
新機能対応は置いておいて,とりあえず動かせるようにできないか見てみます.
master から分岐して,kmaeda_fontspec ブランチを作りました.テストはまだあまりしていないですが,一応動いています. 色々手を入れないといけなさそうなので,23 と 24 に分けました.23 はそのうち削除しましょう.
l3kernel も上げたら,l3luatex がなくなっていて lualatex-math でひっかかりました.
ありがとうございます.いろいろ試してみましたら,次のような不具合を見つけました:
$ luajitlatex test20a-mfont-fontspec
...
! Undefined control sequence.
\__ltj_fontspec_altfont_key_code:n ...te_fontid:n
{alt:#1}
l.12 ]{JJSYuMinchoPr6N-R}
$ luajitlatex test09-fontspec
...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Ryumin-Light" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.59 {\jfontspec[NoEmbed]{Ryumin-Light}
どうもです.自分の普段の設定が動くことを目標にしていたので,その辺は後回しにしていました. c28036e で直っていると思います.
alas, an English-speaker (using luatexja for kanji) needs elucidation in English for same problem. Rembrandt Wolpert
どうもです.自分の普段の設定が動くことを目標にしていたので,その辺は後回しにしていました. c28036e で直っていると思います.
The error in test20a-mfont-fontspec is disappeared, but the output in 'addfontfeatures' paragraph is not intentional. (Some kanjis should be written in blue, and in its traditional variant.)
After this situation is solved, I wil upload the new version to CTAN.
I have not rewrite \addjfontfeatures yet. Please wait for a while. Thank you.
Reply To kmaeda
I have not rewrite \addjfontfeatures yet. Please wait for a while. Thank you.
Thank you so much for the English explanation -- I shall be patient (I reverted to an older version in the meantime). Will there be a texlive/tlmgr update? Again many thanks. r.f.wolpert at g mail.com
I rewrote all the commands for fontspec v2.4.
Will there be a texlive/tlmgr update?
As h7k (Kitagawa-san) wrote, the new version will be uploaded to CTAN. Then, texlive's luatexja will be updated soon.
I just uploaded the new version (20140621.0) to CTAN. TeX Live's luatexja will be updated in (perhaps) few days.
Thank you so much! Rembrandt
20140621.0 をリリースしたので完了としておきます.
TeX forum で,浮亭さんが次のようなエラーを報告されています(以下 オリジナルの投稿 より引用):
次の sample.tex で \usepackage[ipa]{luatexja-preset} を追加 してコンパイルしました. ------------------------------ \documentclass{ltjsarticle} \usepackage{luatexja} \usepackage[ipa]{luatexja-preset} %%これを追加した \begin{document} \section{はじめてのLua\TeX-ja} ちゃんと日本語が出るかな? \subsection{出たかな?} 長い文章を入力するとちゃんと右端のところで折り返されるかな? 大丈夫そうな気がするけど.ちょっと不安だけど何事も挑戦だよね. \end{document} ------------------------------ c:> luajitlatex sample.tex 次のエラーが出ました. (c:/w32tex/share/texmf-dist/tex/latex/fontspec/fontspec.cfg))) ! Undefined control sequence. l.278 \fontspec_define_feature_option:nnnnn {CJKShape}{JIS2004}{20}{5}{+jp04} ? 対策わかりません.調査の程,よろしくお願いします.