Bug 168821

Summary: Structure display shows file for new command \Input{} which is not the same as \input{} due to case sensitivity
Product: [Applications] kile Reporter: Christoph Burger-Scheidlin <mail>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: thomas.braun
Priority: NOR    
Version First Reported In: 2.0.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christoph Burger-Scheidlin 2008-08-09 20:35:15 UTC
Version:           2.0.1 (using KDE 3.5.9)
Installed from:    Unlisted Binary Package
OS:                Linux

I defined a latex macro \Input like
\newcommand{\Input}[1]{x_{#1}}

whenever I use it, kile thinks that I use the latex macro \input{} to include another latex file and displays it in the structure view. Apparently the parser for the structure view is case insensitive whereas latex is.
Comment 1 Thomas Braun 2008-08-26 12:15:15 UTC
Hello,

no this is not a bug about case sensitivity but also the command \Input (from an additional package) is by default defined in kile.

So it might me best to rename your self defined command.

bye,
Thomas
Comment 2 Christoph Burger-Scheidlin 2008-08-26 12:22:38 UTC
So the only way to fix this is to make kile aware of which packages are actually used. Sounds like more work than it is really good for, but I leave this as a wish.
Comment 3 Thomas Braun 2009-01-07 00:17:07 UTC

*** This bug has been marked as a duplicate of bug 179862 ***