Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I used to be able to compile the TeX file. Although I used to be able to compile it earlier using pdflatex, now it fails to compile.The log file is as below:

*****
*****     PDFLaTeX output: 
*****     pdflatex -interaction=nonstopmode 'xworks.tex'
*****
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./xworks.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty)
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/xelatex/xetexconfig/geometry.cfg))
(./enumitem.sty) (/usr/share/texmf-texlive/tex/latex/graphics/color.sty
(/etc/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
(/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty))
*hyperref using default driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def) (./xworks.aux)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(/usr/share/texmf/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./xworks.out)
(./xworks.out)
Underfull \hbox (badness 10000) in paragraph at lines 360--360
\OT1/cmr/m/it/10 E-mail:

Overfull \hbox (22.49495pt too wide) in paragraph at lines 360--360
[][]\OT1/cmr/m/n/10 kps1211@gmail.com[][] 

Overfull \hbox (6.0pt too wide) in paragraph at lines 342--364
[][] 

Underfull \hbox (badness 10000) in paragraph at lines 387--388

(/usr/share/texmf-texlive/tex/latex/base/omscmr.fd) [1{/var/lib/texmf/fonts/map
/pdftex/updmap/pdftex.map}/usr/bin/pdflatex: xworks: Operation not supported

The code used to generate this is as follows:

  \documentclass[10pt]{article}

  \usepackage{calc}

  % Layout: Puts the section titles on left side of page
  \reversemarginpar

  \usepackage[paper=letterpaper,
      %includefoot, % Uncomment to put page number above margin
      marginparwidth=1.2in,     % Length of section titles
      marginparsep=.05in,       % Space between titles and text
      margin=0.5in,               % 1 inch margins
      includemp]{geometry}

  %% Use these lines for A4-sized paper
  %\usepackage[paper=a4paper,
  %            %includefoot, % Uncomment to put page number above margin
  %            marginparwidth=30.5mm,    % Length of section titles
  %            marginparsep=1.5mm,       % Space between titles and text
  %            margin=25mm,              % 25mm margins
  %            includemp]{geometry}

  %% More layout: Get rid of indenting throughout entire document
  \setlength{\parindent}{0in}

  \usepackage[shortlabels]{enumitem}


  \makeatletter
  \newlength{\bibhang}
  \setlength{\bibhang}{1em}
  \newlength{\bibsep}
  {\@listi \global\bibsep\itemsep \global\advance\bibsep by\parsep}
  \newlist{bibsection}{itemize}{3}
  \setlist[bibsection]{label=,leftmargin=\bibhang}
  \newlist{bibenum}{enumerate}{3}
  \setlist[bibenum]{resume,label=[\arabic*],leftmargin={\bibhang+\widthof{[999]}}}
  \setlist*[bibsection,bibenum]{%
      itemindent=-\bibhang,
      itemsep=\bibsep,parsep=\z@,partopsep=0pt,
      topsep=0pt}
  \let\oldendbibenum\endbibenum
  \def\endbibenum{\oldendbibenum\vspace{-.6\baselineskip}}
  \let\oldendbibsection\endbibsection
  \def\endbibsection{\oldendbibsection\vspace{-.6\baselineskip}}

  \newlist{bibenume}{enumerate}{2}
  \setlist[bibenume]{resume,label=[\arabic*]}
  \let\endbibenume
  \makeatother

  \usepackage{color,hyperref}
  \definecolor{darkblue}{rgb}{0.0,0.0,0.3}
  \hypersetup{colorlinks,breaklinks,
      linkcolor=darkblue,urlcolor=darkblue,
      anchorcolor=darkblue,citecolor=darkblue}


  \newcommand{\makeheading}[2][]%
      {\hspace*{-\marginparsep minus \marginparwidth}%
      \begin{minipage}[t]{\textwidth+\marginparwidth+\marginparsep}%
      {\large \bfseries #2 \hfill #1}\\[-0.15\baselineskip]%
          \rule{\columnwidth}{1pt}%
      \end{minipage}}

  %%% SECTION HEADINGS

  % The section headings. Flush left in small caps down pseudo-margin.
  %
  % Usage: \section{section name}
  \renewcommand{\section}[1]{\pagebreak[3]%
  \hyphenpenalty=10000%
  \vspace{1.3\baselineskip}%
  \phantomsection\addcontentsline{toc}{section}{#1}%
  \noindent\llap{\scshape\smash{\parbox[t]{\marginparwidth}{\raggedright #1}}}%
  \vspace{-\baselineskip}\par}

  %%% LISTS

  % This macro alters a list by removing some of the space that follows the list
  % (is used by lists below)
  \newcommand*\fixendlist[1]{%
  \expandafter\let\csname preFixEndListend#1\expandafter\endcsname\csname end#1\endcsname
  \expandafter\def\csname end#1\endcsname{\csname preFixEndListend#1\endcsname\vspace{-0.6\baselineskip}}}

  % These macros help ensure that items in outer-type lists do not get
  % separated from the next line by a page break
  % (they are used by lists below)
  \let\originalItem\item
  \newcommand*\fixouterlist[1]{%
  \expandafter\let\csname preFixOuterList#1\expandafter\endcsname\csname #1\endcsname
  \expandafter\def\csname #1\endcsname{\csname preFixOuterList#1\endcsname\let\oldItem\item\def\item{\pagebreak[2]\oldItem}}
  \expandafter\let\csname preFixOuterListend#1\expandafter\endcsname\csname end#1\endcsname
  \expandafter\def\csname end#1\endcsname{\let\item\oldItem\csname preFixOuterListend#1\endcsname}}
  \newcommand*\fixinnerlist[1]{%
  \expandafter\let\csname preFixInnerList#1\expandafter\endcsname\csname #1\endcsname
  \expandafter\def\csname #1\endcsname{\let\oldItem\item\let\item\originalItem\csname preFixInnerList#1\endcsname}
  \expandafter\let\csname preFixInnerListend#1\expandafter\endcsname\csname end#1\endcsname
  \expandafter\def\csname end#1\endcsname{\csname preFixInnerListend#1\endcsname\let\item\oldItem}}

  \newlist{outerlist}{itemize}{3}
  \setlist[outerlist]{label=\enskip\textbullet,leftmargin=*}
  \fixendlist{outerlist}
  \fixouterlist{outerlist}

  \newlist{lonelist}{itemize}{3}
  \setlist[lonelist]{label=\enskip\textbullet,leftmargin=*,partopsep=0pt,topsep=0pt}
  \fixendlist{lonelist}
  \fixouterlist{lonelist}

  % An itemize-style list with little space between items
  %
  % Usage:
  %   \begin{innerlist}
  %       \item ...    % (or \item[] for no bullet)
  %   \end{innerlist}
  \newlist{innerlist}{itemize}{3}
  \setlist[innerlist]{label=\enskip\textbullet,leftmargin=*,parsep=0pt,itemsep=0pt,topsep=0pt,partopsep=0pt}
  \fixinnerlist{innerlist}

  % An environment IDENTICAL to innerlist that has better pre-list spacing
  % when used as the first thing in a \section
  %
  % Usage:
  %   \begin{loneinnerlist}
  %       \item ...    % (or \item[] for no bullet)
  %   \end{loneinnerlist}
  \newlist{loneinnerlist}{itemize}{3}
  \setlist[loneinnerlist]{label=\enskip\textbullet,leftmargin=*,parsep=0pt,itemsep=0pt,topsep=0pt,partopsep=0pt}
  \fixendlist{loneinnerlist}
  \fixinnerlist{loneinnerlist}

  %%% EXTRA SPACE

  % To add some paragraph space between lines.
  % This also tells LaTeX to preferably break a page on one of these gaps
  % if there is a needed pagebreak nearby.
  \newcommand{\blankline}{\quad\pagebreak[3]}
  \newcommand{\halfblankline}{\quad\vspace{-0.5\baselineskip}\pagebreak[3]}

  %%% FORMATTING MACROS

  % Uses hyperref to link DOI
  %\newcommand\doilink[1]{\href{http://dx.doi.org/#1}{#1}}
  %\newcommand\doilink[1]{\href{http://dx.doi.org/#1}}
  %\newcommand\doi[1]{doi:\doilink{#1}}
  \newcommand\doilink[2]{\href{http://dx.doi.org/#1}{``{#2}''}}
  \newcommand\doinlink[1]{{``{#1}''}}
  % For \url{SOME_URL}, links SOME_URL to the url SOME_URL
  \providecommand*\url[1]{\href{#1}{#1}}
  % Same as above, but pretty-prints SOME_URL in teletype fixed-width font
  \renewcommand*\url[1]{\href{#1}{\texttt{#1}}}

  % For \email{ADDRESS}, links ADDRESS to the url mailto:ADDRESS
  \providecommand*\email[1]{\href{mailto:#1}{#1}}
  % Same as above, but pretty-prints ADDRESS in teletype fixed-width font
  %\renewcommand*\email[1]{\href{mailto:#1}{\texttt{#1}}}

  %\providecommand\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
  %    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
  %\providecommand\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
  %    \TeX}}
  \providecommand\BibTeX{{B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
  \TeX}}
  \providecommand\Matlab{\textsc{Matlab}}


  \begin{document}
  Nothing

  \end{document}
share|improve this question
1  
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Stephen Dec 13 '12 at 18:17
2  
Your tex distribution is rather old (2009). You should update to the actual TeXLive 2012. – Kurt Dec 13 '12 at 18:20
I am using Ubuntu 10.04 and the 2009 seems to the working version. The synaptic debian update also gives me the 2009 version. Is compilation from the source a better option for a 2012 texlive version? – Kalyana SV Dec 13 '12 at 18:55
Your code compiles without errors on my system. – Scott H. Dec 13 '12 at 19:14
1  
It looks like something is blocking pdflatex from writing to the pdf. Do you have it open in a viewer (that may have locked it) or are there problems with the filesystem? – Martin Schröder Dec 15 '12 at 10:37
show 1 more comment

closed as too localized by lockstep, Martin Schröder, Joseph Wright Jan 5 at 22:23

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.