https://bugs.kde.org/show_bug.cgi?id=421348
Bug ID: 421348 Summary: "Cannot write File" in Live Preview with source included from subdirectories Product: kile Version: 2.9.93 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: michel.lud...@kdemail.net Reporter: fe...@rindt.me Target Milestone: --- SUMMARY In my "thesis.tex" I am including a file "common/chap01.tex". When running the Live Preview, I get an error from pdflatex "Cannot write on file common/chap01.aux". STEPS TO REPRODUCE 1. Create a plain latex document (see end of this message) 2. Hit Ctrl+S to start live preview compiling and see the compiled result 3. Create chap01.tex file in a subfolder called "common" with some text in it 3. Uncomment/Add the include statement to include common/chap01.tex 4. Hit Ctrl+S to start live preview compiling. OBSERVED RESULT Live preview compilation errors with "I can't write on file `common/chap01.aux'" EXPECTED RESULT Live preview compilation finishes successfully. LATEX VERSION ***** ***** LivePreview-PDFLaTeX output: ***** cd "/home/felix/project/kiletest" ***** pdflatex -synctex=1 -interaction=nonstopmode -output-directory=/tmp/kile-livepreview.abcdef thesis.tex ***** This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Arch Linux) (preloaded format=pdflatex) restricted \write18 enabled. extended mode ADDITIONAL INFORMATION I think the cause is that there is no directory "common" where the live preview is built. For me that's in "/tmp/kile-livepreview.abcdef/". When I manually create the directory "/tmp/kile-livepreview.abcdef/common/" folder there, the error goes away. This is the plain latex document used for error reproduction: \documentclass[11pt]{article} \begin{document} Lorem ipsum %\include{common/chap01} \end{document} -- You are receiving this mail because: You are watching all bug changes.