LLM_in_Action icon indicating copy to clipboard operation
LLM_in_Action copied to clipboard

ERROR when run render

Open zhaozhf opened this issue 8 months ago • 1 comments

使用默认的html配置会报错(Mac os+VSCode,quarto render命令)

FATAL (/Users/Applications/quarto/share/filters/main.lua:3761) An error occurred:
Could not run /Users/zhaozhf/LLM_in_Action-main/include-code-files as a JSON filter.
Please make sure the file exists and is executable.

Did you intend 'include-code-files' as a Lua filter in an extension?
If so, make sure you've spelled the name of the extension correctly.

The original Pandoc error follows below.
Error running filter /Users/LLM_in_Action-main/include-code-files:
Could not find executable /Users/LLM_in_Action-main/include-code-files

使用pdf配置

  pdf:   
    pdf-engine: xelatex
    documentclass: report
    mainfont: "Noto Sans CJK SC"
    toc: true
    number-sections: true

会报两个图片webp格式的问题

ERROR: 
compilation failed- error
LaTeX Error: Cannot determine size of graphic in ./images/autogen_2.webp (no BoundingBox).
ERROR: 
compilation failed- error
LaTeX Error: Cannot determine size of graphic in ./images/diagram-assistant.webp (no BoundingBox).

zhaozhf avatar Mar 26 '25 07:03 zhaozhf

在使用 quarto 工具生成在线html电子版本的时候,需要安装必须的依赖包:

quarto add --no-prompt quarto-ext/include-code-files
quarto install --no-prompt tinytex

使用的 quarto 版本最好是 1.3.450,高版本没有测试过,不确定是否会有兼容性问题。

wangwei1237 avatar Mar 26 '25 15:03 wangwei1237