Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I recently installed texlive-science from the Ubuntu repos and received the following error when I compile:

! Package xkeyval Error: `load-configurations' undefined in families `key'.

LaTeX works fine when chemstyle is not used. Any thoughts?

Minimal example:

\documentclass{article}
\usepackage{chemstyle}
\begin{document}
\begin{scheme}[H]
\begin{center}
\includegraphics[width=4in]{anyfile.eps}
\end{center}
\caption {trial {\bf 1}.\label{s_scheme}}
\end{scheme}
\end{document}

Abbreviated output:

) (./chemscheme.sty (/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
 (/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty
 (/usr/share/texmf-texlive/tex/latex/siunitx/config/si-abbr.cfg))
! Package xkeyval Error: `load-configurations' undefined in families `key'.
See the xkeyval package documentation for explanation.
Type H <return> for immediate help. 
share|improve this question
1  
Is there anything you're doing besides \usepackage{chemstyle}? If yes, please show that. The best would be a minimal working example. –  Stefan Kottwitz Dec 16 '10 at 14:52
    
Thats the only mention of chemstyle in the preamble, here is the abbreviated output: ) (./chemscheme.sty (/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty (/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty (/usr/share/texmf-texlive/tex/latex/siunitx/config/si-abbr.cfg)) ! Package xkeyval Error: load-configurations' undefined in families key'. See the xkeyval package documentation for explanation. Type H <return> for immediate help. –  plastictees Dec 16 '10 at 15:05
    
Here is my MWE: $\documentclass{article} $\usepackage{chemstyle} $\begin{document} $\begin{scheme}[H] $ \begin{center} $ \includegraphics[width=4in]{anyfile.eps} $ \end{center} $ \caption {trial {\bf 1}. $ \label{s_scheme}} $\end{scheme} \end{document} –  plastictees Dec 16 '10 at 15:12
    
@plastictees: you may edit your question at any time in order to include code and additional information. I did it for you now. –  Stefan Kottwitz Dec 16 '10 at 15:41
    
Could you add \listfiles to your input and report the result? I suspect you have a version mis-match somewhere between chemstyle and siunitx. –  Joseph Wright Dec 16 '10 at 16:45
show 1 more comment

1 Answer

In the minimal example, the graphics package is implicitly loaded. But the command

\includegraphics[width=4in]{anyfile.eps}

requires graphicx because of the key=value syntax in the optional argument. That's why the compilation must fail.

It's probably good to update to the most recent versions of chemstyle and siunitx. Ubuntu packages might be not up-to-date.

You may have a look at How can I manually install a package. Though the question was MiKTeX related, the answer contains general useful information and links to further resources.

Or filter our site by the tags installing+packages.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.