Package: kile
Version: 4:2.1.3-2
Severity: normal

--- Please enter the report below this line. ---

Hi.

In the "Files and Projects" view, the tree of files breaks, when more
than one level of nesting is done and the input'ed file is inside a
subdirectory.

To reproduce:

- Create a new project (I use the scrreprt template to get a compilable
file right away) with main.tex as main document.
- create two new files (l1.tex, l2.tex) in a subdirectory of the project
dir (I name the dir level1) and add them to the project
- input l1.tex in main.tex
- input l2.tex in l1.tex.
- save everything

Now the tree in the "Files and Projects" view should be:

main.tex
 +-- l1.tex
       +-- l2.tex

but kile seems to use the path from the input statement as a relative
path from the position of the file which uses the input statement, where
it should use a relative path from the position of the main document. So
the resulting tree looks like this:

l2.tex
main.tex
 +-- l1.tex

because kile cannot find the reference to l2.tex in l1.tex


For clarification these would be the files:

main.tex:
---------------
\documentclass[a4paper,10pt]{scrreprt}
\usepackage[utf8]{inputenc}

% Title Page
\title{}
\author{}


\begin{document}
\maketitle

\begin{abstract}
\end{abstract}

\input{level1/l1}

\end{document}         
-------------------


l1.tex
-------------------
\input{level1/l2}
-------------------

l2.tex can be empty.

The directory structure is:

$ ls -R
.:
level1  test.kilepr  main.tex

./level1:
l1.tex  l2.tex


if the "level1/" part of the path in l1.tex's input is removed, kile
recognizes the project structure, but obviously the document no longer
compiles.

I hope I explained the problem clearly. If there are any questions, I
will do my best to answer them.

Regards
  Andre Naujoks


--- System information. ---
Architecture: amd64
Kernel: Linux 3.10.0+

Debian Release: jessie/sid
500 unstable ftp.de.debian.org
500 stable dl.google.com

--- Package information. ---
Depends (Version) | Installed
=========================================-+-===================
konsole | 4:4.8.4-3
texlive-latex-base | 2013.20130530-1
kde-runtime | 4:4.8.4-2+b1
libc6 (>= 2.14) |
libgcc1 (>= 1:4.1.1) |
libkdecore5 (>= 4:4.4.95) |
libkdeui5 (>= 4:4.5.2) |
libkfile4 (>= 4:4.4.4) |
libkhtml5 (>= 4:4.4.4) |
libkio5 (>= 4:4.4.4) |
libkjsapi4 (>= 4:4.4.4) |
libkparts4 (>= 4:4.5.85) |
libkrosscore4 (>= 4:4.4.4) |
libktexteditor4 (>= 4:4.4.95) |
libnepomuk4 (>= 4:4.4.4) |
libnepomukutils4 (>= 4:4.5.85) |
libphonon4 (>= 4:4.2.0) |
libqt4-dbus (>= 4:4.5.3) |
libqt4-network (>= 4:4.5.3) |
libqt4-script (>= 4:4.5.3) |
libqt4-svg (>= 4:4.5.3) |
libqt4-xml (>= 4:4.5.3) |
libqtcore4 (>= 4:4.7.0~beta1) |
libqtgui4 (>= 4:4.8.0) |
libsoprano4 (>= 2.1.1) |
libstdc++6 (>= 4.1.1) |


Recommends (Version) | Installed
==========================-+-===========
dvipng | 1.14-1+b2
ghostscript | 9.05~dfsg-8
imagemagick | 8:6.7.7.10-5
psutils | 1.17.dfsg-1
texlive | 2013.20130530-1


Suggests (Version) | Installed
===============================-+-===========
aspell | 0.60.7~20110707-1
OR ispell |
OR hspell |
asymptote |
context |
dblatex | 0.3.4-3
kile-doc |
kile-l10n |
kbibtex |
latex2html | 2008-debian1-10
lilypond |
tex4ht |
texlive-doc-base | 2012.20120611-1
texlive-xetex | 2013.20130530-1
zip | 3.0-7

_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to