## Troubleshooting Your Editorial Manager Submission

Internet searches are a great resource for understanding the meaning of errors that appear in the .log file displayed by the upload system when Editorial Manager fails to build a PDF for your manuscript.

1. My PDF compiles, but all the figures are missing.

a. Make sure that EM’s Item type for all figures is set to “Rendered Figure.”

b. Remove all directory paths to figure files (including the current directory “./”) in your .tex file.

2. My PDF compiles, but some figures are missing.

a. Check that all figure files are uploaded and that the file names match the names in the .tex file.

b. If the missing figures are landscape figures, upload the endfloat.cfg file to EM with your other LaTeX files. The endfloat.cfg file is necessary for the \endfloat command to correctly recognize the \sidewaysfigure command.

c. If the missing figures are .eps files, please try converting them to .pdf files and replacing the .eps figures with the .pdf versions in your .tex file. The .eps files should automatically convert to .pdf files during the pdfLaTeX compilation in EM, but issues in some problematic .eps files can cause problems in the conversion process.

d. Check your list of uploaded files and ensure that you have not uploaded a PDF file of your paper. If a PDF was uploaded, remove it, as it will duplicate the manuscript produced by EM.

3. My PDF compiles, but the references are not showing up.

a. You need to upload your .bib file.

b. You need to upload ametsoc.bst/ametsoc2014.bst.

c. Remove all directory paths to bibliography files (including the current directory “./”).

d. Do not include the file extension (.bst and .bib) in the file name when using the \bibliographystyle and \bibliography commands in your .tex file.

e. Check your list of uploaded files and ensure that you have not uploaded a PDF file of your paper. If a PDF was uploaded, remove it, as it will duplicate the manuscript produced by EM.

4. Instead of a PDF, my submission shows the log file.

a. Scan the log file for any obvious errors that may point to the problem, e.g.:

! LaTeX Error: Unknown float option c'.
l.1 \begin{figure*}[ct]
Option c' ignored and p' used.
(TeX Live 2015 now flags unknown floats, whereas earlier versions would ignore them. This error was produced because “c” is not a valid float option and should be removed.)

! Undefined control sequence.
<recently read> \linenumbers
l.13 \linenumbers
(A linenumber command or style file is missing, e.g., \usepackage{lineno}.)

! Package pdftex.def Error: File figure01.pdf' not found.
(Figure file was not uploaded to EM or was uploaded with a name that is different than what is in the .tex file.)

! Package pdftex.def Error: File `./figures/figure01.pdf' not found.
(Figure file cannot be found because of directory commands before figure name.)

! LaTeX Error: Missing \begin{document}.
(This is a common but vague error. Check text following the error in the .log file for clues as to where the problem is.)

! Undefined control sequence.
<recently read> \degree
(This error was produced because of an undefined command.)

! LaTeX Error: Unknown graphics extension: .fig.map.35deg.eps
(This error was produced because of periods within the figure file name, causing LaTeX to read anything after the first period as the file extension.)

Runaway argument?
! File ended while scanning use of \efloat@xfloat.

(This error was caused by blank spaces before \begin{table} and \end{table} commands, which conflict with endfloat.)

The text around these error messages will usually indicate the problem, such as a \linenumbers command that cannot be read until the ametsoc.sty/ametsoc.cls file is uploaded, a syntax error in a specific line, or a missing figure file (or files still called by a directory path in the .tex file).

b. Check for extra spaces at the beginnings of the top few lines of the file. Errors can sometimes occur if the text does not begin precisely at the left margin.

5. There are gaps in my line numbering.

a. Make sure that you are using the ametsoc.cls file or the most recent version of ametsoc.sty (v. 3.2, 7/24/2012) and that you upload the file into EM with your other LaTeX files. This should resolve the line numbering problem.

Please visit our LaTeX Frequently Asked Questions page for more help building a manuscript from our template files.