[Top][All Lists]

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

Re: [AUCTeX-devel] TeXLive 2019 update broke preview-latex (was Re: Type

From: Ikumi Keita
Subject: Re: [AUCTeX-devel] TeXLive 2019 update broke preview-latex (was Re: Typeset LaTeX files with non-ascii file name in TeXLive 2018)
Date: Tue, 08 Oct 2019 13:44:17 +0900

Hi Jean, thank you for detailed explanation.

>>>>> jfbu <address@hidden> writes:
> Le 07/10/2019 à 22:14, jfbu a écrit :
> if /AUCTEXINPUT starts using \input{\detokenize{##1}} then
> its invocation in preview-undump-replacements() should not
> add extra leading and trailing spaces else we will have same problem

> i.e. the line

>       preview-format-name " \"/AUCTEXINPUT{\" \\3 \"}\"")))

> in preview.el

> should, if I understand correctly the syntax be

>       preview-format-name " \"/AUCTEXINPUT{\"\\3\"}\"")))

> (the kept \" pair if for LaTeX earlier than 2019-10-01 to
> support spaces in filenames \input{"a b c.tex"} works
> but \input{a b c.tex} works only since LaTeX 2019-10-01}

> But perhaps there is Windows issue with \"<space> ??????

Yeah.  If I drop the spaces around the file name of
"\detokenize{" %t "}"
in `preview-LaTeX-command' thus turning it into
, w32 shell (cmd.exe) does not process the quotes as expected when the
file name contains space:

| Running `Preview-LaTeX' on `file with space' with ``pdflatex  
 "\input" "\detokenize{"^"\^"file with space.tex\^"^""}"''
| ! Unbalanced quotes in argument space.tex"}
| TeX Output exited as expected with code 1 at Tue Oct  8 13:18:06
| LaTeX: LaTeX found no preview images

I personally don't think it's worth working on for file name beginning
with a space now.

Ikumi Keita

reply via email to

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