From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Re: [Bug] Using org-article produces nil.sty error Date: Fri, 17 Dec 2010 06:05:33 -1000 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36409 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTcpF-0002Jf-FD for emacs-orgmode@gnu.org; Fri, 17 Dec 2010 11:06:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTcpD-00073k-R1 for emacs-orgmode@gnu.org; Fri, 17 Dec 2010 11:06:33 -0500 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:56084) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PTcpD-00072I-BY for emacs-orgmode@gnu.org; Fri, 17 Dec 2010 11:06:31 -0500 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: Jeff Horn Cc: Org-mode ml Thanks Jeff, I've removed the parentheses per your recommendation. All the best, Tom On Dec 16, 2010, at 8:15 PM, Jeff Horn wrote: > 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/ > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode