FWIW, I got past the same error by NOT including the line to add to latex-packages-alist in my .emacs.
;; (add-to-list 'org-export-latex-packages-alist '(("AUTO" "inputenc" t))) My configuration is completely different that Srinivs, too: MacOSX - Emacs 24.0.50.2 from source - Org mode from git (pre-release) to 25-November (88bd7bb). > Tom, > > I tried to run and produce PDF using Miktex 2.8 on Windows (Emacs > 23.1). I get > an error: > > (C:\bin\miktex-2.8\tex\latex\inconsolata\inconsolata.sty)) > > ! LaTeX Error: File `nil.sty' not found. > > and the PDF is not produced. I am a newbie at trying LaTeX so don't > know quite > where to begin solving the problem. Any help is much appreciated. > > Any tips to solve this problem? > > - Srinivas > > PS. Attached is the log: > > This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) > entering extended mode > > ("c:/Documents and Settings/srinivas/my documents/org-files/src/article- > class.te > x" > LaTeX2e <2009/09/24> > Babel <v3.8l> and hyphenation patterns for english, dumylang, > nohyphenation, ge > rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded. > ("c:\Documents and Settings\srinivas\my documents\org-files\src\org- > article.cls" > Document Class: org-article 2010/09/19 0.2 (TSD) > (C:\bin\miktex-2.8\tex\latex\base\ifthen.sty) > (C:\bin\miktex-2.8\tex\latex\tools\calc.sty) > (C:\bin\miktex-2.8\tex\generic\oberdiek\ifpdf.sty) > (C:\bin\miktex-2.8\tex\latex\koma-script\scrartcl.cls > Document Class: scrartcl 2010/06/17 v3.06 KOMA-Script document class > (article) > (C:\bin\miktex-2.8\tex\latex\koma-script\scrkbase.sty > (C:\bin\miktex-2.8\tex\latex\koma-script\scrbase.sty > (C:\bin\miktex-2.8\tex\latex\graphics\keyval.sty) > (C:\bin\miktex-2.8\tex\latex\koma-script\scrlfile.sty > Package scrlfile, 2009/03/25 v3.03 KOMA-Script package (loading files) > Copyright (C) Markus Kohm > > ))) (C:\bin\miktex-2.8\tex\latex\koma-script\tocbasic.sty) > (C:\bin\miktex-2.8\tex\latex\koma-script\scrsize11pt.clo) > (C:\bin\miktex-2.8\tex\latex\koma-script\typearea.sty > Package typearea, 2010/06/17 v3.06 KOMA-Script package (type area) > Copyright (C) Frank Neukam, 1992-1994 > Copyright (C) Markus Kohm, 1994- > > > Package typearea Warning: Maybe no optimal type area settings! > (typearea) The maximum limit of line width is about 17% > (typearea) larger than the heuristically detected line > width. > (typearea) You may e.g. increase DIV, decrease fontsize > (typearea) or change the papersize. > > )) (C:\bin\miktex-2.8\tex\latex\base\fixltx2e.sty) > (C:\bin\miktex-2.8\tex\latex\graphics\graphicx.sty > (C:\bin\miktex-2.8\tex\latex\graphics\graphics.sty > (C:\bin\miktex-2.8\tex\latex\graphics\trig.sty) > (C:\bin\miktex-2.8\tex\latex\00miktex\graphics.cfg) > (C:\bin\miktex-2.8\tex\latex\pdftex-def\pdftex.def))) > (C:\bin\miktex-2.8\tex\latex\tools\longtable.sty) > (C:\bin\miktex-2.8\tex\latex\float\float.sty) > (C:\bin\miktex-2.8\tex\latex\wrapfig\wrapfig.sty) > (C:\bin\miktex-2.8\tex\latex\soul\soul.sty) > (C:\bin\miktex-2.8\tex\latex\base\fontenc.sty > (C:\bin\miktex-2.8\tex\latex\base\t1enc.def)) > (C:\bin\miktex-2.8\tex\latex\base\textcomp.sty > (C:\bin\miktex-2.8\tex\latex\base\ts1enc.def)) > (C:\bin\miktex-2.8\tex\latex\marvosym\marvosym.sty) > (C:\bin\miktex-2.8\tex\latex\wasysym\wasysym.sty) > (C:\bin\miktex-2.8\tex\latex\base\latexsym.sty) > (C:\bin\miktex-2.8\tex\latex\hyperref\hyperref.sty > (C:\bin\miktex-2.8\tex\generic\oberdiek\ltxcmds.sty) > (C:\bin\miktex-2.8\tex\generic\oberdiek\kvsetkeys.sty > (C:\bin\miktex-2.8\tex\generic\oberdiek\infwarerr.sty) > (C:\bin\miktex-2.8\tex\generic\oberdiek\etexcmds.sty)) > (C:\bin\miktex-2.8\tex\generic\oberdiek\pdfescape.sty > (C:\bin\miktex-2.8\tex\generic\oberdiek\pdftexcmds.sty > (C:\bin\miktex-2.8\tex\generic\oberdiek\ifluatex.sty))) > (C:\bin\miktex-2.8\tex\generic\oberdiek\ifvtex.sty) > (C:\bin\miktex-2.8\tex\latex\ifxetex\ifxetex.sty) > (C:\bin\miktex-2.8\tex\latex\oberdiek\hycolor.sty > (C:\bin\miktex-2.8\tex\latex\oberdiek\xcolor-patch.sty)) > (C:\bin\miktex-2.8\tex\latex\oberdiek\letltxmacro.sty) > (C:\bin\miktex-2.8\tex\latex\hyperref\pd1enc.def) > (C:\bin\miktex-2.8\tex\generic\oberdiek\intcalc.sty) > (C:\bin\miktex-2.8\tex\latex\00miktex\hyperref.cfg) > (C:\bin\miktex-2.8\tex\latex\oberdiek\kvoptions.sty) > Implicit mode ON; LaTeX internals redefined > (C:\bin\miktex-2.8\tex\latex\ltxmisc\url.sty) > (C:\bin\miktex-2.8\tex\generic\oberdiek\bitset.sty > (C:\bin\miktex-2.8\tex\generic\oberdiek\bigintcalc.sty)) > (C:\bin\miktex-2.8\tex\generic\oberdiek\atbegshi.sty)) > * hyperref using default driver hpdftex * > (C:\bin\miktex-2.8\tex\latex\hyperref\hpdftex.def > (C:\bin\miktex-2.8\tex\latex\oberdiek\atveryend.sty) > (C:\bin\miktex-2.8\tex\latex\oberdiek\rerunfilecheck.sty > (C:\bin\miktex-2.8\tex\generic\oberdiek\uniquecounter.sty))) > (C:\bin\miktex-2.8\tex\latex\paralist\paralist.sty) > (C:\bin\miktex-2.8\tex\latex\microtype\microtype.sty > (C:\bin\miktex-2.8\tex\latex\microtype\microtype.cfg)) > (C:\bin\miktex-2.8\tex\latex\listings\listings.sty > (C:\bin\miktex-2.8\tex\latex\listings\lstmisc.sty) > (C:\bin\miktex-2.8\tex\latex\listings\listings.cfg)) > (C:\bin\miktex-2.8\tex\latex\graphics\color.sty > (C:\bin\miktex-2.8\tex\latex\00miktex\color.cfg)) > (C:\bin\miktex-2.8\tex\latex\base\fontenc.sty > (C:\bin\miktex-2.8\tex\latex\base\t1enc.def)) > (C:\bin\miktex-2.8\tex\latex\mathdesign\mathdesign.sty > (C:\bin\miktex-2.8\tex\latex\mathdesign\mdput\mdput.cfg) > (C:\bin\miktex-2.8\tex\latex\mathdesign\mdput\mdput.sty > (C:\bin\miktex-2.8\tex\latex\mathdesign\mdfont.def) > (C:\bin\miktex-2.8\tex\latex\mathdesign\mdsffont.def) > (C:\bin\miktex-2.8\tex\latex\mathdesign\mdttfont.def) > (C:\bin\miktex-2.8\tex\latex\mathdesign\mdput\t1mdput.fd)) > (C:\bin\miktex-2.8\tex\latex\base\fontenc.sty > (C:\bin\miktex-2.8\tex\latex\base\t1enc.def))) > (C:\bin\miktex-2.8\tex\latex\bera\berasans.sty) > (C:\bin\miktex-2.8\tex\latex\inconsolata\inconsolata.sty)) > > ! LaTeX Error: File `nil.sty' not found. > > Type X to quit or <RETURN> to proceed, > or enter new name. (Default extension: sty) > > Enter file name: > ! Emergency stop. > <read *> > > l.6 \providecommand > {\alert}[1]{\textbf{#1}} > > ! ==> Fatal error occurred, no output PDF file produced! > Transcript written on article-class.log. _______________________________________________ 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