Ticket #39391

Crash when Using Packages Luatexja, Polyglossia and Microtype

Open Date: 2019-07-11 21:18 Last Update: 2019-08-26 09:42

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

Details

Thank you very much for your hard work. It is appreciated.

In Texlive 2019, updated today (2019-07-11), the following file cannot be compiled by lualatex. This issue was not present in latest Texlive 2018.

\documentclass[]{article} 

%%% Comment out any one of the following three packages to make this file compile
\usepackage{polyglossia}
	\setmainlanguage[spelling=new, variant=german]{german}	%If polyglossia is loaded but this line is commented out, the file compiles as well
\usepackage{luatexja}								
\usepackage[]{microtype}	
		 
\begin{document}

Test test test.

はじめまして。

\end{document}

The first errors from the log:

Runaway argument?
\char"25\char"\relax \relax \relax \fi \fi \let \MT@char \MT@char@ \MT@get@slot
@ \ETC.
! Paragraph ended before \MT@is@char was complete.
<to be read again> 
\par 
l.13 
   
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Argument of \MT@is@char has an extra }.
<inserted text> 
\par 
l.18 \end{document}

Final result is

==> Fatal error occurred, no output PDF file produced!

This error only appears when all three package Luatexja, Polyglossia, and Microtype are loaded and set up. If you remove any one line after the comment starting by %%% the file will compile.
I hope this is the right place for this bug report.

Package versions:
LuaTeX, Version 1.10.0 (TeX Live 2019) (format=lualatex 2019.7.11)
polyglossia 2019/04/04 v1.44
fontspec 2019/03/15 v2.7c
luatexja 2019/04/08
microtype 2019/02/28 v2.7b

Thank you very much in advance.

~Rhodium

Ticket History (3/5 Histories)

2019-07-11 21:18 Updated by: None
  • New Ticket "Crash when Using Packages Luatexja, Polyglossia and Microtype" created
2019-07-12 01:39 Updated by: h7k
Comment

Thanks for report.

I updated lltjp-microtype.sty in the repository, and also attach it in this page. It still has a bug.

(Edited, 2019-07-12 01:53 Updated by: h7k)
2019-07-18 20:09 Updated by: h7k
  • Resolution Update from None to Fixed
Comment

this commit fixes this bug.

2019-08-26 09:42 Updated by: h7k
  • Status Update from Open to Closed
Comment

I uploaded new release 20190826.0 to CTAN.

Attachment File List

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login