From unknown Thu Sep 11 23:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35791: 12.1.2; Cannot preview anything, Latex found no preview images Resent-From: Pim Remkes Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Sat, 18 May 2019 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35791 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 35791@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15581890644618 (code B ref -1); Sat, 18 May 2019 14:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2019 14:17:44 +0000 Received: from localhost ([127.0.0.1]:32768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hS09f-0001CP-WA for submit@debbugs.gnu.org; Sat, 18 May 2019 10:17:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRz4p-0007tB-VS for submit@debbugs.gnu.org; Sat, 18 May 2019 09:08:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:33119) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRz4k-0007n3-QM for submit@debbugs.gnu.org; Sat, 18 May 2019 09:08:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRz4j-0001ls-5L for bug-auctex@gnu.org; Sat, 18 May 2019 09:08:34 -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, HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRz4g-0007lH-7M for bug-auctex@gnu.org; Sat, 18 May 2019 09:08:32 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:38502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRz4f-0007kj-AR for bug-auctex@gnu.org; Sat, 18 May 2019 09:08:30 -0400 Received: by mail-ed1-x534.google.com with SMTP id w11so15223251edl.5 for ; Sat, 18 May 2019 06:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=usq45oveGzbDUauU44BNsTLtcNaqkC2wn0Cn2ft8zFU=; b=SIi/1pLvu3TupU36rLhjMi55CjjJtLWbC5dnI7K6YB9LCd7swUKivcQoH5SEeSCtkR fO7bNIfCyuvi99vFtBogTyK0o4r+FWPjMuGNvyjP3koiW24n4r7oHrGjFkvDlP+XKz4+ lD4JgnpbMdeLR8LlC1e0ze6DXdjCztQtDga1kVq2y417bD6HTOX5Nrkif4yA9UdhJDlY f0aXn0ZYpkS7fSk4ti8HpUjZ0H29aYXxtWDk5uKSQk9gX8xzY10Sn86p72MaIeqiAG+u 4wn3VEKl4uI7NXDju62alg0XkKPyqzH23bHa39WXQpqBx4KlRpbPMpe91SLcfcaZAbDm u1RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=usq45oveGzbDUauU44BNsTLtcNaqkC2wn0Cn2ft8zFU=; b=nyXI8eF1BJzSDid8qVsUxnwX0EafPX1Dq4I52yvY5v8b1e4BE2TMKQSSyrDZZJuCcB BmT7Jh7FPCoWkjmw1GAQXwZ0dy1MFZQK0PdWlY9MwHVFE9uAs1C0VNV6j8t4arj3evjD yl2AlVU/cTe8WRqBQp4//daDLzhfz0dLN2WJ4KGpDgV2Dx7FToX2cA1SWn7qMVIua3Gc V06B7fVt+5Y71zRjJmNV9FqOZYzFjMOE14djom++C0pIpSnOcbuoxtnMRyLCLBweTWON 9DEUCDwcvR/QXBPld32/3kws8dIBPnoLCk5ZLfKvo0az4KYEm3Gd5SrGlfoD5G2BMFIO 82QA== X-Gm-Message-State: APjAAAXjdYZUkMJ73aeIyzQRQog0DlzQypHXaQV8nPaMXfRKBk/jNzAi +j8nNkQDF7bzKBzrXpHCRN21o+VzGgI= X-Google-Smtp-Source: APXvYqwXq0tQvSQPXenh179B1GV2wXw34YZvp9WwE61bhR10e58x3NIOKkt236+bOC2WSqo31B6ttA== X-Received: by 2002:a50:9855:: with SMTP id h21mr10762303edb.264.1558184907420; Sat, 18 May 2019 06:08:27 -0700 (PDT) Received: from [192.168.2.108] (4dafa44d.ftth.telfortglasvezel.nl. [77.175.164.77]) by smtp.gmail.com with ESMTPSA id h23sm2144517ejc.34.2019.05.18.06.08.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 May 2019 06:08:26 -0700 (PDT) From: Pim Remkes Message-ID: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> Date: Sat, 18 May 2019 15:08:24 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------B8BE07BFE81FE64CE1444E7C" Content-Language: nl X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::534 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Sat, 18 May 2019 10:17:42 -0400 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: -2.3 (--) This is a multi-part message in MIME format. --------------B8BE07BFE81FE64CE1444E7C Content-Type: multipart/alternative; boundary="------------2974766BE946D81E8B9FB4C8" --------------2974766BE946D81E8B9FB4C8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello, When using any preview command I get the error "LaTeX found no preview images". I did some googling but could not find a solution. When using any preview command the following is output: Running `Preview-LaTeX' on `c:/Users/Pim/TUE/2DI90/_region_' with ``pdflatex -file-line-error "\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{" "_region_.tex" "}}"'' This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6930 64-bit) entering extended mode LaTeX2e <2018-12-01> No auxiliary output files. (_region_.tex  !name(hw2.tex) ("C:\Program Files\MiKTeX 2.9\tex/latex/base\article.cls" Document Class: article 2018/09/03 v1.4i Standard LaTeX document class ("C:\Program Files\MiKTeX 2.9\tex/latex/base\size10.clo")) No file _region_.aux. (c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex \preview.sty ("C:\Program Files\MiKTeX 2.9\tex/generic/luatex85\luatex85.sty") (c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex \prtightpage.def) (c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex \prauctex.def No auxiliary output files. (c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex \prauctex.cfg)) (c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex \prfootnotes.def) Preview: Fontsize 10pt Preview: PDFoutput 1 )  !name(hw2.tex) !offset(-3) _region_.tex:15: Preview: Snippet 1 started Preview: Tightpage -32891 -32891 32891 32891 _region_.tex:15: Preview: Snippet 1 ended.(527024+196611x20610617) [1{C:/Users/Pim/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] _region_.tex:16: Preview: Snippet 2 started _region_.tex:16: Preview: Snippet 2 ended.(553676+225995x16753580) [2] _region_.tex:17: Preview: Snippet 3 started _region_.tex:17: Preview: Snippet 3 ended.(553676+225995x12824153) [3] _region_.tex:18: Preview: Snippet 4 started _region_.tex:18: Preview: Snippet 4 ended.(553676+225995x19044610) [4] ) (see the transcript file for additional information) Output written on _region_.pdf (4 pages, 61822 bytes). Transcript written on _region_.log. TeX Output exited as expected with code 1 at Sat May 18 14:58:30 LaTeX: LaTeX found no preview images Besides this, the minibuffer displays "error in process sentinel: LaTeX found no preview images". The _region_.pdf file is generated and each math formula is it's own page. I've tried to reduce the input file to the bare minimum and have provided it in the attachments. Kind regards, Pim Remkes --------------2974766BE946D81E8B9FB4C8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hello,

When using any preview command I get the error "LaTeX found no preview images". I did some googling but could not find a solution.

When using any preview command the following is output:
Running `Preview-LaTeX' on `c:/Users/Pim/TUE/2DI90/_region_' with ``pdflatex  -file-line-error   "\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{" "_region_.tex" "}}"''
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6930 64-bit)
entering extended mode
LaTeX2e <2018-12-01>

No auxiliary output files.

(_region_.tex  !name(hw2.tex)
("C:\Program Files\MiKTeX 2.9\tex/latex/base\article.cls"
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex/latex/base\size10.clo"))
No file _region_.aux.

(c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex
\preview.sty ("C:\Program Files\MiKTeX 2.9\tex/generic/luatex85\luatex85.sty")
(c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex
\prtightpage.def)
(c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex
\prauctex.def
No auxiliary output files.



(c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex
\prauctex.cfg))
(c:/Users/Pim/AppData/Roaming/.emacs.d/.local/packages/elpa/auctex-12.1.2/latex
\prfootnotes.def)
Preview: Fontsize 10pt
Preview: PDFoutput 1
)  !name(hw2.tex) !offset(-3)
_region_.tex:15: Preview: Snippet 1 started
Preview: Tightpage -32891 -32891 32891 32891
_region_.tex:15: Preview: Snippet 1 ended.(527024+196611x20610617)
[1{C:/Users/Pim/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
_region_.tex:16: Preview: Snippet 2 started
_region_.tex:16: Preview: Snippet 2 ended.(553676+225995x16753580)
[2]
_region_.tex:17: Preview: Snippet 3 started
_region_.tex:17: Preview: Snippet 3 ended.(553676+225995x12824153)
[3]
_region_.tex:18: Preview: Snippet 4 started
_region_.tex:18: Preview: Snippet 4 ended.(553676+225995x19044610)
[4] )
(see the transcript file for additional information)<C:/Program Files/MiKTeX 2.
9/fonts/type1/public/amsfonts/cm/cmex10.pfb><C:/Program Files/MiKTeX 2.9/fonts/
type1/public/amsfonts/cm/cmmi10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/pu
blic/amsfonts/cm/cmmi7.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsf
onts/cm/cmr10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/c
mr7.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb>
<C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy7.pfb>
Output written on _region_.pdf (4 pages, 61822 bytes).
Transcript written on _region_.log.

TeX Output exited as expected with code 1 at Sat May 18 14:58:30
LaTeX: LaTeX found no preview images

Besides this, the minibuffer displays "error in process sentinel: LaTeX found no preview images".
The _region_.pdf file is generated and each math formula is it's own page.

I've tried to reduce the input file to the bare minimum and have provided it in the attachments.

Kind regards,

Pim Remkes


--------------2974766BE946D81E8B9FB4C8-- --------------B8BE07BFE81FE64CE1444E7C Content-Type: text/plain; charset=UTF-8; name="hw2.tex" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="hw2.tex" XGRvY3VtZW50Y2xhc3N7YXJ0aWNsZX0NCg0KXHRpdGxle0hvbWV3b3JrIDJ9DQpcYXV0aG9y e1BpbSBSZW1rZXMsIDEyMzkwOTZ9DQoNClxiZWdpbntkb2N1bWVudH0NCglcbWFrZXRpdGxl DQoNCglcYmVnaW57ZW51bWVyYXRlfQ0KCQlcaXRlbSAlIERPTkUNCgkJCVxiZWdpbntlbnVt ZXJhdGV9DQoJCQkJXGl0ZW0gJFxzdW1fe2k9MH1eXGluZnR5IGYoaSkgPSAxIFxpZmYgXHN1 bV97aT01fV5caW5mdHkgZihpKSA9IDEgLSAoZigwKSArIGYoMSkgKyBmKDIpICsgZigzKSAr IGYoNCkpJA0KCQkJCQkkUChYID4gNCkgPSAxIC0gKGYoMCkgKyBmKDEpICsgZigyKSArIGYo MykgKyBmKDQpKSA9IFxmcmFjezEwMjR9ezMxMjV9JA0KCQkJCVxpdGVtICRQKFggPCA0KSA9 IGYoMCkgKyBmKDEpICsgZigyKSArIGYoMykgPSBcZnJhY3szNjl9ezYyNX0kDQoJCQkJXGl0 ZW0gJFAoWCBcZ2VxIDYpID0gMSAtIChmKDApICsgZigxKSArIGYoMikgKyBmKDMpICsgZig0 KSArIGYoNSkpID0gXGZyYWN7NDA5Nn17MTU2MjV9JA0KCQkJXGVuZHtlbnVtZXJhdGV9DQoJ XGVuZHtlbnVtZXJhdGV9DQpcZW5ke2RvY3VtZW50fQ0K --------------B8BE07BFE81FE64CE1444E7C-- From unknown Thu Sep 11 23:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35791: 12.1.2; Cannot preview anything, Latex found no preview images References: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> In-Reply-To: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> Resent-From: Pim Remkes Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Mon, 20 May 2019 02:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35791 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 35791@debbugs.gnu.org Received: via spool by 35791-submit@debbugs.gnu.org id=B35791.15583203733123 (code B ref 35791); Mon, 20 May 2019 02:47:02 +0000 Received: (at 35791) by debbugs.gnu.org; 20 May 2019 02:46:13 +0000 Received: from localhost ([127.0.0.1]:35888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSYJY-0000oH-Ps for submit@debbugs.gnu.org; Sun, 19 May 2019 22:46:13 -0400 Received: from mail-ed1-f47.google.com ([209.85.208.47]:35286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSXfo-0008ED-8Q for 35791@debbugs.gnu.org; Sun, 19 May 2019 22:05:09 -0400 Received: by mail-ed1-f47.google.com with SMTP id p26so21351700edr.2 for <35791@debbugs.gnu.org>; Sun, 19 May 2019 19:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=o571VttguRidaCD5LW3XDAG/zWJp6EjkyF3pkKgyRxY=; b=hIlh8JB44+35BAo6PdTy9yTpR+3JpNrY2QklwsG79HZ89kfbHemu71wbXpTbR8Qu3s fHE33Rnw4SrtuTzBag3v/yezd+Gu3wm4R83Vw9oBvdBKytqgDZxhomgsXDyaXLKi8mrB ZdvnW9fbsa3xXbkdNEADyRYGxJt+uIPE/vsHfgpO0xjsR5NcimcIaB2g8xXjH380f6iN 0Ne4t5AztHqCB/DtJHqkiZ3qQZUOZAaCqHdVj5F1FXdpWtED2NgkIhGYQPChW5YJ/HMe mJ4jhylRZxVQa2C9UxDsHnE4h2ndG3/5Mg2YaX9OHnIxij3SdH2ik6ZyvIWUAOrRhIGE +YBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=o571VttguRidaCD5LW3XDAG/zWJp6EjkyF3pkKgyRxY=; b=aZR6h/DMYkHPwA8eOVBZJDTHKz7MmVpYskrmhkDDqxq5JaWZrStoJErXznR3ibVJyg 0mWCzuzaZnNWfaNspeyRhPV3FwNkdA3yhjKqTkeR0kGYUBtaFsry1l6zX+3La4HuCov4 5+UC2Ff3cjhPfLq5kOCZOZFH8H4stzaGQXh5HupQ6AlV0YHBuxHfPDsnyZtJWOT03W/w y4mO9SDFDgzVo+VBF76eghZluVdnwsbe9NFi374HKqaIE5Fm3W7KqBCJnHZT5vgHGF1W k97Cxg6pdEJvgbsptEmkfdMTW1nHpbUNNbmkSfhH6bBFefSKJgMKDuCIni5ZemzNYHai pTpw== X-Gm-Message-State: APjAAAW50EzHBfLBFTbhmwgM0BvFY+UCGakSJKQq8umN7ivC5CYbP5vu o829GPcnfOB/S+NJmi0BGRfSzwdWbz8= X-Google-Smtp-Source: APXvYqzCI0lAf/nA5YJP0R3ew+kljMBm/pjIsj5LYO6WAIo5KTSbs8WcCKCUCZo/KFPd4jO3HptdCQ== X-Received: by 2002:a17:906:5c47:: with SMTP id c7mr12449286ejr.59.1558317902238; Sun, 19 May 2019 19:05:02 -0700 (PDT) Received: from [192.168.2.108] (4dafa44d.ftth.telfortglasvezel.nl. [77.175.164.77]) by smtp.gmail.com with ESMTPSA id f44sm5231980eda.73.2019.05.19.19.05.01 for <35791@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 May 2019 19:05:01 -0700 (PDT) From: Pim Remkes Message-ID: <88a9278f-9005-98dd-a3ca-6da427bf2fa6@gmail.com> Date: Mon, 20 May 2019 04:04:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: nl X-Spam-Score: -0.3 (/) X-Mailman-Approved-At: Sun, 19 May 2019 22:46:11 -0400 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.3 (-) Hey, I did some digging and it looks like the issue is located at preview-parse-messages. The format has changed a little, for example, there now is expected to be a . after "Preview: Snippet 1 started" which is not the case any longer. Changing the regex to make the dot optional has made the preview lines detectable but it then goes wrong and does not go past the first preview snippet. Help with this would be appreciated as I'm not too familiar with elisp and am a bit lost as to what is happening here. Kind regards, Pim Remkes From unknown Thu Sep 11 23:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35791: 12.1.2; Cannot preview anything, Latex found no preview images Resent-From: Ikumi Keita Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Mon, 20 May 2019 10:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35791 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Pim Remkes Cc: 35791@debbugs.gnu.org Received: via spool by 35791-submit@debbugs.gnu.org id=B35791.155834698922223 (code B ref 35791); Mon, 20 May 2019 10:10:02 +0000 Received: (at 35791) by debbugs.gnu.org; 20 May 2019 10:09:49 +0000 Received: from localhost ([127.0.0.1]:36092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSfEr-0005mN-Hi for submit@debbugs.gnu.org; Mon, 20 May 2019 06:09:49 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:42156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSfEp-0005mD-AH for 35791@debbugs.gnu.org; Mon, 20 May 2019 06:09:48 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id BB8029A; Mon, 20 May 2019 19:09:43 +0900 (JST) From: Ikumi Keita In-reply-to: <88a9278f-9005-98dd-a3ca-6da427bf2fa6@gmail.com> References: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> <88a9278f-9005-98dd-a3ca-6da427bf2fa6@gmail.com> Comments: In-reply-to Pim Remkes message dated "Mon, 20 May 2019 04:04:59 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10240.1558346982.1@localhost> Date: Mon, 20 May 2019 19:09:42 +0900 Message-ID: <10241.1558346982@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 Pim, >>>>> Pim Remkes writes: > Hey, > I did some digging and it looks like the issue is located at > preview-parse-messages. The format has changed a little, for example, > there now is expected to be a . after "Preview: Snippet 1 started" > which is not the case any longer. Changing the regex to make the dot > optional has made the preview lines detectable but it then goes wrong > and does not go past the first preview snippet. Help with this would > be appreciated as I'm not too familiar with elisp and am a bit lost as > to what is happening here. It seems that this problem is the same as bug#35363: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35363 Unfortunately, preview-latex can't help because the log output from MiKTeX does not provide, looking at the log you quoted in the previous message, mandatory information to locate the position in the buffer to put the generated image. If the preview-latex is vital for you, please consider to switch from MiKTeX to TeXLive: https://tug.org/texlive/ If you have to continue to use MiKTeX, then please ask the developer of MiKTeX not to alter the output format of latex. Best regards, Ikumi Keita From unknown Thu Sep 11 23:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35791: 12.1.2; Cannot preview anything, Latex found no preview images Resent-From: Pim Remkes Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 21 May 2019 02:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35791 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Ikumi Keita Cc: 35791@debbugs.gnu.org Received: via spool by 35791-submit@debbugs.gnu.org id=B35791.15584060998016 (code B ref 35791); Tue, 21 May 2019 02:35:02 +0000 Received: (at 35791) by debbugs.gnu.org; 21 May 2019 02:34:59 +0000 Received: from localhost ([127.0.0.1]:38382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSucE-00025D-M9 for submit@debbugs.gnu.org; Mon, 20 May 2019 22:34:59 -0400 Received: from mail-ed1-f54.google.com ([209.85.208.54]:45996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hStbV-0000Gk-96 for 35791@debbugs.gnu.org; Mon, 20 May 2019 21:30:10 -0400 Received: by mail-ed1-f54.google.com with SMTP id g57so26604185edc.12 for <35791@debbugs.gnu.org>; Mon, 20 May 2019 18:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=XQQWi3e65rb40YuMN/44N3ok7fZmlMRQmf2ihOw/wDI=; b=AWrH20BSVHrc/D+d47suTi6lECFGzdSTHadqA66QIc+Cdi96iQ7eYMkW38Ai41tLQc ORfQT1CmWaOt1iPrUqm02f3R2IHe3+5GpOJQ8mCj3Bq1+6fu320Pu5p4rIpuAK6WAEDu dmaVi2Lsv42MugNTMSccHvP4+cxmco/pRqU/C4qsV99HrLr2IUVs8LDdfqzxXRFzLvnK HTbrFpqMEWKuPms7fSue6HmsVx1vAMy2CZbWuJeOF7mEDxdwpVaYQAb2e5qJtoxUPtK1 7ffj1QQS2CwJLK8el8+9agYRblsu0dmn0L5H/7ObEe/NGo2lA7b2r4gXfTMS+DN8IGzw SlNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=XQQWi3e65rb40YuMN/44N3ok7fZmlMRQmf2ihOw/wDI=; b=byinFgNIIzKqjtG6MuXKN5Z6ewjj/tHoTOCywkXbwL7dM/5Q6eCu9ngFT+BIInNlPT CCOWGO5FLFEvOsKv66v8RWytyizs/PJaa2ChaXPR/8Uby05hQO8dtPqXyfFkSkoNV4f3 9ycjdNS4Zmh9S+hSjeDk6vHgtC8MWyRx0QUGjHVtONmOQsAc7wliHGLhg6gB0hek1kPG 9X195ERuNmb8z1EjdwhPmKcf/1xPh+/QV/po9O9vkexQ01U1hKuT0a9WvThc0iSutEWT vw0QczqNhW5d2EsdMOedFX5K1pKQBRi1nS5RtG4vc96FD/m16pf7DDvM9lFSEgOo+2qJ GYeA== X-Gm-Message-State: APjAAAVv0LjtdSd4CDXZa2Zh5ttBeElSs3nQFJ0ffy5nIbx8ZYsFFktF mnb9SSxFo89jkja3kSbb7ez7WUszMSM= X-Google-Smtp-Source: APXvYqzrF6D34tsbXGHjCf3e+kXbUH281BjyRYMmIeDYxapMxm2eHO4vhHpON3TnecDGIOgZD8OV8Q== X-Received: by 2002:a50:86a2:: with SMTP id r31mr78385489eda.259.1558402203121; Mon, 20 May 2019 18:30:03 -0700 (PDT) Received: from ?IPv6:2a02:a450:5da6:1:1199:9967:2c8:4e43? ([2a02:a450:5da6:1:1199:9967:2c8:4e43]) by smtp.gmail.com with ESMTPSA id j3sm5757443edh.82.2019.05.20.18.30.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2019 18:30:02 -0700 (PDT) References: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> <88a9278f-9005-98dd-a3ca-6da427bf2fa6@gmail.com> <10241.1558346982@localhost> From: Pim Remkes Message-ID: <37fcd25b-d413-b6ce-40f5-f0439f920c0c@gmail.com> Date: Tue, 21 May 2019 03:29:57 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <10241.1558346982@localhost> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: nl X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Mon, 20 May 2019 22:34:57 -0400 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 (-) Hey, I've gotten my setup working now but it took some more trouble then just switching to tex live. After having done this I had issues with the current version of 'rungs' included in tex live 2019. The issues I got were similar to https://bugs.ghostscript.com/show_bug.cgi?id=698680 if anyone is interested. I was able to fix this (for now) by making use of 'mgs.exe' included with MiKTeX. Kind regards, Pim Remkes Op 5/20/2019 om 12:09 PM schreef Ikumi Keita: > Hi Pim, > >>>>>> Pim Remkes writes: >> Hey, >> I did some digging and it looks like the issue is located at >> preview-parse-messages. The format has changed a little, for example, >> there now is expected to be a . after "Preview: Snippet 1 started" >> which is not the case any longer. Changing the regex to make the dot >> optional has made the preview lines detectable but it then goes wrong >> and does not go past the first preview snippet. Help with this would >> be appreciated as I'm not too familiar with elisp and am a bit lost as >> to what is happening here. > It seems that this problem is the same as bug#35363: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35363 > > Unfortunately, preview-latex can't help because the log output from > MiKTeX does not provide, looking at the log you quoted in the previous > message, mandatory information to locate the position in the buffer to > put the generated image. > > If the preview-latex is vital for you, please consider to switch from > MiKTeX to TeXLive: https://tug.org/texlive/ > > If you have to continue to use MiKTeX, then please ask the developer of > MiKTeX not to alter the output format of latex. > > Best regards, > Ikumi Keita From unknown Thu Sep 11 23:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35791: 12.1.2; Cannot preview anything, Latex found no preview images Resent-From: Ikumi Keita Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 21 May 2019 05:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35791 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Pim Remkes Cc: 35791@debbugs.gnu.org Received: via spool by 35791-submit@debbugs.gnu.org id=B35791.155841647429410 (code B ref 35791); Tue, 21 May 2019 05:28:02 +0000 Received: (at 35791) by debbugs.gnu.org; 21 May 2019 05:27:54 +0000 Received: from localhost ([127.0.0.1]:38453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSxJZ-0007eH-Kw for submit@debbugs.gnu.org; Tue, 21 May 2019 01:27:53 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:54166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSxJX-0007e7-Kb for 35791@debbugs.gnu.org; Tue, 21 May 2019 01:27:52 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 1A1379F; Tue, 21 May 2019 14:27:47 +0900 (JST) From: Ikumi Keita In-reply-to: <37fcd25b-d413-b6ce-40f5-f0439f920c0c@gmail.com> References: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> <88a9278f-9005-98dd-a3ca-6da427bf2fa6@gmail.com> <10241.1558346982@localhost> <37fcd25b-d413-b6ce-40f5-f0439f920c0c@gmail.com> Comments: In-reply-to Pim Remkes message dated "Tue, 21 May 2019 03:29:57 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13008.1558416451.1@localhost> Content-Transfer-Encoding: quoted-printable Date: Tue, 21 May 2019 14:27:32 +0900 Message-ID: <13009.1558416452@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 Pim, >>>>> Pim Remkes writes: > After having done this I had issues with > the current version of 'rungs' included in tex live 2019. The issues I > got were similar to > https://bugs.ghostscript.com/show_bug.cgi?id=3D698680 if anyone is > interested. I was able to fix this (for now) by making use of > 'mgs.exe' included with MiKTeX. As far as I know, the referred problem was resolved shortly after that. On my side, "rungs" in TeXLive 2019 does not cause such trouble, both on windows 10 and freebsd 12. I quote the partial log of the former below. Maybe your rungs is confused by the two instances of the ghostscript executables, namely the one under c:/texlive/2019/tlpkg/tlgs and "mgs.exe". Regards, Ikumi Keita Running `Preview-LaTeX' on `c:/Users/keita/Downloads/_region_' with ``pdfl= atex -file-line-error "\nonstopmode\nofiles\PassOptionsToPackage{active= ,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\Requi= rePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview= }[2004/11/05]\fi}" "\input" "{\detokenize{" "_region_.tex" "}}"'' This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (pre= loaded format=3Dpdflatex) restricted \write18 enabled. entering extended mode LaTeX2e <2018-12-01> ...(snip)... Output written on _region_.pdf (7 pages, 39759 bytes). Transcript written on _region_.log. TeX Output exited as expected with code 1 at Tue May 21 14:05:44 Running `Preview-PDF2DSC' with ``pdf2dsc "_region_".pdf "_region_.prv/tmpf= wHa4X"/preview.dsc'' Preview-PDF2DSC finished at Tue May 21 14:05:49 Running `Preview-Ghostscript' with ``"c:/texlive/2019/bin/win32/rungs.exe"= ^"-dOutputFile=3D^(_region_.prv/tmpfwHa4X/pr1-^%d.png^)^" "-q" "-dDELAYSA= FER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=3D4" "-dGrap= hicsAlphaBits=3D4" "-sDEVICE=3Dpng16m" "-r121.034x120.663"'' Preview-Ghostscript finished at Tue May 21 14:05:52 From unknown Thu Sep 11 23:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35791: 12.1.2; Cannot preview anything, Latex found no preview images Resent-From: Pim Remkes Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 21 May 2019 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35791 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Ikumi Keita Cc: 35791@debbugs.gnu.org Received: via spool by 35791-submit@debbugs.gnu.org id=B35791.155845976513991 (code B ref 35791); Tue, 21 May 2019 17:30:02 +0000 Received: (at 35791) by debbugs.gnu.org; 21 May 2019 17:29:25 +0000 Received: from localhost ([127.0.0.1]:40836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hT8Zm-0003dS-FO for submit@debbugs.gnu.org; Tue, 21 May 2019 13:29:23 -0400 Received: from mail-ed1-f52.google.com ([209.85.208.52]:40458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hT8Zk-0003dC-Io for 35791@debbugs.gnu.org; Tue, 21 May 2019 13:29:21 -0400 Received: by mail-ed1-f52.google.com with SMTP id j12so30559555eds.7 for <35791@debbugs.gnu.org>; Tue, 21 May 2019 10:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=meSQ+SsGsYVnz+ItSQS98EKFPDuRw887kkxFxMLcVZ4=; b=rihYkTdMD5DUZoTm1p15duuJTtqbQuepe/pY9idiGOb2GulzRI/GhTGlwvHBQyafkt NnGgBygebFe56qoNmNwfyFdp7yIiJUjFhMaS5yFr1oRp9GAxJClC4u+8ECYBceKK5ubq XJxcxokbTLtrLPbuqkhXs+r602wL+1xBNRYaeAjRdLxhygrraVfJMNJMruxPGHhWLrc5 I/bopqqKLABsK6bfrKBjmkhKIcB0h9rNj4KZXj6Ev1YAaGBvW7MdWkkmG7Xz42Fz3wcw fdPKBwoTR8t9kaBOIj+Jt+2przIKtNcw+TQZAMuwZL/CoE+M4JglZXEX8cjrPiprglUu Lo5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=meSQ+SsGsYVnz+ItSQS98EKFPDuRw887kkxFxMLcVZ4=; b=RG03Hp+Ue/nF8zjvoZoGAKCMwAlTZXz74mC5e7nKNGtW+5xInurNv6BNdJB/h7vseV SNfXFW4LPXsWYiSdt2FGAllXX4k/FAl2q9PTmP9nQ0ED7hb7ubyIZLtXRv7bKxj2UqDC E1tn/Jap6kFqUoHqSMy5hMx8sfISf3TqKU6vo78eyy0Fm/F5wM2JtWF0pnNaX8S9EgvK Yjr6nVVpY5lq+Hc4YyjEKdR0cf0rfMhARjC+qs4j/hLDXTnn03I7PkE5DWabawngsmBr hsZBjCRzrfSZUsvqzEM/Ts5FUILWkclR7kY8WkcKrCItTNFf4mUMP1Ywe/kdaFkzI5Ci hDxQ== X-Gm-Message-State: APjAAAUqgWU03zcH4fFp1KpPhb10lEiyHrtmkdRBCUwZo18vU6xktlts ONoJQTv/7dJCMFGdphDCw9MVKRm1fTY= X-Google-Smtp-Source: APXvYqw/leJpkvyeFasj/djYLA/WtReOHuxcE8QhG3x5W5WBbJnvC+nIX6pg8uZvZXy6SCKQl3QA0Q== X-Received: by 2002:a50:addc:: with SMTP id b28mr85608838edd.7.1558459754517; Tue, 21 May 2019 10:29:14 -0700 (PDT) Received: from ?IPv6:2a02:a450:5da6:1:a092:d4fb:6407:3488? ([2a02:a450:5da6:1:a092:d4fb:6407:3488]) by smtp.gmail.com with ESMTPSA id b25sm6478292ede.34.2019.05.21.10.29.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 10:29:14 -0700 (PDT) References: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> <88a9278f-9005-98dd-a3ca-6da427bf2fa6@gmail.com> <10241.1558346982@localhost> <37fcd25b-d413-b6ce-40f5-f0439f920c0c@gmail.com> <13009.1558416452@localhost> From: Pim Remkes Message-ID: <261b4e6c-0bdf-f287-470c-d0da1508431c@gmail.com> Date: Tue, 21 May 2019 19:29:12 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <13009.1558416452@localhost> Content-Type: multipart/alternative; boundary="------------99495ABDA7F4E767338ED8A0" Content-Language: nl X-Spam-Score: -0.3 (/) 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.3 (-) This is a multi-part message in MIME format. --------------99495ABDA7F4E767338ED8A0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hey Ikumi, I checked and even with 'mgs.exe' not in my path (or any MiKTeX executable for that matter) and using 'rungs.exe' I get the following postscript error next to any LaTeX math formula (the _region_ log seems fine): "c:/Program Files/texlive/2019/bin/win32/rungs.exe" "-dOutputFile=(_region_.prv/tmpPwJxGu/pr1-4.png)" "-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4" "-sDEVICE=png16m" "-r110.579x110.865" GS>{<> setuserparams .locksafe} stopped pop {DELAYSAFER{.setsafe}if}stopped pop/.preview-BP currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if def<>setpagedevice/preview-do{/.preview-ST[count 4 roll save]def dup length 0 eq{pop}{setpagedevice}{ifelse exec}stopped{handleerror quit}if .preview-ST aload pop restore}bind def /GS_PDF_ProcSet GS_PDF_ProcSet dup maxlength dict copy dup begin/graphicsbeginpage{//graphicsbeginpage exec 0.733333 0.760784 0.811765 3 copy rg RG}bind store end readonly store  (_region_.prv/tmpPwJxGu/preview.dsc)(r)file /.preview-ST 1 index def dup 0 setfileposition 555()/SubFileDecode filter cvx exec .preview-ST dup dup 555 setfileposition 53()/SubFileDecode filter cvx<<>>preview-do Error: /typecheck in --setfileposition-- Operand stack:    GS_PDF_ProcSet   GS_PDF_ProcSet   GS_PDF_ProcSet   661 661   661   608   608   608   555 Execution stack:    %interp_exit   .runexec2   --nostringval-- --nostringval--   --nostringval--   2   %stopped_push --nostringval--   --nostringval--   %loop_continue --nostringval--   --nostringval--   false   1   %stopped_push .runexec2   --nostringval--   --nostringval-- --nostringval--   2   %stopped_push   --nostringval-- Dictionary stack:    --dict:745/1123(ro)(G)--   --dict:0/20(G)-- --dict:79/200(L)-- Current allocation mode is local Current file position is 28 GS<10> Wierd that it does work on your system, but I'm not too worried about it as it works fine using 'mgs.exe' as a solution (although it's quite an ugly one). Kind regards, Pim Remkes Op 5/21/2019 om 7:27 AM schreef Ikumi Keita: > Hi Pim, > >>>>>> Pim Remkes writes: >> After having done this I had issues with >> the current version of 'rungs' included in tex live 2019. The issues I >> got were similar to >> https://bugs.ghostscript.com/show_bug.cgi?id=698680 if anyone is >> interested. I was able to fix this (for now) by making use of >> 'mgs.exe' included with MiKTeX. > As far as I know, the referred problem was resolved shortly after that. > On my side, "rungs" in TeXLive 2019 does not cause such trouble, both on > windows 10 and freebsd 12. I quote the partial log of the former below. > > Maybe your rungs is confused by the two instances of the ghostscript > executables, namely the one under c:/texlive/2019/tlpkg/tlgs and > "mgs.exe". > > Regards, > Ikumi Keita > > Running `Preview-LaTeX' on `c:/Users/keita/Downloads/_region_' with ``pdflatex -file-line-error "\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{" "_region_.tex" "}}"'' > This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=pdflatex) > restricted \write18 enabled. > entering extended mode > LaTeX2e <2018-12-01> > > ...(snip)... > > Output written on _region_.pdf (7 pages, 39759 bytes). > Transcript written on _region_.log. > > TeX Output exited as expected with code 1 at Tue May 21 14:05:44 > Running `Preview-PDF2DSC' with ``pdf2dsc "_region_".pdf "_region_.prv/tmpfwHa4X"/preview.dsc'' > > Preview-PDF2DSC finished at Tue May 21 14:05:49 > Running `Preview-Ghostscript' with ``"c:/texlive/2019/bin/win32/rungs.exe" ^"-dOutputFile=^(_region_.prv/tmpfwHa4X/pr1-^%d.png^)^" "-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4" "-sDEVICE=png16m" "-r121.034x120.663"'' > > Preview-Ghostscript finished at Tue May 21 14:05:52 > --------------99495ABDA7F4E767338ED8A0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hey Ikumi,

I checked and even with 'mgs.exe' not in my path (or any MiKTeX executable for that matter) and using 'rungs.exe' I get the following postscript error next to any LaTeX math formula (the _region_ log seems fine):

"c:/Program Files/texlive/2019/bin/win32/rungs.exe" "-dOutputFile=(_region_.prv/tmpPwJxGu/pr1-4.png)" "-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4" "-sDEVICE=png16m" "-r110.579x110.865"
GS>{<</PermitFileReading[(_region_.pdf)(_region_.prv/tmpPwJxGu/preview.dsc)]>> setuserparams .locksafe} stopped pop {DELAYSAFER{.setsafe}if}stopped pop/.preview-BP currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if def<</BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1 ne or{.preview-BP 0.156863 0.172549 0.203922 setrgbcolor clippath fill 0.733333 0.760784 0.811765 setrgbcolor}{pop}ifelse}bind/PageSize[1 1]>>setpagedevice/preview-do{/.preview-ST[count 4 roll save]def dup length 0 eq{pop}{setpagedevice}{ifelse exec}stopped{handleerror quit}if .preview-ST aload pop restore}bind def /GS_PDF_ProcSet GS_PDF_ProcSet dup maxlength dict copy dup begin/graphicsbeginpage{//graphicsbeginpage exec 0.733333 0.760784 0.811765 3 copy rg RG}bind store end readonly store  (_region_.prv/tmpPwJxGu/preview.dsc)(r)file /.preview-ST 1 index def dup 0 setfileposition 555()/SubFileDecode filter cvx exec .preview-ST dup dup 555 setfileposition 53()/SubFileDecode filter cvx<<>>preview-do
Error: /typecheck in --setfileposition--
Operand stack:
   GS_PDF_ProcSet   GS_PDF_ProcSet   GS_PDF_ProcSet   661   661   661   608   608   608   555
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   %loop_continue   --nostringval--   --nostringval--   false   1   %stopped_push   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:745/1123(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--
Current allocation mode is local
Current file position is 28
GS<10>

Wierd that it does work on your system, but I'm not too worried about it as it works fine using 'mgs.exe' as a solution (although it's quite an ugly one).

Kind regards,

Pim Remkes

Op 5/21/2019 om 7:27 AM schreef Ikumi Keita:
Hi Pim,

Pim Remkes <pim.remkes@gmail.com> writes:
After having done this I had issues with
the current version of 'rungs' included in tex live 2019. The issues I
got were similar to
https://bugs.ghostscript.com/show_bug.cgi?id=698680 if anyone is
interested. I was able to fix this (for now) by making use of
'mgs.exe' included with MiKTeX.
As far as I know, the referred problem was resolved shortly after that.
On my side, "rungs" in TeXLive 2019 does not cause such trouble, both on
windows 10 and freebsd 12.  I quote the partial log of the former below.

Maybe your rungs is confused by the two instances of the ghostscript
executables, namely the one under c:/texlive/2019/tlpkg/tlgs and
"mgs.exe".

Regards,
Ikumi Keita

Running `Preview-LaTeX' on `c:/Users/keita/Downloads/_region_' with ``pdflatex  -file-line-error   "\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{" "_region_.tex" "}}"''
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2018-12-01>

...(snip)...

Output written on _region_.pdf (7 pages, 39759 bytes).
Transcript written on _region_.log.

TeX Output exited as expected with code 1 at Tue May 21 14:05:44
Running `Preview-PDF2DSC' with ``pdf2dsc "_region_".pdf "_region_.prv/tmpfwHa4X"/preview.dsc''

Preview-PDF2DSC finished at Tue May 21 14:05:49
Running `Preview-Ghostscript' with ``"c:/texlive/2019/bin/win32/rungs.exe" ^"-dOutputFile=^(_region_.prv/tmpfwHa4X/pr1-^%d.png^)^" "-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4" "-sDEVICE=png16m" "-r121.034x120.663"''

Preview-Ghostscript finished at Tue May 21 14:05:52

--------------99495ABDA7F4E767338ED8A0-- From unknown Thu Sep 11 23:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35791: 12.1.2; Cannot preview anything, Latex found no preview images Resent-From: Reinhard Kotucha Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 21 May 2019 21:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35791 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Pim Remkes Cc: Ikumi Keita , 35791@debbugs.gnu.org Reply-To: reinhard.kotucha@web.de Received: via spool by 35791-submit@debbugs.gnu.org id=B35791.155847313619366 (code B ref 35791); Tue, 21 May 2019 21:13:02 +0000 Received: (at 35791) by debbugs.gnu.org; 21 May 2019 21:12:16 +0000 Received: from localhost ([127.0.0.1]:41126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTC3T-00052H-QR for submit@debbugs.gnu.org; Tue, 21 May 2019 17:12:16 -0400 Received: from mout.web.de ([212.227.17.12]:50493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTC3R-000523-LR for 35791@debbugs.gnu.org; Tue, 21 May 2019 17:12:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1558473121; bh=DzPLwelM+MA1h6vvp66O+9QIXjUsB8lRW2LW0NPovZ8=; h=X-UI-Sender-Class:From:Date:To:Cc:Subject:In-Reply-To:References: Reply-to; b=gEZ9GkitmPMBlLXyaNzfY+Ubx5RBSLRcfFfr4+RHzUbNC7PUTVh86S2fplu3EaWa7 LS6G3WhLJGHC5hp/nbJJvf4LveNGovLfTTjkUxiYtHwuP06UGXrl/GFZTo6Z9XqLMN AevhCfkSWtoK7vlWThMZDM/P9N250Tu3jrAIo7mk= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from vhost ([83.135.87.165]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MGiUP-1hP3BI0ell-00DWvr; Tue, 21 May 2019 23:12:01 +0200 From: Reinhard Kotucha MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <23780.27037.766270.336050@gargle.gargle.HOWL> Date: Tue, 21 May 2019 23:11:57 +0200 In-Reply-To: <37fcd25b-d413-b6ce-40f5-f0439f920c0c@gmail.com> References: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> <88a9278f-9005-98dd-a3ca-6da427bf2fa6@gmail.com> <10241.1558346982@localhost> <37fcd25b-d413-b6ce-40f5-f0439f920c0c@gmail.com> X-Mailer: VM 8.2.0b under 25.3.1 (x86_64-pc-linux-gnu) X-Provags-ID: V03:K1:kcGp58Rs1EeKVoK75crDZgrnd60XQGuJhe6lizpvlVcSbX8Lpym mkcyPol1oCcNJi+uDn2Aoq2NahO9OQ8DAIUu8nT7UulvCL7aEpKd5+ax3I/GnD/64JUzaJp hg3V9y3fhuMVB/C1IQ5SlK6orwhD1AXF+FWLxzeN+hc0ke8haOneZHy1LgzImSOLrYP8RCo fXQmhTbywA330Ak7bTWuA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5Rg5IybQets=:gzurel+MMv27TwQuLhHMMs EFsaw4IXtf4TFUC1TdUr2KGBcZEY+54r0bpi0oNqdGbdfDWcpAY4oBVQDLU/Ajl1tp7Ox4Ztb L0rYrsz9rvr3WPssf8qtBuWrVaKMHmHFbddXlKjCm9XrY/Frfp78rmCk/ai0VMgFmVPxq23zA gwXrZJn2qERlD/LS1XRnGgHd6RmbSb0aYkdASjhRig7yq5ht3kQaYlKQaCFh4nJFXg0BRDVE3 bzjE2cPNakklvElapBc8nfis0+NKDi752MoJU+sVJW2RjlMof2re1SlgdZyIKdjsZcuEFIgKV hVlPJ9XP3TxSQeJEBMXd9WIDEN3RKnOKirwRo92wsN5m4oRfVBwMrZp5LdQVLODqkhWJmWnea oyLzadOpVYXg26ZbtUVl/TaWN2obQ66hI4N/QXD4JdAjKm4JK3oE4VEDZCF3Q1jodx++6Gz8n 20A6vnVBTO9/OKI7bOHC1RCMgy5oQLJ9o7ggLlQVaIt42pI/YLH/NFHuR+cI5aCbc+6pLaDCJ PuRQSGAWQoVyTBQizaF4BHCt9iuB49M/YulrBi73v6BLqh/chbWQLfdO2O359F7Fa9DT9GL+n b9MC8CZIdpvBJbfwV5aGJO9t5gesttBFG3ke//9QOWciyUdn4mW1+q+7/B77LnBOPY+kMX/n4 3ubUqugLhikAZWdZJ8MjkB4uxLKUWdmxRQwH9lR9J4V5SjBosuFmjxkxKNpRNatgoNzSH21Jc D9HIVDLS5udsmzYRtu6JFt0RCHc51oq1OTX086pHPNA/htPpj2TCuqkAznEYw8h0ZP4G9nOV8 tj2c5QI5APUPswK1rczJws1JgKuYzRlGaSMkD1wLIhpwCLjSRuawC01u8TiS734aYseTQW9gq W2xgSWybd7SZDT/DhZ4h7bpVQVFrg9bf70DwmMQRdoWyca7IyfAYsrwN09cNhib8RGENNOBAu Z5MrbFoyR9BURDDSWTgRRHntfxpd/cWURKu6LzOss2AKTRbSBJob04KMfY8hFXsfq2pqEnhb6 nJBdcKbps8NBZtdMoLiGTVfj51W4MFDhiovgibbXlyieJbSwttyNp+LOp1gYx9zKYw== 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 (-) On 2019-05-21 at 03:29:57 +0200, Pim Remkes wrote: > Hey, > > I've gotten my setup working now but it took some more trouble then > just switching to tex live. After having done this I had issues > with the current version of 'rungs' included in tex live 2019. The > issues I got were similar to > https://bugs.ghostscript.com/show_bug.cgi?id=3D698680 if anyone is > interested. I was able to fix this (for now) by making use of > 'mgs.exe' included with MiKTeX. Hi Pim, you mention the "current version" of 'rungs' but nothing was changed here for more than a decade. Let me explain what rungs is and what it does. Some dvips/dvipdf* configuration files contain ghostscript commands but the binary is called 'gs' on Unix and 'gswin32c' on Windows. These configuration files are static and cannot contain conditional code. In order to support all platforms I wrote a tiny Lua script texmf-dist/scripts/texlive/rungs.tlu which executes 'gs' on Unix and 'gswin32c' on Windows and passes all cmdline arguments to the binary. In so far 'rungs' is just another name for 'gs' or 'gswin32c'. On Unix, bin//rungs is a symbolic link to the Lua script. On Windows however, the situation is a bit more complicated. The file bin/win32/rungs.exe is a generic wrapper which passes its arguments to bin/win32/runscript.tlu. The latter adds the Perl and Ghostscript shipped with TeX Live to PATH and then calls rungs.tlu which executes gswin32c. If you are interested in all the gory details, look into bin/win32/runscript.tlu. This file contains a detailed description. I suggested to use mgs and rungs in AUCTeX as well because otherwise Windows users had to install Ghostscript separately. rungs.tlu has not been changed for a decade at all. If rungs and mgs behave differently, the most likely reason is that MiKTeX provides an older version of Ghostscript. TeX Live provides gs-9.27 for a couple of days. You can check version numbers with rungs -help mgs -help You can also try with the previous release: Extract http://ms25.ddns.net/texlive/w32/ghostscript/tlgs-9.26.tar.xz in texlive/2019/tlpkg and execute rename tlgs tlgs-9.27 rename tlgs-9.26 tlgs Regards, Reinhard =2D- =2D----------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha@web.de =2D----------------------------------------------------------------- From unknown Thu Sep 11 23:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35791: 12.1.2; Cannot preview anything, Latex found no preview images Resent-From: Pim Remkes Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 21 May 2019 22:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35791 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: reinhard.kotucha@web.de Cc: Ikumi Keita , 35791@debbugs.gnu.org Received: via spool by 35791-submit@debbugs.gnu.org id=B35791.155847937528871 (code B ref 35791); Tue, 21 May 2019 22:57:01 +0000 Received: (at 35791) by debbugs.gnu.org; 21 May 2019 22:56:15 +0000 Received: from localhost ([127.0.0.1]:41202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTDg6-0007Vb-OU for submit@debbugs.gnu.org; Tue, 21 May 2019 18:56:15 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:38628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTDg4-0007VN-Dr for 35791@debbugs.gnu.org; Tue, 21 May 2019 18:56:13 -0400 Received: by mail-ed1-f44.google.com with SMTP id w11so742662edl.5 for <35791@debbugs.gnu.org>; Tue, 21 May 2019 15:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=P+Qv4MyO+Jei0ovSShih6/8djFvyzPLTyvOhO75kJds=; b=Zx5sCDMRdTP/Zso2jNGUod6CVhUCAQevk8SGfjoMP7Pc/roZ+881mwJT/KUOdJPysU BpilzTxAj+WbVc8bNskhgKfveqsC2FnKoKGnFmMnoYOu5BRrrsSW59ObfBIpAUfE76B+ 50R5LtZkGCrewu7jiZuj9b+M7WDrsOUsglLJX2/bBAzh7VLBZT1idFzwpknX3I2RJj4M BP6P4B1UAL+/3AHudhVFqiy0sDxZj3M8H4gc32Zf+ZN++m/ueTeeodojNCx+NBmgux03 qOW16B4qto/fppFZSz2srrXncBse810PrOxQ9UkEKc0p4hI2nxEvunkGmFb729QThm3m 66SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=P+Qv4MyO+Jei0ovSShih6/8djFvyzPLTyvOhO75kJds=; b=efKrkHZXl77yC/R5PPSZEwvsRoYxhBwzcLJ4199GSLQHCUN07XG8LV+sxnLpRume7b Fk/518qKXq5skkC6mOSYPQsJFG8ZhEulPJ4or+9hfIL6d4awFPMW/MrRCjdFrSp1uTKT 7vG4g5m917Z0QVMMPnpjl+QVUBlU36HtZ7D2nK3RAb728CFfugGgznQfuCeOXqF4LMqL 8QrC+UNKZI4iCDompP4qJOp4qn5jGh7L7Rb1U/37dcRa2FzGl5fFO9/CIj30rYgSgDbx /0MPzo/yyPJQo+eGzWuiKj0ZvlXF4Yp0R3Gdi6sLptVxITw3mQOvRyE9csF9AyGh3TOP 76nQ== X-Gm-Message-State: APjAAAW8w/mTZ6dD4B76xGBGS930qr2HR6cNUs1tp6OjKwTkDi/g4UaY BXXMlL7wIa/z4+riNO501zx63+HBzV4= X-Google-Smtp-Source: APXvYqwEzl8WYx1sHif6Hl6VVyngPLOqXb/XybIv0es/A3mpoM6Qs+Pn8okxNUIYunFPG7b6cAhRoQ== X-Received: by 2002:a50:9069:: with SMTP id z38mr53089693edz.227.1558479366321; Tue, 21 May 2019 15:56:06 -0700 (PDT) Received: from ?IPv6:2a02:a450:5da6:1:dc80:82b6:e4b:2a6d? ([2a02:a450:5da6:1:dc80:82b6:e4b:2a6d]) by smtp.gmail.com with ESMTPSA id z10sm6585331edl.35.2019.05.21.15.56.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 15:56:05 -0700 (PDT) References: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> <88a9278f-9005-98dd-a3ca-6da427bf2fa6@gmail.com> <10241.1558346982@localhost> <37fcd25b-d413-b6ce-40f5-f0439f920c0c@gmail.com> <23780.27037.766270.336050@gargle.gargle.HOWL> From: Pim Remkes Message-ID: Date: Wed, 22 May 2019 00:56:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <23780.27037.766270.336050@gargle.gargle.HOWL> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: nl X-Spam-Score: 1.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 (-) Hey Reinhard, Thank you for your explanation and your advice, I downloaded tlgs-9.26 and used it instead of version 9.27, this fixed the issues and is a bit cleaner than using the MiKTeX ghostscript. Kind regards, Pim Remkes Op 5/21/2019 om 11:11 PM schreef Reinhard Kotucha: > On 2019-05-21 at 03:29:57 +0200, Pim Remkes wrote: > > > Hey, > > > > I've gotten my setup working now but it took some more trouble then > > just switching to tex live. After having done this I had issues > > with the current version of 'rungs' included in tex live 2019. The > > issues I got were similar to > > https://bugs.ghostscript.com/show_bug.cgi?id=698680 if anyone is > > interested. I was able to fix this (for now) by making use of > > 'mgs.exe' included with MiKTeX. > > Hi Pim, > you mention the "current version" of 'rungs' but nothing was changed > here for more than a decade. > > Let me explain what rungs is and what it does. > > Some dvips/dvipdf* configuration files contain ghostscript commands > but the binary is called 'gs' on Unix and 'gswin32c' on Windows. > These configuration files are static and cannot contain conditional > code. In order to support all platforms I wrote a tiny Lua script > texmf-dist/scripts/texlive/rungs.tlu which executes 'gs' on Unix and > 'gswin32c' on Windows and passes all cmdline arguments to the binary. > In so far 'rungs' is just another name for 'gs' or 'gswin32c'. > > On Unix, bin//rungs is a symbolic link to the Lua script. > On Windows however, the situation is a bit more complicated. The file > bin/win32/rungs.exe is a generic wrapper which passes its arguments to > bin/win32/runscript.tlu. The latter adds the Perl and Ghostscript > shipped with TeX Live to PATH and then calls rungs.tlu which executes > gswin32c. > > If you are interested in all the gory details, look into > bin/win32/runscript.tlu. This file contains a detailed description. > > I suggested to use mgs and rungs in AUCTeX as well because otherwise > Windows users had to install Ghostscript separately. > > rungs.tlu has not been changed for a decade at all. If rungs and mgs > behave differently, the most likely reason is that MiKTeX provides an > older version of Ghostscript. TeX Live provides gs-9.27 for a couple > of days. You can check version numbers with > > rungs -help > mgs -help > > You can also try with the previous release: > > Extract > > http://ms25.ddns.net/texlive/w32/ghostscript/tlgs-9.26.tar.xz > > in > > texlive/2019/tlpkg > > and execute > > rename tlgs tlgs-9.27 > rename tlgs-9.26 tlgs > > Regards, > Reinhard > > -- > ------------------------------------------------------------------ > Reinhard Kotucha Phone: +49-511-3373112 > Marschnerstr. 25 > D-30167 Hannover mailto:reinhard.kotucha@web.de > ------------------------------------------------------------------ From unknown Thu Sep 11 23:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35791: 12.1.2; Cannot preview anything, Latex found no preview images Resent-From: Ikumi Keita Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Wed, 22 May 2019 06:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35791 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: reinhard.kotucha@web.de, Pim Remkes Cc: 35791@debbugs.gnu.org Received: via spool by 35791-submit@debbugs.gnu.org id=B35791.155850502214536 (code B ref 35791); Wed, 22 May 2019 06:04:02 +0000 Received: (at 35791) by debbugs.gnu.org; 22 May 2019 06:03:42 +0000 Received: from localhost ([127.0.0.1]:41426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTKLl-0003mO-Ka for submit@debbugs.gnu.org; Wed, 22 May 2019 02:03:41 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:57570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTKLi-0003mA-Au for 35791@debbugs.gnu.org; Wed, 22 May 2019 02:03:39 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id A844962; Wed, 22 May 2019 15:03:33 +0900 (JST) From: Ikumi Keita In-reply-to: References: <4cd72cbe-08ae-42f4-cb17-20725c1b4a5b@gmail.com> <88a9278f-9005-98dd-a3ca-6da427bf2fa6@gmail.com> <10241.1558346982@localhost> <37fcd25b-d413-b6ce-40f5-f0439f920c0c@gmail.com> <23780.27037.766270.336050@gargle.gargle.HOWL> Comments: In-reply-to Pim Remkes message dated "Wed, 22 May 2019 00:56:03 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <38910.1558505010.1@localhost> Date: Wed, 22 May 2019 15:03:30 +0900 Message-ID: <38912.1558505010@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 Pim and Reinhard, > Op 5/21/2019 om 11:11 PM schreef Reinhard Kotucha: >> you mention the "current version" of 'rungs' but nothing was changed >> here for more than a decade. >> >> Let me explain what rungs is and what it does. ... >> You can also try with the previous release: >> >> Extract >> >> http://ms25.ddns.net/texlive/w32/ghostscript/tlgs-9.26.tar.xz ... Thank you for detailed explanation of rungs and concrete procedure to use prior version of tlgs. >>>>> Pim Remkes writes: > Hey Reinhard, > Thank you for your explanation and your advice, I downloaded tlgs-9.26 > and used it instead of version 9.27, > this fixed the issues and is a bit cleaner than using the MiKTeX > ghostscript. Pim, the problem you encountered with TeXLive 2019 is the same as bug#35571 and bug#35696: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35571 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35696 , which are not yet resolved. Ghostscript 9.27 does not work with preview-latex when the default face of emacs has non-trivial foreground color. Anyway, I close your original bug#35791. Best regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 02:06:16 2019 Received: (at control) by debbugs.gnu.org; 22 May 2019 06:06:17 +0000 Received: from localhost ([127.0.0.1]:41434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTKOG-0003rR-M9 for submit@debbugs.gnu.org; Wed, 22 May 2019 02:06:16 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:57604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTKOE-0003rI-Na for control@debbugs.gnu.org; Wed, 22 May 2019 02:06:15 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id D402062 for ; Wed, 22 May 2019 15:06:13 +0900 (JST) To: control@debbugs.gnu.org From: Ikumi Keita Subject: control message for bug #35791 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <38931.1558505171.1@localhost> Date: Wed, 22 May 2019 15:06:11 +0900 Message-ID: <38932.1558505171@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 35791 notabug close 35791