在没有外部CDN的情况下以降价显示数学公式? [英] Displaying mathematical formulas in markdown without external CDN?

查看:63
本文介绍了在没有外部CDN的情况下以降价显示数学公式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景

我们正在合并用LaTeX和MS Word编写的文档,以实现降价(众所周知的优点).我们有一个静态的Intranet网站,用于创建 mkdocs .我的前任决定使用 MathJax ,但是此操作在 MathJax停止工作CDN已关闭,但客户只是稍加延迟就意识到了这一点.同时,我们的客户现在已将Intranet与外界完全断开连接(其公式应保留在篱笆后面).因此不再可以使用其他MathJax CDN.

We are merging documentation written in LaTeX and MS Word towards markdown (for the well-known advantages). We have a static intranet site creating mkdocs. My predecessors decided for MathJax, but this stopped working at the moment MathJax CDN was shut down, but the customer only realized that with some delay. In the meantime, the intranet is now totally disconnected from the outside world by our customer (whose formulas should stay behind the fence). Using a different MathJax CDN is therefore no longer an option.

挑战

我们必须提供哪些选项来渲染公式?不能使用完整的LaTeX安装(类似于 http://quicklatex.com/)动态渲染LaTeX公式.设置起来太复杂-除了我们没有得到批准的权限.

Which options do we have to render the formulas? Rendering LaTeX formulas on the fly using a complete LaTeX installation (similar to http://quicklatex.com/) is not too complicated to set up - except that we do not get the permission to do so.

我们可以坚持使用MathJax吗?我们如何辩称在不连接CDN的情况下运行MathJax很简单?还有其他解决方案可以使用 mkdocs 渲染简单的数学公式吗?

Can we stick with MathJax? How do we argue that it is simple to run MathJax running without connecting to the CDN? Is there any other solution to render simple mathematical formulas with mkdocs?

备注

我特意使用了标记 latex MathJax (即使它与胶乳和MathJax并不严格相关),因为我感谢您关于如何渲染的创意公式快速,简单且安全.

I used the tag latex and MathJax on purpose (even though it is not strictly latex- and MathJax-related) since I appreciate your creative ideas on how to render formulas fast, easy and secure.

相关问题

推荐答案

由于许多客户都喜欢使用M $ Word,因此我们决定采用简单易用的解决方案:我们将Word文档中所有公式都保留在其中一个SharePoint,我们将它们抓取起来供 mkdocs 使用.

Since many of our clients prefer M$ Word, we decided for the simple and easy-to-argue solution: We keep a Word-document with all formulas in a SharePoint, and we screen-grab them for the use with mkdocs.

此解决方案并不优雅,但其目的是确保安全且易于维护.管理层决定可以从客户端IT服务获得基本的 mkdocs -安装,任何其他插件都被认为开销太大.

This solution is not elegant, but it serves the purpose of being secure and easy to maintain. The management decided that a basic mkdocs-installation can be expected from the client-IT-service, any additional plugins are considered too much overhead.

这篇关于在没有外部CDN的情况下以降价显示数学公式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆