Ticket #34253

Beamer でエラー

Open Date: 2014-09-01 11:09 Last Update: 2014-09-02 11:07

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

Details

kitagawa_tfont ブランチの "d9e95ad... Added \utod direction (same as "tate math direction" in pTeX)" 以降で, beamer で luatexja を使おうとするとエラーが出ます.

\documentclass{beamer}
\usepackage{luatexja}
\begin{document}
\end{document}

エラーメッセージ:

...
(/usr/local/texlive/2014/texmf-dist/tex/latex/amsfonts/umsb.fd)error: ...e/kmaeda/texmf/tex/luatex/luatexja/src/ltj-direction.lua:639: attempt to perform arithmetic on a nil value
.
\reset@strutbox@ ...ineskiplimit \copy \strutbox }
                                                  }
l.252   $\directlua
                 {% This value depends on the version of LuaTeX.
? 

該当行は

   process_dir_node = function (hd, gc)
      local x, new_dir = hd, ltjs.list_dir or dir_yoko
      while x do
	 local xid = getid(x)
	 if (xid==id_hlist and has_attr(x, attr_icflag)%PROCESSED_BEGIN_FLAG~=PACKED) -- ←これ
	 or xid==id_vlist then
	    hd, x = make_dir_whatsit(hd, x, new_dir, 'process_dir_node:' .. gc)
	 else
	    x = node_next(x)
	 end
      end
      return hd
   end
なのですが,has_attr(x, attr_icflag) が nil になっている場合があって,それの剰余をとろうとするのでエラーになるようです.

Ticket History (3/4 Histories)

2014-09-01 11:09 Updated by: kmaeda
  • New Ticket "Beamer でエラー" created
2014-09-01 12:51 Updated by: h7k
  • Resolution Update from None to Fixed
  • Owner Update from (None) to h7k
Comment

00f6228 で直したと思いますが,どうでしょうか.

2014-09-01 12:57 Updated by: kmaeda
Comment

h7k への返信

00f6228 で直したと思いますが,どうでしょうか.

OKだと思います.ありがとうございました.

2014-09-02 11:07 Updated by: h7k
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2014-09-02 11:07

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