Ticket #38897

Packages luatexja-fontspec and luatexja-preset broken

Open Date: 2019-01-27 16:46 Last Update: 2019-02-01 04:20

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

Details

Thank you very much for your great work.

Since the latest updates for luatexja (not sure since when exactly), the following error appears when loading luatexja-fontspec and/or luatexja-preset:

! Undefined control sequence.
<argument> \__fontspec_load_fontname:n 
                            {\l__fontspec_sizedfont_tl }
l.630 \ltjapplypreset {} 

Using the commands \setsansjfont and \ltjsetparameter causes further errors ("undefined control sequence"), but the above error seems to be the primary one.

Minimal working example document (no actual \begin{document} needed to trigger the error):

\documentclass{article} 
\usepackage[no-math, quiet]{fontspec}
\usepackage{luatexja}
\usepackage{luatexja-fontspec}				
\usepackage[deluxe,bold]{luatexja-preset} 

Package versions:

luatexja-fontspec-26h 2018/10/08 fontspec support of LuaTeX-ja

luatexja-preset 2018/10/08 Japanese font presets

~Rhodium

Ticket History (3/6 Histories)

2019-01-27 16:46 Updated by: None
  • New Ticket "Packages luatexja-fontspec and luatexja-preset broken" created
2019-01-27 16:55 Updated by: None
Comment

P. S.: This might already be fixed with today's new commit 2e11cb6ba479036edd36207ecacc81fc7978ca70

Just saw that, seems related.

Not critical for me, so I will wait till the next release on CTAN/Texlive

~Rhodium

2019-01-28 18:02 Updated by: h7k
Comment

Thanks for the report. I uploaded the new version (20190128.0) to CTAN today.

2019-01-31 11:59 Updated by: None
Comment

This was a bug initially created by fontspec’s v2.6j update. See https://github.com/wspr/fontspec/issues/346

A short history:

- v2.6j: Some Runaway argument? errors regarding XeTeX.

- v2.6k: Infinite loop if a font does not contain a requested script/language.

- v2.6l: CJK script seemed to be fixed but Latin script was broken.

- v2.7: Script CJK or Script Math may leak into \begin{document}.

- v2.7a: Everything seemed to be fixed.

I have only tested luatex-ja with the ctex document class (which, I know, only uses limited luatex-ja features) but things appeared to be okay. I hope the above brief history is helpful.

2019-01-31 20:16 Updated by: None
Comment

With the newest update (luatexja version 20190128.0), I can confirm the bug is fixed (at least my documents compile without error once more). Both "subpackages" luatexja-fontspec and luatexja-preset load as they should.

Thank you very much!

~Rhodium

2019-02-01 04:20 Updated by: h7k
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed

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