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

Number too bigエラー (2018-05-09 13:09 by Aki #81216)

Manjaro Linuxにおいて4月のアップデート移行日本語文書でNumber too bigエラーが出るという症状が続いています。
公式のほうで問い合わせましたが、アップストリームに投げるようにとのことでした。

次のようなドキュメントにおいて

\documentclass[a4paper]{ltjsarticle}
\usepackage{luatexja-fontspec}

\setmainjfont[BoldFont=Migu 1C]{Migu 1C}

\begin{document}

このようなエラーになります。

This is LuaTeX, Version 1.0.4 (TeX Live 2017/Arch Linux)
restricted system commands enabled.
(./test.tex
LaTeX2e <2017-04-15>
(using write cache: /home/haruka/.texlive/texmf-var/luatex-cache/generic)(using
read cache: /var/lib/texmf/luatex-cache/generic /home/haruka/.texlive/texmf-va
r/luatex-cache/generic)
luaotfload | main : initialization completed in 0.101 seconds
Babel <3.18> and hyphenation patterns for 1 language(s) loaded.
(/usr/share/texmf-dist/tex/luatex/luatexja/ltjsarticle.cls
Document Class: ltjsarticle 2018/01/14 ltjsclasses
(/usr/share/texmf-dist/tex/luatex/luatexja/luatexja.sty
(/usr/share/texmf-dist/tex/luatex/luatexja/luatexja-core.sty
(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(/usr/share/texmf-dist/tex/luatex/ctablestack/ctablestack.sty))
(/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/share/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/share/texmf-dist/tex/generic/oberdiek/atbegshi.sty)
(/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty)(load cache: /home/haruk
a/.texlive/texmf-var/luatexja/ltj-cid-auto-adobe-japan1.luc)
(/usr/share/texmf-dist/tex/luatex/luatexja/ltj-base.sty)
(/usr/share/texmf-dist/tex/luatex/luatexja/ltj-latex.sty
(/usr/share/texmf-dist/tex/luatex/luatexja/patches/lltjfont.sty
(/usr/share/texmf-dist/tex/latex/base/tuenc.def)
(/usr/share/texmf-dist/tex/latex/ms/everysel.sty)
ABD: EverySelectfont initializing macros)
(/usr/share/texmf-dist/tex/luatex/luatexja/patches/lltjdefs.sty(load luc: /home
/haruka/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc
)(load luc: /home/haruka/.texlive/texmf-var/luatex-cache/generic/fonts/otl/ipae
xm.luc)(load cache: /home/haruka/.texlive/texmf-var/luatexja/extra_ipaexmincho.
luc)
(/usr/share/texmf-dist/tex/luatex/luatexja/jfm-ujisv.lua)
! Number too big.
ltj@@jfont ->luafunction ltj@@jfont@inner

l.53 \kanjiencoding{JY3}\selectfont
\adjustbaseline
?


また、Pandocを使用した場合、日本語フォント(-V CJKmainfont)または日本語ドキュメントクラス(-V documentclass=ltjsarticles 他)を指定すると同様にエラーになります。
$ pandoc --pdf-engine=lualatex -V documentclass="ltjsarticle" -V CJKmainfont="Migu 1C" test.md -o test.pdf
Error producing PDF.
! Number too big.
ltj@@jfont ->luafunction ltj@@jfont@inner

l.53 \kanjiencoding{JY3}\selectfont

[1] 157101 exit 43 pandoc --pdf-engine=lualatex -V documentclass="ltjsarticle" -V test.md -o

Reply to #81216×

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