Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luatexja 支持 table feature 后,使用 latexmk 编译会陷入死循环 #654

Open
tanukihee opened this issue Apr 10, 2023 · 0 comments

Comments

@tanukihee
Copy link
Contributor

tanukihee commented Apr 10, 2023

luatexja 更新版本 20230408 后,支持了 table jfm feature,在使用此种 feature 时,ctex 文档类会因为字体缓存更新而导致 latexmk 陷入死循环,不断编译最终报错。

MWE

\documentclass[punct=ujis/{foo={bar}}]{ctexart}
\begin{document}
abc
\end{document}

log 节选

Rule 'lualatex':  Reasons for rerun
Changed files or newly in use/created:
  C:/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc
SyncTeX written on test.synctex.gz.
Transcript written on test.log.
Latexmk: Maximum runs of lualatex reached without getting stable files
----------------------
This message may duplicate earlier message.
Latexmk: Failure in processing file 'test':
   'lualatex' needed too many passes
----------------------

而使用 luatexja 文档类时,一切正常

MWE

\documentclass{ltjarticle}
\usepackage{luatexja-fontspec}
\setmainjfont{simsun.ttc}[
    YokoFeatures={JFM=ujis/{foo={bar}}}
  ]
\begin{document}
abc
\end{document}

ref https://osdn.net/projects/luatex-ja/ticket/47727

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant