emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error during PDF export but the PDF file is exported


From: Pascal Quesseveur
Subject: Error during PDF export but the PDF file is exported
Date: Fri, 29 Oct 2021 14:43:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt)

Hello,

I use Emacs 27.1 on Windows and Org 9.3.

>From time to time I work on files mounted from a remote host which is
late compared to my pc.  Then I encounter errors when producing files
from Org:

File xxx wasn't produced

But the file is produced and is up-to-date. The error message comes
from org-compile-file. In that function the test is to compare the
date at the start of function with the date of the produced file. I
don't know if it's still the case in recent versions, but I think it
could be changed. For example, instead of using the date at the start
of the function, we could use the date of the file if it already
exists

(time (if (file-exists-p output)
            (file-attribute-modification-time (file-attributes output))
          '(0 0 0 0)))


-- 
Pascal Quesseveur
pquessev@gmail.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]