Generallatex finished with exit code 1

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
komy83
Posts: 1
Joined: Fri Jun 17, 2016 10:30 am

latex finished with exit code 1

Post by komy83 »

:shock: i tried to complied this code and I got "finished with exit code 1" and i have not a clue how to solve this. Please help. thanks

Code: Select all

\documentclass[a4paper,11pt]{article}
    \usepackage[numbers]{natbib}
    \usepackage{graphicx}
    % %\usepackage[pdftex]{graphicx}
    \graphicspath{{./images/}}
   % \usepackage{hyperref}
   \usepackage{subfig}
   \usepackage{paralist}
   \usepackage{multirow}
   \usepackage{rotating}
   \usepackage{fancyhdr} 
   \usepackage{wrapfig}
   \usepackage{url} 
   % \usepackage[utf8]{inputenc}
   % \usepackage[T1]{fontenc}
   % \usepackage{mathbbol}
    \usepackage{fullpage}
    \usepackage[stable]{footmisc}
    \usepackage{rotating}
   \usepackage[T1]{fontenc}
   \usepackage[english]{babel} 
   \usepackage[protrusion=true,expansion=true]{microtype}
   \usepackage{amsmath,amsfonts,amsthm}

% % 
% % 
% %%% Custom sectioning (sectsty package)
% \usepackage{sectsty}												
% % Custom sectioning (see below)
% \allsectionsfont{\centering \normalfont\scshape}	% Change font of al section commands
% % 
% % 
% %%% Custom headers/footers (fancyhdr package)
    \usepackage{fancyhdr}
    \pagestyle{fancyplain}
% % 
% %  
    \fancyhead{}	
% % 
% %%% Equation and float numbering
    \numberwithin{equation}{section}		% Equationnumbering: section.eq#
    \numberwithin{figure}{section}			% Figurenumbering: section.fig#
    \numberwithin{table}{section}				% Tablenumbering: section.tab#
% % 

% % 
% \newcommand{\ind}[1]{[\![#1]\!]}
% \DeclareMathOperator*{\argmin}{argmin}
% \DeclareMathOperator*{\argmax}{argmax}
% 
    \setlength{\headheight}{35pt}
    \setlength{\headsep}{15.2pt}
    \setlength{\textheight}{650pt}
    \setlength{\footskip}{35pt}
% 
    \pagestyle{fancy}
% 
    \title{TITLE}
    \author{MY NAME}
    \date{\today}
% 
    \setcounter{tocdepth}{2}
    \setcounter{secnumdepth}{3}
    \parindent=0pt
% % 
% % 
% % %%%%% Front page
% % 
% % 
    \title{%
% \includegraphics[scale=3]{logo.jpg}
% \\[2cm]    
    \rule{\linewidth}{0.5mm}
     MY TITLE\\
    \Large\it MY TITLE\\
    \rule{\linewidth}{0.5mm}
\\[2cm]}
% % 
% % 
% 
% \author{{\Large me \textsc{me}}\\~\\
% Department of\\
% University\\[1cm]}

    \author{{\Large name \textsc{name}}\\~\\}


    \date{\today}
% % 
% % 
% % 
% % 
% % %%%% Begin Document
% % 
% % 
    \begin{document}
    \maketitle
    \thispagestyle{empty}
    \newpage
% 
    \cleardoublepage
% \lhead{\includegraphics[height=1cm]{logo.jpg}}
% \lhead{\includegraphics[scale=1]{logo.jpg}}
\rhead{tile fdsfdfsdsfd}
% 
% % Table of contents
   \tableofcontents
% 
% \listoffigures
% \listoftables
% % 
% % Body
    \cleardoublepage
% 
    \section{Introduction}
% \label{sec:introduction}

   
%INTRODUCTION

 
  
      \subsection{Structure of this document}

  
    rerueor reuorueoruoe reurieuorew rueioreuwiore ruewioreuowr
    reuoirewuroiw reuoreow rewuierwo reuwiroeuw


    \end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

latex finished with exit code 1

Post by Johannes_B »

Your editor is hiding all the useful information from you, or you don't notice it.
Please update the log-file in order to give us any clue on what is going on. As you can see by clicking on Open in online LaTeX editor just above your code example, the code runs fine.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply