Menu

#1241 "inconsistent command arguments" when running from terminal

None
closed
nobody
error (1)
1
2017-04-15
2017-03-22
hehe_br
No

Hi,

I get these when I run TeXstudio from terminal:

inconsistent command arguments: "\csname" "scrlayer.cwl"
inconsistent command arguments: "\expandafter" "english.cwl"
inconsistent command arguments: "\expandafter" "greek.cwl"
inconsistent command arguments: "\hyphentextcquote" "csquotes.cwl"
inconsistent command arguments: "\hyphentextcquote" "csquotes.cwl"
inconsistent command arguments: "\hyperref" "hyperref.cwl"
inconsistent command arguments: "\hyperref" "hyperref.cwl"
inconsistent command arguments: "\hyperref" "hyperref.cwl"
inconsistent command arguments: "\hyperref" "hyperref.cwl"
inconsistent command arguments: "\expandafter" "english.cwl"
inconsistent command arguments: "\hyphentextcquote" "csquotes.cwl"
inconsistent command arguments: "\hyphentextcquote" "csquotes.cwl"

Version: TeXstudio 2.12.2 (hg 6379:5d519eaca3d9) Using Qt Version 5.7.1, compiled with Qt 5.7.1 R
System: openSUSE Tumbleweed

But the program works fine, I just wanted to report it.

Thanks for your help and attention!

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2017-04-15

    This means that there are command definitions with contradicting arguments. This can have multple reasons. Either they are really contradicting each other or they differ in signatures that our current latex parser does not support (e.g. commands with a variable number of arguments. See also https://sourceforge.net/p/texstudio/bugs/1990/#f946

    The only effect this will have is that the semantic interpretation of more complex commands in the editor will not work. E.g. if you have a command that can be \mycite{bibid} and \mycite{arg}{bibid}, the parser cannot interpret them correctly.

    Fixed csquotes: hg 6504 (560d5ef76d05)
    \expandafter fixed by previous change of LatexStyleParser (needs recreation of the autogenerated cwls). To do that just delete the contents of the completion/autogenerated folder in the settings directory.

    The other warnings have to stay due to technical limitations (see above).

     

    Last edit: Tim Hoffmann 2017-04-15
  • Tim Hoffmann

    Tim Hoffmann - 2017-04-15
    • status: open --> closed
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB