简体   繁体   English

可以通过URL对LaTeX进行HTML抓取吗?

[英]Possible to HTML scrape for LaTeX through a URL?

I've looked through many places for any LaTeX integration with processing (java), and can't find any that work. 我已经遍历许多地方进行了LaTeX与处理(java)的集成,但找不到任何可行的方法。 Although not all hope is lost as I have an idea. 虽然并非所有希望都因我的想法而丧失。

Are there any websites that convert raw LaTeX to images, where I could access the raw LaTeX within the URL? 是否有将原始LaTeX转换为图像的网站,我可以在URL中访问原始LaTeX?

eg; 例如;

https://www.latexgen.com/?text=2x+5-y (fake website). https://www.latexgen.com/?text=2x+5-y (假网站)。

where 2x+5-y would be processed into a LaTeX picture. 其中2x+5-y将被处理为LaTeX图片。

From there, I might be able to scrape the HTML to find the image. 从那里,我也许可以抓取HTML来查找图像。 Essentially creating a tedious, but functional text-to-LaTeX function. 本质上创建一个乏味但功能强大的文本到LaTeX功能。

I'm aware that a few modules aleady exist for Java. 我知道Java有一些领先的模块。 And that there are many websites that convert text to LaTeX. 而且有许多网站将文本转换为LaTeX。

Found exactly what I was looking for! 恰好找到了我想要的!

http://latex.codecogs.com/png.latex?\dpi{300} \huge x

Replace x with the LaTeX formula and the site will generate the image. 用LaTeX公式替换x ,站点将生成图像。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM