Menu

#3 incompatibility with mdwlist

open
nobody
5
2007-04-25
2007-04-25
No

the package mdwlist also defines a command \note ...

at least a warning messages should be filed when loading trackchanges.sty ....

Discussion

  • katka

    katka - 2007-09-18

    Logged In: YES
    user_id=1893151
    Originator: NO

    I have actually the same problem with using elsart.cls files for scientific articles: package ulem.sty is loaded and it has the \note command already defined.

     
  • Felix Salfner

    Felix Salfner - 2007-09-20

    Logged In: YES
    user_id=1523442
    Originator: YES

    I checked with my tetex distribution, and ulem.sty does not define the \note command. Maybe, elsart.cls uses some other package that requires mdwlist, which in my opinion causes the problem ...

     
  • katka

    katka - 2007-09-20

    Logged In: YES
    user_id=1893151
    Originator: NO

    This is the part of the .log file with the error message I get when using elsart.cls. The error pops up when loading the ulem.sty, so I thought it was connected with it. \scrollmode works, but the \note command produces a "Note 1" text in bold with the whole rest of the text in italics. Other commands (\annote, \add, \change, \remove) seem to work OK.

    This is pdfTeX, Version 3.141592-1.40.3 (MiKTeX 2.6) (preloaded format=latex 2007.9.18) 20 SEP 2007 13:31
    entering extended mode

    LaTeX2e <2005/12/01>
    Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, ge
    rman, ngerman, french, loaded.

    ........

    ("C:\Program Files\MiKTeX 2.6\tex\latex\ltxmisc\ulem.sty"
    \UL@box=\box31
    \UL@hyphenbox=\box32
    \UL@skip=\skip47
    \UL@hook=\toks22
    \UL@pe=\count110
    \UL@pixel=\dimen126
    \ULC@box=\box33
    Package: ulem 2000/05/26
    \ULdepth=\dimen127
    )
    \c@userid=\count111
    \c@changenumber=\count112
    \c@storefootnote=\count113

    ! LaTeX Error: Command \note already defined.
    Or name \end... illegal, see p.192 of the manual.

    See the LaTeX manual or LaTeX Companion for explanation.
    Type H <return> for immediate help.
    ...

    l.175 }
    %
    ? s
    OK, entering \scrollmode...
    )

     
  • amicitas

    amicitas - 2010-03-20

    Note that TrackChanges version 0.7 in no longer compatible with the ulem package. The package soul should be used for underlining etc. instead.

    As an over all solution to the command incompatibility I suggested a compatibility mode in artifact 2912056. This mode would preface all of the commands with tc ( for example \note -> \tcNote). The warning message for packages with known compatibility problems could suggest using this mode.

     

Log in to post a comment.