GeneralLaTeX Error :`xkeyval.sty' not found

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
nenu28
Posts: 28
Joined: Mon Jun 27, 2011 11:24 am

LaTeX Error :`xkeyval.sty' not found

Post by nenu28 »

Hello,

I'm using Ctex which came with Windt. During the compilation (pdflatex or latex ) I get this error message :

Code: Select all

! LaTeX Error: File `xkeyval.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
How to solve this problem ? Even when I'm checking the pgf version of my system via this :

Code: Select all

\documentclass{article}
\usepackage{tikz}

\begin{document}
\pgfversion
 \end{document}
the latex error message appears.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: LaTeX Error :`xkeyval.sty' not found

Post by localghost »

Usually this package should already be installed. Seems as if you have to install it subsequently by the package manager of your TeX distribution.


Thorsten
nenu28
Posts: 28
Joined: Mon Jun 27, 2011 11:24 am

Re: LaTeX Error :`xkeyval.sty' not found

Post by nenu28 »

Hey Thorsten thanks for the answer. I've found the package manager of my system (Miktex package Manager) but I don't how does it work or how to install this `xkeyval.sty' subsequently. I've checked online, just found the linux one. So can you tell me more about this installation ? Thank you !

Nenu
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

LaTeX Error :`xkeyval.sty' not found

Post by localghost »

Just search it in the (by default alphabetically sorted) package list, click on it and then click "+" on the left side of the menu bar. Consider a full installation to avoid trouble like this.

MiKTeX 2.9 Manual
nenu28
Posts: 28
Joined: Mon Jun 27, 2011 11:24 am

Re: LaTeX Error :`xkeyval.sty' not found

Post by nenu28 »

I check it in the package list but it's not there ! There no xkeyval.sty :( What can I do again ?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: LaTeX Error :`xkeyval.sty' not found

Post by localghost »

In my package list I can find it. Well then? If necessary, synchronize the repository database (menu "Repository" in MPM).
Attachments
Packages in the package list of the MPM.
Packages in the package list of the MPM.
MPM(Admin)-Package-List.png (42.98 KiB) Viewed 9286 times
Post Reply