Giter Site home page Giter Site logo

Comments (7)

Kenshin avatar Kenshin commented on July 23, 2024

嗨,我这边是没问题的,看下图

image

你应该做的是将 sciencedirect.com 加入到延迟加载列表,而不是关闭预加载模式,如下图:

image

进入这个页面后,拉动滚动条让页面的公式全部加载完毕再进入阅读模式

如果按照上面的操作仍有问题,请详细说明哪里的问题(内容太多,公式太多,很难 100% 定位到问题。


CSDN 的公式问题

暂时不支持 CSDN 的 Katex 方案,仅支持 MathJax 方案,如果在阅读模式中 Katex 没问题,但导出时可能会出现问题。

from simpread.

Zeuyel avatar Zeuyel commented on July 23, 2024

你好,
事实上我的问题是导出时 公式全部丢失,所以在阅读模式中我是能够达到您回复中的效果。查阅阅读模式显示的网页源代码发现公式是mathjax的预览的。
我已经查看的之前关于latex完美显示的issue,并且再次尝试过您回答中的操作,但是导出时候公式仍然丢失了。
image
image
image

我之所以拿出了 csdn的ketax作为对比是原本以为 简阅 的公式导出是使用ketax来符合markdown格式。

from simpread.

Kenshin avatar Kenshin commented on July 23, 2024

emmm

也就是说在阅读模式下可以正常显示公式,但导出有问题。(我已确认这个情况)

估计是 MathJax 版本的问题,我先 Mark 下这个情况。

from simpread.

Zeuyel avatar Zeuyel commented on July 23, 2024

嗯,对的。我之前认为是 将mathjax 解析为 ketax 以供导出。所以导出的时候还是用mathjax的吗。

我所报告的网站应该由加了一个MathJax 提供的 SVG 渲染,所以猜测可能导致在阅读模式的时候并不是用mathjax的方法解析而是直接解析svg图片。

感谢回复!

from simpread.

Kenshin avatar Kenshin commented on July 23, 2024

简悦不支持 Katex 方案,部分 Katex 在阅读模式下是可以正常显示的,但导出异常。
简悦支持 MathJax 方案,自然也包括可以正常的导出为 Math 结构,但跟具体的 MathJax 版本有关,但我在适配它们时不知道这个情况,导致不确定是哪个版本可以支持,但我没办法要求每个支持 MathJax 的网站使用同一个版本。

综上,导致了目前这个情况的发生。

😂

PS:第二段内容有多个 是故意为之,寓意对 MathJax 混乱的版本不兼容的感慨 🌚 💔 👿

from simpread.

Zeuyel avatar Zeuyel commented on July 23, 2024

按照如下在任意 公式上右击 设置,
image
那么在导出的 html和pdf中公式正常显示,但是空格比较不美观, mark down还是不行
image
image
image

from simpread.

Kenshin avatar Kenshin commented on July 23, 2024

okay 我研究下。

from simpread.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.