GNU bug report logs -
#31685
12.1.1; Preview with cached preamble fails with lualatex engine and filenames with spaces
Previous Next
Reported by: jfbu <jfbu <at> free.fr>
Date: Sat, 2 Jun 2018 12:13:02 UTC
Severity: normal
Tags: fixed
Found in version 12.1.1
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 31685 <at> debbugs.gnu.org (full text, mbox):
Hi Tassilo, Mosè, Arash and David,
> First of all, Jean kindly provided a new .ini code which enables
> preamble cache with unusual file name for not only lualatex, but also
> platex and uplatex!
> If other problems aren't found, I'll commit this in several days.
Alhough I didn't think well before, now I think Jean's contribution of
.ini code related to this topic is big enough to need to get copyright
assignment. Here is the diff in preview.el.in with respect to his
contribution:
@@ -3315,10 +3331,13 @@
(push format-cons preview-dumped-alist))
;; mylatex.ltx expects a file name to follow. Bad. `.tex'
;; in the tools bundle is an empty file.
- (write-region "\\ifx\\pdfoutput\\undefined\\else\
-\\let\\PREVIEWdump\\dump\\def\\dump{%
-\\edef\\next{{\\catcode`\\ 9 \\pdfoutput=\\the\\pdfoutput\\relax\
-\\the\\everyjob}}\\everyjob\\next\\catcode`\\ 10 \\let\\dump\\PREVIEWdump\\dump}\\fi\\input mylatex.ltx \\relax\n" nil dump-file)
+ (write-region "\\let\\PREVIEWdump\\dump\\def\\dump{%
+\\edef\\next{{\\ifx\\pdfoutput\\undefined\\else\
+\\pdfoutput=\\the\\pdfoutput\\relax\\fi\
+\\the\\everyjob}}\\everyjob\\next\\catcode`\\ 10 %
+\\catcode`/ 0 %
+\\def\\AUCTEXINPUT##1{\\catcode`/ 12\\relax\\catcode`\\ 9\\relax\\input\\detokenize{##1}\\relax}%
+\\let\\dump\\PREVIEWdump\\dump}\\input mylatex.ltx \\relax%\n" nil dump-file)
(TeX-save-document master)
(prog1
(preview-generate-preview
I already asked him and he answered that he is fine with giving over his
copyright, so could you please provide him instructions of necessary
procedure?
Best regards,
Ikumi Keita
This bug report was last modified 6 years and 287 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.