# Error: “per-mode” is undefined [closed]

The simple expression:

$v_f = \SI[per-mode=fraction]{32}{\meter\per\second}$


when parsed, yields the following error:

! Package xkeyval Error: per-mode' undefined in families key'.


However, removing [per-mode=fraction] causes it to work fine. How can I print this as a fractional unit?

-
You're probably using an old version of siunitx. Try updating to the current version (2.5c). –  Jake Sep 22 '12 at 23:02
@Jake How do I determine the version? –  Istvan Chung Sep 22 '12 at 23:05
@Jake Okay, I've got version 1.3. I installed siunitx by installing the texlive-science package, so what is the best way of updating? –  Istvan Chung Sep 22 '12 at 23:11
@Arafinwe If you're using the TeX Live 2009 that's provided by Debian/Ubuntu you're out of luck. You can install the 2012 version with this PPA, but this method doesn't guarantee that the last version of packages is in the distribution. You may want to install a "vanilla TeX Live" –  egreg Sep 22 '12 at 23:16
@Jake Thanks for your comment. If you should re-post that as an answer, I would accept it. –  Istvan Chung Sep 23 '12 at 1:11

## closed as too localized by Harish Kumar, lockstep, Marco Daniel, Tom Bombadil, Paul GaboritSep 23 '12 at 9:44

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

The comments have suggested upgrade your siunitx, but that may not be so easy. The option for version one was called just per

\documentclass{article}
\usepackage{siunitx}
\sisetup{per = fraction}
\begin{document}
$v_f = \SI{32}{\meter\per\second}$
\end{document}


If you give a version one option in the preamble, version two will pick this up an act appropriately.

-