pstool 可以调用 lualatex 而不是 pdflatex 吗?

pstool 可以调用 lualatex 而不是 pdflatex 吗?

我正在处理一个包含大量参考书目的文档。这迫使我改用 lualatex,因为 pdflatex 会产生错误:

{\csname blx@nih@author\endcsname {{{hash=8ce87b4dc27b48d204336f9068c\ETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...688a7851}{family={Kotam{ä}ki}, fami
                                              lyi={K\bibinitperiod }, gi...
l.202365       }            
!  ==> Fatal error occurred, no output PDF file produced!

lualatex 正确处理了文件,但随后我需要添加一个图形,这需要使用 pstool 将一些占位符替换为 LaTeX 处理的文本。不幸的是,pstool 似乎再次调用了 pdflatex,因为我在 figure-pstool.log 中看到以下内容:

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian (prelo
aded format=latex 2018.12.25)  16 JAN 2019 22:54
entering extended mode
[...]
{\csname blx@nih@author\endcsname {{{hash=8ce87b4dc27b48d204336f9068c\ETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...iod }}}{{hash=dd6e000d600d547b04bd57
                                              d6485bc7bf}{family={Nogima...
l.202365       }

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

有没有办法让 pstool 调用 lualatex 而不是 pdflatex 以避免内存限制?

相关内容