When I open a PDF file and I want to know if it was created via LaTeX or XeLaTeX or LuaLaTeX and so on, because some PDF files were converted from Word. How can I do that?
When I open a PDF file and I want to know if it was created via LaTeX or XeLaTeX or LuaLaTeX and so on, because some PDF files were converted from Word. How can I do that?
Best Answer
For example,
pdfinfo
(part of poppler) can show you Creator and Producer. I get the following, for a PDF file created by XeTeX (with thexelatex
command):Created by LuaTeX (with
lualatex
):Created by pdfTeX, with
latex
followed bydvipdfm
:For a file created by TextEdit on macOS with “Export as PDF”:
For a file created with my browser's Print as PDF:
Etc.
You don't have to use
pdfinfo
; other tools that show PDF properties should show the same data.Also note that these are only the defaults; if someone wishes and knows how, they can set the properties to anything.