Bug 323503 - Compiling fails (live preview and normal compile) when space present in .tex file name
Summary: Compiling fails (live preview and normal compile) when space present in .tex ...
Status: RESOLVED WORKSFORME
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: 2.9.60
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-14 17:04 UTC by Nathaniel
Modified: 2018-11-17 04:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathaniel 2013-08-14 17:04:44 UTC
When I try to use Kile to edit a .tex file that has a space in its name, Kile is unable to compile the document for either the live preview or when I click the "PDFLaTeX" button. By comparison, the exact same file compiles and previews fine if I remove the space(s) from its name.

From the Output toolview:
*****
*****     LivePreview-PDFLaTeX output: 
*****     cd "/tmp"
*****     pdflatex -synctex=1 -interaction=nonstopmode -output-directory=/home/digitalpioneer/.kde4/share/apps/kile/livepreview/preview-syshLu/ new article.tex
*****

The error here seems to be the absence of quotes around "new article.tex".

Reproducible: Always

Steps to Reproduce:
1. Create a new .tex file with a space in its name
2. Attempt to compile it
Actual Results:  
File fails to compile.

Expected Results:  
It should compile.

The pdflatex log file contains the following:

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Arch Linux) (format=pdflatex 2013.8.12)  14 AUG 2013 12:55
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**new article.tex

! Emergency stop.
<*> new 
        article.tex
*** (job aborted, file error in nonstop mode)

 
Here is how much of TeX's memory you used:
 4 strings out of 493315
 250 string characters out of 6143704
 52158 words of memory out of 5000000
 3557 multiletter control sequences out of 15000+600000
 3640 words of font info for 14 fonts, out of 8000000 for 9000
 957 hyphenation exceptions out of 8191
 0i,0n,0p,1b,6s stack positions out of 5000i,500n,10000p,200000b,80000s
!  ==> Fatal error occurred, no output PDF file produced!
Comment 1 Andrew Crouthamel 2018-11-10 03:22:50 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Nathaniel 2018-11-16 20:49:06 UTC
I am no longer able to reproduce this bug. Seems that it has been fixed in the intermediate years. :)
Comment 3 Andrew Crouthamel 2018-11-17 04:47:17 UTC
Thanks for the update!