diff --git a/Dockerfile b/Dockerfile
index 2a4846d1..573a8f8f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -77,7 +77,7 @@ RUN apt install -y --no-install-recommends tzdata
RUN dpkg-reconfigure --frontend noninteractive tzdata
# 安装 calibre 依赖的包
-RUN apt install -y libgl-dev libnss3-dev libxcomposite-dev libxrandr-dev libxi-dev
+RUN apt install -y libgl-dev libnss3-dev libxcomposite-dev libxrandr-dev libxi-dev libxdamage-dev
# 安装文泉驿字体
RUN apt install -y fonts-wqy-microhei fonts-wqy-zenhei
# 安装中文语言包
diff --git a/README.md b/README.md
index a10340f0..257e4a90 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ git clone https://github.com/mindoc-org/mindoc.git
# go包安装
go mod tidy
# 编译(sqlite需要CGO支持)
-go build -ldflags "-w"
+go build -ldflags "-w" -o mindoc.exe main.go
# 数据库初始化(此步骤执行之前,需配置`conf/app.conf`)
./mindoc install
# 执行
diff --git a/models/BookResult.go b/models/BookResult.go
index a5c987ea..1692f6fb 100644
--- a/models/BookResult.go
+++ b/models/BookResult.go
@@ -472,9 +472,6 @@ func (m *BookResult) Converter(sessionId string) (ConvertBookResult, error) {
if err := filetil.CopyDir(filepath.Join(conf.WorkingDirectory, "static", "font-awesome"), filepath.Join(tempOutputPath, "styles", "font-awesome")); err != nil {
logs.Error("复制CSS样式出错 -> static/font-awesome", err)
}
- if err := filetil.CopyFile(filepath.Join(conf.WorkingDirectory, "static", "editor.md", "lib", "mermaid", "mermaid.css"), filepath.Join(tempOutputPath, "styles", "css", "mermaid.css")); err != nil {
- logs.Error("复制CSS样式出错 -> static/editor.md/lib/mermaid/mermaid.css", err)
- }
eBookConverter := &converter.Converter{
BasePath: tempOutputPath,
diff --git a/views/document/export.tpl b/views/document/export.tpl
index ded5fe2d..ae43a815 100644
--- a/views/document/export.tpl
+++ b/views/document/export.tpl
@@ -9,7 +9,6 @@
-