General ⇒ problem running latex
problem running latex
I recently bought a new computer and installed miktex on it. For some reason, when I try to run my files (that I've used many times before) I get the following error message:
! Package keyval Error: book undefined.
See the keyval package documentation for explanation.
Type H <return> for immediate help.
...
l.458 }
?
can any one help me with that problem?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
problem running latex
welcome to the board!
Which is the line before that error, i.e. before line 458?
Perhaps make a copy of the document, hack it down, and post the reduced

Stefan
Re: problem running latex
Thanks for the prompt reply! the problem is - there is no line 458 in my file! I have only 107 lines in it... and it gives me the same error (with the same line number) with other files that have different lengths and different commands. also, all of these files worked in my old computer.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
problem running latex
For example,
Code: Select all
\usepackage[book]{geometry}
Code: Select all
! Package keyval Error: book undefined.
Re: problem running latex
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: problem running latex
Stefan
Re: problem running latex
- Attachments
-
- TEMPerry.tex
- (1.65 KiB) Downloaded 333 times
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: problem running latex
Stefan
problem running latex
Code: Select all
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
("C:/Users/perrytom/Dropbox/~Ph.D/Tex Files/TEMPerry.tex"
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size12.clo"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsmath.sty"
For additional information on amsmath, use the `?' option.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amstext.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsgen.sty"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsbsy.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsopn.sty"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsfonts\amsfonts.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsfonts\amssymb.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\classes\amsthm.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\latexsym.sty")
("C:\Users\perrytom\Dropbox\~Ph.D\Tex Files\fancyhdr.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\enumitem\enumitem.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\array.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\multirow\multirow.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\babel.sty"
*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\english.ldf"
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\babel.def")))
("C:\Users\perrytom\Dropbox\~Ph.D\Tex Files\csquotes.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\etoolbox\etoolbox.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\misc\etex.sty"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\csquotes\csquotes.def")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\csquotes\csquotes.cfg"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ltxmisc\parskip.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\setspace\setspace.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\epigraph\epigraph.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\footmisc\footmisc.sty")
("C:\Users\perrytom\Dropbox\~Ph.D\Tex Files\biblatex.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\logreq\logreq.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\logreq\logreq.def"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\ifthen.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ltxmisc\url.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\blx-compat.def")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex.def")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\bbx\authoryear-icomp.bbx
" ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\bbx\authoryear.bbx"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\bbx\standard.bbx")))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\cbx\authoryear-icomp.cbx
") ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex.cfg"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\lbx\american.lbx"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\lbx\english.lbx"
! Package keyval Error: book undefined.
See the keyval package documentation for explanation.
Type H <return> for immediate help.
...
l.458 }
?
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
problem running latex
Code: Select all
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\lbx\american.lbx"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\lbx\english.lbx"
! Package keyval Error: book undefined.
See the keyval package documentation for explanation.
Type H <return> for immediate help.
...
l.458 }
Code: Select all
\usepackage[style=authoryear-icomp,autocite=inline]{biblatex} %% footnote for footnoted references
\addbibresource{TEMPbibfile.bib}
Code: Select all
\printbibliography
If biblatex is the cause, update this package.
Stefan