Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当文档中存在公式时,无法导出pdf文档 #2522

Open
LostEcho-TeaParty opened this issue Jul 5, 2024 · 5 comments
Open

当文档中存在公式时,无法导出pdf文档 #2522

LostEcho-TeaParty opened this issue Jul 5, 2024 · 5 comments

Comments

@LostEcho-TeaParty
Copy link

版本3.18.0,平台是windows,当文档中存在公式时,将无法导出pdf文档

Steps to reproduce the behavior:

  1. 准备一篇可以正常导出的文档
  2. 加入数字公式,如:
$$
J(\theta) = \frac 1 2 \sum_{i=1}^m (h_\theta(x^{(i)})-y^{(i)})^2
$$
  1. 执行导出pdf操作,无法导出。

Expected behavior
正常导出pdf文件

Desktop:

  • OS: [Windows 10]
  • Version [3.18.0]
@yuralandau
Copy link

版本3.18.2依然存在这一问题。
649832f73510aea00224f79e01275b78
无论是否使用wkhtmltopdf都无法导出pdf,进图条一致转圈,无论是否使用wkhtmltopdf均没有任何输出,应该是卡在vnote的公式解析了。

版本3.15.0没有这一问题,可以正常输出。

@tamlok
Copy link
Member

tamlok commented Sep 13, 2024

怀疑是Qt6的问题,试试Qt5构建的:https://github.com/vnotex/vnote/releases/download/v3.18.2/VNote-3.18.2-win64-windows7.zip

@yuralandau
Copy link

怀疑是Qt6的问题,试试Qt5构建的:https://github.com/vnotex/vnote/releases/download/v3.18.2/VNote-3.18.2-win64-windows7.zip

此版本可以正常导出。

@yuralandau
Copy link

怀疑是Qt6的问题,试试Qt5构建的:https://github.com/vnotex/vnote/releases/download/v3.18.2/VNote-3.18.2-win64-windows7.zip

请问一下,如何使用qt5构建啊?说明文档里说只支持用qt6.4以上构建。

@tamlok
Copy link
Member

tamlok commented Sep 26, 2024

一样的,看一下这里的脚本:

https://github.com/vnotex/vnote/blob/master/.github/workflows/ci-win.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants