From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: [Bug] Using org-article produces nil.sty error Date: Fri, 17 Dec 2010 01:15:35 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=54342 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTTbh-0002He-SU for emacs-orgmode@gnu.org; Fri, 17 Dec 2010 01:15:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTTbg-0006Lu-Ri for emacs-orgmode@gnu.org; Fri, 17 Dec 2010 01:15:57 -0500 Received: from mail-fx0-f48.google.com ([209.85.161.48]:49592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTTbg-0006Lj-N6 for emacs-orgmode@gnu.org; Fri, 17 Dec 2010 01:15:56 -0500 Received: by fxm2 with SMTP id 2so314691fxm.35 for ; Thu, 16 Dec 2010 22:15:55 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode ml Aloha Thomas, I think I found the bug. I ran =C-c C-c= on the following lines of code from your 'article-class.org' file: #+begin_src emacs-lisp :exports code (require 'org-latex) (setq org-export-latex-listings t) (add-to-list 'org-export-latex-packages-alist '(("AUTO" "inputenc" t))) (add-to-list 'org-export-latex-classes '("org-article" "\\documentclass{org-article} [NO-DEFAULT-PACKAGES] [PACKAGES] [EXTRA]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) #+end_src The culprit is the call to add the cell to org-export-latex-packages-alist. There is an extra set of parentheses. I'm not sure how to write a patch, or I would have sent that. Surely would have been smaller than this e-mail. :-) Thanks, Jeff On Fri, Dec 17, 2010 at 12:48 AM, Jeff Horn wrote: > Thomas et al, > > I was eager to try out org-article when putting together my CV. I > ignored the `nil.sty' error when I tried to export the article-class.org > file, but now I'm getting the same error when trying to export my CV. > > The relevant portion of the tex log is below. > > ,---- > | (/usr/local/texlive/2010/texmf-dist/tex/latex/hyperref/hpdftex.def > | (/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/atveryend.sty) > | (/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty > | (/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/uniquecounter.sty)))) > | > | ! LaTeX Error: File `nil.sty' not found. > `---- > > The error does not seem to be caused by Inconsolata (as mentioned > previously). Either that or I receive the error for another reason > before Inconsolata is used. In any case, I have Inconsolata in my Font > Book. > > org-mode 7.4 in emacs 23.2 > > Thanks for your help, > Jeff > > -- > Jeffrey Horn > Graduate Lecturer and PhD Student in Economics > George Mason University > > (704) 271-4797 > jhorn@gmu.edu > jrhorn424@gmail.com > > http://www.failuretorefrain.com/jeff/ > -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jhorn@gmu.edu jrhorn424@gmail.com http://www.failuretorefrain.com/jeff/