2

It's compiling without producing a pdf. Additionally, it has been producing a page with just "chchchch" written on it.

Here's a MWE:

\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\graphicspath{  {Images/}{../Images/}   }

\usepackage[margin = 1inch]{geometry}                   
\geometry{letterpaper}    

\usepackage{amsthm, amsfonts, amsmath,amssymb, siunitx, units, gensymb, array, titling, indentfirst, titlesec, setspace,  upgreek, newcent} 
\usepackage[comma, super, sort&compress]{natbib}

\renewcommand\thesection{\arabic{section}}
\usepackage{subfiles}
\doublespacing

\begin{document}
\subfile{Others/cover}
\subfile{Sections/Introduction}
\end{document}

1 Answer 1

8

Your are using a wrong argument to the geometry package. It's margin = 1in, not margin = 1inch.

3
  • Is "inch" allowed for the article document class? Because the document complied fine earlier when it was an article class.
    – thorium
    Commented Dec 5, 2016 at 6:54
  • inch is not a valid length.
    – Johannes_B
    Commented Dec 5, 2016 at 7:16
  • I have been struggling with this error for an hour. Wrote "vin" instead of "1in". You're a savior. Commented Mar 17, 2020 at 15:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .