Generallooking for an old version of siunitx

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
vladimir
Posts: 1
Joined: Fri Nov 06, 2015 4:12 pm

looking for an old version of siunitx

Post by vladimir »

Hello,

I'm using kile on Centos 7 and i would like to use siunitx package, because it's useful.
My problem is that i didn't find texlive-siunitx nor texlive-science via yum.
All the available rpm, that i found was for other kind of distribution than the redhat family.
I went on CTAN.org, to download siunitx.dts.zip. I unzip it in /usr/share/texlive/texmf and lunch texhash command.
Kile find the package but i got an error Support~package~expl3~too~old when compiling with PDFLaTeX.
So via yum, i update texlive-l3kernel.noarch and texlive-l3package.noarch without result.
Via gedit in root mod, i open siunitx.sty and modify the date on line 20 \@ifpackagelater { expl3 } { 2015/09/11 } to bypass the problem. Obviously some other errors appears.

So here is my questions:
- Does anyone had an old version of siunitx.dts.zip to avoid the first error message?
- Does anyone know the meaning of line 4878 on siunitx.sty ?

Code: Select all

\bool_if:nF
  {
   \sys_if_engine_luatex_p: ||
   \sys_if_engine_xetex_p:
  }
luatex and xetex are well installed.

Sorry for my bad english
KR
Vladimir

Recommended reading 2024:

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

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

looking for an old version of siunitx

Post by cgnieder »

Installing packages manually is bound to give errors like the one you're experiencing. I'd rather not use TeX Live pre-packaged for your OS from some package depository as those are known to be outdated and only are updated very slowly. It is much easier to instead use a »vanilla« TeX Live installation, see for example How to install “vanilla” TeXLive on Debian or Ubuntu?
vladimir wrote:Does anyone know the meaning of line 4878 on siunitx.sty ?

Code: Select all

\bool_if:nF
  {
   \sys_if_engine_luatex_p: ||
   \sys_if_engine_xetex_p:
  }
This peace of code inserts whatever is following in the next pair of braces if both LuaLaTeX and XeLaTeX are not used.

Regards
site moderator & package author
Post Reply