texstudio
texstudio copied to clipboard
TeXstudio highlights input files as not found
I include some files to the main tex file with \input{./SettingsExamsMacroPhD02.tex}
.
TeXstudio should list these files in the Structure view in black. However, they are shown in red as if these files were not available (see image).
When I click the file, TeXstudio opens the file and the red indication turns black, as usual. This behavior started to happen in the last update.
![screen01](https://user-images.githubusercontent.com/59922961/146046297-728fac71-8dab-4382-84e6-0cbb022abb72.png)
Environment
- TeXstudio: 4.1.2 (git 4.1.2)
- Qt: Qt Version 6.2.1, compiled with Qt 6.2.1 R
- OS: Windows 10 Pro, Version 20H2
- TeX distribution: miktex
Expected behavior
input files found and shown in black.
Actual behavior
input files shown as not found, in red.
How to reproduce
Include an input file to the main tex file.
works as expected.
works as expected.
What is the expected behavior? Do the files have to be shown in red, as if they were not available? It is better if they were shown in black, as black is less distracting
It means that I can't reproduce the issue. The files are presented in black here.
It means that I can't reproduce the issue. The files are presented in black here.
Thanks. Is there any setup that I have to change? The files are in the same directory. The same strange behavior appears for me in all TeXstudio files when I have external files linked with \input{filename}
. They only turn black when I click the file in the Structure view
it should work without changes.
Is this a bug? The links always show as red in different TEX files.
I'm presented red and black links in the self-compiled version 4.2.1 from this repo. All files are found though.
They had to be in black. They appeared in black in previous versions. Red should be for files not found.
Interestingly, if I reopen an old session all documents are shown in black, while when I open the document containing the very same links anew, they are colored red. However, clicking on the red links opens the documents flawlessly.
Closing the tab of the first two in some constellations colors the links black (as shown in my prior screenshot), while this does not change a thing for the other linked files.
probably fixed