When using \input or \include in a tex file, the files and projects tab shows the mentioned files in the alphabetical order. It would be more convenient to list them in the same order as they are mentioned in the file. This way it reflects the structure (that can be seen in the structure tab). Reproducible: Always Steps to Reproduce: Make a project with a master file and two inclusions A.tex and B.tex the master file content: \input{B} \input{A} Actual Results: The Files and Projects tab shows : master.tex |--- A.tex \--- B.tex Expected Results: The Files and Projects tab should show : master.tex |--- B.tex \--- A.tex
Created attachment 71669 [details] Proposed patch viable in the 2.1 branch
Hi, I made the following patch to fix the problem in the 2.1 branch of the git. Basically, I set an integer in the KileProjectView that corresponds to the index in the dependencies array of the docinfo. Then, the operator < in ProjectViewItem reacts to it, if it is set. Note : the master branch is working weird as it has a lot of problems to build the hierarchy. LP
The problem exist also in the Kile 2.9.60 (KDE 4.10.2). I am using Windows 7 64-bit. Does anyone know any workaround for this? It would be really useful to put the files in chronological order rather than alphabetical order.