emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: [Bug] Using org-article produces nil.sty error


From: Thomas S. Dye
Subject: Re: [Orgmode] Re: [Bug] Using org-article produces nil.sty error
Date: Fri, 17 Dec 2010 06:05:33 -1000

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 <address@hidden> 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
address@hidden
address@hidden

http://www.failuretorefrain.com/jeff/




--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
address@hidden
address@hidden

http://www.failuretorefrain.com/jeff/

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]