GNU bug report logs - #35363
12.1.2; Generation of previews fails under Windows 10

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>; dated Sun, 21 Apr 2019 17:33:01 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

Message received at 35363 <at> debbugs.gnu.org:


Received: (at 35363) by debbugs.gnu.org; 29 Apr 2019 14:58:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 29 10:58:37 2019
Received: from localhost ([127.0.0.1]:39468 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hL7jp-00052o-0d
	for submit <at> debbugs.gnu.org; Mon, 29 Apr 2019 10:58:37 -0400
Received: from smtp1.inetd.co.jp ([210.129.88.11]:44490)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ikumi@HIDDEN>) id 1hL7jm-00052c-Dz
 for 35363 <at> debbugs.gnu.org; Mon, 29 Apr 2019 10:58:35 -0400
Received: from localhost (210-20-200-15.rev.home.ne.jp [210.20.200.15])
 by smtp1.inetd.co.jp (Postfix) with ESMTPA id 0449488;
 Mon, 29 Apr 2019 23:58:31 +0900 (JST)
From: Ikumi Keita <ikumi@HIDDEN>
To: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
Subject: Re: bug#35363: 12.1.2; Generation of previews fails under Windows 10
In-reply-to: <6662268fe58b4dc1968bf56e912db5b5@HIDDEN>
References: <bac2bf892b194f348c671e680335af78@HIDDEN>
 <86sgu8cvit.fsf@HIDDEN> <14070.1556457588@localhost>
 <577dcd395e494edd97f2004dd0adeead@HIDDEN>
 <16892.1556541872@localhost>
 <CAKtYQqRNpV6-PhPU-6G+gEGGbDecocYP=uS1tE0NsYgi8SAUjQ@HIDDEN>
 <6662268fe58b4dc1968bf56e912db5b5@HIDDEN>
Comments: In-reply-to Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
 message dated "Mon, 29 Apr 2019 14:03:47 +0000."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Mon, 29 Apr 2019 23:58:31 +0900
Message-ID: <18339.1556549911@localhost>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35363
Cc: Arash Esbati <arash@HIDDEN>,
 =?utf-8?B?TW9zw6ggR2lvcmRhbm8=?= <mose@HIDDEN>,
 "35363 <at> debbugs.gnu.org" <35363 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Maybe even simpler "solution" might be to switch from MiKTeX to
TeXLive...

Bye,
Ikumi Keita

>>>>> Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN> writes:
> For what it's worth, activating the error reporting option (discussed at =
https://tex.stackexchange.com/questions/124246/uninformative-error-message-=
when-using-auctex/124259#124259) in MiKTeX does not fix the problem
> initexmf.exe --set-config-value=3D"[TeXandFriends]CStyleErrors=3Dt"

> I'm not sure, doing so even has any effect.

>> -----Original Message-----
>> From: Mos=E8 Giordano <mose@HIDDEN>
>> Sent: 29. april 2019 14:51
>> To: Ikumi Keita <ikumi@HIDDEN>
>> Cc: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>; Arash Esbati
>> <arash@HIDDEN>; 35363 <at> debbugs.gnu.org
>> Subject: Re: bug#35363: 12.1.2; Generation of previews fails under Windo=
ws 10
>>=20
>> On Mon, 29 Apr 2019 at 13:45, Ikumi Keita <ikumi@HIDDEN> wrote:
>> > So I think that it would
>> > be worth asking the MiKTeX author to do so.
>>=20
>> Don't expect quick response though:
>> https://sourceforge.net/p/miktex/bugs/2310/




Information forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.

Message received at 35363 <at> debbugs.gnu.org:


Received: (at 35363) by debbugs.gnu.org; 29 Apr 2019 14:04:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 29 10:04:02 2019
Received: from localhost ([127.0.0.1]:39407 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hL6sz-0003aR-6E
	for submit <at> debbugs.gnu.org; Mon, 29 Apr 2019 10:04:01 -0400
Received: from mail-eopbgr130085.outbound.protection.outlook.com
 ([40.107.13.85]:20710 helo=EUR01-HE1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bernt.guldbrandtsen@HIDDEN>) id 1hL6su-0003aC-U2
 for 35363 <at> debbugs.gnu.org; Mon, 29 Apr 2019 10:03:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbg.au.dk; s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=DpZBLroaCybZPHeFejuV8V4ja5YmeLfUP6JwbG7Gqe4=;
 b=Qo4jGPBjn7N/ef2N2tsRmfxOmyIur42iWNZ1ZQQruEuyUyvADpPg8ij8lRybo8KKqVC8M6/++IKK+iD/stCNmp535xrLa3GUCCmoZaILIOHfyUgEwkWNImHlZuajZ3TQLG/insA4stTyR8+eytmF9VEpZ0N+Ddn1/yzK6yy0KVY=
Received: from AM5PR0102CA0022.eurprd01.prod.exchangelabs.com
 (2603:10a6:206::35) by VI1PR01MB4446.eurprd01.prod.exchangelabs.com
 (2603:10a6:803:a2::21) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.14; Mon, 29 Apr
 2019 14:03:49 +0000
Received: from HE1EUR01FT028.eop-EUR01.prod.protection.outlook.com
 (2a01:111:f400:7e1f::203) by AM5PR0102CA0022.outlook.office365.com
 (2603:10a6:206::35) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.12 via Frontend
 Transport; Mon, 29 Apr 2019 14:03:49 +0000
Authentication-Results: spf=pass (sender IP is 185.45.20.64)
 smtp.mailfrom=mbg.au.dk; gnu.org; dkim=none (message not signed)
 header.d=none;gnu.org; dmarc=pass action=none header.from=mbg.au.dk;
Received-SPF: Pass (protection.outlook.com: domain of mbg.au.dk designates
 185.45.20.64 as permitted sender) receiver=protection.outlook.com;
 client-ip=185.45.20.64; helo=smtp-clients.au.dk;
Received: from smtp-clients.au.dk (185.45.20.64) by
 HE1EUR01FT028.mail.protection.outlook.com (10.152.0.157) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
 15.20.1835.14 via Frontend Transport; Mon, 29 Apr 2019 14:03:48 +0000
Received: from EXCH05.uni.au.dk (10.87.1.37) by Exch13.uni.au.dk (10.87.1.45)
 with Microsoft SMTP Server (TLS) id 15.0.1473.3;
 Mon, 29 Apr 2019 16:03:47 +0200
Received: from EXCH05.uni.au.dk ([fe80::347f:ab17:847e:f8a9]) by
 Exch05.uni.au.dk ([fe80::347f:ab17:847e:f8a9%17]) with mapi id
 15.00.1473.003; Mon, 29 Apr 2019 16:03:48 +0200
From: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
To: =?utf-8?B?TW9zw6ggR2lvcmRhbm8=?= <mose@HIDDEN>, Ikumi Keita
 <ikumi@HIDDEN>
Subject: RE: bug#35363: 12.1.2; Generation of previews fails under Windows 10
Thread-Topic: bug#35363: 12.1.2; Generation of previews fails under Windows 10
Thread-Index: AdT4Zxxwo0VKkN92SluvhIvyRbCr6QBrPrkHAOgMsgAACiHAwAAm7YsAAAA2GIAABqt8AA==
Date: Mon, 29 Apr 2019 14:03:47 +0000
Message-ID: <6662268fe58b4dc1968bf56e912db5b5@HIDDEN>
References: <bac2bf892b194f348c671e680335af78@HIDDEN>
 <86sgu8cvit.fsf@HIDDEN> <14070.1556457588@localhost>
 <577dcd395e494edd97f2004dd0adeead@HIDDEN>
 <16892.1556541872@localhost>
 <CAKtYQqRNpV6-PhPU-6G+gEGGbDecocYP=uS1tE0NsYgi8SAUjQ@HIDDEN>
In-Reply-To: <CAKtYQqRNpV6-PhPU-6G+gEGGbDecocYP=uS1tE0NsYgi8SAUjQ@HIDDEN>
Accept-Language: da-DK, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.17.219.26]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:185.45.20.64; IPV:NLI; CTRY:EU; EFV:NLI;
 SFV:NSPM;
 SFS:(10009020)(136003)(39860400002)(346002)(376002)(396003)(2980300002)(189003)(199004)(51444003)(13464003)(7736002)(69596002)(126002)(305945005)(2906002)(93886005)(74482002)(53546011)(356004)(4326008)(102836004)(186003)(336012)(446003)(11346002)(966005)(478600001)(44832011)(476003)(486006)(26005)(6246003)(14454004)(436003)(40036005)(246002)(786003)(316002)(76176011)(5660300002)(8676002)(229853002)(47776003)(7696005)(50466002)(53416004)(106002)(24736004)(108616005)(6116002)(54906003)(110136005)(86362001)(70586007)(70206006)(9686003)(8936002)(4744005)(6306002)(2486003)(3846002)(23676004)(460985005);
 DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR01MB4446; H:smtp-clients.au.dk; FPR:;
 SPF:Pass; LANG:en; PTR:outgoing-smtp.au.dk; MX:1; A:1; 
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: e9e65c5f-4af5-408b-d7dd-08d6ccab80be
X-Microsoft-Antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4709054)(2017052603328)(7193020);
 SRVR:VI1PR01MB4446; 
X-MS-TrafficTypeDiagnostic: VI1PR01MB4446:
X-MS-Exchange-PUrlCount: 2
X-Microsoft-Antispam-PRVS: <VI1PR01MB4446EB0DBF2391CCD8B7A004A5390@HIDDEN>
X-MS-Oob-TLC-OOBClassifiers: OLM:7219;
X-Forefront-PRVS: 0022134A87
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Message-Info: LIRFNDgu/SJacjbQelMzkvDXau0hWOAujHyVdEgDdBj0za+a7V02Co5+5JCGXhKnWlbgmCe7Xk4X/gG9b30FISIGzkstRirjQAv3pIFDQ+/8biXIc7uho4dBWX5IvrAZ2YhOE/vDgJ57DlZ8ORKBbQB1LjVmk8sgrhZNk4KJXjDy6yDpHkeqgkrjMjn/6RrUsEpsnU1U70cEcee/rQNOcZkhooQO3UJviGDYzCogTFTFaeh/ZUyVyMiIRqJvL5Xm8ZM/NyY3uYgnkErW6QpeG1SeqAjn0Gor79UVWwZdPI7ZsK1dQvfX+CGeSejn1DOY85Vj9lCSa8Mg6YdUlmbPye7sCZeWaBLh+rmLxgKfsCipAYxhbOCfcDdMpCEcFOrM+tNk7QZWQUq9HL4kxVRroRGw5DSAZAcmR7q15TgO3K8=
X-OriginatorOrg: mbg.au.dk
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2019 14:03:48.8306 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: e9e65c5f-4af5-408b-d7dd-08d6ccab80be
X-MS-Exchange-CrossTenant-Id: 61fd1d36-fecb-47ca-b7d7-d0df0370a198
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=61fd1d36-fecb-47ca-b7d7-d0df0370a198; Ip=[185.45.20.64];
 Helo=[smtp-clients.au.dk]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR01MB4446
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 35363
Cc: Arash Esbati <arash@HIDDEN>,
 "35363 <at> debbugs.gnu.org" <35363 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Rm9yIHdoYXQgaXQncyB3b3J0aCwgYWN0aXZhdGluZyB0aGUgZXJyb3IgcmVwb3J0aW5nI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DQo+IA0KPiBEb24ndCBleHBlY3QgcXVpY2sgcmVzcG9u
c2UgdGhvdWdoOg0KPiBodHRwczovL3NvdXJjZWZvcmdlLm5ldC9wL21pa3RleC9idWdzLzIzMTAv
DQo=




Information forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.

Message received at 35363 <at> debbugs.gnu.org:


Received: (at 35363) by debbugs.gnu.org; 29 Apr 2019 12:51:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 29 08:51:24 2019
Received: from localhost ([127.0.0.1]:38632 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hL5ki-0001fu-6A
	for submit <at> debbugs.gnu.org; Mon, 29 Apr 2019 08:51:24 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35355)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mose@HIDDEN>) id 1hL5kg-0001fg-5J
 for 35363 <at> debbugs.gnu.org; Mon, 29 Apr 2019 08:51:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52840)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mose@HIDDEN>)
 id 1hL5ka-0003aN-TR
 for 35363 <at> debbugs.gnu.org; Mon, 29 Apr 2019 08:51:16 -0400
Received: from mail-vk1-f172.google.com ([209.85.221.172]:46255)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <mose@HIDDEN>) id 1hL5kW-0005gu-LY
 for 35363 <at> debbugs.gnu.org; Mon, 29 Apr 2019 08:51:14 -0400
Received: by mail-vk1-f172.google.com with SMTP id x2so2234273vkx.13
 for <35363 <at> debbugs.gnu.org>; Mon, 29 Apr 2019 05:51:12 -0700 (PDT)
X-Gm-Message-State: APjAAAVbOZoQYSIF3nlT/efnHq2NnLMzeKNiv1MjaE19yYhvdEhvnMpj
 qtyDpaD/RFPeQ4R8MNK0YAzt7r9zkMKLhEsv42s=
X-Google-Smtp-Source: APXvYqxllMWNswxuFQQYdTL3Hx3zZw1byffFXWj/sJVCYoN7BocU2G21PJxaY6rie9rOAFlwV9eYO0/wucYICC8vgWc=
X-Received: by 2002:a1f:b4ce:: with SMTP id d197mr32132598vkf.57.1556542272118; 
 Mon, 29 Apr 2019 05:51:12 -0700 (PDT)
MIME-Version: 1.0
References: <bac2bf892b194f348c671e680335af78@HIDDEN>
 <86sgu8cvit.fsf@HIDDEN> <14070.1556457588@localhost>
 <577dcd395e494edd97f2004dd0adeead@HIDDEN>
 <16892.1556541872@localhost>
In-Reply-To: <16892.1556541872@localhost>
From: =?UTF-8?Q?Mos=C3=A8_Giordano?= <mose@HIDDEN>
Date: Mon, 29 Apr 2019 13:50:35 +0100
X-Gmail-Original-Message-ID: <CAKtYQqRNpV6-PhPU-6G+gEGGbDecocYP=uS1tE0NsYgi8SAUjQ@HIDDEN>
Message-ID: <CAKtYQqRNpV6-PhPU-6G+gEGGbDecocYP=uS1tE0NsYgi8SAUjQ@HIDDEN>
Subject: Re: bug#35363: 12.1.2; Generation of previews fails under Windows 10
To: Ikumi Keita <ikumi@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 35363
Cc: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>,
 Arash Esbati <arash@HIDDEN>, "35363 <at> debbugs.gnu.org" <35363 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On Mon, 29 Apr 2019 at 13:45, Ikumi Keita <ikumi@HIDDEN> wrote:
> So I think that it would
> be worth asking the MiKTeX author to do so.

Don't expect quick response though: https://sourceforge.net/p/miktex/bugs/2310/




Information forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.

Message received at 35363 <at> debbugs.gnu.org:


Received: (at 35363) by debbugs.gnu.org; 29 Apr 2019 12:44:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 29 08:44:39 2019
Received: from localhost ([127.0.0.1]:38609 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hL5eA-0001U6-PJ
	for submit <at> debbugs.gnu.org; Mon, 29 Apr 2019 08:44:39 -0400
Received: from smtp1.inetd.co.jp ([210.129.88.11]:44274)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ikumi@HIDDEN>) id 1hL5e7-0001Tw-GP
 for 35363 <at> debbugs.gnu.org; Mon, 29 Apr 2019 08:44:37 -0400
Received: from localhost (210-20-200-15.rev.home.ne.jp [210.20.200.15])
 by smtp1.inetd.co.jp (Postfix) with ESMTPA id D24FA76;
 Mon, 29 Apr 2019 21:44:32 +0900 (JST)
From: Ikumi Keita <ikumi@HIDDEN>
To: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
Subject: Re: bug#35363: 12.1.2; Generation of previews fails under Windows 10
In-reply-to: <577dcd395e494edd97f2004dd0adeead@HIDDEN>
References: <bac2bf892b194f348c671e680335af78@HIDDEN>
 <86sgu8cvit.fsf@HIDDEN> <14070.1556457588@localhost>
 <577dcd395e494edd97f2004dd0adeead@HIDDEN>
Comments: In-reply-to Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
 message dated "Sun, 28 Apr 2019 16:11:51 +0000."
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: <16891.1556541871.1@localhost>
Content-Transfer-Encoding: quoted-printable
Date: Mon, 29 Apr 2019 21:44:32 +0900
Message-ID: <16892.1556541872@localhost>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35363
Cc: Arash Esbati <arash@HIDDEN>,
 "35363 <at> debbugs.gnu.org" <35363 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Bernt,

>>>>> Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN> writes:

> Should this feature be reported to the MiKTeX author as a bug, or
> should it be handled by modifying the relevant patterns in AUCTeX?

If my guess is correct, the simplest solution is to remove the MiKTeX
customize on the output format of latex log.  So I think that it would
be worth asking the MiKTeX author to do so.
However, I'm not 100% sure this is a bug of MiKTeX because the MiKTeX
author may have some good reason to customize the log format in such a
way.  In that case, solving this problem would not be so easy.
It requires that someone fluent at LaTeX programming in TeX language
(absolutely I'm not) revises preview.dtx so that the generated
preview.sty can output the necessary information even used under MiKTeX,
in order to use preview-latex in MiKTeX.

Just modifying the regular expression, discussed below, on AUCTeX side
helps almost nothing, because it doesn't make MiKTeX to output the key
ingredients like
l.6 \begin{displaymath}
which preview-latex needs in order to locate the position in the latex
document buffer to put the generated image.

Best regards,
Ikumi Keita

>> -----Original Message-----
>> I think that the reason of the fail is due to, at least partially, the =
log format
>> which MiKTeX produces.
>> =

>> -------- Bernt's log (by MikTeX) -------- ...
>> _region_.tex:9: Preview: Snippet 1 started
>> Preview: Tightpage -32891 -32891 32891 32891
>> _region_.tex:11: Preview: Snippet 1 ended.(1609687+0x22609920) ...
>> -----------------------------------------
>> =

>> -------- my log (by TeXLive) ------------ ...
>> ./tst-prv.tex:6: Preview: Snippet 1 started.
>> <-><->
>> =

>> l.6 \begin{displaymath}
>> =

>> Preview: Tightpage -32891 -32891 32891 32891
>> ./tst-prv.tex:8: Preview: Snippet 1 ended.(1609687+0x22609920).
>> <-><->
>> ...
>> -----------------------------------------
>> =

>> Compare the absence and presence of periods at the end of line of the
>> sentences "Snippet 1 {started,ended}".  Preview-latex searches in the l=
og
>> message, in the function `preview-parse-messages', with the following r=
egular
>> expression, which requires the period at the end of
>> line:
>> \\(?:Preview\\|Package Preview Error\\): Snippet \\([---0-9]+\\)
>> \\(started\\|ended\\(\ \\.? *(\\([---0-9]+\\)\\+\\([---0-9]+\\)x\\([---=
0-
>> 9]+\\))\\)?\\)\\."
>> =

>> In addition, Bernt's log lacks the information where to put the image i=
n the latex
>> document buffer, which is embedded in my log as the line
>> l.6 \begin{displaymath}
>> =

>> Due to these two, at least, reasons, preview-latex cannot pick up neces=
sary
>> information from the log messages.  I guess that MikTeX costomizes the =
log
>> output format of latex.  If this guess is correct, it would necessary f=
or MikTeX to
>> discard that customize in order to use preview-latex with MikTeX.




Information forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.

Message received at 35363 <at> debbugs.gnu.org:


Received: (at 35363) by debbugs.gnu.org; 28 Apr 2019 16:12:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 28 12:12:05 2019
Received: from localhost ([127.0.0.1]:37672 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hKmPM-0005AU-D7
	for submit <at> debbugs.gnu.org; Sun, 28 Apr 2019 12:12:05 -0400
Received: from mail-eopbgr140084.outbound.protection.outlook.com
 ([40.107.14.84]:26631 helo=EUR01-VE1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bernt.guldbrandtsen@HIDDEN>) id 1hKmPI-00059y-U7
 for 35363 <at> debbugs.gnu.org; Sun, 28 Apr 2019 12:12:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbg.au.dk; s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=1ZFzc7PbEZILDmtvlN8FUCIRQqHg0yywa1VoPE8cgtE=;
 b=CN8A6hJrE6e+Bs/805u78yR/MVF45YU8ubW/KmRWd7xdiTMvXgvYpY/v1ChnjQ4w6yx7H4+aJVoASxoKZqxZPzp8K8aHSiPyZRC7p1hIaZvgVAQO7XdL7oN1NIdMnOh2qs9SAiK6AQG0/lb6y0uCSPLMZDGKKioBAdBCZM19JK0=
Received: from DB6PR01CA0026.eurprd01.prod.exchangelabs.com
 (2603:10a6:6:45::39) by VI1PR01MB4974.eurprd01.prod.exchangelabs.com
 (2603:10a6:803:9b::18) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Sun, 28 Apr
 2019 16:11:53 +0000
Received: from DB5EUR01FT057.eop-EUR01.prod.protection.outlook.com
 (2a01:111:f400:7e02::201) by DB6PR01CA0026.outlook.office365.com
 (2603:10a6:6:45::39) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1835.12 via Frontend
 Transport; Sun, 28 Apr 2019 16:11:53 +0000
Authentication-Results: spf=pass (sender IP is 185.45.20.64)
 smtp.mailfrom=mbg.au.dk; ikumi.que.jp; dkim=none (message not signed)
 header.d=none;ikumi.que.jp; dmarc=pass action=none header.from=mbg.au.dk;
Received-SPF: Pass (protection.outlook.com: domain of mbg.au.dk designates
 185.45.20.64 as permitted sender) receiver=protection.outlook.com;
 client-ip=185.45.20.64; helo=smtp-clients.au.dk;
Received: from smtp-clients.au.dk (185.45.20.64) by
 DB5EUR01FT057.mail.protection.outlook.com (10.152.5.104) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
 15.20.1835.14 via Frontend Transport; Sun, 28 Apr 2019 16:11:52 +0000
Received: from EXCH05.uni.au.dk (10.87.1.37) by Exch10.uni.au.dk (10.87.10.42)
 with Microsoft SMTP Server (TLS) id 15.0.1473.3;
 Sun, 28 Apr 2019 18:11:51 +0200
Received: from EXCH05.uni.au.dk ([fe80::347f:ab17:847e:f8a9]) by
 Exch05.uni.au.dk ([fe80::347f:ab17:847e:f8a9%17]) with mapi id
 15.00.1473.003; Sun, 28 Apr 2019 18:11:51 +0200
From: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
To: Ikumi Keita <ikumi@HIDDEN>, Arash Esbati <arash@HIDDEN>
Subject: RE: bug#35363: 12.1.2; Generation of previews fails under Windows 10
Thread-Topic: bug#35363: 12.1.2; Generation of previews fails under Windows 10
Thread-Index: AdT4Zxxwo0VKkN92SluvhIvyRbCr6QBrPrkHAOgMsgAACiHAwA==
Date: Sun, 28 Apr 2019 16:11:51 +0000
Message-ID: <577dcd395e494edd97f2004dd0adeead@HIDDEN>
References: <bac2bf892b194f348c671e680335af78@HIDDEN>
 <86sgu8cvit.fsf@HIDDEN> <14070.1556457588@localhost>
In-Reply-To: <14070.1556457588@localhost>
Accept-Language: da-DK, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.240.16.183]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:185.45.20.64; IPV:NLI; CTRY:EU; EFV:NLI;
 SFV:NSPM;
 SFS:(10009020)(376002)(346002)(396003)(39850400004)(136003)(2980300002)(51444003)(13464003)(189003)(199004)(74482002)(86362001)(47776003)(14454004)(76176011)(6246003)(50466002)(14444005)(110136005)(229853002)(6116002)(7696005)(3846002)(24736004)(108616005)(786003)(23726003)(40036005)(106002)(70586007)(97756001)(70206006)(316002)(446003)(11346002)(46406003)(8746002)(9686003)(356004)(4326008)(336012)(53416004)(69596002)(8936002)(486006)(476003)(44832011)(126002)(2906002)(102836004)(26005)(478600001)(8676002)(186003)(305945005)(7736002)(246002)(5660300002);
 DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR01MB4974; H:smtp-clients.au.dk; FPR:;
 SPF:Pass; LANG:en; PTR:outgoing-smtp.au.dk; MX:1; A:1; 
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 74ae57f5-c09c-4ef8-0d25-08d6cbf43a11
X-Microsoft-Antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4709054)(2017052603328)(7193020);
 SRVR:VI1PR01MB4974; 
X-MS-TrafficTypeDiagnostic: VI1PR01MB4974:
X-Microsoft-Antispam-PRVS: <VI1PR01MB49740F66F1A0188C83BCA966A5380@HIDDEN>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-Forefront-PRVS: 0021920B5A
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Message-Info: QLFVco5qjtFo8Qfda94wb+8jYqlxyKQP5iYdUWrtw4oHdolgiahbvekJvxcB8dS8qeMW7C+APEDzgkbICyBklrU/IUX/b+Lq6fnNqToSD7Khe6R9vb3kszrBCNRAyXz5Ntr7IvpbOQ65bpTxSsjCJY03isvCAaXbmPuegQ3uqKwBpJi6Jzo209Ya4loGXjzhQ7XPoqJIVQYQ0BjPECwgz5uZjf4ATJMP9Nujktf0Vs7LjzHriJDTVW9PSLIw6+JyRZIpUNym5OHknuEwBDhKhQ+SxPTcdPtJdZ4r7BxEBhfDN0dodqUnytmT0R8xUcJAdNt1z9jNf3DglTL7AvIUv9/KeVHXUZhtr49n5nthn3qPhw3092uXRAMby58JW7UIJc0NnaSh/pKL3pv67pquXgXupyN2V2gj96RrAcSGVjA=
X-OriginatorOrg: mbg.au.dk
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2019 16:11:52.5368 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 74ae57f5-c09c-4ef8-0d25-08d6cbf43a11
X-MS-Exchange-CrossTenant-Id: 61fd1d36-fecb-47ca-b7d7-d0df0370a198
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=61fd1d36-fecb-47ca-b7d7-d0df0370a198; Ip=[185.45.20.64];
 Helo=[smtp-clients.au.dk]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR01MB4974
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 35363
Cc: "35363 <at> debbugs.gnu.org" <35363 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Emacs debugger outputs:

Debugger entered--Lisp error: (error "LaTeX found no preview images")
  signal(error ("LaTeX found no preview images"))
  preview-reraise-error(#<process Preview-LaTeX>)
  preview-TeX-inline-sentinel(#<process Preview-LaTeX> "Preview-LaTeX")
  TeX-command-sentinel(#<process Preview-LaTeX> "exited abnormally with cod=
e 1\n")

which doesn't help.

Should this feature be reported to the MiKTeX author as a bug, or should it=
 be handled by modifying the relevant patterns in AUCTeX?

Best regards,

Bernt

> -----Original Message-----
> I think that the reason of the fail is due to, at least partially, the lo=
g format
> which MiKTeX produces.
>=20
> -------- Bernt's log (by MikTeX) -------- ...
> region_.tex:9: Preview: Snippet 1 started
> Preview: Tightpage -32891 -32891 32891 32891
> _region_.tex:11: Preview: Snippet 1 ended.(1609687+0x22609920) ...
> -----------------------------------------
>=20
> -------- my log (by TeXLive) ------------ ...
> ./tst-prv.tex:6: Preview: Snippet 1 started.
> <-><->
>=20
> l.6 \begin{displaymath}
>=20
> Preview: Tightpage -32891 -32891 32891 32891
> ./tst-prv.tex:8: Preview: Snippet 1 ended.(1609687+0x22609920).
> <-><->
> ...
> -----------------------------------------
>=20
> Compare the absence and presence of periods at the end of line of the
> sentences "Snippet 1 {started,ended}".  Preview-latex searches in the log
> message, in the function `preview-parse-messages', with the following reg=
ular
> expression, which requires the period at the end of
> line:
> \\(?:Preview\\|Package Preview Error\\): Snippet \\([---0-9]+\\)
> \\(started\\|ended\\(\ \\.? *(\\([---0-9]+\\)\\+\\([---0-9]+\\)x\\([---0-
> 9]+\\))\\)?\\)\\."
>=20
> In addition, Bernt's log lacks the information where to put the image in =
the latex
> document buffer, which is embedded in my log as the line
> l.6 \begin{displaymath}
>=20
> Due to these two, at least, reasons, preview-latex cannot pick up necessa=
ry
> information from the log messages.  I guess that MikTeX costomizes the lo=
g
> output format of latex.  If this guess is correct, it would necessary for=
 MikTeX to
> discard that customize in order to use preview-latex with MikTeX.
>=20
> Best regards,
> Ikumi Keita




Information forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.

Message received at 35363 <at> debbugs.gnu.org:


Received: (at 35363) by debbugs.gnu.org; 28 Apr 2019 13:19:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 28 09:19:53 2019
Received: from localhost ([127.0.0.1]:36908 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hKjii-0000gy-VO
	for submit <at> debbugs.gnu.org; Sun, 28 Apr 2019 09:19:53 -0400
Received: from smtp1.inetd.co.jp ([210.129.88.11]:38166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ikumi@HIDDEN>) id 1hKjih-0000go-39
 for 35363 <at> debbugs.gnu.org; Sun, 28 Apr 2019 09:19:52 -0400
Received: from localhost (210-20-200-15.rev.home.ne.jp [210.20.200.15])
 by smtp1.inetd.co.jp (Postfix) with ESMTPA id A1E6174;
 Sun, 28 Apr 2019 22:19:48 +0900 (JST)
From: Ikumi Keita <ikumi@HIDDEN>
To: Arash Esbati <arash@HIDDEN>
Subject: Re: bug#35363: 12.1.2; Generation of previews fails under Windows 10
In-reply-to: <86sgu8cvit.fsf@HIDDEN>
References: <bac2bf892b194f348c671e680335af78@HIDDEN>
 <86sgu8cvit.fsf@HIDDEN>
Comments: In-reply-to Arash Esbati <arash@HIDDEN>
 message dated "Tue, 23 Apr 2019 22:32:42 +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: <14069.1556457587.1@localhost>
Content-Transfer-Encoding: quoted-printable
Date: Sun, 28 Apr 2019 22:19:48 +0900
Message-ID: <14070.1556457588@localhost>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35363
Cc: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>, 35363 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Bernt and Arash,

>>>>> Arash Esbati <arash@HIDDEN> writes:
> Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN> writes:
>> Recently, generating previews under AUCTeX started to fail. Until some =
months ago,
>> I had a working setup.  The OS is Windows 10 (updated). A minimal worki=
ng
>> example is shown below. Running LaTeX on _region_.tex works and the PDF
>> file produced contains the expected content. However, running gs fails
>> with no diagnostics.
>> =

>> The machine has MiKTeX's mgs and "normal" gswin64 installed. At the
>> Cygwin command prompt both can run the conversion successfully. MiKTeX
>> (64 bit version) is updated and has mgs version 9.25. Ghostscript (64
>> bit version) is updated and is version 9.27.
>> =

>> In Emacs,
>> =

>> M-! mgs
>> =

>> and
>> =

>> M-! gswin64
>> =

>> find mgs and gswin64 respectively as expected.
>> =

>> A command such as
>> =

>> mgs -dDELAYSAFER -sDEVICE=3Dpng16m -dPrinter -dNOPLATFONTS
>> -dTextAlphaBits=3D4 -dGraphicsAlphaBits=3D4 -o 'pic-%d.png'
>> _region_.pdf
>> =

>> produces the expected png output file.
>> =

>> It looks like mgs fails to run at all despite that Emacs is able
>> to find mgs.exe correctly.
>> =

>> Any pointers?

> Hi Bernt,

> thanks for the report.  I tried your example and it works for me:

I think that the reason of the fail is due to, at least partially, the
log format which MiKTeX produces.

-------- Bernt's log (by MikTeX) --------
...
region_.tex:9: Preview: Snippet 1 started
Preview: Tightpage -32891 -32891 32891 32891
_region_.tex:11: Preview: Snippet 1 ended.(1609687+0x22609920)
...
-----------------------------------------

-------- my log (by TeXLive) ------------
...
./tst-prv.tex:6: Preview: Snippet 1 started.
<-><->
      =

l.6 \begin{displaymath}
                       =

Preview: Tightpage -32891 -32891 32891 32891
./tst-prv.tex:8: Preview: Snippet 1 ended.(1609687+0x22609920).
<-><->
...
-----------------------------------------

Compare the absence and presence of periods at the end of line of the
sentences "Snippet 1 {started,ended}".  Preview-latex searches in the
log message, in the function `preview-parse-messages', with the
following regular expression, which requires the period at the end of
line:
\\(?:Preview\\|Package Preview Error\\): Snippet \\([---0-9]+\\) \\(starte=
d\\|ended\\(\
\\.? *(\\([---0-9]+\\)\\+\\([---0-9]+\\)x\\([---0-9]+\\))\\)?\\)\\."

In addition, Bernt's log lacks the information where to put the image in
the latex document buffer, which is embedded in my log as the line
l.6 \begin{displaymath}

Due to these two, at least, reasons, preview-latex cannot pick up
necessary information from the log messages.  I guess that MikTeX
costomizes the log output format of latex.  If this guess is correct, it
would necessary for MikTeX to discard that customize in order to use
preview-latex with MikTeX.

Best regards,
Ikumi Keita




Information forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.

Message received at 35363 <at> debbugs.gnu.org:


Received: (at 35363) by debbugs.gnu.org; 27 Apr 2019 21:00:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 27 17:00:08 2019
Received: from localhost ([127.0.0.1]:36127 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hKUQZ-00048L-QB
	for submit <at> debbugs.gnu.org; Sat, 27 Apr 2019 17:00:08 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37012)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arash@HIDDEN>) id 1hKUQX-00046Q-Tn
 for 35363 <at> debbugs.gnu.org; Sat, 27 Apr 2019 17:00:06 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51342)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <arash@HIDDEN>)
 id 1hKUQK-0002bn-P6; Sat, 27 Apr 2019 16:59:54 -0400
Received: from p5b326d18.dip0.t-ipconnect.de ([91.50.109.24]:50285 helo=MUTANT)
 by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.82) (envelope-from <arash@HIDDEN>)
 id 1hKUQJ-0001c8-7P; Sat, 27 Apr 2019 16:59:51 -0400
From: Arash Esbati <arash@HIDDEN>
To: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
Subject: Re: bug#35363: 12.1.2; Generation of previews fails under Windows 10
References: <bac2bf892b194f348c671e680335af78@HIDDEN>
 <86sgu8cvit.fsf@HIDDEN>
 <34c2c12d96e247dbb6be25849fc0eb08@HIDDEN>
Date: Sat, 27 Apr 2019 22:59:06 +0200
In-Reply-To: <34c2c12d96e247dbb6be25849fc0eb08@HIDDEN> (Bernt
 Guldbrandtsen's message of "Fri, 26 Apr 2019 12:28:04 +0000")
Message-ID: <867ebfjhb9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 35363
Cc: "35363 <at> debbugs.gnu.org" <35363 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN> writes:

> Is there a way to get additional debug output to see exactly what step
> fails?

Hi Bernt,

the usual way is `M-x toggle-debug-on-error RET'.

Best, Arash




Information forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.

Message received at 35363 <at> debbugs.gnu.org:


Received: (at 35363) by debbugs.gnu.org; 26 Apr 2019 14:31:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 26 10:31:27 2019
Received: from localhost ([127.0.0.1]:33333 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hK1sr-0005xj-HX
	for submit <at> debbugs.gnu.org; Fri, 26 Apr 2019 10:31:27 -0400
Received: from mail-eopbgr00059.outbound.protection.outlook.com
 ([40.107.0.59]:1923 helo=EUR02-AM5-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bernt.guldbrandtsen@HIDDEN>) id 1hJzxc-0002cE-HT
 for 35363 <at> debbugs.gnu.org; Fri, 26 Apr 2019 08:28:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbg.au.dk; s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=8peCTECgViz0CXS+82Sn6fqvH0ABzrH1lubq7HJvbaI=;
 b=FLJr5CKDmGXVsPgW0VlnyQm1BfSlipXaumUw3SgdyJ/20nUXlUVYN/ORBsbz0E7KluPcY1R0TVEabgZd/PUSqDbZP8SGJJBaN5ph3Jt8GAFX9+rUqVwSvAvdVI7EnMtDWIxAesSOlTZ9ceBlZcv7Ry0jaj5BkWEBKvQ1dgu3q4A=
Received: from VI1PR0102CA0098.eurprd01.prod.exchangelabs.com
 (2603:10a6:803:15::39) by AM6PR01MB4439.eurprd01.prod.exchangelabs.com
 (2603:10a6:20b:6c::18) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Fri, 26 Apr
 2019 12:28:06 +0000
Received: from VE1EUR01FT016.eop-EUR01.prod.protection.outlook.com
 (2a01:111:f400:7e01::202) by VI1PR0102CA0098.outlook.office365.com
 (2603:10a6:803:15::39) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1835.12 via Frontend
 Transport; Fri, 26 Apr 2019 12:28:05 +0000
Authentication-Results: spf=pass (sender IP is 185.45.20.64)
 smtp.mailfrom=mbg.au.dk; gnu.org; dkim=none (message not signed)
 header.d=none;gnu.org; dmarc=pass action=none header.from=mbg.au.dk;
Received-SPF: Pass (protection.outlook.com: domain of mbg.au.dk designates
 185.45.20.64 as permitted sender) receiver=protection.outlook.com;
 client-ip=185.45.20.64; helo=smtp-clients.au.dk;
Received: from smtp-clients.au.dk (185.45.20.64) by
 VE1EUR01FT016.mail.protection.outlook.com (10.152.2.227) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
 15.20.1835.14 via Frontend Transport; Fri, 26 Apr 2019 12:28:05 +0000
Received: from EXCH05.uni.au.dk (10.87.1.37) by Exch10.uni.au.dk (10.87.10.42)
 with Microsoft SMTP Server (TLS) id 15.0.1473.3;
 Fri, 26 Apr 2019 14:28:04 +0200
Received: from EXCH05.uni.au.dk ([fe80::347f:ab17:847e:f8a9]) by
 Exch05.uni.au.dk ([fe80::347f:ab17:847e:f8a9%17]) with mapi id
 15.00.1473.003; Fri, 26 Apr 2019 14:28:04 +0200
From: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
To: Arash Esbati <arash@HIDDEN>
Subject: RE: bug#35363: 12.1.2; Generation of previews fails under Windows 10
Thread-Topic: bug#35363: 12.1.2; Generation of previews fails under Windows 10
Thread-Index: AdT4Zxxwo0VKkN92SluvhIvyRbCr6QBrPrkHAIXW+PA=
Date: Fri, 26 Apr 2019 12:28:04 +0000
Message-ID: <34c2c12d96e247dbb6be25849fc0eb08@HIDDEN>
References: <bac2bf892b194f348c671e680335af78@HIDDEN>
 <86sgu8cvit.fsf@HIDDEN>
In-Reply-To: <86sgu8cvit.fsf@HIDDEN>
Accept-Language: da-DK, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.17.219.26]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:185.45.20.64; IPV:NLI; CTRY:EU; EFV:NLI;
 SFV:NSPM;
 SFS:(10009020)(39860400002)(396003)(136003)(376002)(346002)(2980300002)(199004)(189003)(13464003)(51914003)(476003)(74482002)(446003)(47776003)(336012)(19627235002)(5660300002)(40036005)(86362001)(97756001)(7736002)(356004)(46406003)(11346002)(229853002)(246002)(53546011)(6916009)(126002)(486006)(186003)(23726003)(413944005)(14454004)(44832011)(478600001)(26005)(102836004)(50466002)(786003)(305945005)(6116002)(2906002)(316002)(3846002)(8936002)(7696005)(53416004)(24736004)(8746002)(70586007)(6246003)(70206006)(8676002)(9686003)(4326008)(106002)(76176011)(69596002)(108616005)(460985005);
 DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR01MB4439; H:smtp-clients.au.dk; FPR:;
 SPF:Pass; LANG:en; PTR:outgoing-smtp.au.dk; A:1; MX:1; 
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 54030b80-0187-4add-f7ea-08d6ca42a20c
X-Microsoft-Antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4709054)(2017052603328)(7193020);
 SRVR:AM6PR01MB4439; 
X-MS-TrafficTypeDiagnostic: AM6PR01MB4439:
X-Microsoft-Antispam-PRVS: <AM6PR01MB4439DEAFBFC7ECC54BFA6005A53E0@HIDDEN>
X-Forefront-PRVS: 001968DD50
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Message-Info: l2+QoBRK9qMTW7S/2lIH9DE0emhBCyTorP6loF3KwwANgqt6OA089FnnY+m8Ul8ewcuOW6qb4RTEsDTz/xNtpdOGr7vTMLPsKM9DHXg1EYxBl3GR1zI8X/XoYQFKflRwU3HisCOcy50H2qY26xg0Ji9Kvvr8UNIuOZJEKx+u2U0BtJehKh/i1OZOZaAIDSrGeqkmNd4hDiFJjGHbX3JFSyLRQ9r5fjTr/x8wY5KVBrBvuBuY7I5gTC8k2f8MGtjoNCgP8eylr7eMEYNkJ6pNTM74NGI7asAB7XRUvzSN18pwvAHXkrUZRJfoOE1UAyDi7SsBpUqSb73Z0OiCbGXaC20Os4sdRAEAtKTmbTx8R1yqopAPqARUkXUXyDThNhzlcBRfyOJrVLl8RAEoVZKP2jVVHj7sWWsZzQ4uuNxBKrU=
X-OriginatorOrg: mbg.au.dk
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2019 12:28:05.3854 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 54030b80-0187-4add-f7ea-08d6ca42a20c
X-MS-Exchange-CrossTenant-Id: 61fd1d36-fecb-47ca-b7d7-d0df0370a198
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=61fd1d36-fecb-47ca-b7d7-d0df0370a198; Ip=[185.45.20.64];
 Helo=[smtp-clients.au.dk]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR01MB4439
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 35363
X-Mailman-Approved-At: Fri, 26 Apr 2019 10:31:24 -0400
Cc: "35363 <at> debbugs.gnu.org" <35363 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Dear Arash,

Thank you for checking.

Is there a way to get additional debug output to  see exactly what step fai=
ls?

Best regards,

Bernt

> -----Original Message-----
> From: Arash Esbati <arash@HIDDEN>
> Sent: 23. april 2019 22:33
> To: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
> Cc: 35363 <at> debbugs.gnu.org
> Subject: Re: bug#35363: 12.1.2; Generation of previews fails under Window=
s 10
>=20
> Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN> writes:
>=20
> > Recently, generating previews under AUCTeX started to fail. Until some
> > months ago, I had a working setup.  The OS is Windows 10 (updated). A
> > minimal working example is shown below. Running LaTeX on _region_.tex
> > works and the PDF file produced contains the expected content.
> > However, running gs fails with no diagnostics.
> >
> > The machine has MiKTeX's mgs and "normal" gswin64 installed. At the
> > Cygwin command prompt both can run the conversion successfully. MiKTeX
> > (64 bit version) is updated and has mgs version 9.25. Ghostscript (64
> > bit version) is updated and is version 9.27.
> >
> > In Emacs,
> >
> >    M-! mgs
> >
> > and
> >
> >    M-! gswin64
> >
> > find mgs and gswin64 respectively as expected.
> >
> > A command such as
> >
> >   mgs -dDELAYSAFER -sDEVICE=3Dpng16m -dPrinter -dNOPLATFONTS
> >     -dTextAlphaBits=3D4 -dGraphicsAlphaBits=3D4 -o 'pic-%d.png'
> >     _region_.pdf
> >
> > produces the expected png output file.
> >
> > It looks like mgs fails to run at all despite that Emacs is able to
> > find mgs.exe correctly.
> >
> > Any pointers?
>=20
> Hi Bernt,
>=20
> thanks for the report.  I tried your example and it works for me:





Information forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.

Message received at 35363 <at> debbugs.gnu.org:


Received: (at 35363) by debbugs.gnu.org; 23 Apr 2019 20:35:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 23 16:35:33 2019
Received: from localhost ([127.0.0.1]:54453 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hJ28b-000136-0c
	for submit <at> debbugs.gnu.org; Tue, 23 Apr 2019 16:35:33 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53012)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arash@HIDDEN>) id 1hJ28Z-00012v-Km
 for 35363 <at> debbugs.gnu.org; Tue, 23 Apr 2019 16:35:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42884)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <arash@HIDDEN>)
 id 1hJ28R-0008O7-8a; Tue, 23 Apr 2019 16:35:24 -0400
Received: from p5b326d6a.dip0.t-ipconnect.de ([91.50.109.106]:52873
 helo=MUTANT)
 by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.82) (envelope-from <arash@HIDDEN>)
 id 1hJ286-0008BM-Au; Tue, 23 Apr 2019 16:35:13 -0400
From: Arash Esbati <arash@HIDDEN>
To: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
Subject: Re: bug#35363: 12.1.2; Generation of previews fails under Windows 10
References: <bac2bf892b194f348c671e680335af78@HIDDEN>
Date: Tue, 23 Apr 2019 22:32:42 +0200
In-Reply-To: <bac2bf892b194f348c671e680335af78@HIDDEN> (Bernt
 Guldbrandtsen's message of "Sun, 21 Apr 2019 17:25:50 +0000")
Message-ID: <86sgu8cvit.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 35363
Cc: 35363 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain

Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN> writes:

> Recently, generating previews under AUCTeX started to fail. Until some months ago,
> I had a working setup.  The OS is Windows 10 (updated). A minimal working
> example is shown below. Running LaTeX on _region_.tex works and the PDF
> file produced contains the expected content. However, running gs fails
> with no diagnostics.
>
> The machine has MiKTeX's mgs and "normal" gswin64 installed. At the
> Cygwin command prompt both can run the conversion successfully. MiKTeX
> (64 bit version) is updated and has mgs version 9.25. Ghostscript (64
> bit version) is updated and is version 9.27.
>
> In Emacs,
>
>    M-! mgs
>    
> and
>
>    M-! gswin64
>    
> find mgs and gswin64 respectively as expected.
>
> A command such as
>
>   mgs -dDELAYSAFER -sDEVICE=png16m -dPrinter -dNOPLATFONTS
>     -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -o 'pic-%d.png'
>     _region_.pdf
>
> produces the expected png output file.
>
> It looks like mgs fails to run at all despite that Emacs is able
> to find mgs.exe correctly.
>
> Any pointers?

Hi Bernt,

thanks for the report.  I tried your example and it works for me:


--=-=-=
Content-Type: image/png
Content-Disposition: inline; filename=pic-1.png
Content-Transfer-Encoding: base64

iVBORw0KGgoAAAANSUhEUgAAAWkAAADfCAIAAAC7/bXFAAAZpElEQVR42u3dP0wb2b4H8O+QtRah
WID0GmhYj+1wEcouEmmwnpJIBiVEmETKhteFZjXe12ygMKShuWlCUuBstZ63xQXdiiQSfyycCI+W
pYAG6yWLIgLY46W4pHm6hnUUEVlkXjHjPxjbGGL+he9HKZLDzJyxA1+fc/DxT+jp6fn73/+OXMxm
M4iIchFqamqWl5eZHUS0L2V8CoiI2UFEzA4iYnYQEbODiIjZQUSHkR1rns1ZpcDXE7OW+Gv19Dxc
dWvcsjls2Ry2fFgr9bUDXocgCILgDpTwmm4IDhS6YBgOAYIAQcBe/YaNG3R4w/zGp8POjrrrpuiL
xKl4JBu++Lhve4+DxPKb0cpu5euq0vcfGOu9OLSqaZqvff8nh71weA/UrQ1zGrRVtBRxaM+cpmlT
Ekb9DA869DmL8+umpa3TNLI4VvW2El+w3QdtDu2lvKS9gf9PdBTZgXN1Lvw5vZ018p/t2By2bI57
ErF0Y0JvHLbEZ5XU8dtrnviwZXPYsjnesbVmzBpS84XklEf5MOz5MNuxOdyxteaLD1s2kyOIxOuO
uHHNZMus5cNrJX0DqZnI+MNPGw/f630l51m7es83ZkleMKOj9MPcu1H/mdz50h8OwO0wZhPu1Jgi
AMGNcMCYaLgDxqTD3ov53uTBAQBwJ2ciggPhrFmMAEGAw7HHJMW7u3eiI8wOVLWZMJnYyFzjcH6M
uc53RyuvXM9s/ADX+e5oZbdiiv3wQR+qrHnezyyZbkYru6OVV3rPVRbo5hnq/Oeb8PEVKm7eL9sI
fwK2X3dsbfZWdEcru6MVlZPvk4mQeDWEb/2V3UpF9bOt16oxE7n6Parun++OVnZHKy8799k7UPdz
pXHzD/Wb337900fjEUUr6owBR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24AN417dj
Dz73gxF9adlxGHvwdeb+aVckov9pZhFGoi96znKoe/CVkLVvRUlVvVdSw5lky45ybZ9T8p6IDj07
an7sj0vWyTZ/7Y/Od3Kk1vuoRtxHYwGpD7DI+NCw58tPcGEi4pqWzc+frKgAlFDbYLxj2hWJNF/j
/xTRCVPo8zsyP27DJU6IrvTHauyvcc8PsAguiKnP7Eh+WIbxqRw5P++DiI7ZnnMWdaVPfic/wb2I
K3IPT/TNrMU3EtFZXO84qj34OTmv1eL5uqJ/euDLda53EJ2W7Di8Pfjp9Y5Cv6N1Nsu341LbpNUa
emnLLE9PRMeOe/CJqPRzFiIiZgcRMTuIiNlBRMwOImJ2EBExO4iI2UFEx+3/AUC30cg0EEx3AAAA
AElFTkSuQmCC
--=-=-=
Content-Type: text/plain


It is on a Win10 box but with TeXlive installed and not MikTeX.  Preview
uses in this case `rungs.exe' (TeXlive's counterpart of mgs).  I've set
the variable `preview-gs-command' to gswin64c.exe and indeed it didn't
work as well.  My current guess is that running `pdf2dsc ...' somehow
fails.  TeXlive ships a small executable called pdf2dsc.exe which seems
to do the job.  Does MikTeX comes with such a thing?

Best, Arash

--=-=-=--




Information forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Apr 2019 17:32:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 21 13:32:52 2019
Received: from localhost ([127.0.0.1]:49022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hIGKh-0001yP-P5
	for submit <at> debbugs.gnu.org; Sun, 21 Apr 2019 13:32:52 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49805)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bernt.guldbrandtsen@HIDDEN>) id 1hIGEA-0001nK-D1
 for submit <at> debbugs.gnu.org; Sun, 21 Apr 2019 13:26:08 -0400
Received: from lists.gnu.org ([209.51.188.17]:56174)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bernt.guldbrandtsen@HIDDEN>)
 id 1hIGE5-0003OT-9N
 for submit <at> debbugs.gnu.org; Sun, 21 Apr 2019 13:26:01 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35945)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bernt.guldbrandtsen@HIDDEN>) id 1hIGE3-0000nI-AD
 for bug-auctex@HIDDEN; Sun, 21 Apr 2019 13:26:01 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,
 RECEIVED_FROM_WINDOWS_HOST,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bernt.guldbrandtsen@HIDDEN>) id 1hIGE0-0003Mw-Ht
 for bug-auctex@HIDDEN; Sun, 21 Apr 2019 13:25:59 -0400
Received: from mail-eopbgr70075.outbound.protection.outlook.com
 ([40.107.7.75]:57590 helo=EUR04-HE1-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bernt.guldbrandtsen@HIDDEN>)
 id 1hIGDz-0003Lr-Nt
 for bug-auctex@HIDDEN; Sun, 21 Apr 2019 13:25:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbg.au.dk; s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=nRB4F8oO45nOti0faaD4l6xnaC/RVyzdBHxSbj/JkMM=;
 b=YKThO0Mv5Zpf2JzzE+w+vkDa02h1vT2QqJukZbQA2WSe2pa9Tdmz92M6OsfWWDrrJY8cMjcmG+5gnif9TTOc83opqz/2wRqKJF+t+DItB5XZk8vVn9ZTWO6MWMfNKskcHUuRFzYChe37HC5ZMxIgFkITpf+SlV5GwQvc3WEbMmc=
Received: from AM0PR0102CA0048.eurprd01.prod.exchangelabs.com
 (2603:10a6:208::25) by AM0PR01MB4433.eurprd01.prod.exchangelabs.com
 (2603:10a6:208:e8::30) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.14; Sun, 21 Apr
 2019 17:25:52 +0000
Received: from DB5EUR01FT041.eop-EUR01.prod.protection.outlook.com
 (2a01:111:f400:7e02::205) by AM0PR0102CA0048.outlook.office365.com
 (2603:10a6:208::25) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1813.11 via Frontend
 Transport; Sun, 21 Apr 2019 17:25:52 +0000
Authentication-Results: spf=pass (sender IP is 185.45.20.64)
 smtp.mailfrom=mbg.au.dk; gnu.org; dkim=none (message not signed)
 header.d=none;gnu.org; dmarc=pass action=none header.from=mbg.au.dk;
Received-SPF: Pass (protection.outlook.com: domain of mbg.au.dk designates
 185.45.20.64 as permitted sender) receiver=protection.outlook.com;
 client-ip=185.45.20.64; helo=smtp-clients.au.dk;
Received: from smtp-clients.au.dk (185.45.20.64) by
 DB5EUR01FT041.mail.protection.outlook.com (10.152.5.191) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
 15.20.1771.16 via Frontend Transport; Sun, 21 Apr 2019 17:25:51 +0000
Received: from EXCH05.uni.au.dk (10.87.1.37) by Exch11.uni.au.dk (10.87.1.43)
 with Microsoft SMTP Server (TLS) id 15.0.1473.3;
 Sun, 21 Apr 2019 19:25:51 +0200
Received: from EXCH05.uni.au.dk ([fe80::347f:ab17:847e:f8a9]) by
 Exch05.uni.au.dk ([fe80::347f:ab17:847e:f8a9%17]) with mapi id
 15.00.1473.003; Sun, 21 Apr 2019 19:25:51 +0200
From: Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>
To: "bug-auctex@HIDDEN" <bug-auctex@HIDDEN>
Subject: 12.1.2; Generation of previews fails under Windows 10
Thread-Topic: 12.1.2; Generation of previews fails under Windows 10
Thread-Index: AdT4Zxxwo0VKkN92SluvhIvyRbCr6Q==
Date: Sun, 21 Apr 2019 17:25:50 +0000
Message-ID: <bac2bf892b194f348c671e680335af78@HIDDEN>
Accept-Language: da-DK, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.240.19.68]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:185.45.20.64; IPV:NLI; CTRY:EU; EFV:NLI;
 SFV:NSPM;
 SFS:(10009020)(136003)(346002)(396003)(39860400002)(376002)(2980300002)(199004)(189003)(20264003)(102836004)(478600001)(786003)(106002)(47776003)(316002)(6916009)(2501003)(46406003)(5660300002)(50466002)(97756001)(70206006)(86362001)(70586007)(30864003)(356004)(2906002)(14454004)(9686003)(40036005)(486006)(44832011)(14444005)(19627235002)(74482002)(126002)(69596002)(5640700003)(336012)(26005)(476003)(186003)(7696005)(24736004)(108616005)(53416004)(8936002)(8746002)(8676002)(246002)(7736002)(305945005)(23726003)(6116002)(3846002)(2351001)(11771575005)(460985005);
 DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR01MB4433; H:smtp-clients.au.dk; FPR:;
 SPF:Pass; LANG:en; PTR:outgoing-smtp.au.dk; A:1; MX:1; 
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 1c68127f-3a70-4eb7-2e4a-08d6c67e6721
X-Microsoft-Antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4709054)(2017052603328)(7193020);
 SRVR:AM0PR01MB4433; 
X-MS-TrafficTypeDiagnostic: AM0PR01MB4433:
X-Microsoft-Antispam-PRVS: <AM0PR01MB44338B6F32EFB929A5E93021A5210@HIDDEN>
X-Forefront-PRVS: 0014E2CF50
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Message-Info: arTpb01SGIFtrXlGO+9QBeEwTPnAgVP92ymbB/i5MmrzF4JG4f4Zr6pfQNTNTw3CmuuLFNFjXhzSkdwxdPjU+ruPjmPPv0vYdMSYmF7zNqk25KKwqKZYJhSzwXSJruHzo2qs+laZwAHyyKN/QxUQIk4gBhYuN6ZhnvCIu0BVel6olqWMWOWHP/BYvZcy5s8NbnWZD9pQye7+0CYQekLKOGYDJqq7B0AudCR5BAJ3w8kC0kmPL2Aj6RyBxSQAXb8XMzMwijKcnHH2ud69Lrqf1p+IvfUAFXHkp1woAepwtXiQa+zCG/6IaBBwsxtEs2hV6o9lmX52GNhFkn9wQyUuqXQO2VY9cXsJTBkKds7crV5M2JR6beWqo7ffuQSqT7UTpS5XI3ttiWY/qOwrC3gcwUIDENWtNYFoNLpsZhth/K4=
X-OriginatorOrg: mbg.au.dk
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2019 17:25:51.6729 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 1c68127f-3a70-4eb7-2e4a-08d6c67e6721
X-MS-Exchange-CrossTenant-Id: 61fd1d36-fecb-47ca-b7d7-d0df0370a198
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=61fd1d36-fecb-47ca-b7d7-d0df0370a198; Ip=[185.45.20.64];
 Helo=[smtp-clients.au.dk]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR01MB4433
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 40.107.7.75
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 21 Apr 2019 13:32:50 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello!

Recently, generating previews under AUCTeX started to fail. Until some mont=
hs ago,
I had a working setup.  The OS is Windows 10 (updated). A minimal working
example is shown below. Running LaTeX on _region_.tex works and the PDF
file produced contains the expected content. However, running gs fails
with no diagnostics.

The machine has MiKTeX's mgs and "normal" gswin64 installed. At the
Cygwin command prompt both can run the conversion successfully. MiKTeX
(64 bit version) is updated and has mgs version 9.25. Ghostscript (64
bit version) is updated and is version 9.27.

In Emacs,

   M-! mgs
  =20
and

   M-! gswin64
  =20
find mgs and gswin64 respectively as expected.

A command such as

  mgs -dDELAYSAFER -sDEVICE=3Dpng16m -dPrinter -dNOPLATFONTS
    -dTextAlphaBits=3D4 -dGraphicsAlphaBits=3D4 -o 'pic-%d.png'
    _region_.pdf

produces the expected png output file.

It looks like mgs fails to run at all despite that Emacs is able
to find mgs.exe correctly.

Any pointers?

Best regards,

Bernt


Minimal example:
----
\documentclass{article}

\begin{document}

Here is a test.
\begin{displaymath}
  \alpha^2=3D\sqrt{\beta}\gamma^2
\end{displaymath}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
----

Emacs  : GNU Emacs 25.3.1 (x86_64-w64-mingw32)
 of 2017-09-12
Package: 12.1.2

Run buffer contents:

Running `Preview-LaTeX' on `test' with ``pdflatex -ini  -interaction=3Dnons=
topmode "&pdflatex" "prv_test".ini  "\nonstopmode\nofiles\PassOptionsToPack=
age{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefi=
ned\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]=
{preview}[2004/11/05]\fi}" "\input" "{\detokenize{" "test.tex" "}}"''
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7000 64-bit) (IN=
ITEX)
entering extended mode
(prv_test.ini
LaTeX2e <2018-12-01>

("C:\Users\au154761\AppData\Local\Programs\MiKTeX 2.9\tex/latex/carlisle\my=
late
x.ltx")
("C:\Users\au154761\AppData\Local\Programs\MiKTeX 2.9\tex/latex/tools\.tex"
File ignored))
No auxiliary output files.

(test.tex
("C:\Users\au154761\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\articl=
e.cl
s"
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
("C:\Users\au154761\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\size10=
.clo
")) )
Beginning to dump on file prv_test.fmt
 (preloaded format=3Dprv_test 2019.4.21)
5823 strings of total length 84889
54972 memory locations dumped; current usage is 219&53497
4012 multiletter control sequences
\font\nullfont=3Dnullfont
\font\OMX/cmex/m/n/5=3Dcmex10
\font\tenln=3Dline10
\font\tenlnw=3Dlinew10
\font\tencirc=3Dlcircle10
\font\tencircw=3Dlcirclew10
\font\OT1/cmr/m/n/5=3Dcmr5
\font\OT1/cmr/m/n/7=3Dcmr7
\font\OT1/cmr/m/n/10=3Dcmr10
\font\OML/cmm/m/it/5=3Dcmmi5
\font\OML/cmm/m/it/7=3Dcmmi7
\font\OML/cmm/m/it/10=3Dcmmi10
\font\OMS/cmsy/m/n/5=3Dcmsy5
\font\OMS/cmsy/m/n/7=3Dcmsy7
\font\OMS/cmsy/m/n/10=3Dcmsy10
\font\OT1/cmr/m/n/12=3Dcmr12
\font\OT1/cmr/m/n/8=3Dcmr8
\font\OT1/cmr/bx/n/10=3Dcmbx10
\font\OT1/cmr/bx/it/10=3Dcmbxti10
\font\OT1/cmr/m/it/10=3Dcmti10
\font\OT1/cmtt/m/n/10=3Dcmtt10
\font\OT1/cmss/m/n/10=3Dcmss10
5716 words of font info for 21 preloaded fonts
36 hyphenation exceptions
Hyphenation trie of length 105938 has 2723 ops out of 35111
  377 for language 16
  224 for language 15
  23 for language 13
  475 for language 12
  235 for language 11
  201 for language 10
  478 for language 9
  207 for language 8
  40 for language 7
  89 for language 6
  60 for language 4
  36 for language 2
  97 for language 1
  181 for language 0
0 words of pdfTeX memory
0 indirect objects
No pages of output.
Transcript written on prv_test.log.

TeX Output finished at Sun Apr 21 18:59:13
Running `Preview-LaTeX' on `~/test8/_region_' with ``pdflatex  -interaction=
=3Dnonstopmode -file-line-error "&prv_test" "/AUCTEXINPUT{" "_region_.tex" =
"}"''
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7000 64-bit)
entering extended mode
LaTeX2e <2018-12-01>
CUSTOMISED FORMAT. Preloaded files:
        .
     test.tex=20
 article.cls    2018/09/03 v1.4i Standard LaTeX document class
  size10.clo    2018/09/03 v1.4i Standard LaTeX file (size option)
        .
(_region_.tex (_region_.aux)
(c:/cygwin64/home/au154761/.emacs.d/elpa/auctex-12.1.2/latex\preview.sty
("C:\Users\au154761\AppData\Local\Programs\MiKTeX 2.9\tex/generic/luatex85\=
luat
ex85.sty")
(c:/cygwin64/home/au154761/.emacs.d/elpa/auctex-12.1.2/latex\prtightpage.de=
f)
(c:/cygwin64/home/au154761/.emacs.d/elpa/auctex-12.1.2/latex\prauctex.def
No auxiliary output files.


(c:/cygwin64/home/au154761/.emacs.d/elpa/auctex-12.1.2/latex\prauctex.cfg))
(c:/cygwin64/home/au154761/.emacs.d/elpa/auctex-12.1.2/latex\prfootnotes.de=
f)
Preview: Fontsize 10pt
Preview: PDFoutput 1
)  !name(test.tex) !offset(-3)=20
_region_.tex:9: Preview: Snippet 1 started
Preview: Tightpage -32891 -32891 32891 32891
_region_.tex:11: Preview: Snippet 1 ended.(1609687+0x22609920)
[1{C:/Users/au154761/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] )
(see the transcript file for additional information)<C:/Users/au154761/AppD=
ata/
Local/Programs/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmex10.pfb><C:/Use=
rs/a
u154761/AppData/Local/Programs/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cm=
mi10
.pfb><C:/Users/au154761/AppData/Local/Programs/MiKTeX 2.9/fonts/type1/publi=
c/am
sfonts/cm/cmr10.pfb><C:/Users/au154761/AppData/Local/Programs/MiKTeX 2.9/fo=
nts/
type1/public/amsfonts/cm/cmr7.pfb>
Output written on _region_.pdf (1 page, 31451 bytes).
Transcript written on _region_.log.

TeX Output exited as expected with code 1 at Sun Apr 21 18:59:13
LaTeX: LaTeX found no preview images


current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
 AUCTeX-version "12.1.2"
 LaTeX-command-style '((""
			"%(PDF)%(latex) %(file-line-error) %(extraopts) %S%(PDFout)")
		       )
 image-types '(svg png gif tiff jpeg xpm xbm pbm)
 preview-image-type 'png
 preview-image-creators '((dvipng
			   (open preview-gs-open preview-dvipng-process-setup)
			   (place preview-gs-place)
			   (close preview-dvipng-close))
			  (png (open preview-gs-open) (place preview-gs-place)
			   (close preview-gs-close))
			  (jpeg (open preview-gs-open)
			   (place preview-gs-place) (close preview-gs-close))
			  (pnm (open preview-gs-open) (place preview-gs-place)
			   (close preview-gs-close))
			  (tiff (open preview-gs-open)
			   (place preview-gs-place) (close preview-gs-close))
			  )
 preview-dvipng-image-type 'png
 preview-dvipng-command "dvipng -picky -noghostscript %d -o %m/prev%%03d.pn=
g"
 preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"
 preview-gs-command "c:/Users/au154761/AppData/Local/Programs/MiKTeX 2.9/mi=
ktex/bin/x64/mgs.exe"
 preview-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS"
		      "-dPrinted" "-dTextAlphaBits=3D4" "-dGraphicsAlphaBits=3D4")
 preview-gs-image-type-alist '((png png "-sDEVICE=3Dpng16m")
			       (dvipng png "-sDEVICE=3Dpng16m")
			       (jpeg jpeg "-sDEVICE=3Djpeg")
			       (pnm pbm "-sDEVICE=3Dpnmraw")
			       (tiff tiff "-sDEVICE=3Dtiff12nc"))
 preview-fast-conversion t
 preview-prefer-TeX-bb nil
 preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000"
 preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
 preview-scale-function 0.8
 preview-LaTeX-command '("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPacka=
ge{"
			 ("," . preview-required-option-list)
			 "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" preview-defau=
lt-preamble "\\fi}\"%' \"{\\detokenize{\" %t \"}}\"")
 preview-required-option-list '("active" "tightpage" "auctex"
				(preview-preserve-counters "counters"))
 preview-preserve-counters nil
 preview-default-option-list '("displaymath" "floats" "graphics" "textmath"
			       "sections" "footnotes")
 preview-default-preamble '("\\RequirePackage["
			    ("," . preview-default-option-list)
			    "]{preview}[2004/11/05]")
 preview-LaTeX-command-replacements nil
 preview-dump-replacements '(preview-LaTeX-command-replacements
			     ("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[=3D ][^ ]+\\)\\|-\\(?:[^ \\=
\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*\\(.*\\)\\'" "\\1 -ini \\2 -interaction=
=3Dnonstopmode \"&\\1\" " preview-format-name ".ini \\3")
			     )
 preview-undump-replacements '(("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[=3D =
][^ ]+\\)\\|-\\(?:[^ \\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*.* \"\\\\input\" =
\"{\\\\detokenize{\" \\(.*\\) \"}}\"\\'" "\\1 \\2 -interaction=3Dnonstopmod=
e -file-line-error " preview-format-name " \"/AUCTEXINPUT{\" \\3 \"}\"")
			       )
 preview-auto-cache-preamble t
 preview-TeX-style-dir "c:/cygwin64/home/au154761/.emacs.d/elpa/auctex-12.1=
.2/latex"
 )

Output from running `c:/Users/au154761/AppData/Local/Programs/MiKTeX 2.9/mi=
ktex/bin/x64/mgs.exe -h':
MiKTeX GPL Ghostscript 9.25 (2018-09-13)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =3D)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messag=
es
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolutio=
n
 -sDEVICE=3D<devname>  select device         | -dBATCH  exit after last fil=
e
 -sOutputFile=3D<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel=
3 PDF
Default output device: display
Available devices:
   bbox bit bitcmyk bitrgb bitrgbtags bj10e bj200 bjc600 bjc800 bmp16 bmp16=
m
   bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor
   cdjmono declj250 deskjet devicen display djet500 djet500c eps2write
   eps9high eps9mid epson epsonc fpng gprf ibmpro ijs ink_cov inkcov
   jetp3852 jpeg jpegcmyk jpeggray laserjet lbp8 lj250 ljet2p ljet3 ljet3d
   ljet4 ljet4d ljetplus m8510 mswinpr2 necp6 nullpage pam pamcmyk32
   pamcmyk4 pbm pbmraw pclm pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono
   pdfimage24 pdfimage32 pdfimage8 pdfwrite pgm pgmraw pgnm pgnmraw pj pjxl
   pjxl300 pkmraw plan planc plang plank planm planr plib plibc plibg plibk
   plibm png16 png16m png256 pngalpha pnggray pngmono pngmonod pnm pnmcmyk
   pnmraw ppm ppmraw ps2write psdcmyk psdcmykog psdrgb pxlcolor pxlmono
   r4081 spotcmyk st800 stcolor t4693d2 t4693d4 t4693d8 tek4696 tiff12nc
   tiff24nc tiff32nc tiff48nc tiff64nc tiffcrle tiffg3 tiffg32d tiffg4
   tiffgray tifflzw tiffpack tiffscaled tiffscaled24 tiffscaled32
   tiffscaled4 tiffscaled8 tiffsep tiffsep1 txtwrite uniprint xpswrite
Search path:
   %rom%Resource/Init/ ; %rom%lib/ ; c:/gs/gs9.25/Resource/Init ;
   c:/gs/gs9.25/lib ; c:/gs/gs9.25/Resource/Font ; c:/gs/fonts
Initialization files are compiled into the executable.
For more information, see c:/gs/gs9.25/doc/Use.htm.
Please report bugs to bugs.ghostscript.com.





Acknowledgement sent to Bernt Guldbrandtsen <bernt.guldbrandtsen@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#35363; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.