all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [Bug] Using org-article produces nil.sty error
@ 2010-12-17  5:48 Jeff Horn
  2010-12-17  6:15 ` Jeff Horn
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Horn @ 2010-12-17  5:48 UTC (permalink / raw)
  To: Org-mode ml

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bug] Using org-article produces nil.sty error
  2010-12-17  5:48 [Bug] Using org-article produces nil.sty error Jeff Horn
@ 2010-12-17  6:15 ` Jeff Horn
  2010-12-17 16:05   ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Horn @ 2010-12-17  6:15 UTC (permalink / raw)
  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 <jrhorn424@gmail.com> 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: [Bug] Using org-article produces nil.sty error
  2010-12-17  6:15 ` Jeff Horn
@ 2010-12-17 16:05   ` Thomas S. Dye
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas S. Dye @ 2010-12-17 16:05 UTC (permalink / raw)
  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 <jrhorn424@gmail.com>  
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-17 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-17  5:48 [Bug] Using org-article produces nil.sty error Jeff Horn
2010-12-17  6:15 ` Jeff Horn
2010-12-17 16:05   ` Thomas S. Dye

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.