Re: [dk-tug] siunitx

Lars Madsen <[email protected]>
Newsgroups gmane.comp.tex.danish
Message-ID <[email protected]>
Poul Riis wrote, On 2012-08-22 09:53:
> "[email protected]" <[email protected]> writes:
>> Hvad får du så af fejl? 
> ....
> ("C:\Program Files\MiKTeX 2.9\tex\latex\tools\array.sty")
> (C:\Users\PR\AppData\Roaming\MiKTeX\2.9\tex\latex\l3packages\l3keys2e\l3keys2e.
> sty
> (C:\Users\PR\AppData\Roaming\MiKTeX\2.9\tex\latex\l3packages\xparse\xparse.sty
> ! Undefined control sequence.
> l.1347 \msg_kernel_new:nnnn
>                             { xparse } { bad-signature }
> 


hvorfor har du flere placeringer til din LaTeX installation? Er du 
sikker på at der ikke er dårlige versioner i den ene af de to?

Jeg har ingen problemer på min TL12 installation (lige opdateret). Jeg 
anvender følgende versioner (ses ved at tilføje \listfiles)

Sammenlign venligst med det du har

  *File List*
  article.cls    2007/10/19 v1.4h Standard LaTeX document class
   size11.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
inputenc.sty    2008/03/30 v1.1d Input encoding file
     utf8.def    2008/04/05 v1.1m UTF-8 support for inputenc
    t1enc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
   ot1enc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
   omsenc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
  fontenc.sty
    t1enc.def    2005/09/27 v1.99g Standard LaTeX file
  siunitx.sty    2012/07/22 v2.5g A comprehensive (SI) units package
    expl3.sty    2012/08/14 v4091 L3 Experimental code bundle wrapper
  l3names.sty    2012/07/16 v3990 L3 Namespace for primitives
l3bootstrap.sty    2012/07/16 v3991 L3 Experimental bootstrap code
     etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty    2012/08/08 v4069 L3 Basic definitions
  l3expan.sty    2012/08/10 v4073 L3 Argument expansion
     l3tl.sty    2012/07/16 v3991 L3 Token lists
    l3seq.sty    2012/07/16 v3991 L3 Sequences and stacks
    l3int.sty    2012/07/16 v3991 L3 Integers
  l3quark.sty    2012/08/08 v4065 L3 Quarks
    l3prg.sty    2012/08/08 v4061 L3 Control structures
  l3clist.sty    2012/07/16 v3991 L3 Comma separated lists
  l3token.sty    2012/08/08 v4069 L3 Experimental token manipulation
   l3prop.sty    2012/07/16 v3991 L3 Property lists
    l3msg.sty    2012/08/10 v4077 L3 Messages
   l3file.sty    2012/08/08 v4059 L3 File and I/O operations
   l3skip.sty    2012/07/16 v3991 L3 Dimensions and skips
   l3keys.sty    2012/07/16 v3991 L3 Experimental key-value interfaces
     l3fp.sty    2012/08/14 v4089 L3 Floating points
    l3box.sty    2012/07/16 v3991 L3 Experimental boxes
l3coffins.sty    2012/07/20 v4011 L3 Coffin code layer
  l3color.sty    2012/07/16 v3991 L3 Experimental colour support
l3luatex.sty    2012/08/03 v4049 L3 Experimental LuaTeX-specific functions
l3candidates.sty    2012/05/12 v3633 L3 Experimental additions to l3kernel
  amstext.sty    2000/06/29 v2.01
   amsgen.sty    1999/11/30 v2.0
    array.sty    2008/09/09 v2.4c Tabular extension package (FMi)
l3keys2e.sty    2012/08/14 v4091 LaTeX2e option processing using LaTeX3 keys
   xparse.sty    2012/08/14 v4091 L3 Experimental document command parser
translator.sty    2010/06/12 ver 1.10
   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
translator-language-mappings.tex
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
   ts1enc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
translator-basic-dictionary-English.dict
siunitx-abbreviations.cfg    2012/07/22 v2.5g siunitx: Abbreviated units
siunitx-binary.cfg    2012/07/22 v2.5g siunitx: Binary units






> ! LaTeX Error: Missing \begin{document}.
> 
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...                                              
>                                                   
> l.1347 \msg_kernel_new:nnnn { x
>                                parse } { bad-signature }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1348   { Bad~signature~'#
>                            1'. }
> ! Undefined control sequence.
> l.1355 \msg_kernel_new:nnnn
>                             { xparse } { command-already-defined }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1356   { Command~'#
>                      1'~already~defined! }
> ! Undefined control sequence.
> l.1358     You~have~used~\NewDocumentCommand
>                                             
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1360     The~existing~definition~of~'#
>                                         1'~will~be~overwritten.
> ! Undefined control sequence.
> l.1362 \msg_kernel_new:nnnn
>                             { xparse } { command-not-yet-defined }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1363   { Command ~'#
>                       1'~not~yet~defined! }
> ! Undefined control sequence.
> l.1365     You~have~used~\RenewDocumentCommand
>                                               
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1367     A~new~command~'#
>                            1'~will~be~created.
> ! Undefined control sequence.
> l.1369 \msg_kernel_new:nnnn
>                             { xparse } { environment-already-defined }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1370   { Environment~'#
>                          1'~already~defined! }
> ! Undefined control sequence.
> l.1372     You~have~used~\NewDocumentEnvironment
>                                                 
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1374     The~existing~definition~of~'#
>                                         1'~will~be~overwritten.
> ! Undefined control sequence.
> l.1376 \msg_kernel_new:nnnn
>                             { xparse } { environment-mismatch }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1379     The~current~environment~is~called~'#
>                                                1',~but~you~have~tried~to~
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1380     end~one~called~'#
>                             2'.~Environments~have~to~be~properly~nested.
> ! Undefined control sequence.
> l.1382 \msg_kernel_new:nnnn
>                             { xparse } { environment-not-yet-defined }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1383   { Environment~'#
>                          1'~not~yet~defined! }
> ! Undefined control sequence.
> l.1385     You~have~used~\RenewDocumentEnvironment
>                                                   
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1387     A~new~environment~'#
>                                1'~will~be~created.
> ! Undefined control sequence.
> l.1389 \msg_kernel_new:nnnn
>                             { xparse } { environment-unknown }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1390   { Environment~'#
>                          1'~undefined. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1392 ...~tried~to~start~an~environment~called~'#
>                                                   1',~
> ! Undefined control sequence.
> l.1396 \msg_kernel_new:nnnn
>                             { xparse } { expandable-ending-optional }
> ! Undefined control sequence.
> l.1404 \msg_kernel_new:nnnn
>                             { xparse } { inconsistent-long }
> ! Undefined control sequence.
> l.1411 \msg_kernel_new:nnnn
>                             { xparse } { invalid-expandable-argument-type }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1412   { Unknown~argument~type~'#
>                                    1'~replaced~by~'m'. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1415     The~letter~'#
>                        
> 1'~does~not~specify~an~argument~type~which~can~be~used~
> 
> ! Undefined control sequence.
> l.1420 \msg_kernel_new:nnnn
>                             { xparse } { missing-required }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1421 ...~find~required~argument~starting~with~'#
>                                                   1'. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1424     '#
>             
> 1'.~LaTeX~did~not~find~it,~and~will~insert~'#2'~as~the~value~to...
> 
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1424 ...aTeX~did~not~find~it,~and~will~insert~'#
>                                                   2'~as~the~value~to~be~
> ! Undefined control sequence.
> l.1427 \msg_kernel_new:nnnn
>                             { xparse } { not-single-token }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1428 ...t~delimiter~should~be~a~single~token:~'#
>                                                   1'. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1432     required,~LaTeX~found~'#
>                                    1'. \\ \\
> ! Undefined control sequence.
> l.1435 \msg_kernel_new:nnnn
>                             { xparse } { processor-in-expandable }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1439     The~argument~specification~for~#
>                                           
> 1~contains~a~processor~function:~
> ! Undefined control sequence.
> l.1442 \msg_kernel_new:nnnn
>                             { xparse } { split-excess-tokens }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1443   { Too~many~'#
>                       1'~tokens~when~trying~to~split~argument. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1445     LaTeX~was~asked~to~split~the~input~'#
>                                                 3'~
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1446     at~each~occurrence~of~the~token~'#
>                                             
> 1',~up~to~a~maximum~of~#2~parts.~
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1446 ...~of~the~token~'#1',~up~to~a~maximum~of~#
>                                                   2~parts.~
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1447     There~were~too~many~'#
>                                  1'~tokens.
> ! Undefined control sequence.
> l.1449 \msg_kernel_new:nnnn
>                             { xparse } { unknown-argument-type }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1450   { Unknown~argument~type~'#
>                                    1'~replaced~by~'m'. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1453     The~letter~'#
>                         1'~does~not~specify~a~known~argument~type.~
> ! Undefined control sequence.
> l.1456 \msg_kernel_new:nnnn
>                             { xparse } { unknown-document-command }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1457   { Unknown~document~command~'#
>                                       1'. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1459 ...~argument~specification~for~a~command~'#
>                                                   1',~
> ! Undefined control sequence.
> l.1462 \msg_kernel_new:nnnn
>                             { xparse } { unknown-document-environment }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1463   { Unknown~document~environment~'#
>                                           1'. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1465 ...~argument~specification~for~a~command~'#
>                                                   1',~
> ! Undefined control sequence.
> l.1468 \msg_kernel_new:nnnn
>                             { xparse } { verbatim-newline }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1469   { Verbatim~argument~of~#
>                                  1~ended~by~end~of~line. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1471     The~verbatim~argument~of~#
>                                     
> 1~cannot~contain~more~than~one~line,~bu...
> 
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1475     LaTeX~will~ignored~'#
>                                 2'.
> ! Undefined control sequence.
> l.1477 \msg_kernel_new:nnnn
>                             { xparse } { verbatim-already-tokenized }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1478   { Verbatim~command~#
>                              1~illegal~in~command~argument. }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1480     The~command~#
>                        
> 1~takes~a~verbatim~argument.~It~may~not~appear~within~
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1483     LaTeX~will~ignore~'#
>                                2'.
> ! Undefined control sequence.
> l.1485 \msg_kernel_new:nnn
>                            { xparse } { define-command }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1487     Defining~document~command~#
>                                       1~
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1488     with~arg.~spec.~'#
>                              2'~\msg_line_context:.
> ! Undefined control sequence.
> l.1490 \msg_kernel_new:nnn
>                            { xparse } { define-environment }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1492     Defining~document~environment~'#
>                                            1'~
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1493     with~arg.~spec.~'#
>                              2'~\msg_line_context:.
> ! Undefined control sequence.
> l.1495 \msg_kernel_new:nnn
>                            { xparse } { redefine-command }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1497     Redefining~document~command~#
>                                         1~
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1498     with~arg.~spec.~'#
>                              2'~\msg_line_context:.
> ! Undefined control sequence.
> l.1500 \msg_kernel_new:nnn
>                            { xparse } { redefine-environment }
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1502     Redefining~document~environment~'#
>                                              1'~
> ! You can't use `macro parameter character #' in horizontal mode.
> l.1503     with~arg.~spec.~'#
>                              2'~\msg_line_context:.
> ))
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \D...
> l.7062 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \D...
> l.7065 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \D...
> l.7068 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \D...
> l.7071 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \D...
> l.7074 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \D...
> l.7077 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \D...
> l.7080 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \a...
> l.7095 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \n...
> l.7103 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \n...
> l.7111 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \n...
> l.7119 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \S...
> l.7130 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \S...
> l.7141 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \S...
> l.7152 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \s...
> l.7155 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \t...
> l.7167 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \s...
> l.7178 }
>         
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \_...
> l.7222 ...d \__siunitx_bookmark_num:w { o m } {#2}
>                                                   
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \_...
> l.7224   { #2 \l__siunitx_range_phrase_tl #3 }
>                                               
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \_...
> l.7226   { \IfNoValueF {#3} {#3} #2 ~ #4 }
>                                           
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \_...
> l.7228 ...unitx_bookmark_SIlist_map:nn {#1} {#2} }
>                                                   
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \_...
> l.7230 ...#4 \l__siunitx_range_phrase_tl #3 ~ #4 }
>                                                   
> ! Undefined control sequence.
> <argument> \msg_kernel_info:nnxx 
>                                  {xparse}{define-command}{\token_to_str:N
> \_...
> l.7231 ...nd \__siunitx_bookmark_si:w { o m } {#2}
>                                                   
> 
> (C:\Users\PR\AppData\Roaming\MiKTeX\2.9\tex\latex\beamer\base\translator\transl
> ator.sty
> 
> 


-- 

/daleif
_______________________________________________
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.