将PDF恢复到LaTeX [英] Recover PDF to LaTeX

查看:490
本文介绍了将PDF恢复到LaTeX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何从LaTeX制作PDF.有没有一种方法可以从我之前创建的PDF中提取LaTeX代码?如果有人给我发送PDF,并且我喜欢这种格式,那该怎么办?我可以从中提取LaTeX吗?

I know how make a PDF from LaTeX. Is there a way to extract the LaTeX-code from a PDF I created earlier? How about if someone sends me a PDF and I like the formatting. Can I extract the LaTeX from it?

推荐答案

LaTeX没有对PDF的一对一转换.关于您的第一个问题,我认为从技术上讲这样的转换是可能的,但是我不认为存在这样的转换.类似于可以将汇编程序反编译为高级语言的方法,可能有一种方法可以实现.但是-允许pdf包含所有类型的数据-AutoCAD图形,JPEG图形,字体文件,表格,数字签名等.LaTeX不知道这些是什么.因此,对第二个问题的回答是否"-无法从任何PDF文档中提取等效的LaTeX.

LaTeX does not have a one-to-one conversion to PDF. With regards to your first question, I believe such a conversion may be technically possible, but I do not believe an application to do so yet exists. Similar to the way assembler can be decompiled back into high level language, there is probably a way to do it. However -- a pdf is allowed to contain all matter of kinds of data -- AutoCAD drawings, JPEG graphics, font files, forms, digital signatures, etc. LaTeX has no idea what these things are. So in answer to the second question is no -- there's not a way to extract equivalent LaTeX from any PDF document.

这篇关于将PDF恢复到LaTeX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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