LaTeX forum ⇒ Generallooking for an old version of siunitx

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

looking for an old version of siunitx

Postby vladimir » Fri Nov 06, 2015 4:50 pm

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 ?
  1. \bool_if:nF
  2. {
  3. \sys_if_engine_luatex_p: ||
  4. \sys_if_engine_xetex_p:
  5. }

luatex and xetex are well installed.

Sorry for my bad english
KR
Vladimir

Tags:

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Sat Nov 07, 2015 3:42 pm

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 ?
  1. \bool_if:nF
  2. {
  3. \sys_if_engine_luatex_p: ||
  4. \sys_if_engine_xetex_p:
  5. }



This peace of code inserts whatever is following in the next pair of braces if both LuaLaTeX and XeLaTeX are not used.

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim


Return to “General”

Who is online

Users browsing this forum: No registered users and 5 guests