I just attempted to submit a paper to the arXiv. Unfortunately, they would not accept a .pdf and insisted on the LaTeX source code. I uploaded the LaTeX source code along with three figures in .pdf format (that may be part of the problem: see below). When I clicked on the "view paper" button, the first page had a message like this:
"La- TeX Er- ror: Miss- ing doc- u- mentSee the La- TeX man- ual or La- TeX Com- pan- ion for ex- pla- na- tion.You’re in trou- ble here. Try typ- ing ¡re- turn¿ to pro- ceed.If that doesn’t work, type X ¡re- turn¿ to quit.1111111".
That message was squeezed into the left part of the page. Everything after that looked fine.
I couldn't find a solution for my problem in the arXiv's FAQ's, so I e-mailed them. They promptly replied that:
"The first page of the PDF is a common error. Please note arXiv is a fully automated electronic repository. For more information on the issue please see:
Amsart with algorithm2e introduces extraneous text into pdf file with Texlive 2011 "
I did read that link. However, I'm not sure it addresses my problem, for several reasons. First, the paper compiles fine on my own computer (using MikTeX, TexNicCenter, and Windows). Second, I am not using "algorithm2e" at all, at least not knowingly. Third, that Stack Exchange post is over two years old. I installed brand new versions of MikTeX and TexNicCenter today.
EDIT: I created a mini-version of my file that works fine on my own computer:
\documentclass[reqno]{amsart}
\usepackage{amssymb,amsmath,amsfonts,amsthm,comment,mathrsfs,times,graphicx}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
%
\begin{document}
Let $\theta \in (0,1]$ and
$\alpha \in [\theta^2/2,\theta)$. Let $P$ and $S$ be points on $S$ separated by arc length $\theta$. Let $Q$ and $R$ lie on the arc
$\stackrel{\textstyle\frown}{PS}$,
with
$\stackrel{\textstyle\frown}{QR}$ having arc length $\alpha$,
$\stackrel{\textstyle\frown}{PQ}$ and
$\stackrel{\textstyle\frown}{RS}$
having equal arc length, and $Q$ between $P$ and $R$. Let $T$ and $U$ lie on the chord
${\overline {PS}}$, chosen such that $\triangle PQT$ and $\triangle RSU$ are right triangles. Then $\triangle PQT$ and $\triangle RSU$ have disjoint closures.
%
\end{document}
This compiles fine on my own computer. I had used \usepackage{arcs}
, but a commenter pointed out that my arc-like commands did not require the arcs
package at all, and I have heard that package is bugged, so I will remove \userpackage{arcs}
. Another commenter suggested that I needed to include a line that forces the .pdf images to be handled correctly (I don't remember the comment exactly, and I can't see it and type this answer at the same time). I will include that line.
FINAL EDIT: I followed the advice of several commenters below and it seems to have worked. I submitted the paper and it looked fine when I previewed it, so I submitted it.
arcs
package is loadingrelsize
, so it is the same sort of problem as the linked question, but the solution is not so clear. Please update your code to provide a complete document to demonstrate how you use the commands from that package. – Andrew Swann Nov 5 '13 at 21:28