LaTeX forum ⇒ Generallatex finished with exit code 1

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

latex finished with exit code 1

Postby komy83 » Fri Jun 17, 2016 10:38 am

: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

  1. \documentclass[a4paper,11pt]{article}
  2. \usepackage[numbers]{natbib}
  3. \usepackage{graphicx}
  4. % %\usepackage[pdftex]{graphicx}
  5. \graphicspath{{./images/}}
  6. % \usepackage{hyperref}
  7. \usepackage{subfig}
  8. \usepackage{paralist}
  9. \usepackage{multirow}
  10. \usepackage{rotating}
  11. \usepackage{fancyhdr}
  12. \usepackage{wrapfig}
  13. \usepackage{url}
  14. % \usepackage[utf8]{inputenc}
  15. % \usepackage[T1]{fontenc}
  16. % \usepackage{mathbbol}
  17. \usepackage{fullpage}
  18. \usepackage[stable]{footmisc}
  19. \usepackage{rotating}
  20. \usepackage[T1]{fontenc}
  21. \usepackage[english]{babel}
  22. \usepackage[protrusion=true,expansion=true]{microtype}
  23. \usepackage{amsmath,amsfonts,amsthm}
  24.  
  25. % %
  26. % %
  27. % %%% Custom sectioning (sectsty package)
  28. % \usepackage{sectsty}
  29. % % Custom sectioning (see below)
  30. % \allsectionsfont{\centering \normalfont\scshape} % Change font of al section commands
  31. % %
  32. % %
  33. % %%% Custom headers/footers (fancyhdr package)
  34. \usepackage{fancyhdr}
  35. \pagestyle{fancyplain}
  36. % %
  37. % %
  38. \fancyhead{}
  39. % %
  40. % %%% Equation and float numbering
  41. \numberwithin{equation}{section} % Equationnumbering: section.eq#
  42. \numberwithin{figure}{section} % Figurenumbering: section.fig#
  43. \numberwithin{table}{section} % Tablenumbering: section.tab#
  44. % %
  45.  
  46. % %
  47. % \newcommand{\ind}[1]{[\![#1]\!]}
  48. % \DeclareMathOperator*{\argmin}{argmin}
  49. % \DeclareMathOperator*{\argmax}{argmax}
  50. %
  51. \setlength{\headheight}{35pt}
  52. \setlength{\headsep}{15.2pt}
  53. \setlength{\textheight}{650pt}
  54. \setlength{\footskip}{35pt}
  55. %
  56. \pagestyle{fancy}
  57. %
  58. \title{TITLE}
  59. \author{MY NAME}
  60. \date{\today}
  61. %
  62. \setcounter{tocdepth}{2}
  63. \setcounter{secnumdepth}{3}
  64. \parindent=0pt
  65. % %
  66. % %
  67. % % %%%%% Front page
  68. % %
  69. % %
  70. \title{%
  71. % \includegraphics[scale=3]{logo.jpg}
  72. % \\[2cm]
  73. \rule{\linewidth}{0.5mm}
  74. MY TITLE\\
  75. \Large\it MY TITLE\\
  76. \rule{\linewidth}{0.5mm}
  77. \\[2cm]}
  78. % %
  79. % %
  80. %
  81. % \author{{\Large me \textsc{me}}\\~\\
  82. % Department of\\
  83. % University\\[1cm]}
  84.  
  85. \author{{\Large name \textsc{name}}\\~\\}
  86.  
  87.  
  88. \date{\today}
  89. % %
  90. % %
  91. % %
  92. % %
  93. % % %%%% Begin Document
  94. % %
  95. % %
  96. \begin{document}
  97. \maketitle
  98. \thispagestyle{empty}
  99. \newpage
  100. %
  101. \cleardoublepage
  102. % \lhead{\includegraphics[height=1cm]{logo.jpg}}
  103. % \lhead{\includegraphics[scale=1]{logo.jpg}}
  104. \rhead{tile fdsfdfsdsfd}
  105. %
  106. % % Table of contents
  107. \tableofcontents
  108. %
  109. % \listoffigures
  110. % \listoftables
  111. % %
  112. % % Body
  113. \cleardoublepage
  114. %
  115. \section{Introduction}
  116. % \label{sec:introduction}
  117.  
  118.  
  119. %INTRODUCTION
  120.  
  121.  
  122.  
  123. \subsection{Structure of this document}
  124.  
  125.  
  126. rerueor reuorueoruoe reurieuorew rueioreuwiore ruewioreuowr
  127. reuoirewuroiw reuoreow rewuierwo reuwiroeuw
  128.  
  129.  
  130. \end{document}

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3582
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Jun 17, 2016 6:46 pm

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.


Return to “General”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests