From unknown Wed Sep 10 17:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31686: 12.1.1 ; Generation of Previews for platex with cached preamble fails with filename having spaces Resent-From: jfbu Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Sat, 02 Jun 2018 12:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31686 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 31686@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152794211712086 (code B ref -1); Sat, 02 Jun 2018 12:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jun 2018 12:21:57 +0000 Received: from localhost ([127.0.0.1]:58456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fP5Xh-00038s-Cl for submit@debbugs.gnu.org; Sat, 02 Jun 2018 08:21:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fP5Xg-00038f-2o for submit@debbugs.gnu.org; Sat, 02 Jun 2018 08:21:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fP5Xa-00068V-0K for submit@debbugs.gnu.org; Sat, 02 Jun 2018 08:21:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55108) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fP5XZ-00068A-TN for submit@debbugs.gnu.org; Sat, 02 Jun 2018 08:21:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fP5XX-0000wm-B8 for bug-auctex@gnu.org; Sat, 02 Jun 2018 08:21:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fP5XU-00062I-68 for bug-auctex@gnu.org; Sat, 02 Jun 2018 08:21:47 -0400 Received: from smtp01.univ-lille1.fr ([2001:660:4401:100::19]:59432) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fP5XT-000614-QW for bug-auctex@gnu.org; Sat, 02 Jun 2018 08:21:44 -0400 Received: from smtps1.univ-lille1.fr (smtps1.univ-lille1.fr [193.49.225.52]) by smtp01.univ-lille1.fr (8.14.3/8.14.3) with ESMTP id w52CLfpx000680 for ; Sat, 2 Jun 2018 14:21:41 +0200 Received: from [192.168.0.10] (13.135.3.93.rev.sfr.net [93.3.135.13]) (authenticated bits=0) by smtps1.univ-lille1.fr (8.14.3/8.14.3/Debian-5) with ESMTP id w52CLeCh032441 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 2 Jun 2018 14:21:41 +0200 From: jfbu Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <646E89C1-7394-448D-8E35-2D9B3C0513AE@free.fr> Date: Sat, 2 Jun 2018 14:21:38 +0200 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-USTL-MailScanner-Information: Please contact the ISP for more information X-USTL-MailScanner-ID: w52CLfpx000680 X-USTL-MailScanner: Found to be clean X-USTL-MailScanner-From: jfbu@free.fr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi, consider this file \documentclass{jsarticle} \def\abc{abc} \begin{document} $\abc$ \end{document} Name it `abc def ghi.tex`. Compilation (to DVI) works fine. But generation of previews using cached preamble fails, the format can not be used: generation ok Running `Preview-LaTeX' on `abc def ghi' with ``platex -ini = -interaction=3Dnonstopmode "&platex" prv_abc_def_ghi.ini = "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{previe= w}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,flo= ats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" = "\input" \"abc\ def\ ghi.tex\"'' This is e-pTeX, Version 3.14159265-p3.8.0-180226-2.6 (utf8.euc) (TeX = Live 2018) (INITEX) .... etc.... but usage fails Running `Preview-LaTeX' on `abc def ghi' with ``platex -kanji=3Dutf8 = -interaction=3Dnonstopmode "&prv_abc_def_ghi" \"abc\ def\ ghi.tex\"'' This is e-pTeX, Version 3.14159265-p3.8.0-180226-2.6 (utf8.euc) (TeX = Live 2018) (preloaded format=3Dplatex) restricted \write18 enabled. entering extended mode ! I can't find file `abcdefghi.tex'. <*> &prv_abc_def_ghi "abc def ghi.tex" =20 (Press Enter to retry, or Control-D to exit) Please type another input file name ! Emergency stop. <*> &prv_abc_def_ghi "abc def ghi.tex" =20 No pages of output. Transcript written on texput.log. TeX Output exited as expected with code 1 at Sat Jun 2 14:19:27 LaTeX: LaTeX found no preview images Explanation is simple, the hack of \dump in preview.el is effective only if \pdfoutput primitive exists. This hack was done to counteract mylatex.ltx making spaces ignored. Notice though that even if that was fixed, bug #31684 would cause a = problem Best, Jean-Fran=E7ois From unknown Wed Sep 10 17:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31686: 12.1.1 ; Generation of Previews for platex with cached preamble fails with filename having spaces Resent-From: jfbu Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 08 Jun 2018 09:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31686 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 31686@debbugs.gnu.org Received: via spool by 31686-submit@debbugs.gnu.org id=B31686.1528449568424 (code B ref 31686); Fri, 08 Jun 2018 09:20:01 +0000 Received: (at 31686) by debbugs.gnu.org; 8 Jun 2018 09:19:28 +0000 Received: from localhost ([127.0.0.1]:38707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRDYO-00006m-AJ for submit@debbugs.gnu.org; Fri, 08 Jun 2018 05:19:28 -0400 Received: from smtp7.tech.numericable.fr ([82.216.111.43]:36046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRDYM-00006d-F1 for 31686@debbugs.gnu.org; Fri, 08 Jun 2018 05:19:26 -0400 Received: from Ordinateur-Burnolien.local (13.135.3.93.rev.sfr.net [93.3.135.13]) by smtp7.tech.numericable.fr (Postfix) with ESMTP id CC9E362643 for <31686@debbugs.gnu.org>; Fri, 8 Jun 2018 11:19:25 +0200 (CEST) From: jfbu References: <646E89C1-7394-448D-8E35-2D9B3C0513AE@free.fr> Message-ID: <8c008d92-30c7-6100-2093-51046a88bbd1@free.fr> Date: Fri, 8 Jun 2018 11:19:24 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <646E89C1-7394-448D-8E35-2D9B3C0513AE@free.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedthedrjeelgddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfpfgfogfftkfevteeunffgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffhvfhfkffffgggjggtgfesthekredttdefjeenucfhrhhomhepjhhfsghuuceojhhfsghusehfrhgvvgdrfhhrqeenucfrrghrrghmpehmohguvgepshhmthhpohhuthenucevlhhushhtvghrufhiiigvpedt X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Le 02/06/2018 à 14:21, jfbu a écrit : > Notice though that even if that was fixed, bug #31684 would cause a problem Hi Keita and all, I can confirm that using proposed patches to fix #31684 and #31685, this one is cured too in my brief testing with pLaTeX compilation. > Running `Preview-LaTeX' on `abc jap' with ``platex -ini -interaction=nonstopmode "&platex" prv_abc_jap.ini "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" "{\detokenize{" \"abc\ jap.tex\" "}}"'' > This is e-pTeX, Version 3.14159265-p3.8.0-180226-2.6 (utf8.euc) (TeX Live 2018) (INITEX) > restricted \write18 enabled. > entering extended mode > (./prv_abc_jap.ini > pLaTeX2e <2018-05-20> (based on LaTeX2e <2018-04-01> patch level 5) > (/usr/local/texlive/2018/texmf-dist/tex/latex/carlisle/mylatex.ltx) (/usr/local/texlive/2018/texmf-dist/tex/latex/tools/.tex File ignored)) > No auxiliary output files. > > [... lines cut ....] > No pages of output. > Transcript written on prv_abc_jap.log. > > TeX Output finished at Fri Jun 8 11:11:37 > Running `Preview-LaTeX' on `abc jap' with ``platex -kanji=utf8 -file-line-error -interaction=nonstopmode \&prv_abc_jap "/AUCTEXINPUT{" \"abc\ jap.tex\" "}"'' > This is e-pTeX, Version 3.14159265-p3.8.0-180226-2.6 (utf8.euc) (TeX Live 2018) (preloaded format=platex) > restricted \write18 enabled. > entering extended mode > pLaTeX2e <2018-05-20> (based on LaTeX2e <2018-04-01> patch level 5) > CUSTOMISED FORMAT. Preloaded files: > . > pldefs.ltx 2018/02/04 v1.6l pLaTeX Kernel (Default settings) > jy1mc.fd 2018/02/04 v1.6l KANJI font defines > jy1gt.fd 2018/02/04 v1.6l KANJI font defines > jt1mc.fd 2018/02/04 v1.6l KANJI font defines > jt1gt.fd 2018/02/04 v1.6l KANJI font defines > kinsoku.tex > "abc jap.tex" > jarticle.cls 2018/02/04 v1.7h Standard pLaTeX class > jsize10.clo 2018/02/04 v1.7h Standard pLaTeX file (size option) > . > (./abc jap.tex > [.... lines cut ....] > ) > (see the transcript file for additional information) > Output written on "abc jap.dvi" (1 page, 1584 bytes). > Transcript written on "abc jap.log". > > TeX Output exited as expected with code 1 at Fri Jun 8 11:11:37 > Running `Preview-DviPNG' with ``dvipng -picky -noghostscript abc\ jap.dvi -o abc\ jap.prv/tmppvWcgV/prev%03d.png -D186 '' > This is dvipng (dvipng (TeX Live)) 1.15 Copyright 2002-2015 Jan-Ake Larsson > [1 (preview-latex version 12.1) (preview-latex tightpage option detected, will use its bounding box)] > > Preview-DviPNG finished at Fri Jun 8 11:11:37 Best, Jean-François From unknown Wed Sep 10 17:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31686: 12.1.1 ; Generation of Previews for platex with cached preamble fails with filename having spaces Resent-From: jfbu Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 08 Jun 2018 09:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31686 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 31686@debbugs.gnu.org Received: via spool by 31686-submit@debbugs.gnu.org id=B31686.15284516844116 (code B ref 31686); Fri, 08 Jun 2018 09:55:02 +0000 Received: (at 31686) by debbugs.gnu.org; 8 Jun 2018 09:54:44 +0000 Received: from localhost ([127.0.0.1]:38801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRE6V-00014K-NV for submit@debbugs.gnu.org; Fri, 08 Jun 2018 05:54:43 -0400 Received: from smtp7.tech.numericable.fr ([82.216.111.43]:48848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRE6U-00014C-06 for 31686@debbugs.gnu.org; Fri, 08 Jun 2018 05:54:42 -0400 Received: from Ordinateur-Burnolien.local (13.135.3.93.rev.sfr.net [93.3.135.13]) by smtp7.tech.numericable.fr (Postfix) with ESMTP id A994C63821 for <31686@debbugs.gnu.org>; Fri, 8 Jun 2018 11:54:40 +0200 (CEST) From: jfbu References: <646E89C1-7394-448D-8E35-2D9B3C0513AE@free.fr> <8c008d92-30c7-6100-2093-51046a88bbd1@free.fr> Message-ID: Date: Fri, 8 Jun 2018 11:54:40 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <8c008d92-30c7-6100-2093-51046a88bbd1@free.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedthedrjeelgddufecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfpfgfogfftkfevteeunffgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffhvfhfkffffgggjggtgfesthekredttdefjeenucfhrhhomhepjhhfsghuuceojhhfsghusehfrhgvvgdrfhhrqeenucfrrghrrghmpehmohguvgepshhmthhpohhuthenucevlhhushhtvghrufhiiigvpedt X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, Le 08/06/2018 à 11:19, jfbu a écrit : > Le 02/06/2018 à 14:21, jfbu a écrit : >> Notice though that even if that was fixed, bug #31684 would cause a problem > > Hi Keita and all, > > I can confirm that using proposed patches to fix #31684 and #31685, > this one is cured too in my brief testing with pLaTeX compilation. > >> Running `Preview-LaTeX' on `abc jap' with ``platex -ini -interaction=nonstopmode "&platex" prv_abc_jap.ini    "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" "{\detokenize{" \"abc\ jap.tex\" "}}"'' >> This is e-pTeX, Version 3.14159265-p3.8.0-180226-2.6 (utf8.euc) (TeX Live 2018) (INITEX) >>  restricted \write18 enabled. >> entering extended mode >> (./prv_abc_jap.ini >> pLaTeX2e <2018-05-20> (based on LaTeX2e <2018-04-01> patch level 5) >> (/usr/local/texlive/2018/texmf-dist/tex/latex/carlisle/mylatex.ltx) (/usr/local/texlive/2018/texmf-dist/tex/latex/tools/.tex File ignored)) >> No auxiliary output files. >> >> [... lines cut ....] >> No pages of output. >> Transcript written on prv_abc_jap.log. >> >> TeX Output finished at Fri Jun  8 11:11:37 >> Running `Preview-LaTeX' on `abc jap' with ``platex  -kanji=utf8  -file-line-error -interaction=nonstopmode \&prv_abc_jap "/AUCTEXINPUT{" \"abc\ jap.tex\" "}"'' >> This is e-pTeX, Version 3.14159265-p3.8.0-180226-2.6 (utf8.euc) (TeX Live 2018) (preloaded format=platex) >>  restricted \write18 enabled. >> entering extended mode >> pLaTeX2e <2018-05-20> (based on LaTeX2e <2018-04-01> patch level 5) >> CUSTOMISED FORMAT. Preloaded files: >>         . >>   pldefs.ltx    2018/02/04 v1.6l pLaTeX Kernel (Default settings) >>    jy1mc.fd    2018/02/04 v1.6l KANJI font defines >>    jy1gt.fd    2018/02/04 v1.6l KANJI font defines >>    jt1mc.fd    2018/02/04 v1.6l KANJI font defines >>    jt1gt.fd    2018/02/04 v1.6l KANJI font defines >>  kinsoku.tex >>   "abc jap.tex" jarticle.cls    2018/02/04 v1.7h Standard pLaTeX class >>  jsize10.clo    2018/02/04 v1.7h Standard pLaTeX file (size option) >>         . >> (./abc jap.tex >> [.... lines cut ....] >>  ) >> (see the transcript file for additional information) >> Output written on "abc jap.dvi" (1 page, 1584 bytes). >> Transcript written on "abc jap.log". >> >> TeX Output exited as expected with code 1 at Fri Jun  8 11:11:37 >> Running `Preview-DviPNG' with ``dvipng -picky -noghostscript abc\ jap.dvi -o abc\ jap.prv/tmppvWcgV/prev%03d.png  -D186 '' >> This is dvipng (dvipng (TeX Live)) 1.15 Copyright 2002-2015 Jan-Ake Larsson >> [1 (preview-latex version 12.1) (preview-latex tightpage option detected, will use its bounding box)] >> Preview-DviPNG finished at Fri Jun  8 11:11:37 > Due to some mix-up at my side the above is with the first version of the patches proposed by Keita for #31685. With the second version of the patches, it does work too, bthere are some differences in the command line incovations. Although I am creating a bit of noise, I feel I must now copy-paste how it really looks like with the v2 of Keita's patches for #31685 at my locale: > Running `Preview-LaTeX' on `abc jap' with ``platex -ini -kanji=utf8 -interaction=nonstopmode "&platex" prv_abc_jap.ini "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" "{\detokenize{" \"abc\ jap.tex\" "}}"'' > This is e-pTeX, Version 3.14159265-p3.8.0-180226-2.6 (utf8.euc) (TeX Live 2018) (INITEX) > restricted \write18 enabled. > entering extended mode > (./prv_abc_jap.ini > pLaTeX2e <2018-05-20> (based on LaTeX2e <2018-04-01> patch level 5) > (/usr/local/texlive/2018/texmf-dist/tex/latex/carlisle/mylatex.ltx) (/usr/local/texlive/2018/texmf-dist/tex/latex/tools/.tex File ignored)) > [.... cut lines ....] > Transcript written on prv_abc_jap.log. > > TeX Output finished at Fri Jun 8 11:46:24 > Running `Preview-LaTeX' on `abc jap' with ``platex -kanji=utf8 -interaction=nonstopmode -file-line-error \&prv_abc_jap "/AUCTEXINPUT{" \"abc\ jap.tex\" "}"'' > This is e-pTeX, Version 3.14159265-p3.8.0-180226-2.6 (utf8.euc) (TeX Live 2018) (preloaded format=platex) > restricted \write18 enabled. > entering extended mode > pLaTeX2e <2018-05-20> (based on LaTeX2e <2018-04-01> patch level 5) > CUSTOMISED FORMAT. Preloaded files: > . > pldefs.ltx 2018/02/04 v1.6l pLaTeX Kernel (Default settings) > jy1mc.fd 2018/02/04 v1.6l KANJI font defines > jy1gt.fd 2018/02/04 v1.6l KANJI font defines > jt1mc.fd 2018/02/04 v1.6l KANJI font defines > jt1gt.fd 2018/02/04 v1.6l KANJI font defines > kinsoku.tex > "abc jap.tex" > jarticle.cls 2018/02/04 v1.7h Standard pLaTeX class > jsize10.clo 2018/02/04 v1.7h Standard pLaTeX file (size option) > . > (./abc jap.tex > [.... cut lines ....] > (see the transcript file for additional information) > Output written on "abc jap.dvi" (1 page, 1584 bytes). > Transcript written on "abc jap.log". > > TeX Output exited as expected with code 1 at Fri Jun 8 11:46:24 > Running `Preview-DviPNG' with ``dvipng -picky -noghostscript abc\ jap.dvi -o abc\ jap.prv/tmpHKfXq8/prev%03d.png -D186 '' > This is dvipng (dvipng (TeX Live)) 1.15 Copyright 2002-2015 Jan-Ake Larsson > [1 (preview-latex version 12.1) (preview-latex tightpage option detected, will use its bounding box)] > > Preview-DviPNG finished at Fri Jun 8 11:46:24 Anyway, problem fixed for my MWE. Best, Jean-François From unknown Wed Sep 10 17:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31686: 12.1.1 ; Generation of Previews for platex with cached preamble fails with filename having spaces Resent-From: Ikumi Keita Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 08 Jun 2018 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31686 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: jfbu Cc: 31686@debbugs.gnu.org Received: via spool by 31686-submit@debbugs.gnu.org id=B31686.152846492615692 (code B ref 31686); Fri, 08 Jun 2018 13:36:02 +0000 Received: (at 31686) by debbugs.gnu.org; 8 Jun 2018 13:35:26 +0000 Received: from localhost ([127.0.0.1]:38955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRHY5-000452-MA for submit@debbugs.gnu.org; Fri, 08 Jun 2018 09:35:25 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:59422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRHY3-00044m-BQ for 31686@debbugs.gnu.org; Fri, 08 Jun 2018 09:35:23 -0400 Received: from localhost (210-20-196-135.rev.home.ne.jp [210.20.196.135]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 72C80CD; Fri, 8 Jun 2018 22:35:21 +0900 (JST) From: Ikumi Keita In-reply-to: References: <646E89C1-7394-448D-8E35-2D9B3C0513AE@free.fr> <8c008d92-30c7-6100-2093-51046a88bbd1@free.fr> Comments: In-reply-to jfbu message dated "Fri, 08 Jun 2018 11:54:40 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <85821.1528464920.1@localhost> Content-Transfer-Encoding: quoted-printable Date: Fri, 08 Jun 2018 22:35:21 +0900 Message-ID: <85823.1528464921@localhost> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Jean and all, >>>>> jfbu writes: >> I can confirm that using proposed patches to fix #31684 and #31685, >> this one is cured too in my brief testing with pLaTeX compilation. > Due to some mix-up at my side the above is with the first version > of the patches proposed by Keita for #31685. > With the second version of the patches, it does work too, bthere > are some differences in the command line incovations. > Although I am creating a bit of noise, I feel I must now > copy-paste how it really looks like with the v2 of Keita's patches for #= 31685 > at my locale: >> Running `Preview-LaTeX' on `abc jap' with ``platex -ini -kanji=3Dutf8 -= interaction=3Dnonstopmode "&platex" prv_abc_jap.ini "\nonstopmode\nofil= es\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{= \ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textma= th,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" "{\detokenize{" = \"abc\ jap.tex\" "}}"'' [...] >> TeX Output finished at Fri Jun 8 11:46:24 >> Running `Preview-LaTeX' on `abc jap' with ``platex -kanji=3Dutf8 -inter= action=3Dnonstopmode -file-line-error \&prv_abc_jap "/AUCTEXINPUT{" \"abc\= jap.tex\" "}"'' [...] >> TeX Output exited as expected with code 1 at Fri Jun 8 11:46:24 >> Running `Preview-DviPNG' with ``dvipng -picky -noghostscript abc\ jap.d= vi -o abc\ jap.prv/tmpHKfXq8/prev%03d.png -D186 '' >> This is dvipng (dvipng (TeX Live)) 1.15 Copyright 2002-2015 Jan-Ake Lar= sson >> [1 (preview-latex version 12.1) (preview-latex tightpage option >> detected, will use its bounding box)] = >> = >> Preview-DviPNG finished at Fri Jun 8 11:46:24 > Anyway, problem fixed for my MWE. Thank you for testing. In fact, dvipng will fail with dvi file generated by (u)platex if it contains Japanese characters like this: ---------------------------------------------------------------------- dvipng: Fatal error, VF font /usr/local/texlive/2018/texmf-dist/fonts/vf/p= tex-fonts/standard/goth10.vf exceeds char numbering limit ---------------------------------------------------------------------- (I am talking about the Japanese characters in the contents of the dvi file, not in the file name). This is because (u)platex outputs dvi files with slightly extented format and most of the dviwares including dvipng cannot process this extended dvi. But anyway, the fallback run of Preview-Dvips takes care of that failure, so the functionality of preview-latex is kept. Best regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 01 02:09:04 2018 Received: (at control) by debbugs.gnu.org; 1 Nov 2018 06:09:05 +0000 Received: from localhost ([127.0.0.1]:57670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gI6AC-00050i-OP for submit@debbugs.gnu.org; Thu, 01 Nov 2018 02:09:04 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:45398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gI6AA-00050a-T2 for control@debbugs.gnu.org; Thu, 01 Nov 2018 02:09:03 -0400 Received: from localhost (203-165-248-246.rev.home.ne.jp [203.165.248.246]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 14166A5 for ; Thu, 1 Nov 2018 15:09:02 +0900 (JST) To: control@debbugs.gnu.org From: Ikumi Keita Subject: control message for bug #31686 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <60080.1541052541.1@localhost> Date: Thu, 01 Nov 2018 15:09:01 +0900 Message-ID: <60081.1541052541@localhost> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 31686 fixed close 31686