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

reledmacとluatexja (2016-07-31 02:50 by yudantaiteki #78433)

reledmacは日本語で使いたいんですが、簡単なファイルでもエラーが出ます。

\documentclass{article}
\usepackage{luatexja}
\usepackage{reledmac}
\begin{document}
\beginnumbering
\pstart
hello world
\pend
\endnumbering
\end{document}

以上は、\usepackage{luatexja}なしで大丈夫で、numberingとpstart/endを消したら問題ないです。でもこのままだと、次のエラーが出ます:

Section 1 (./untitled-2.1) (./untitled-2.eledsec1)error: ...a/Roaming/MiKTeX/2.9/tex/luatex/luatexja/ltj-jfmglue.lua:538: attempt to call field '?' (a nil value) .

to be read again \ltj@@reset@badness

l.9 \endnumbering

?

以下の質問はreledmacの作った人が答えて、分からなかったんです。
http://tex.stackexchange.com/questions/320916/trying-to-use-reledmac-with-luatexja

よろしくお願いします

Reply to #78433×

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: reledmacとluatexja (2016-07-31 05:27 by h7k #78434)

[メッセージ #78433 への返信]
> 以上は、\usepackage{luatexja}なしで大丈夫で、numberingとpstart/endを消したら問題ないです。でもこのままだと、次のエラーが出ます:
>
> Section 1 (./untitled-2.1) (./untitled-2.eledsec1)error: ...a/Roaming/MiKTeX/2.9/tex/luatex/luatexja/ltj-jfmglue.lua:538: attempt to call field '?' (a nil value) .
>
> to be read again \ltj@@reset@badness
>
> l.9 \endnumbering
>
> ?

確認しました.ltj-jfmglue.lua を,以下からダウンロードできる新しいものに
変えてみるとどうなるでしょうか?

https://osdn.jp/projects/luatex-ja/scm/git/luatexja/blobs/cd42d6ba46503dfa685e0a85187a371fbd5afee9/src/ltj-jfmglue.lua?export=raw
Reply to #78433

Reply to #78434×

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: reledmacとluatexja (2016-07-31 09:23 by yudantaiteki #78436)

新しいファイルを使ってエラーが出ません。日本語を入れても大丈夫です。

速い返事してありがとうございます。
Reply to #78434

Reply to #78436×

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