siyuan-note / siyuan

A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
https://b3log.org/siyuan
GNU Affero General Public License v3.0
19.91k stars 1.46k forks source link

3.1.0-dev8 mjx-container节点latex剪报多行公式识别异常 #11867

Closed ruin1990 closed 3 months ago

ruin1990 commented 3 months ago

Is there an existing issue for this?

Can the issue be reproduced with the default theme (daylight/midnight)?

Could the issue be due to extensions?

Describe the problem

您好,我更新到3.1.0-dev8,刚才测试了一下 #11852 尚未完全修复,给的链接地址末尾latex的似乎有问题 其他部分的单行latex正常了

后面的那段叉积的latex看起来有点问题,应该是begin和end这里识别的问题,具体看下图

跳转到那段的快速搜索文字: “根据叉积的定义,可得:” https://mp.weixin.qq.com/s/RX9gT6m5Qj2EU-zCN8TwgQ 除了上面例子的链接,我再追加一个,应该是多行latex解析的问题 https://mp.weixin.qq.com/s/LtN0_j_LhNpYfBSBsJ1RQA

简单看了下好像是因为遇到多行latex也是增加$latex$这种形式,实际上可能只能用行级代码块了

Expected result

公式可以正确复制到笔记里

Screenshot or screen recording presentation

image

Version environment

- Version: 3.1.0-dev7
- Operating System: Win10 x64
- Browser (if used): Chrome 120.0.6099.225 (正式版本) (64 位)

Log file

日志我清理了一下重新导入网页剪报, 还是似乎只有一条 W 2024/06/28 18:40:33 blocktree.go:576: save block tree [size=2.36 MB] to [D:\SYNote\temp\blocktree], elapsed [4.38s]

More information

主要是多行latex的时候的识别问题

ruin1990 commented 3 months ago

哦,已经在 #11852 交流了,这里关闭