some weird LYX error
Dear Sir/Madam, I've been using LYX for more than a year, this is the first time I ran into this problem. After updating to the latest LYX version, it kept showing this error ! Package babel Error: You haven't specified a language option. (I copied the whole message and attached it below) If I go to Miktex package manager, it refuse to let me install any package. Miktex package manager reports another error, Windows API error 5: Access is denied. It never happened before...It seems to be a stupid question, but I cannot work with my team members on the repository without LYX...really need some help. Thanks a lot! Best, Yan This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=pdflatex 2014.2.28) 8 SEP 2014 07:40 entering extended mode **splash.tex (C:\Users\U1246772\AppData\Local\Temp\lyx_tmpdir.AWRLAWsa8400\lyx_tmpbuf0\splas h.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-2013-05-26, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl ishmax, welsh, loaded. (C:\Program Files (x86)\Miktex\tex\latex\base\article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (C:\Program Files (x86)\Miktex\tex\latex\base\size10.clo File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (C:\Program Files (x86)\Miktex\tex\latex\base\fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (C:\Program Files (x86)\Miktex\tex\latex\base\t1enc.def File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 43. )) (C:\Program Files (x86)\Miktex\tex\latex\base\inputenc.sty Package: inputenc 2014/04/30 v1.2b Input encoding file \inpenc@prehook=\toks14 \inpenc@posthook=\toks15 (C:\Program Files (x86)\Miktex\tex\latex\base\latin9.def File: latin9.def 2014/04/30 v1.2b Input encoding file )) (C:\Program Files (x86)\Miktex\tex\latex\url\url.sty \Urlmuskip=\muskip10 Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. ) (C:\Program Files (x86)\Miktex\tex\latex\graphics\graphicx.sty Package: graphicx 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) (C:\Program Files (x86)\Miktex\tex\latex\graphics\keyval.sty Package: keyval 2014/05/08 v1.15 key=value parser (DPC) \KV@toks@=\toks16 ) (C:\Program Files (x86)\Miktex\tex\latex\graphics\graphics.sty Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) (C:\Program Files (x86)\Miktex\tex\latex\graphics\trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (C:\Program Files (x86)\Miktex\tex\latex\00miktex\graphics.cfg File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive ) Package graphics Info: Driver file: pdftex.def on input line 91. (C:\Program Files (x86)\Miktex\tex\latex\pdftex-def\pdftex.def File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX (C:\Program Files (x86)\Miktex\tex\generic\oberdiek\infwarerr.sty Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) ) (C:\Program Files (x86)\Miktex\tex\generic\oberdiek\ltxcmds.sty Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) ) \Gread@gobject=\count87 )) \Gin@req@height=\dimen103 \Gin@req@width=\dimen104 ) (C:\Program Files (x86)\Miktex\tex\latex\babel\babel.sty Package: babel 2014/03/24 3.9k The Babel package (C:\Program Files (x86)\Miktex\tex\latex\babel\switch.def File: switch.def 2014/03/24 3.9k Babel switching mechanism ) * * Local config file bblopts.cfg used * (C:\Program Files (x86)\Miktex\tex\latex\00miktex\bblopts.cfg File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration ) ! Package babel Error: You haven't specified a language option. See the babel package documentation for explanation. Type H return for immediate help. ... l.330 ...ry to proceed from here, type x to quit.} You need to specify a language, either as a global option or as an optional argument to the \usepackage command; You shouldn't try to proceed from here, type x to quit. ) LaTeX Warning: Unused global option(s): [english]. No file splash.aux. LaTeX Font Info:Checking defaults for
Re: some weird LYX error
On 8/09/2014 5:57 p.m., Y. Xu wrote: Dear Sir/Madam, I've been using LYX for more than a year, this is the first time I ran into this problem. After updating to the latest LYX version, it kept showing this error ! Package babel Error: You haven't specified a language option. (I copied the whole message and attached it below) If I go to Miktex package manager, it refuse to let me install any package. Miktex package manager reports another error, Windows API error 5: Access is denied. It never happened before...It seems to be a stupid question, but I cannot work with my team members on the repository without LYX...really need some help. Thanks a lot! Best, Yan Hullo Yan, I had this problem earlier in the year. I think babel changed the way it functions and you now need to explicitly choose language definition files. First, close any program (like LyX) that might be using your TeX distribution. This can sometimes cause MiKTeX problems when trying to download files. Sometimes I've had to go to the Windows Task Manager (ctrl+shift+esc) to explicitly shut down a latex process that is continuing to run because of some earlier error (generally caused by me) in LyX or TeXworks. Now right click on the MiKTeX package manager and run as administrator. Scroll down the list to babel, below which you will see a long list of separate language files. Select the ones you want -- babel-english probably, and any others (click on them while holding down the control key) then click the + button top left, which should lead to MiKTeX downloading them into your MiKTeX distribution. This resolved the problem for me. If the Access is denied error persists, try rebooting your computer. Andrew
some weird LYX error
Dear Sir/Madam, I've been using LYX for more than a year, this is the first time I ran into this problem. After updating to the latest LYX version, it kept showing this error ! Package babel Error: You haven't specified a language option. (I copied the whole message and attached it below) If I go to Miktex package manager, it refuse to let me install any package. Miktex package manager reports another error, Windows API error 5: Access is denied. It never happened before...It seems to be a stupid question, but I cannot work with my team members on the repository without LYX...really need some help. Thanks a lot! Best, Yan This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=pdflatex 2014.2.28) 8 SEP 2014 07:40 entering extended mode **splash.tex (C:\Users\U1246772\AppData\Local\Temp\lyx_tmpdir.AWRLAWsa8400\lyx_tmpbuf0\splas h.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-2013-05-26, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl ishmax, welsh, loaded. (C:\Program Files (x86)\Miktex\tex\latex\base\article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (C:\Program Files (x86)\Miktex\tex\latex\base\size10.clo File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (C:\Program Files (x86)\Miktex\tex\latex\base\fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (C:\Program Files (x86)\Miktex\tex\latex\base\t1enc.def File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 43. )) (C:\Program Files (x86)\Miktex\tex\latex\base\inputenc.sty Package: inputenc 2014/04/30 v1.2b Input encoding file \inpenc@prehook=\toks14 \inpenc@posthook=\toks15 (C:\Program Files (x86)\Miktex\tex\latex\base\latin9.def File: latin9.def 2014/04/30 v1.2b Input encoding file )) (C:\Program Files (x86)\Miktex\tex\latex\url\url.sty \Urlmuskip=\muskip10 Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. ) (C:\Program Files (x86)\Miktex\tex\latex\graphics\graphicx.sty Package: graphicx 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) (C:\Program Files (x86)\Miktex\tex\latex\graphics\keyval.sty Package: keyval 2014/05/08 v1.15 key=value parser (DPC) \KV@toks@=\toks16 ) (C:\Program Files (x86)\Miktex\tex\latex\graphics\graphics.sty Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) (C:\Program Files (x86)\Miktex\tex\latex\graphics\trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (C:\Program Files (x86)\Miktex\tex\latex\00miktex\graphics.cfg File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive ) Package graphics Info: Driver file: pdftex.def on input line 91. (C:\Program Files (x86)\Miktex\tex\latex\pdftex-def\pdftex.def File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX (C:\Program Files (x86)\Miktex\tex\generic\oberdiek\infwarerr.sty Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) ) (C:\Program Files (x86)\Miktex\tex\generic\oberdiek\ltxcmds.sty Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) ) \Gread@gobject=\count87 )) \Gin@req@height=\dimen103 \Gin@req@width=\dimen104 ) (C:\Program Files (x86)\Miktex\tex\latex\babel\babel.sty Package: babel 2014/03/24 3.9k The Babel package (C:\Program Files (x86)\Miktex\tex\latex\babel\switch.def File: switch.def 2014/03/24 3.9k Babel switching mechanism ) * * Local config file bblopts.cfg used * (C:\Program Files (x86)\Miktex\tex\latex\00miktex\bblopts.cfg File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration ) ! Package babel Error: You haven't specified a language option. See the babel package documentation for explanation. Type H return for immediate help. ... l.330 ...ry to proceed from here, type x to quit.} You need to specify a language, either as a global option or as an optional argument to the \usepackage command; You shouldn't try to proceed from here, type x to quit. ) LaTeX Warning: Unused global option(s): [english]. No file splash.aux. LaTeX Font Info:Checking defaults for
Re: some weird LYX error
On 8/09/2014 5:57 p.m., Y. Xu wrote: Dear Sir/Madam, I've been using LYX for more than a year, this is the first time I ran into this problem. After updating to the latest LYX version, it kept showing this error ! Package babel Error: You haven't specified a language option. (I copied the whole message and attached it below) If I go to Miktex package manager, it refuse to let me install any package. Miktex package manager reports another error, Windows API error 5: Access is denied. It never happened before...It seems to be a stupid question, but I cannot work with my team members on the repository without LYX...really need some help. Thanks a lot! Best, Yan Hullo Yan, I had this problem earlier in the year. I think babel changed the way it functions and you now need to explicitly choose language definition files. First, close any program (like LyX) that might be using your TeX distribution. This can sometimes cause MiKTeX problems when trying to download files. Sometimes I've had to go to the Windows Task Manager (ctrl+shift+esc) to explicitly shut down a latex process that is continuing to run because of some earlier error (generally caused by me) in LyX or TeXworks. Now right click on the MiKTeX package manager and run as administrator. Scroll down the list to babel, below which you will see a long list of separate language files. Select the ones you want -- babel-english probably, and any others (click on them while holding down the control key) then click the + button top left, which should lead to MiKTeX downloading them into your MiKTeX distribution. This resolved the problem for me. If the Access is denied error persists, try rebooting your computer. Andrew
some weird LYX error
Dear Sir/Madam, I've been using LYX for more than a year, this is the first time I ran into this problem. After updating to the latest LYX version, it kept showing this error "! Package babel Error: You haven't specified a language option." (I copied the whole message and attached it below) If I go to Miktex package manager, it refuse to let me install any package. Miktex package manager reports another error, "Windows API error 5: Access is denied." It never happened before...It seems to be a stupid question, but I cannot work with my team members on the repository without LYX...really need some help. Thanks a lot! Best, Yan This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=pdflatex 2014.2.28) 8 SEP 2014 07:40 entering extended mode **splash.tex (C:\Users\U1246772\AppData\Local\Temp\lyx_tmpdir.AWRLAWsa8400\lyx_tmpbuf0\splas h.tex LaTeX2e <2011/06/27> Babel 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-2013-05-26, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl ishmax, welsh, loaded. ("C:\Program Files (x86)\Miktex\tex\latex\base\article.cls" Document Class: article 2007/10/19 v1.4h Standard LaTeX document class ("C:\Program Files (x86)\Miktex\tex\latex\base\size10.clo" File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) ("C:\Program Files (x86)\Miktex\tex\latex\base\fontenc.sty" Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ("C:\Program Files (x86)\Miktex\tex\latex\base\t1enc.def" File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 43. )) ("C:\Program Files (x86)\Miktex\tex\latex\base\inputenc.sty" Package: inputenc 2014/04/30 v1.2b Input encoding file \inpenc@prehook=\toks14 \inpenc@posthook=\toks15 ("C:\Program Files (x86)\Miktex\tex\latex\base\latin9.def" File: latin9.def 2014/04/30 v1.2b Input encoding file )) ("C:\Program Files (x86)\Miktex\tex\latex\url\url.sty" \Urlmuskip=\muskip10 Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. ) ("C:\Program Files (x86)\Miktex\tex\latex\graphics\graphicx.sty" Package: graphicx 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) ("C:\Program Files (x86)\Miktex\tex\latex\graphics\keyval.sty" Package: keyval 2014/05/08 v1.15 key=value parser (DPC) \KV@toks@=\toks16 ) ("C:\Program Files (x86)\Miktex\tex\latex\graphics\graphics.sty" Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) ("C:\Program Files (x86)\Miktex\tex\latex\graphics\trig.sty" Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) ("C:\Program Files (x86)\Miktex\tex\latex\00miktex\graphics.cfg" File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive ) Package graphics Info: Driver file: pdftex.def on input line 91. ("C:\Program Files (x86)\Miktex\tex\latex\pdftex-def\pdftex.def" File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX ("C:\Program Files (x86)\Miktex\tex\generic\oberdiek\infwarerr.sty" Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) ) ("C:\Program Files (x86)\Miktex\tex\generic\oberdiek\ltxcmds.sty" Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) ) \Gread@gobject=\count87 )) \Gin@req@height=\dimen103 \Gin@req@width=\dimen104 ) ("C:\Program Files (x86)\Miktex\tex\latex\babel\babel.sty" Package: babel 2014/03/24 3.9k The Babel package ("C:\Program Files (x86)\Miktex\tex\latex\babel\switch.def" File: switch.def 2014/03/24 3.9k Babel switching mechanism ) * * Local config file bblopts.cfg used * ("C:\Program Files (x86)\Miktex\tex\latex\00miktex\bblopts.cfg" File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration ) ! Package babel Error: You haven't specified a language option. See the babel package documentation for explanation. Type H for immediate help. ... l.330 ...ry to proceed from here, type x to quit.} You need to specify a language, either as a global option or as an optional argument to the \usepackage command; You shouldn't try to proceed from here, type x to quit. ) LaTeX Warning: Unused global option(s): [english]. No file splash.aux. LaTeX Font Info:
Re: some weird LYX error
On 8/09/2014 5:57 p.m., Y. Xu wrote: Dear Sir/Madam, I've been using LYX for more than a year, this is the first time I ran into this problem. After updating to the latest LYX version, it kept showing this error "! Package babel Error: You haven't specified a language option." (I copied the whole message and attached it below) If I go to Miktex package manager, it refuse to let me install any package. Miktex package manager reports another error, "Windows API error 5: Access is denied." It never happened before...It seems to be a stupid question, but I cannot work with my team members on the repository without LYX...really need some help. Thanks a lot! Best, Yan Hullo Yan, I had this problem earlier in the year. I think babel changed the way it functions and you now need to explicitly choose language definition files. First, close any program (like LyX) that might be using your TeX distribution. This can sometimes cause MiKTeX problems when trying to download files. Sometimes I've had to go to the Windows Task Manager (ctrl+shift+esc) to explicitly shut down a latex process that is continuing to run because of some earlier error (generally caused by me) in LyX or TeXworks. Now right click on the MiKTeX package manager and run as administrator. Scroll down the list to babel, below which you will see a long list of separate language files. Select the ones you want -- babel-english probably, and any others (click on them while holding down the control key) then click the + button top left, which should lead to MiKTeX downloading them into your MiKTeX distribution. This resolved the problem for me. If the "Access is denied" error persists, try rebooting your computer. Andrew