I setup the environment on Manjaro with texlive-core 2019.52579-1 and pandoc 2.9.2
Here is the output:
$ panbook book
[NOTE] Welcome to PanBook!
[NOTE] use -V device:(pc|mobile|kindle) to produce different size of pdf
[NOTE] use -V cover:(1-60|R|N|filepath) select cover background.R=random,N=no cover,filepath=custom cover file
[NOTE] use -V pagestyle:style to set pagestyle
Latexmk: This is Latexmk, John Collins, 18 June 2019, version: 4.65.
Latexmk: applying rule 'xelatex'...
Rule 'xelatex': The following rules & subrules became out-of-date:
'xelatex'
------------
Run number 1 of rule 'xelatex'
------------
------------
Running 'xelatex -no-pdf -interaction=batchmode -recorder -output-directory="/home/coned/Code/test_panbook/build" "/home/coned/Code/test_panbook/build/test_panbook-book-ctexbook-pc.tex"'
------------
This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/Arch Linux) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
=== TeX engine is 'XeTeX'
Latexmk: Missing input file: 'ctexbook.cls' from line
'! LaTeX Error: File `ctexbook.cls' not found.'
Latexmk: Log file says no output from latex
Latexmk: For rule 'xelatex', no output was made
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
xelatex: Command for 'xelatex' gave return code 1
Refer to '/home/coned/Code/test_panbook/build/test_panbook-book-ctexbook-pc.log' for details
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs, or warnings treated as errors.
[ERRO] book Compile status is not 0. Please Check. you may add -d or --trace to see more output
I think maybe the program doesn't copy( or generate ) the .cls file so that the LaTeX compiler doesn't work. By the way, I try to use the v1.4 release and the lastest git repo version. The same problem occurs.
I setup the environment on Manjaro with texlive-core 2019.52579-1 and pandoc 2.9.2 Here is the output:
And debug output:
I think maybe the program doesn't copy( or generate ) the .cls file so that the LaTeX compiler doesn't work. By the way, I try to use the v1.4 release and the lastest git repo version. The same problem occurs.