Forums: 公開討議/質問 (Thread #36694)

luatexja-prest に deluxe オプションを指定するとエラーが出ます (2015-04-15 11:20 by nagae #75948)

Mac OS X 上で動かしているTeXLive 2014 版の luatex で,下記のファイルをコンパイルするとエラーが出ます:
---ここから---
\documentclass[12pt,a4paper]{ltjsarticle}
\usepackage[hiragino-pro,deluxe]{luatexja-preset}
\newcommand{\jugem}{寿限無 寿限無 五劫の摺り切れ 海砂利水魚の 水行末 雲来末 
風来末 食う寝る所に住む所, Supercalifragilisticexpialidocious! }
\begin{document}
\jugem
\end{document}
---ここまで---

エラーメッセージの最後は下記の通りです:
---ここから---
*************************************************
* luatexja-preset warning: "scale"
*
* Japanese fonts will be scaled by 0.92486572265625.
*************************************************
(load luc: /usr/local/texlive/2014/texmf-var/luatex-cache/generic/fonts/otf/
ヒラギノ丸ゴ-pro-w4.luc)

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.319 }

?
---ここまで---
ヒラギノ丸ゴ-pro-w4.luc を読込みにいったあたりでおかしなことになっているようです.

以下を確認しております.
- 2行目の deluxe オプションを外すとコンパイルが通ります.
- 2行目の hiragino-pro を ipa などに変えても同様のエラーが出ます(フォント名は ipam.luc になりますが)

なお,TeX ソース,エラーメッセージ全体および生成された .log ファイルは
https://gist.github.com/nagae/a8b7f55c78c8798b61b7
に置いておきました.

ご助言いただけますと幸甚です.

Reply to #75948×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: luatexja-prest に deluxe オプションを指定するとエラーが出ます (2015-04-15 11:23 by nagae #75949)

[メッセージ #75948 への返信]
追記です.

以下のフォルダ:
/usr/local/texlive/2014/texmf-var/luatex-cache/generic/fonts/otf/
/usr/local/texlive/2014/texmf-var/luatex-cache/generic/names/
にある全てのファイルを削除した後
luaotfload-tool -u -vvv
を実行してみましたが,やはり同じエラーが出ます.
Reply to #75948

Reply to #75949×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: luatexja-prest に deluxe オプションを指定するとエラーが出ます (2015-04-15 17:15 by kmaeda #75950)

[メッセージ #75949 への返信]
fontspec パッケージのアップデートによって生じたバグの影響ではないかと思います.
LuaTeX-ja Wiki の Frontpage に書いてある「バグ情報」の「fontspec パッケージを 2.4c (2015/03/14) に更新すると……」という項を参照して下さい.

なお,開発中のレポジトリの master ブランチでは既に修正済みなのですが,
TeX Live 2014 のアップデートは既に frozen ですので,次の 2015 まで修正されることはありません.
2015 pretest には近々アップデートが入ることになると思われます.
Best Answer Reply to #75949

Reply to #75950×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: luatexja-prest に deluxe オプションを指定するとエラーが出ます (2015-04-16 10:07 by nagae #75954)

kmaeda 様,ご連絡ありがとうございました.
Wiki の Frontpage を見逃しておりました.

同じ質問を StackExchange でも投稿していたのですが,そちらでも同様の指摘に加え,TeXソース上で問題を解決するパッチも教えてもらえました.
https://tex.stackexchange.com/questions/238620/luatexja-preset-deluxe-option-crashes

[メッセージ #75950 への返信]
> [メッセージ #75949 への返信]
> fontspec パッケージのアップデートによって生じたバグの影響ではないかと思います.
> LuaTeX-ja Wiki の Frontpage に書いてある「バグ情報」の「fontspec パッケージを 2.4c (2015/03/14) に更新すると……」という項を参照して下さい.
>
> なお,開発中のレポジトリの master ブランチでは既に修正済みなのですが,
> TeX Live 2014 のアップデートは既に frozen ですので,次の 2015 まで修正されることはありません.
> 2015 pretest には近々アップデートが入ることになると思われます.
Reply to #75950

Reply to #75954×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login