GeneralProblem with siunitx package

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tho_mi
Posts: 20
Joined: Tue Sep 11, 2012 6:57 pm

Problem with siunitx package

Post by tho_mi »

Hey,

i have problems with the siunitx package. Latex always gives the following error messages:
LaTeX error: "kernel/property-unknown"
The key property '.meta:x' is unknown.
See the LaTeX3 documentation for further information.
For immediate help type H <return>.
The error leads me to line 617 of siunitx-version-1.cfg.tex (see attachment).

Does anyone have an idea where this error comes from?

Thanks in advance!
Attachments
siunitx-version-1.cfg.tex
(30.91 KiB) Downloaded 553 times

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

Problem with siunitx package

Post by cgnieder »

You should make a complete meaningful but really short Infominimal working example that let's everybody reproduce the error and use it to report this here:

https://github.com/josephwright/siunitx/

Regards
site moderator & package author
tho_mi
Posts: 20
Joined: Tue Sep 11, 2012 6:57 pm

Re: Problem with siunitx package

Post by tho_mi »

Ok, I hope this example-file works. I still get the same error messages.

edit:
Btw, despite the errors i get a working pdf-file.
Attachments
siunitx-error-example.tex
(1.55 KiB) Downloaded 623 times
Last edited by tho_mi on Thu Aug 08, 2013 5:05 pm, edited 1 time in total.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problem with siunitx package

Post by cgnieder »

No, this file won't work. If I compile it I don't get any errors! Also I think that most packages in there are unrelated to the problem. It should look something like this:

Code: Select all

\documentclass{article}
\usepackage{siunitx}% add options you need to reproduce the error
% maybe add \sisetup{...} if you need it to reproduce the error
\begin{document}
% here should be at least one line I suspect but maybe not -- impossible to say
\end{document}
Regards
site moderator & package author
tho_mi
Posts: 20
Joined: Tue Sep 11, 2012 6:57 pm

Problem with siunitx package

Post by tho_mi »

Ok (thanks by the way :) ). I think i found the source of the mistake.

Code: Select all

\usepackage[digitsep]{siunitx} 
If i delete [digitsep], the errors disappear.

edit:
I deleted all packages except siunitx.

Code: Select all

\documentclass[mathserif,12pt]{beamer}

\usepackage[digitsep]{siunitx} 

\begin{document}

\end{document}
In my case it's enough to produce the error.
Attachments
siunitx-error-example.tex
(425 Bytes) Downloaded 522 times
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problem with siunitx package

Post by cgnieder »

This also does not give any errors. I get a few warnings but that's it.

Code: Select all

Class beamer Warning: ``mathserif'' is obsolete. Use font theme ``serif'' with option ``onlymath'' on input line 348.
and

Code: Select all

*************************************************
* siunitx warning: "version-1-option"
* 
* Version 1 option 'digitsep' detected.
*************************************************
BTW: are you sure this has to do with beamer? (I doubt it). I rather guess that your version of siunitx does not match your version of l3kernel and l3packages. Perhaps update your TeX distribution.

Regards
site moderator & package author
tho_mi
Posts: 20
Joined: Tue Sep 11, 2012 6:57 pm

Re: Problem with siunitx package

Post by tho_mi »

I get the same warnings. No, beamer is not the problem. Changing the class to article doesn't change anything.

Yes, that's what i thought too. But my distribution is relatively new, miktex was installed ~3 weeks ago. I will try to get a new version of siunitx and then report what changes.

Thanks :)

edit:
I should have the latest version of siunitx. What version do you have?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Problem with siunitx package

Post by Johannes_B »

The newest version of siunitx should be:

Code: Select all

\ProvidesExplPackage {siunitx} {2013/07/31} {2.5s}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
FabulousD
Posts: 1
Joined: Sat Oct 05, 2013 12:09 pm

Problem with siunitx package

Post by FabulousD »

Hi,

I had the same error after reinstalling my TeX-Distribution. Therefore I believe it has to do with the newest release of siunitx (2013-07-31), which also fits well with the date of your reported error.

For everone trying to reproduce the error with the siunitx-version mentioned above, here is an exemplary code:

Code: Select all

\documentclass{article}
\usepackage{siunitx}
\sisetup{
  decimalsymbol = comma
}
\begin{document}
\end{document}
I was able to trace back my error to the line "decimalsymbol = comma". If I replace the command
decimalsymbol
(siuntix-version-1) by the equivalent
output-decimal-marker
of siunitx-version-2 (as can be found in the siunitx-documentation from 2013-07-31 on page 75), my code compiles fine.

I hope this helps.
Best regards
Post Reply