这是关于CI的
https://github.com/Reissner/latex-maven-plugin
.
在那里你可以看到完整的
./.github/workflows/maven.yml
配置工作流。
许多事情并不像我预期的那样奏效。
例如:
[INFO] Processing LaTeX file 'src/site/tex/./docClasses/useBeamerPres.tex'.
[INFO] Skipping targets [html].
[INFO] Checking source.
++pdf TS meta: 0
++pdf TS file: 1724789480
[INFO] Process with timestamp 1970-01-01T00:00:00Z (0sec)
[INFO] Converting into pdf format.
Error: EEX01: Running lualatex failed with return code 1.
Error: EEX02: Running lualatex failed: No target file 'useBeamerPres.pdf' written.
Error: EAP01: Running lualatex failed. Errors logged in 'useBeamerPres.log'.
Error: EEX01: Running lualatex failed with return code 1.
Error: EEX02: Running lualatex failed: No target file 'useBeamerPres.pdf' written.
Error: EAP01: Running lualatex failed. Errors logged in 'useBeamerPres.log'.
这意味着
lualatex useBeamerPres.tex
无法创建
useBeamerPres.pdf
.
自从
lualatex
即使在出现错误的情况下也会创建日志文件,
我决定将日志文件打印到控制台上。
相应的线条
maven.yml
是
- name: write logs
run: cat src/site/tex/./docClasses/useBeamerPres.log
working-directory: ./maven-latex-plugin
但文件似乎被截断了,所以我无法找出问题所在。
最后一行是
\pgfmath@stack@operand=\toks24
\pgfmath@stack@operation=\toks25
)
(/opt/hostedtoolcache/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.
code.tex)
我看不到错误的迹象。
还有什么可能出错?