pdf build fails with: can't find file `paper.tex' (probably due to whitespace in file path)
pierre-haessig opened this issue · 2 comments
pierre-haessig commented
I've followed the README instructions but ran into an error when executing ./make_paper.sh papers/pierre_haessig
Here is the command log:
Building: pierre_haessig
PDFLaTeX error output:
================================================================================
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
restricted \write18 enabled.
entering extended mode
! I can't find file `paper.tex'.
<*> paper.tex
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
<*> paper.tex
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.
================================================================================
/bin/sh: 1: cd: can't cd to /home/pierre/Travail
================================================================================
So paper.tex
is not found even though it exists in the output/pierre_haessig
directory
The last line of the lof probably the most informative since the full path to the to the output directory is in fact /home/pierre/Travail eolien/[...]/output/pierre_haessig
So it contains white spaces (and also some accents !) which are not handled properly (cf. the can't cd error in the log).
pierre-haessig commented
Adding two quotes (commit 0650e21) seems to fix the problem...
pdebuyl commented
seems solved :-)