TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
GNU General Public License v3.0
2.75k
stars
342
forks
source link
Subfiles and folders are not created in the relative directory #2177
Open
Fex015 opened 2 years ago
Environment
Expected behavior
Auto-creating a new subfile should create new files/folders relative to the file they are mentioned in.
folderA/main.tex <-- main tex-file with
\subfile{folderB/subfile1.tex}
using
\subfile{folderC/subfile2.tex}
within subfile1letting TeXstudio create folderC/subfile2.tex
should result in folderA/folderB/folderC/subfile2.tex
Actual behavior
Actually creates folderA/folderC/subfile2.tex
Also if folderA/folderB/folderC already exits it will create folderA/folderC/subfile2.tex
How to reproduce
\subfile{subfolder1/subfile1.tex}
\subfile{subfolder2/subfile2.tex}