While submitting my paper (produced using Overleaf) to arXiv, I found that the main TeX file (named ms.tex) is treated as a PostScript file.
Then, after processing the files, I get the following line in the AutoTeX log:
[verbose]: <ms.tex> is of type 'Postscript'.
Then, after a few lines, I get the error:
[verbose]: No tex files present, going to hope we can process as a postscript or dvi only package.
Then, in the preview of the paper, I could only see the figures and no text of the paper. What is wrong with the TeX document?
Best Answer
%!
is the magic marker used to identify PostScript used by the Unix/Linuxfile
program and other tools.Some editors (but not Overleaf) use a
% !TeX
syntax comment to control the processing done on the file. They all (now) allow a space between the%
and the!
to avoid misinterpretation as PostScript.