GNU bug report logs - #20773
11.88.6; Preview fails on nested \include{} using \documentclass{sigplanconf}

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: Alex Rozenshteyn <rpglover64@HIDDEN>; dated Mon, 8 Jun 2015 20:46:02 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

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


Received: (at 20773) by debbugs.gnu.org; 29 Sep 2017 08:11:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 29 04:11:56 2017
Received: from localhost ([127.0.0.1]:37527 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dxqOq-0006MZ-0R
	for submit <at> debbugs.gnu.org; Fri, 29 Sep 2017 04:11:56 -0400
Received: from omx11.esk.m4.zaq.ne.jp ([220.152.48.5]:33840)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ikumikeita@HIDDEN>)
 id 1dxqOo-0006MH-C1; Fri, 29 Sep 2017 04:11:55 -0400
Received: from omx11.esk.m4.zaq.ne.jp ([220.152.49.29] [220.152.49.29])
 by omx11.esk.m4.zaq.ne.jp with ESMTP
 id <20170929081147149.ZVTM.3223.omx11.esk.m4.zaq.ne.jp@HIDDEN>;
 Fri, 29 Sep 2017 17:11:47 +0900
Received: from smtpa13.esk.m4.zaq.ne.jp ([42.144.27.116] [42.144.27.116])
 by smtpa13.esk.m4.zaq.ne.jp with ESMTP id
 <20170929081147054.PBBA.28185.smtpa13.esk.m4.zaq.ne.jp@HIDDEN>;
 Fri, 29 Sep 2017 17:11:47 +0900
Received: from localhost (localhost [127.0.0.1])
 by freebsd.vmware (Postfix) with ESMTP id 19AD5139809;
 Fri, 29 Sep 2017 17:01:29 +0900 (JST)
From: Ikumi Keita <ikumi@HIDDEN>
To: 27088 <at> debbugs.gnu.org
Subject: Re: bug#27088: 11.90;
 preview-latex fails for file names of certain length
In-reply-to: <18698.1506060435@localhost>
References: <37795.1495811685@localhost> <18698.1506060435@localhost>
Comments: In-reply-to Ikumi Keita <ikumi@HIDDEN>
 message dated "Fri, 22 Sep 2017 15:07:15 +0900."
X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 25.3.1
Date: Fri, 29 Sep 2017 17:01:28 +0900
Message-ID: <10522.1506672088@localhost>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 20773
Cc: 20773 <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: 0.0 (/)

Hi all,

> According to the article above, MikTeX also understands
> max_print_line, so I think this fix is effective regardless of TeX
> distribution.

Sorry, this statement seems to be wrong.  I misread the description in
the article
https://tex.stackexchange.com/questions/52988/avoid-linebreaks-in-latex-console-log-output
.  After installing MikTeX 2.9 on my windows 10 home edition, in addtion
to TeXLive 2017, it turned out that MikTeX doesn't see the environment
variable max_print_line.
According to the above article, MikTeX needs either of the two:
(1) Add command line option --max-print-line=1000 to latex.
(2) Edit the config file and modify max_print_line parameter.

In addtion, if my installation of MikTeX is correct (I'm not 100% sure
that some interfere between MikTeX and TeXLive occurs), preview-latex
does not support MikTeX in the first place even when the extra line
breaks do not appear.  The (pdf)latex included in MikTeX outputs
messages like this:
----------------------------------------------------------------------
circ.tex:49: Preview: Snippet 2 started
circ.tex:49: Preview: Snippet 2 ended.(651269+183455x14483456)
----------------------------------------------------------------------
Because of the absence of a period at the end of these lines, the regexp
I mentioned before does not match and preview-latex ends up with a
message "error in process sentinel: LaTeX found no preview images".

Even when I modified the regexp to allow that the period at EOL is
optional, another error "error in process sentinel: Wrong type argument:
number-or-marker-p, nil", after Preview-PDF2DSC is killed, keeps
preview-latex from working.

I don't want to play with MikTeX further, so I'll leave the matters
concerned with MikTeX and preview-latex untouched.

Therefore, I'm afraid that the perspective
> And I also expect that the same prescription can be applied to solve
> reliably similar problem handled in `TeX-format-filter' at the part
> "Remove line breaks at columns 79 and 80" comment.  We can get rid of
> heuristic logic used there.
would not apply for non-preview-latex runs in AUCTeX.  The heuristic
logic is still necessary due to MikTeX.

Regards,
Ikumi Keita




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

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


Received: (at 20773) by debbugs.gnu.org; 22 Sep 2017 06:07:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 22 02:07:28 2017
Received: from localhost ([127.0.0.1]:52136 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dvH7X-0004TH-NL
	for submit <at> debbugs.gnu.org; Fri, 22 Sep 2017 02:07:28 -0400
Received: from omx12.esk.m4.zaq.ne.jp ([220.152.48.6]:42662)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ikumikeita@HIDDEN>)
 id 1dvH7U-0004Sy-SC; Fri, 22 Sep 2017 02:07:26 -0400
Received: from omx12.esk.m4.zaq.ne.jp ([220.152.49.28] [220.152.49.28])
 by omx12.esk.m4.zaq.ne.jp with ESMTP
 id <20170922060716540.CGJO.3178.omx12.esk.m4.zaq.ne.jp@HIDDEN>;
 Fri, 22 Sep 2017 15:07:16 +0900
Received: from smtpa12.esk.m4.zaq.ne.jp ([42.144.27.116] [42.144.27.116])
 by smtpa12.esk.m4.zaq.ne.jp with ESMTP id
 <20170922060716495.WZFS.3043.smtpa12.esk.m4.zaq.ne.jp@HIDDEN>;
 Fri, 22 Sep 2017 15:07:16 +0900
Received: from localhost (localhost [127.0.0.1])
 by freebsd.vmware (Postfix) with ESMTP id 91E4113982B;
 Fri, 22 Sep 2017 15:07:15 +0900 (JST)
From: Ikumi Keita <ikumi@HIDDEN>
To: 27088 <at> debbugs.gnu.org
Subject: Re: bug#27088: 11.90;
 preview-latex fails for file names of certain length
In-reply-to: <37795.1495811685@localhost>
References: <37795.1495811685@localhost>
Comments: In-reply-to Ikumi Keita <ikumi@HIDDEN>
 message dated "Sat, 27 May 2017 00:14:45 +0900."
X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 25.3.1
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Date: Fri, 22 Sep 2017 15:07:15 +0900
Message-ID: <18698.1506060435@localhost>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 20773
Cc: 20773 <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: 0.0 (/)

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

Hi all,

At last I managed to figure out the roots of this wierd symptom.  And it
also turned out that bug#20773 has the same origin, so I'm cc'ing to
20773 <at> debbugs.gnu.org, too.

>>>>> Ikumi Keita <ikumi@HIDDEN> writes:

> Preview-latex fails if the length of the file name or the amount of the
> document is sufficiently large.

> [How to reproduce]
> (0) Enable preview-latex.
> (1) Save the attached file "preview-section-test.tex" in /tmp/ and open it.
> (2) Type C-c C-p C-d and answer with "n" to "Cache preamble?" question.
> (3) The ghostscript process hangs with error message "No bounding box"
> and the process buffer is displayed.  Only the partial "\section{xxx}"
> are covered by the expected images and rests remains icons of road
> construction sign.  See the attached screenshot.

> It is really strage to me that the length of the file name seems to be
> related to this symptom.  If the *same* file is saved under the file
> name "xxxxxxxxxxxxxxxxxx.tex" (18 x's), no errors occur and all
> "\section{xxx}" are covered by suitable images after C-c C-p C-d.  But
> the symptom occurs again if the file name is "xxxxxxxxxxxxxxxxxxx.tex"
> (19 x's).

[Analysis]
When LaTeX runs it always outputs a lot of messages to console and log
file, and it inserts line breaks in the 80th column when it outputs long
messages.  Here are some samples:
----------------------------------------------------------------------
./preview-section-test.tex:10: Preview: Snippet 4 ended.(655359+183500x22609920
).
----------------------------------------------------------------------
./xxxxxxxxxxxxxxxxxxxABC.tex:8: Preview: Snippet 3 ended.(655359+183500x2260992
0).
----------------------------------------------------------------------
./formalism_atranslation.tex:1: Preview: Snippet 1 ended.(541848+14544x15728640
).
----------------------------------------------------------------------

It is this line break that makes preview-latex to fail.  The part which
parses the LaTeX messages in `preview-parse-messages' of preview.el is:
----------------------------------------------------------------------
		(if (looking-at "\
\\(?:Preview\\|Package Preview Error\\): Snippet \\([---0-9]+\\) \\(started\\|ended\\(\
\\.? *(\\([---0-9]+\\)\\+\\([---0-9]+\\)x\\([---0-9]+\\))\\)?\\)\\.")
		    (progn
... (snip) ...
		      (setq snippet (string-to-number (match-string 1))
			    box (unless
				    (string= (match-string 2) "started")
				  (if (match-string 4)
				      (mapcar #'(lambda (x)
						  (* (preview-get-magnification)
						     (string-to-number x)))
					      (list
					       (match-string 4)
					       (match-string 5)
					       (match-string 6)))
				    t))
----------------------------------------------------------------------
Comparing the regexp and the examples quoted above, you can tell that
the regexp fails to pick up the numbers embedded in the LaTeX messages
such as "655359+183500x22609920" due to the extra line break.  This the
reason that preview-latex cannot provide the necessary information to
ghostscript and complains that "No bounding box".

[Solution]
Thanks to
https://tex.stackexchange.com/questions/52988/avoid-linebreaks-in-latex-console-log-output
, I learned that we can (effectively) inhibit to insert extra line
breaks by setting environment variable max_print_line to sufficiently
large value.

I confirmed that the attached patch solves the both bug#20773 and
bug#27088.  I will install this fix in a week or so.  According to the
article above, MikTeX also understands max_print_line, so I think this
fix is effective regardless of TeX distribution.  As always, any
comments and suggestions are welcome.

And I also expect that the same prescription can be applied to solve
reliably similar problem handled in `TeX-format-filter' at the part
"Remove line breaks at columns 79 and 80" comment.  We can get rid of
heuristic logic used there.

Regards,
Ikumi Keita


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment; filename=preview-latex-fix
Content-Description: set max_print_line to 1000

From ikumi@HIDDEN Fri Sep 22 14:52:07 2017
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [PATCH] Make preview-latex parsing robust to fix Bug#20773, Bug#27088
X-Mercurial-Node: 47711b2553dcbf4858a1b4f53d63e82a3003bca8
X-Mercurial-Series-Index: 1
X-Mercurial-Series-Total: 1
Message-Id: <47711b2553dcbf4858a1.1506059527@HIDDEN>
X-Mercurial-Series-Id: <47711b2553dcbf4858a1.1506059527@HIDDEN>
User-Agent: Mercurial-patchbomb/4.3.1
Date: Fri, 22 Sep 2017 14:52:07 +0900
From: Ikumi Keita <ikumi@HIDDEN>
To: dummy

* preview.el.in (TeX-inline-preview-internal): Set environment
variable max_print_line to sufficiently large value of 1000 so that
LaTeX process does not insert newline in lines necessary to identify
Bounding Boxes.

diff --git a/preview.el.in b/preview.el.in
--- a/preview.el.in
+++ b/preview.el.in
@@ -3537,19 +3537,25 @@
       ((preview-format-name (shell-quote-argument
 			     (preview-dump-file-name
 			      (file-name-nondirectory master))))
+       (process-environment process-environment)
        (process
-	(TeX-run-command
-	 "Preview-LaTeX"
-	 (if (consp (cdr dumped-cons))
-	     (preview-do-replacements
-	      command
-	      (append preview-undump-replacements
-		      ;; Since the command options provided in
-		      ;; (TeX-engine-alist) are dropped, give them
-		      ;; back.
-		      (list (list "\\`\\([^ ]+\\)"
-			    (TeX-command-expand "%(PDF)%(latex)" nil)))))
-	   command) file)))
+	(progn
+	  ;; Fix Bug#20773, Bug#27088.
+	  ;; Make LaTeX not to insert newline in lines necessary to
+	  ;; identify Bounding Boxes.
+	  (setenv "max_print_line" "1000")
+	  (TeX-run-command
+	   "Preview-LaTeX"
+	   (if (consp (cdr dumped-cons))
+	       (preview-do-replacements
+		command
+		(append preview-undump-replacements
+			;; Since the command options provided in
+			;; (TeX-engine-alist) are dropped, give them
+			;; back.
+			(list (list "\\`\\([^ ]+\\)"
+				    (TeX-command-expand "%(PDF)%(latex)" nil)))))
+	     command) file))))
     (condition-case err
 	(progn
 	  (when str



--=-=-=--




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

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


Received: (at 20773) by debbugs.gnu.org; 10 Jun 2015 14:12:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 10 10:12:57 2015
Received: from localhost ([127.0.0.1]:47345 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2gkS-00047z-Od
	for submit <at> debbugs.gnu.org; Wed, 10 Jun 2015 10:12:57 -0400
Received: from mail-ig0-f181.google.com ([209.85.213.181]:33068)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rpglover64@HIDDEN>) id 1Z2gkP-00047q-Kv
 for 20773 <at> debbugs.gnu.org; Wed, 10 Jun 2015 10:12:54 -0400
Received: by igbpi8 with SMTP id pi8so36308123igb.0
 for <20773 <at> debbugs.gnu.org>; Wed, 10 Jun 2015 07:12:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=wZKY3Hgfwl81Wj3gIjBTs/LpQ2IuBqpv19Otzok7XCQ=;
 b=xK97wWBBpHcJDPt7Xhbm+j0hIm9WGxQTuYB/imL0mZ0Ut3mlEWhdJOeH5XJ066/0vC
 oCD0+dWbkR/sKPy9bHKEakFVOQnhARMpJlo4RChQBBA1f+FUUNFB9Rqe9yD4w0ntIqGi
 ZIBSvvNk6bCRS4XbcAY/4hXCYqJ3npP3unR63IxSkq1NAOwAUGuoWvgPbIaXIL5fn3ee
 knP5SOsgqI4A4RA8ZHoW9DrzMbKeelfW9ZLg5Q4BgWX+tZab/F1rwvpAjfNp/X2zbpTx
 7JaIpfN8KAeL1oq1IywrXgmSdwXskMzTlNSpk5MDK6xJRJkuzTwU42RCnyCbEXjOWI6k
 jlQg==
X-Received: by 10.107.137.155 with SMTP id t27mr4639225ioi.16.1433945573145;
 Wed, 10 Jun 2015 07:12:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.192.196 with HTTP; Wed, 10 Jun 2015 07:12:31 -0700 (PDT)
In-Reply-To: <87y4jsm0nj.fsf@HIDDEN>
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
 <87d2152csj.fsf@HIDDEN> <87egllc6mj.fsf@HIDDEN>
 <874mmg3on6.fsf@HIDDEN>
 <CALm==BUvsX-WyGpqendbVCRqq8Y_V1MgVn5QfKWKXd+7_FGuNw@HIDDEN>
 <CALm==BXLU=mVaQUeBW_vgjx33nobcNLqMNePTE_hfP5Uayb_Sw@HIDDEN>
 <87y4jsm0nj.fsf@HIDDEN>
From: Alex Rozenshteyn <rpglover64@HIDDEN>
Date: Wed, 10 Jun 2015 10:12:31 -0400
Message-ID: <CALm==BWvJX+ewi9EieS=s+V6Pa0BC1zU5DaRdYd=sQMahNhmRQ@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
To: Tassilo Horn <tsdh@HIDDEN>
Content-Type: multipart/alternative; boundary=001a113ec96683e25805182a785b
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 20773
Cc: 20773 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -0.4 (/)

--001a113ec96683e25805182a785b
Content-Type: text/plain; charset=UTF-8

On Wed, Jun 10, 2015 at 4:24 AM, Tassilo Horn <tsdh@HIDDEN> wrote:

> Alex Rozenshteyn <rpglover64@HIDDEN> writes:
>
> > Nevermind. This was probably the result of a dirty environment. I
> > can't seem to reproduce it.
>
> Just to be sure, you can't reproduce it with the example files in your
> last mail which use the article documentclass but you can still
> reproduce it with the sigplanconf documentclass, right?
>

That is what I meant.


>
> Bye,
> Tassilo
>

--001a113ec96683e25805182a785b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Jun 10, 2015 at 4:24 AM, Tassilo Horn <span dir=3D"ltr">&lt;<a =
href=3D"mailto:tsdh@HIDDEN" target=3D"_blank">tsdh@HIDDEN</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><span class=3D"">Alex Rozenshteyn =
&lt;<a href=3D"mailto:rpglover64@HIDDEN">rpglover64@HIDDEN</a>&gt; wr=
ites:<br>
<br>
&gt; Nevermind. This was probably the result of a dirty environment. I<br>
&gt; can&#39;t seem to reproduce it.<br>
<br>
</span>Just to be sure, you can&#39;t reproduce it with the example files i=
n your<br>
last mail which use the article documentclass but you can still<br>
reproduce it with the sigplanconf documentclass, right?<br></blockquote><di=
v><br></div><div>That is what I meant.<br></div><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
<br>
Bye,<br>
Tassilo<br>
</blockquote></div><br></div></div>

--001a113ec96683e25805182a785b--




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

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


Received: (at 20773) by debbugs.gnu.org; 10 Jun 2015 08:24:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 10 04:24:25 2015
Received: from localhost ([127.0.0.1]:46662 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2bJA-00017D-E5
	for submit <at> debbugs.gnu.org; Wed, 10 Jun 2015 04:24:24 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:32968)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tsdh@HIDDEN>) id 1Z2bJ7-000173-Ub
 for 20773 <at> debbugs.gnu.org; Wed, 10 Jun 2015 04:24:22 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id D835B20D1F
 for <20773 <at> debbugs.gnu.org>; Wed, 10 Jun 2015 04:24:19 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute4.internal (MEProxy); Wed, 10 Jun 2015 04:24:19 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=kNSBYM/xjXcpZQlfxv2cex2cIV8=; b=FxCvm
 4e2YJBc/LQ7oi6mR+5JG+MyE003DGCnPmvMRhNafTvF4Kt2orVYmjTrk6VI+5aY3
 VcX7JJHo6igd08whjLwZ/adQmqBknTyrtxA8JINKQrPydtNjg57/x155uv/ogkNu
 KamMRR8Re4Y/3ThXwDPx6ZsrTwkQNobL90cbcw=
X-Sasl-enc: xLYHq1VxJyQ7ELm/XSibwyLHCHgcuqPcM4X4AaTbxa3P 1433924659
Received: from thinkpad-t440p (unknown [2.160.38.43])
 by mail.messagingengine.com (Postfix) with ESMTPA id 016B3680167;
 Wed, 10 Jun 2015 04:24:18 -0400 (EDT)
From: Tassilo Horn <tsdh@HIDDEN>
To: Alex Rozenshteyn <rpglover64@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
 <87d2152csj.fsf@HIDDEN> <87egllc6mj.fsf@HIDDEN>
 <874mmg3on6.fsf@HIDDEN>
 <CALm==BUvsX-WyGpqendbVCRqq8Y_V1MgVn5QfKWKXd+7_FGuNw@HIDDEN>
 <CALm==BXLU=mVaQUeBW_vgjx33nobcNLqMNePTE_hfP5Uayb_Sw@HIDDEN>
Date: Wed, 10 Jun 2015 10:24:16 +0200
In-Reply-To: <CALm==BXLU=mVaQUeBW_vgjx33nobcNLqMNePTE_hfP5Uayb_Sw@HIDDEN>
 (Alex Rozenshteyn's message of "Tue, 9 Jun 2015 13:58:48 -0400")
Message-ID: <87y4jsm0nj.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 20773
Cc: 20773 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: 0.3 (/)

Alex Rozenshteyn <rpglover64@HIDDEN> writes:

> Nevermind. This was probably the result of a dirty environment. I
> can't seem to reproduce it.

Just to be sure, you can't reproduce it with the example files in your
last mail which use the article documentclass but you can still
reproduce it with the sigplanconf documentclass, right?

Bye,
Tassilo




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 18:05:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 14:05:16 2015
Received: from localhost ([127.0.0.1]:46456 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2Ntj-0004Hf-WD
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 14:05:16 -0400
Received: from mail-ie0-f177.google.com ([209.85.223.177]:33727)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rpglover64@HIDDEN>) id 1Z2Nti-0004HT-4H
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 14:05:14 -0400
Received: by iebgx4 with SMTP id gx4so19115727ieb.0
 for <20773 <at> debbugs.gnu.org>; Tue, 09 Jun 2015 11:05:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :content-type; bh=sc2MDJkS4AAQHVWE01klJR5yCEIcqVUzK6P3bW1D+A8=;
 b=XclVCmtBZWnjfutuwM4YoPRkkZlNWay91dy/yJmvqUGUOo2Fje05LViWWD3eZLToWw
 DFLwuF+5Oyg5L00E/p9t2bz9b10Nw2P33ANEGIA/wKNXcnjUPzyrXYgBhxpijJK/lUwV
 JmQkxNa+sxbxVSlbfNaDXwR1xm5OOlGMZOcRD+HkrJDLYiuCVUwxPXYlDjgT4g5Uost3
 ZWwkHsD6QtCKS/5P9XosdHroYWIL87MF2Voeb8meOZsvicNNOx/Vtyl/LLwx+13/WIdV
 AoAo2zjeRfkYPGJlLMpGKrH6krrbcLqM83doJ1VOxUwnSyQQDAFLbwFRJRp265N5h2bS
 PERg==
X-Received: by 10.43.151.83 with SMTP id kr19mr22622icc.3.1433872748719; Tue,
 09 Jun 2015 10:59:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.192.196 with HTTP; Tue, 9 Jun 2015 10:58:48 -0700 (PDT)
In-Reply-To: <CALm==BUvsX-WyGpqendbVCRqq8Y_V1MgVn5QfKWKXd+7_FGuNw@HIDDEN>
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
 <87d2152csj.fsf@HIDDEN> <87egllc6mj.fsf@HIDDEN>
 <874mmg3on6.fsf@HIDDEN>
 <CALm==BUvsX-WyGpqendbVCRqq8Y_V1MgVn5QfKWKXd+7_FGuNw@HIDDEN>
From: Alex Rozenshteyn <rpglover64@HIDDEN>
Date: Tue, 9 Jun 2015 13:58:48 -0400
Message-ID: <CALm==BXLU=mVaQUeBW_vgjx33nobcNLqMNePTE_hfP5Uayb_Sw@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
To: 20773 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary=001a11c2fd9ed735e5051819831a
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 20773
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -0.4 (/)

--001a11c2fd9ed735e5051819831a
Content-Type: text/plain; charset=UTF-8

Nevermind. This was probably the result of a dirty environment. I can't
seem to reproduce it.

On Tue, Jun 9, 2015 at 11:36 AM, Alex Rozenshteyn <rpglover64@HIDDEN>
wrote:

> I've got an example of the "Ghostscript filter: No bounding box" error
> using \documentclass{article}.
>

--001a11c2fd9ed735e5051819831a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Nevermind. This was probably the result of a dirty environ=
ment. I can&#39;t seem to reproduce it.<br></div><div class=3D"gmail_extra"=
><br><div class=3D"gmail_quote">On Tue, Jun 9, 2015 at 11:36 AM, Alex Rozen=
shteyn <span dir=3D"ltr">&lt;<a href=3D"mailto:rpglover64@HIDDEN" target=
=3D"_blank">rpglover64@HIDDEN</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div dir=3D"ltr">I&#39;ve got an example of the &quot;Ghostsc=
ript filter: No bounding box&quot; error using \documentclass{article}.<br>=
</div>
</blockquote></div><br></div>

--001a11c2fd9ed735e5051819831a--




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 15:36:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 11:36:56 2015
Received: from localhost ([127.0.0.1]:46385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2LaC-0007h9-3k
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 11:36:56 -0400
Received: from mail-ig0-f170.google.com ([209.85.213.170]:33697)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rpglover64@HIDDEN>) id 1Z2La9-0007gw-Og
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 11:36:54 -0400
Received: by igbpi8 with SMTP id pi8so16177092igb.0
 for <20773 <at> debbugs.gnu.org>; Tue, 09 Jun 2015 08:36:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :content-type; bh=HEX0z9jzej5wRkzYZjXaD6C06PMI58RcFsCO2sc8lYE=;
 b=JA/P/ZZ1cAqPTAVsYDLXL+2mT/Gt8oG8GKSkQZyfb+Hfr/AxH6y1eb3YMaCKiD0VIV
 tCFox0DvQYOeezdgyQIrc1nUC5kXu0ylZLeRT8hdS+CE6k0xx4an9oyz3+AQ+GoUoR87
 WqKufrdxf4PRxc7NyqiFdZQHK5dNQkKGPSQWyn5VOIDAsPStA8JmIgMWI4S+Qi5AXtZ1
 fb+k7kB4RV345xXxnKUhC4Ns06pVDAW5gLuzaIjkpW7eWWMVHYFWBdUYdmfWjVAebv7Q
 Ats5Lu21RWm52qYDju+mG6UHDXIJgEN5/y3q7/Pow5b3DS+WctPYZq1ihedx+P8SRh9D
 8+Ug==
X-Received: by 10.50.79.228 with SMTP id m4mr20959153igx.6.1433864208248; Tue,
 09 Jun 2015 08:36:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.192.196 with HTTP; Tue, 9 Jun 2015 08:36:27 -0700 (PDT)
In-Reply-To: <874mmg3on6.fsf@HIDDEN>
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
 <87d2152csj.fsf@HIDDEN> <87egllc6mj.fsf@HIDDEN>
 <874mmg3on6.fsf@HIDDEN>
From: Alex Rozenshteyn <rpglover64@HIDDEN>
Date: Tue, 9 Jun 2015 11:36:27 -0400
Message-ID: <CALm==BUvsX-WyGpqendbVCRqq8Y_V1MgVn5QfKWKXd+7_FGuNw@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
To: 20773 <at> debbugs.gnu.org
Content-Type: multipart/mixed; boundary=089e013a1f16ca73c1051817861f
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 20773
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -0.4 (/)

--089e013a1f16ca73c1051817861f
Content-Type: multipart/alternative; boundary=089e013a1f16ca73b9051817861d

--089e013a1f16ca73b9051817861d
Content-Type: text/plain; charset=UTF-8

I've got an example of the "Ghostscript filter: No bounding box" error
using \documentclass{article}.

--089e013a1f16ca73b9051817861d
Content-Type: text/html; charset=UTF-8

<div dir="ltr">I&#39;ve got an example of the &quot;Ghostscript filter: No bounding box&quot; error using \documentclass{article}.<br></div>

--089e013a1f16ca73b9051817861d--
--089e013a1f16ca73c1051817861f
Content-Type: application/x-tex; name="formalism.tex"
Content-Disposition: attachment; filename="formalism.tex"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_iaphpafm0

XGlucHV0e2Zvcm1hbGlzbV9hdHJhbnNsYXRpb24udGV4fQo=
--089e013a1f16ca73c1051817861f
Content-Type: application/x-tex; name="formalism_atranslation.tex"
Content-Disposition: attachment; filename="formalism_atranslation.tex"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_iaphpah11

JFxlZnVuYyQ=
--089e013a1f16ca73c1051817861f
Content-Type: application/x-tex; name="main.tex"
Content-Disposition: attachment; filename="main.tex"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_iaphpahe2

XGRvY3VtZW50Y2xhc3N7YXJ0aWNsZX0KClx1c2VwYWNrYWdle2lmdGhlbn0KXHVzZXBhY2thZ2V7
eGlmdGhlbn0KClxuZXdjb21tYW5ke1xkZWZnbn1bMl1bXXslCiAgICBcaWZ0aGVuZWxzZXtcaXNl
bXB0eXsjMn19eyUKICAgICAgICBcd2FybntJZ25vcmluZyBlbXB0eSBhcmd1bWVudCB0byBcY2hh
cmBcXGRlZmd0fSUKICAgIH17JQogICAgICAgIFxpZnRoZW5lbHNle1xpc2VtcHR5eyMxfX17XGRl
ZmduW1xkZWZnbm5hbWV7IzJ9XXsjMn19eyUKICAgICAgICAgICAgXGV4cGFuZGFmdGVyXG5ld2Nv
bW1hbmRcZXhwYW5kYWZ0ZXJ7XGNzbmFtZSAjMVxlbmRjc25hbWV9e1xlbnN1cmVtYXRoeyMyfX0K
ICAgICAgICB9JQogICAgfSUKfQoKXGRlZmduW2VmdW5jXXtmfQoKXGJlZ2lue2RvY3VtZW50fQoK
XGlucHV0e2Zvcm1hbGlzbX0KClxlbmR7ZG9jdW1lbnR9Cg==
--089e013a1f16ca73c1051817861f--




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 15:08:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 11:08:53 2015
Received: from localhost ([127.0.0.1]:46358 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2L92-00070V-Si
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 11:08:53 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42697)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tsdh@HIDDEN>) id 1Z2L90-00070M-AI
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 11:08:51 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id 9515020A87
 for <20773 <at> debbugs.gnu.org>; Tue,  9 Jun 2015 11:08:49 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute2.internal (MEProxy); Tue, 09 Jun 2015 11:08:49 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=UR3XjOfofVKA8qt3dIfVnsgqdHk=; b=NygyC
 mHAsDyFEGCV5DeXBUxcrQsKjJ6hB/L0nmc7PkvyGHI75xphMp/gBl1yr024MMgKV
 e/zMFxfMtFO1XYYTy/LB1V+sLwzOFjuTpr9E8Yk5uHT7onLVEsGrmwIpYkTddYep
 mPcJcuxLmJmrtM0tyLfQWl9pEXZwP8N+yASIbA=
X-Sasl-enc: AUsr7PTQlhOxP+mv5tt3Bkc+sJ0Fn0vaklvjuIrdY3Vz 1433862528
Received: from thinkpad-t440p (unknown [2.160.96.197])
 by mail.messagingengine.com (Postfix) with ESMTPA id CAF3A680109;
 Tue,  9 Jun 2015 11:08:47 -0400 (EDT)
From: Tassilo Horn <tsdh@HIDDEN>
To: David Kastrup <dak@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
 <87d2152csj.fsf@HIDDEN> <87egllc6mj.fsf@HIDDEN>
Date: Tue, 09 Jun 2015 17:08:45 +0200
In-Reply-To: <87egllc6mj.fsf@HIDDEN> (David Kastrup's message of
 "Tue, 09 Jun 2015 16:13:08 +0200")
Message-ID: <874mmg3on6.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 20773
Cc: Alex Rozenshteyn <rpglover64@HIDDEN>, 20773 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: 0.3 (/)

David Kastrup <dak@HIDDEN> writes:

>> Indeed, sigplanconf.cls contains
>>
>>   \errorcontextlines = 5
>>
>>> It might be worth trying to put
>>>
>>> \newcount\errorcontextlines
>>>
>>> (making the original \errorcontextlines inaccessible) before
>>> \documentclass in order to see whether this makes a difference.
>>
>> No, it doesn't make any difference although I didn't check the preview
>> output line by line but at least I still get the two errors from above
>> alternatingly.
>
> Including the Ghostscript filter thing?

Yes:

--8<---------------cut here---------------start------------->8---
TeX Output exited as expected with code 1 at Tue Jun  9 17:07:04
Running `Preview-PDF2DSC' with ``pdf2dsc main.pdf main.prv/tmp46789xe/preview.dsc''

Preview-PDF2DSC finished at Tue Jun  9 17:07:04
Running `Preview-Ghostscript' with ``/usr/local/texlive/2014/bin/x86_64-linux/rungs -dOutputFile\=\(main.prv/tmp46789xe/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r96.0757x96.0504''
Ghostscript filter: No bounding box

Preview-Ghostscript finished at Tue Jun  9 17:07:04
--8<---------------cut here---------------end--------------->8---

And to be clear, I've also put the \newcount\errorcontextlines before
the \documentclass.

Bye,
Tassilo




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 15:03:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 11:03:47 2015
Received: from localhost ([127.0.0.1]:46349 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2L45-0006sy-HF
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 11:03:46 -0400
Received: from mail-ig0-f179.google.com ([209.85.213.179]:36569)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rpglover64@HIDDEN>) id 1Z2L3z-0006sf-7K
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 11:03:43 -0400
Received: by igbpi8 with SMTP id pi8so14398824igb.1
 for <20773 <at> debbugs.gnu.org>; Tue, 09 Jun 2015 08:03:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=FMumogsfCbxrJT5RXEX7yHriyz20n0EKhRFetKr7rdM=;
 b=wxaLaCyyRTAwwJbah7gBTppkbjbwoE7CN/9V1d4LWv217nHNljbypTtX+/AMOlC6RM
 jxypOV8ZWto7B6d6XxIIc14bueCmVxij1otLjtm37UdPDYYDANDcNeESvFk76maJdGMl
 h9Uwh9Z/DostNpy959SRa7cjOHzSspKxUILZojGum8ZS70efC/n0ha9JX4AZkddVXvnJ
 bRBpP1v5xO0Za2AEJAZpQn2qxewWOYKAk2MXpVs2lDL0olnpJafEMtY227moo4czXB/h
 H8EejW4Tuo/Vuu7dceObXrmsuTI/D9US7hIts/UP4IxmU2drIyl58OaxZa4xHV3H5Kek
 LEag==
X-Received: by 10.107.7.37 with SMTP id 37mr14540499ioh.28.1433862213433; Tue,
 09 Jun 2015 08:03:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.192.196 with HTTP; Tue, 9 Jun 2015 08:03:12 -0700 (PDT)
In-Reply-To: <87a8w9c6f9.fsf@HIDDEN>
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
 <87d2152csj.fsf@HIDDEN>
 <CALm==BUQsm8QcK4PO3LY-DfN2vE=KEj5WWPo8DFOSHrd2p9UFA@HIDDEN>
 <87a8w9c6f9.fsf@HIDDEN>
From: Alex Rozenshteyn <rpglover64@HIDDEN>
Date: Tue, 9 Jun 2015 11:03:12 -0400
Message-ID: <CALm==BWEti-og+WSw_PGaqiOL5=Vr_VAiVsmK3iPb8RPJSWORw@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
To: David Kastrup <dak@HIDDEN>
Content-Type: multipart/alternative; boundary=001a113ed184e381e60518170fca
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 20773
Cc: 20773 <at> debbugs.gnu.org, Tassilo Horn <tsdh@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -0.4 (/)

--001a113ed184e381e60518170fca
Content-Type: text/plain; charset=UTF-8

I meant that \documentclass is the first thing in the document _normally_,
so reinitializing something that, AFAICT should be initialized and not
changed seems to be a no-op.

To be clear, I did put \newcount\errorcontextlines before
\documentclass{sigplanconf} in my test, and it broke in the same way, with
"Ghostscript filter: No bounding box".

On Tue, Jun 9, 2015 at 10:17 AM, David Kastrup <dak@HIDDEN> wrote:

> Alex Rozenshteyn <rpglover64@HIDDEN> writes:
>
> >> On Tue, Jun 9, 2015 at 10:10 AM, Tassilo Horn <tsdh@HIDDEN> wrote:
> >>
> >>> David Kastrup <dak@HIDDEN> writes:
> >>>
> >>> > It might be worth trying to put
> >>> >
> >>> > \newcount\errorcontextlines
> >>> >
> >>> > (making the original \errorcontextlines inaccessible) before
> >>> > \documentclass in order to see whether this makes a difference.
> >>>
> >>> No, it doesn't make any difference although I didn't check the preview
> >>> output line by line but at least I still get the two errors from above
> >>> alternatingly.
> >
> > Made no difference to me either, though I'd have been rather surprised,
> > since \documentclass is the first thing in the document.
>
> Huh?  Both of you realize that I wrote
>
> put "\newcount\errorcontextlines" *before* \documentclass ?
>
> Why would it surprise you that this does not make a change "since
> \documentclass is the first thing in the document"?  \documentclass _is_
> suspected of causing the problem, and so the \newcount\errorcontextlines
> would remove the possibility of \documentclass to mess with the setting
> of the original \errorcontextlines.  For that, it has to come _before_
> \documentclass.
>
> --
> David Kastrup
>

--001a113ed184e381e60518170fca
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I meant that \documentclass is the first thing in the=
 document _normally_, so reinitializing something that, AFAICT should be in=
itialized and not changed seems to be a no-op.<br><br></div>To be clear, I =
did put \newcount\errorcontextlines before \documentclass{sigplanconf} in m=
y test, and it broke in the same way, with &quot;Ghostscript filter: No bou=
nding box&quot;.<br></div><div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote">On Tue, Jun 9, 2015 at 10:17 AM, David Kastrup <span dir=3D"ltr">&=
lt;<a href=3D"mailto:dak@HIDDEN" target=3D"_blank">dak@HIDDEN</a>&gt;</sp=
an> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">Alex Rozensht=
eyn &lt;<a href=3D"mailto:rpglover64@HIDDEN">rpglover64@HIDDEN</a>&gt=
; writes:<br>
<br>
&gt;&gt; On Tue, Jun 9, 2015 at 10:10 AM, Tassilo Horn &lt;<a href=3D"mailt=
o:tsdh@HIDDEN">tsdh@HIDDEN</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; David Kastrup &lt;<a href=3D"mailto:dak@HIDDEN">dak@HIDDEN</=
a>&gt; writes:<br>
&gt;&gt;&gt;<br>
</span><span class=3D"">&gt;&gt;&gt; &gt; It might be worth trying to put<b=
r>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; \newcount\errorcontextlines<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; (making the original \errorcontextlines inaccessible) bef=
ore<br>
&gt;&gt;&gt; &gt; \documentclass in order to see whether this makes a diffe=
rence.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; No, it doesn&#39;t make any difference although I didn&#39;t c=
heck the preview<br>
&gt;&gt;&gt; output line by line but at least I still get the two errors fr=
om above<br>
&gt;&gt;&gt; alternatingly.<br>
&gt;<br>
</span><span class=3D"">&gt; Made no difference to me either, though I&#39;=
d have been rather surprised,<br>
&gt; since \documentclass is the first thing in the document.<br>
<br>
</span>Huh?=C2=A0 Both of you realize that I wrote<br>
<br>
put &quot;\newcount\errorcontextlines&quot; *before* \documentclass ?<br>
<br>
Why would it surprise you that this does not make a change &quot;since<br>
\documentclass is the first thing in the document&quot;?=C2=A0 \documentcla=
ss _is_<br>
suspected of causing the problem, and so the \newcount\errorcontextlines<br=
>
would remove the possibility of \documentclass to mess with the setting<br>
of the original \errorcontextlines.=C2=A0 For that, it has to come _before_=
<br>
\documentclass.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
David Kastrup<br>
</font></span></blockquote></div><br></div>

--001a113ed184e381e60518170fca--




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 14:17:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 10:17:43 2015
Received: from localhost ([127.0.0.1]:46315 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2KLW-0005nC-7S
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:17:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49418)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dak@HIDDEN>) id 1Z2KLU-0005n0-HA
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:17:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dak@HIDDEN>) id 1Z2KLL-0006Nf-Gq
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:17:35 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51670)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dak@HIDDEN>)
 id 1Z2KLL-0006NZ-Eh; Tue, 09 Jun 2015 10:17:31 -0400
Received: from localhost ([127.0.0.1]:37256 helo=lola)
 by fencepost.gnu.org with esmtp (Exim 4.82)
 (envelope-from <dak@HIDDEN>)
 id 1Z2KLK-0006gc-O9; Tue, 09 Jun 2015 10:17:31 -0400
Received: by lola (Postfix, from userid 1000)
 id 3803FE04AA; Tue,  9 Jun 2015 16:17:30 +0200 (CEST)
From: David Kastrup <dak@HIDDEN>
To: Alex Rozenshteyn <rpglover64@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
 <87d2152csj.fsf@HIDDEN>
 <CALm==BUQsm8QcK4PO3LY-DfN2vE=KEj5WWPo8DFOSHrd2p9UFA@HIDDEN>
Date: Tue, 09 Jun 2015 16:17:30 +0200
In-Reply-To: <CALm==BUQsm8QcK4PO3LY-DfN2vE=KEj5WWPo8DFOSHrd2p9UFA@HIDDEN>
 (Alex Rozenshteyn's message of "Tue, 9 Jun 2015 10:11:10 -0400")
Message-ID: <87a8w9c6f9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 20773
Cc: 20773 <at> debbugs.gnu.org, Tassilo Horn <tsdh@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -5.0 (-----)

Alex Rozenshteyn <rpglover64@HIDDEN> writes:

>> On Tue, Jun 9, 2015 at 10:10 AM, Tassilo Horn <tsdh@HIDDEN> wrote:
>>
>>> David Kastrup <dak@HIDDEN> writes:
>>>
>>> > It might be worth trying to put
>>> >
>>> > \newcount\errorcontextlines
>>> >
>>> > (making the original \errorcontextlines inaccessible) before
>>> > \documentclass in order to see whether this makes a difference.
>>>
>>> No, it doesn't make any difference although I didn't check the preview
>>> output line by line but at least I still get the two errors from above
>>> alternatingly.
>
> Made no difference to me either, though I'd have been rather surprised,
> since \documentclass is the first thing in the document.

Huh?  Both of you realize that I wrote

put "\newcount\errorcontextlines" *before* \documentclass ?

Why would it surprise you that this does not make a change "since
\documentclass is the first thing in the document"?  \documentclass _is_
suspected of causing the problem, and so the \newcount\errorcontextlines
would remove the possibility of \documentclass to mess with the setting
of the original \errorcontextlines.  For that, it has to come _before_
\documentclass.

-- 
David Kastrup




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 14:13:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 10:13:19 2015
Received: from localhost ([127.0.0.1]:46311 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2KHH-0005gX-FM
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:13:19 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47919)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dak@HIDDEN>) id 1Z2KHF-0005gJ-71
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:13:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dak@HIDDEN>) id 1Z2KH8-0003yz-BB
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:13:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51615)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dak@HIDDEN>)
 id 1Z2KH8-0003yc-8Z; Tue, 09 Jun 2015 10:13:10 -0400
Received: from localhost ([127.0.0.1]:37199 helo=lola)
 by fencepost.gnu.org with esmtp (Exim 4.82)
 (envelope-from <dak@HIDDEN>)
 id 1Z2KH7-0006Jt-6X; Tue, 09 Jun 2015 10:13:09 -0400
Received: by lola (Postfix, from userid 1000)
 id 912BFE04AA; Tue,  9 Jun 2015 16:13:08 +0200 (CEST)
From: David Kastrup <dak@HIDDEN>
To: Tassilo Horn <tsdh@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
 <87d2152csj.fsf@HIDDEN>
Date: Tue, 09 Jun 2015 16:13:08 +0200
In-Reply-To: <87d2152csj.fsf@HIDDEN> (Tassilo Horn's message of "Tue, 09 Jun
 2015 16:10:04 +0200")
Message-ID: <87egllc6mj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 20773
Cc: Alex Rozenshteyn <rpglover64@HIDDEN>, 20773 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -5.0 (-----)

Tassilo Horn <tsdh@HIDDEN> writes:

> David Kastrup <dak@HIDDEN> writes:

>>> Ghostscript filter: No bounding box
>>
>> "Ghostscript filter" is an error message from the Emacs component of
>> preview-latex, probably coming from not being able to recognize the
>> error messages.  It would appear that the document classes here mess
>> with the error display from LaTeX, possibly by changing the
>> \errorcontextlines setting but maybe through other means.
>
> Indeed, sigplanconf.cls contains
>
>   \errorcontextlines = 5
>
>> It might be worth trying to put
>>
>> \newcount\errorcontextlines
>>
>> (making the original \errorcontextlines inaccessible) before
>> \documentclass in order to see whether this makes a difference.
>
> No, it doesn't make any difference although I didn't check the preview
> output line by line but at least I still get the two errors from above
> alternatingly.

Including the Ghostscript filter thing?

-- 
David Kastrup




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 14:11:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 10:11:43 2015
Received: from localhost ([127.0.0.1]:46307 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2KFi-0005dy-Ce
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:11:43 -0400
Received: from mail-ie0-f175.google.com ([209.85.223.175]:35036)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rpglover64@HIDDEN>) id 1Z2KFc-0005dd-Fk
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:11:40 -0400
Received: by iesa3 with SMTP id a3so14890055ies.2
 for <20773 <at> debbugs.gnu.org>; Tue, 09 Jun 2015 07:11:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=QBtbV/bjmNdIsmiva2b8E43n2luYE6AOHB6umkXzmPo=;
 b=Wjz42huTI4JCsmx1YXTnvEn3u9JR1PuHicV8rSYU9vs2E9hkqWxUsIW3TAI1H+quHn
 byf/DAruw67f2Sjin/j1IbFuzon1NyaNLG2MJlpFf7ZGKLOn0dQr+DiXMFcbAwVAc4r2
 Feku809dwZtLUvLfBynr06Z2wN6nbTNFiD9Q56Q0hatwywlXAhdBAImfdW136cn8MB0l
 fiIWfPU33n2QLt178oKGeFlDEqNO5tOnk8bMNLqfkfT5FPmnQYpA6jAZyj2VT3sYF8DI
 FjZbgYlVgwr50IRlQ1A4+96dbI2LWhhJtXpWDypwCaeyRTGycN+ikiY5Zld3MD1KE32H
 GQlg==
X-Received: by 10.107.39.209 with SMTP id n200mr27337951ion.59.1433859090707; 
 Tue, 09 Jun 2015 07:11:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.192.196 with HTTP; Tue, 9 Jun 2015 07:11:10 -0700 (PDT)
In-Reply-To: <87d2152csj.fsf@HIDDEN>
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
 <87d2152csj.fsf@HIDDEN>
From: Alex Rozenshteyn <rpglover64@HIDDEN>
Date: Tue, 9 Jun 2015 10:11:10 -0400
Message-ID: <CALm==BUQsm8QcK4PO3LY-DfN2vE=KEj5WWPo8DFOSHrd2p9UFA@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
To: Tassilo Horn <tsdh@HIDDEN>
Content-Type: multipart/alternative; boundary=001a1140a3c2c27da40518165517
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 20773
Cc: David Kastrup <dak@HIDDEN>, 20773 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -0.4 (/)

--001a1140a3c2c27da40518165517
Content-Type: text/plain; charset=UTF-8

Made no difference to me either, though I'd have been rather surprised,
since \documentclass is the first thing in the document.

On Tue, Jun 9, 2015 at 10:10 AM, Tassilo Horn <tsdh@HIDDEN> wrote:

> David Kastrup <dak@HIDDEN> writes:
>
> > Tassilo Horn <tsdh@HIDDEN> writes:
> >
> >> l.5 \(
> >>       a + b = c\)
> >> ./main.tex:5: Preview: Snippet 2 ended.(409600+54612x2392548).
> >> <-><->
> >>
> >> \pr@msg ...rrhelp {Not a real error.}\errmessage <
> >>                                                   }
> >> \pr@endbox ...lineskip \box \pr@box }\pr@ship@end
> >>                                                   {\let \protect
> \noexpand \...
> >>
> >> \)->\relax \ifmmode \ifinner $
> >>                               \else \@badmath \fi \else \@badmath \fi
> >> l.5 \(a + b = c\)
> >>
> >> [2] )
> >> (see the transcript file for additional
> information){/usr/local/texlive/2014/te
> >>
> xmf-dist/fonts/enc/dvips/base/8r.enc}</usr/local/texlive/2014/texmf-dist/fonts/
> >>
> type1/public/amsfonts/cm/cmmi9.pfb></usr/local/texlive/2014/texmf-dist/fonts/ty
> >>
> pe1/public/amsfonts/cm/cmr9.pfb></usr/local/texlive/2014/texmf-dist/fonts/type1
> >> /urw/times/utmb8a.pfb>
> >> Output written on main.pdf (2 pages, 23675 bytes).
> >> SyncTeX written on main.synctex.gz.
> >> Transcript written on main.log.
> >>
> >> TeX Output exited as expected with code 1 at Tue Jun  9 13:30:57
> >> Running `Preview-PDF2DSC' with ``pdf2dsc main.pdf
> main.prv/tmp4678jI2/preview.dsc''
> >>
> >> Preview-PDF2DSC finished at Tue Jun  9 13:30:57
> >> Running `Preview-Ghostscript' with
> ``/usr/local/texlive/2014/bin/x86_64-linux/rungs
> -dOutputFile\=\(main.prv/tmp4678jI2/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE
> -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
> -sDEVICE\=png16m -r96.0757x96.0504''
> >> Ghostscript filter: No bounding box
> >
> > "Ghostscript filter" is an error message from the Emacs component of
> > preview-latex, probably coming from not being able to recognize the
> > error messages.  It would appear that the document classes here mess
> > with the error display from LaTeX, possibly by changing the
> > \errorcontextlines setting but maybe through other means.
>
> Indeed, sigplanconf.cls contains
>
>   \errorcontextlines = 5
>
> > It might be worth trying to put
> >
> > \newcount\errorcontextlines
> >
> > (making the original \errorcontextlines inaccessible) before
> > \documentclass in order to see whether this makes a difference.
>
> No, it doesn't make any difference although I didn't check the preview
> output line by line but at least I still get the two errors from above
> alternatingly.
>
> Bye,
> Tassilo
>

--001a1140a3c2c27da40518165517
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Made no difference to me either, though I&#39;d have been =
rather surprised, since \documentclass is the first thing in the document.<=
br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, =
Jun 9, 2015 at 10:10 AM, Tassilo Horn <span dir=3D"ltr">&lt;<a href=3D"mail=
to:tsdh@HIDDEN" target=3D"_blank">tsdh@HIDDEN</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">David =
Kastrup &lt;<a href=3D"mailto:dak@HIDDEN">dak@HIDDEN</a>&gt; writes:<br>
<br>
&gt; Tassilo Horn &lt;<a href=3D"mailto:tsdh@HIDDEN">tsdh@HIDDEN</a>&gt; =
writes:<br>
&gt;<br>
&gt;&gt; l.5 \(<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0a + b =3D c\)<br>
&gt;&gt; ./main.tex:5: Preview: Snippet 2 ended.(409600+54612x2392548).<br>
&gt;&gt; &lt;-&gt;&lt;-&gt;<br>
&gt;&gt;<br>
&gt;&gt; \pr@msg ...rrhelp {Not a real error.}\errmessage &lt;<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
&gt;&gt; \pr@endbox ...lineskip \box \pr@box }\pr@ship@end<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{\let \protect \noexpand \...<br>
&gt;&gt;<br>
&gt;&gt; \)-&gt;\relax \ifmmode \ifinner $<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\else \@badmath \fi \else \@ba=
dmath \fi<br>
&gt;&gt; l.5 \(a + b =3D c\)<br>
&gt;&gt;<br>
&gt;&gt; [2] )<br>
&gt;&gt; (see the transcript file for additional information){/usr/local/te=
xlive/2014/te<br>
&gt;&gt; xmf-dist/fonts/enc/dvips/base/8r.enc}&lt;/usr/local/texlive/2014/t=
exmf-dist/fonts/<br>
&gt;&gt; type1/public/amsfonts/cm/cmmi9.pfb&gt;&lt;/usr/local/texlive/2014/=
texmf-dist/fonts/ty<br>
&gt;&gt; pe1/public/amsfonts/cm/cmr9.pfb&gt;&lt;/usr/local/texlive/2014/tex=
mf-dist/fonts/type1<br>
&gt;&gt; /urw/times/utmb8a.pfb&gt;<br>
&gt;&gt; Output written on main.pdf (2 pages, 23675 bytes).<br>
&gt;&gt; SyncTeX written on main.synctex.gz.<br>
&gt;&gt; Transcript written on main.log.<br>
&gt;&gt;<br>
&gt;&gt; TeX Output exited as expected with code 1 at Tue Jun=C2=A0 9 13:30=
:57<br>
&gt;&gt; Running `Preview-PDF2DSC&#39; with ``pdf2dsc main.pdf main.prv/tmp=
4678jI2/preview.dsc&#39;&#39;<br>
&gt;&gt;<br>
&gt;&gt; Preview-PDF2DSC finished at Tue Jun=C2=A0 9 13:30:57<br>
&gt;&gt; Running `Preview-Ghostscript&#39; with ``/usr/local/texlive/2014/b=
in/x86_64-linux/rungs -dOutputFile\=3D\(main.prv/tmp4678jI2/pr1-\%d.png\) -=
q -dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=3D4 -dGra=
phicsAlphaBits\=3D4 -sDEVICE\=3Dpng16m -r96.0757x96.0504&#39;&#39;<br>
&gt;&gt; Ghostscript filter: No bounding box<br>
&gt;<br>
&gt; &quot;Ghostscript filter&quot; is an error message from the Emacs comp=
onent of<br>
&gt; preview-latex, probably coming from not being able to recognize the<br=
>
&gt; error messages.=C2=A0 It would appear that the document classes here m=
ess<br>
&gt; with the error display from LaTeX, possibly by changing the<br>
&gt; \errorcontextlines setting but maybe through other means.<br>
<br>
</div></div>Indeed, sigplanconf.cls contains<br>
<br>
=C2=A0 \errorcontextlines =3D 5<br>
<span class=3D""><br>
&gt; It might be worth trying to put<br>
&gt;<br>
&gt; \newcount\errorcontextlines<br>
&gt;<br>
&gt; (making the original \errorcontextlines inaccessible) before<br>
&gt; \documentclass in order to see whether this makes a difference.<br>
<br>
</span>No, it doesn&#39;t make any difference although I didn&#39;t check t=
he preview<br>
output line by line but at least I still get the two errors from above<br>
alternatingly.<br>
<br>
Bye,<br>
Tassilo<br>
</blockquote></div><br></div>

--001a1140a3c2c27da40518165517--




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 14:10:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 10:10:16 2015
Received: from localhost ([127.0.0.1]:46303 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2KEI-0005be-Oz
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:10:15 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:54411)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tsdh@HIDDEN>) id 1Z2KEC-0005bP-2E
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 10:10:11 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 5269821933
 for <20773 <at> debbugs.gnu.org>; Tue,  9 Jun 2015 10:10:07 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute4.internal (MEProxy); Tue, 09 Jun 2015 10:10:07 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=xuvFrlF4pNvvTHjIsHSc3skJGqA=; b=Vg9VG
 wxVtPb0RDSsqtJ1i/kt86civrw2e7X7wp4rhnmCgT/cIEfPVthFRJt+2F1VrW4Wq
 9PfJBUkYG7MLtKJ8wkY5cI1l6MdDsEjXDJLqitaqvMVbn9C91jQX6aXBPbpoItVG
 nfe6h6uKXyQ5r5jtw20K+1hBiEns9P4iJlVWLU=
X-Sasl-enc: PEGTjFEq5TRsIxQTQZ1cL2aF9mY2xQM2ayR25XkxcVUP 1433859006
Received: from thinkpad-t440p (unknown [2.160.96.197])
 by mail.messagingengine.com (Postfix) with ESMTPA id 461E7680109;
 Tue,  9 Jun 2015 10:10:06 -0400 (EDT)
From: Tassilo Horn <tsdh@HIDDEN>
To: David Kastrup <dak@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN> <87mw09cbib.fsf@HIDDEN>
Date: Tue, 09 Jun 2015 16:10:04 +0200
In-Reply-To: <87mw09cbib.fsf@HIDDEN> (David Kastrup's message of
 "Tue, 09 Jun 2015 14:27:40 +0200")
Message-ID: <87d2152csj.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 20773
Cc: Alex Rozenshteyn <rpglover64@HIDDEN>, 20773 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: 0.3 (/)

David Kastrup <dak@HIDDEN> writes:

> Tassilo Horn <tsdh@HIDDEN> writes:
>
>> l.5 \(
>>       a + b = c\)
>> ./main.tex:5: Preview: Snippet 2 ended.(409600+54612x2392548).
>> <-><->
>>       
>> \pr@msg ...rrhelp {Not a real error.}\errmessage <
>>                                                   }
>> \pr@endbox ...lineskip \box \pr@box }\pr@ship@end 
>>                                                   {\let \protect \noexpand \...
>>
>> \)->\relax \ifmmode \ifinner $
>>                               \else \@badmath \fi \else \@badmath \fi 
>> l.5 \(a + b = c\)
>>                  
>> [2] )
>> (see the transcript file for additional information){/usr/local/texlive/2014/te
>> xmf-dist/fonts/enc/dvips/base/8r.enc}</usr/local/texlive/2014/texmf-dist/fonts/
>> type1/public/amsfonts/cm/cmmi9.pfb></usr/local/texlive/2014/texmf-dist/fonts/ty
>> pe1/public/amsfonts/cm/cmr9.pfb></usr/local/texlive/2014/texmf-dist/fonts/type1
>> /urw/times/utmb8a.pfb>
>> Output written on main.pdf (2 pages, 23675 bytes).
>> SyncTeX written on main.synctex.gz.
>> Transcript written on main.log.
>>
>> TeX Output exited as expected with code 1 at Tue Jun  9 13:30:57
>> Running `Preview-PDF2DSC' with ``pdf2dsc main.pdf main.prv/tmp4678jI2/preview.dsc''
>>
>> Preview-PDF2DSC finished at Tue Jun  9 13:30:57
>> Running `Preview-Ghostscript' with ``/usr/local/texlive/2014/bin/x86_64-linux/rungs -dOutputFile\=\(main.prv/tmp4678jI2/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r96.0757x96.0504''
>> Ghostscript filter: No bounding box
>
> "Ghostscript filter" is an error message from the Emacs component of
> preview-latex, probably coming from not being able to recognize the
> error messages.  It would appear that the document classes here mess
> with the error display from LaTeX, possibly by changing the
> \errorcontextlines setting but maybe through other means.

Indeed, sigplanconf.cls contains

  \errorcontextlines = 5

> It might be worth trying to put
>
> \newcount\errorcontextlines
>
> (making the original \errorcontextlines inaccessible) before
> \documentclass in order to see whether this makes a difference.

No, it doesn't make any difference although I didn't check the preview
output line by line but at least I still get the two errors from above
alternatingly.

Bye,
Tassilo




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 12:27:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 08:27:52 2015
Received: from localhost ([127.0.0.1]:45830 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2IdD-00035g-9t
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 08:27:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43998)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dak@HIDDEN>) id 1Z2IdA-00035T-Qs
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 08:27:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dak@HIDDEN>) id 1Z2Id3-0004DB-Qn
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 08:27:43 -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.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48811)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dak@HIDDEN>)
 id 1Z2Id3-0004D2-OX; Tue, 09 Jun 2015 08:27:41 -0400
Received: from localhost ([127.0.0.1]:34397 helo=lola)
 by fencepost.gnu.org with esmtp (Exim 4.82)
 (envelope-from <dak@HIDDEN>)
 id 1Z2Id3-0005Yz-2B; Tue, 09 Jun 2015 08:27:41 -0400
Received: by lola (Postfix, from userid 1000)
 id 7BB2FE04AA; Tue,  9 Jun 2015 14:27:40 +0200 (CEST)
From: David Kastrup <dak@HIDDEN>
To: Tassilo Horn <tsdh@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 <87mw092iuj.fsf@HIDDEN>
Date: Tue, 09 Jun 2015 14:27:40 +0200
In-Reply-To: <87mw092iuj.fsf@HIDDEN> (Tassilo Horn's message of "Tue, 09 Jun
 2015 13:59:16 +0200")
Message-ID: <87mw09cbib.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 20773
Cc: Alex Rozenshteyn <rpglover64@HIDDEN>, 20773 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -5.0 (-----)

Tassilo Horn <tsdh@HIDDEN> writes:

> l.5 \(
>       a + b = c\)
> ./main.tex:5: Preview: Snippet 2 ended.(409600+54612x2392548).
> <-><->
>       
> \pr@msg ...rrhelp {Not a real error.}\errmessage <
>                                                   }
> \pr@endbox ...lineskip \box \pr@box }\pr@ship@end 
>                                                   {\let \protect \noexpand \...
>
> \)->\relax \ifmmode \ifinner $
>                               \else \@badmath \fi \else \@badmath \fi 
> l.5 \(a + b = c\)
>                  
> [2] )
> (see the transcript file for additional information){/usr/local/texlive/2014/te
> xmf-dist/fonts/enc/dvips/base/8r.enc}</usr/local/texlive/2014/texmf-dist/fonts/
> type1/public/amsfonts/cm/cmmi9.pfb></usr/local/texlive/2014/texmf-dist/fonts/ty
> pe1/public/amsfonts/cm/cmr9.pfb></usr/local/texlive/2014/texmf-dist/fonts/type1
> /urw/times/utmb8a.pfb>
> Output written on main.pdf (2 pages, 23675 bytes).
> SyncTeX written on main.synctex.gz.
> Transcript written on main.log.
>
> TeX Output exited as expected with code 1 at Tue Jun  9 13:30:57
> Running `Preview-PDF2DSC' with ``pdf2dsc main.pdf main.prv/tmp4678jI2/preview.dsc''
>
> Preview-PDF2DSC finished at Tue Jun  9 13:30:57
> Running `Preview-Ghostscript' with ``/usr/local/texlive/2014/bin/x86_64-linux/rungs -dOutputFile\=\(main.prv/tmp4678jI2/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r96.0757x96.0504''
> Ghostscript filter: No bounding box

"Ghostscript filter" is an error message from the Emacs component of
preview-latex, probably coming from not being able to recognize the
error messages.  It would appear that the document classes here mess
with the error display from LaTeX, possibly by changing the
\errorcontextlines setting but maybe through other means.

It might be worth trying to put

\newcount\errorcontextlines

(making the original \errorcontextlines inaccessible) before
\documentclass in order to see whether this makes a difference.

-- 
David Kastrup




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

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


Received: (at 20773) by debbugs.gnu.org; 9 Jun 2015 11:59:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 09 07:59:24 2015
Received: from localhost ([127.0.0.1]:45815 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z2IBf-0002Pp-5G
	for submit <at> debbugs.gnu.org; Tue, 09 Jun 2015 07:59:24 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48032)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tsdh@HIDDEN>) id 1Z2IBc-0002Pf-84
 for 20773 <at> debbugs.gnu.org; Tue, 09 Jun 2015 07:59:22 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id D4DAF21AF9
 for <20773 <at> debbugs.gnu.org>; Tue,  9 Jun 2015 07:59:19 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute4.internal (MEProxy); Tue, 09 Jun 2015 07:59:19 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=wUEWvQ3AgBwvy7tN0zP/l+tBc2M=; b=bsyOF
 xqK8SR5CfUQlctWZUV+k9/4dK5xnnvZoA0DZoXtrQKKvOKPYf3Vyyxtqj4RzRa0x
 YoeUJ1skWmtqjl5HU22Or5+EZnMIyS7ZPtIqAJT9eDjmErQG98GcAExQ7nh1jwBP
 Z3WXa1fR8LTwdItux1Sw2wMMJs2nxskoqe7IMo=
X-Sasl-enc: 4/wvj5hqgNIlQW77cbq5wPKg1/nZfcY+tdpIQpLbaLuY 1433851159
Received: from thinkpad-t440p (unknown [2.160.96.197])
 by mail.messagingengine.com (Postfix) with ESMTPA id D359D6800C2;
 Tue,  9 Jun 2015 07:59:18 -0400 (EDT)
From: Tassilo Horn <tsdh@HIDDEN>
To: Alex Rozenshteyn <rpglover64@HIDDEN>
Subject: Re: bug#20773: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
References: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
Date: Tue, 09 Jun 2015 13:59:16 +0200
In-Reply-To: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
 (Alex Rozenshteyn's message of "Mon, 8 Jun 2015 16:45:13 -0400")
Message-ID: <87mw092iuj.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 20773
Cc: 20773 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: 0.3 (/)

Alex Rozenshteyn <rpglover64@HIDDEN> writes:

Hi Alex,

> Attempting to run `preview-document` on a file using
> \documentclass{sigplanconf} (found here:
> http://www.sigplan.org/sites/default/files/sigplanconf.cls)
> led me to discover the following unpleasant behavior:
>
> -----------------
> TeX Output exited as expected with code 1 at Mon Jun  8 16:09:46
> Running `Preview-PDF2DSC' with ``pdf2dsc main.pdf
> main.prv/tmp3331NDl/preview.dsc''
> Error: /undefinedfilename in --file--
> Operand stack:
>    PDFfile   (main.pdf)   (r)
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--
> --nostringval--   --nostringval--   false   1   %stopped_push   1910
> 1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3
> %oparray_pop   1787   1   3   %oparray_pop   --nostringval--
> %errorexec_pop   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--
> Dictionary stack:
>    --dict:1170/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
> Current allocation mode is local
> Last OS error: No such file or directory
> Current file position is 1822
> GPL Ghostscript 9.06: Unrecoverable error, exit code 1
>
> Preview-PDF2DSC exited abnormally with code 1 at Mon Jun  8 16:09:46
> PDF2DSC sentinel: Opening input file: no such file or directory,
> /tmp/baz/main.prv/tmp3331NDl/preview.dsc
> ---------------------
>
> but more often, ghostscript fails with
>
> --------------------
> Preview-PDF2DSC finished at Mon Jun  8 16:10:16
> Running `Preview-Ghostscript' with ``/usr/bin/gs
> -dOutputFile\=\(main.prv/tmp3331aNr/pr1-\%d.png\) -q -dDELAYSAFER
> -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4
> -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r104.616x104.588''
> Ghostscript filter: No bounding box
> --------------------

I get similar errors:

--8<---------------cut here---------------start------------->8---
Running `Preview-LaTeX' on `main' with ``pdflatex  -file-line-error  --synctex=1 "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" main.tex''
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 9 languages loaded.

No auxiliary output files.

(./main.tex (./sigplanconf.cls
Document Class: sigplanconf 2013/07/02 v2.8 ACM SIGPLAN Proceedings
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo))) (./main.aux)
(/usr/local/texlive/2014/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/preview.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/prtightpage.def)
(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/prauctex.def
No auxiliary output files.


(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/prauctex.cfg))
(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/prfootnotes.def)
Preview: Fontsize 9pt
Preview: PDFoutput 1
) (./formalism.tex (./formalism_atranslation.tex
./formalism_atranslation.tex:1: Preview: Snippet 1 started.
<-><->
      
\pr@msg ...rrhelp {Not a real error.}\errmessage <
                                                  }
\@firstofone #1->
                 #1
\@startsection ... {!!!!!!*[[!}{##1\pr@endbox }}{}
                                                  \pr@\@startsection 
\section ->\@startsection 
                          {section}{1}{0pt}{-\@sectionaboveskip }{\@sectionb...
l.1 \section
            {A-Normal Form}
Preview: Tightpage -32891 -32891 32891 32891
./formalism_atranslation.tex:1: Preview: Snippet 1 ended.(496694+13332x15728640
).
<-><->
      
\pr@msg ...rrhelp {Not a real error.}\errmessage <
                                                  }
\pr@endbox ...lineskip \box \pr@box }\pr@ship@end 
                                                  {\let \protect \noexpand \...
l.1 \section{A-Normal Form}
                           
[1{/usr/local/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]))
./main.tex:5: Preview: Snippet 2 started.
<-><->
      
\pr@msg ...rrhelp {Not a real error.}\errmessage <
                                                  }
\@firstofone #1->
                 #1
\(->\pr@protect@ship {\pr@endaftergroup }{}
                                           \pr@\( 
l.5 \(
      a + b = c\)
./main.tex:5: Preview: Snippet 2 ended.(409600+54612x2392548).
<-><->
      
\pr@msg ...rrhelp {Not a real error.}\errmessage <
                                                  }
\pr@endbox ...lineskip \box \pr@box }\pr@ship@end 
                                                  {\let \protect \noexpand \...

\)->\relax \ifmmode \ifinner $
                              \else \@badmath \fi \else \@badmath \fi 
l.5 \(a + b = c\)
                 
[2] )
(see the transcript file for additional information){/usr/local/texlive/2014/te
xmf-dist/fonts/enc/dvips/base/8r.enc}</usr/local/texlive/2014/texmf-dist/fonts/
type1/public/amsfonts/cm/cmmi9.pfb></usr/local/texlive/2014/texmf-dist/fonts/ty
pe1/public/amsfonts/cm/cmr9.pfb></usr/local/texlive/2014/texmf-dist/fonts/type1
/urw/times/utmb8a.pfb>
Output written on main.pdf (2 pages, 23675 bytes).
SyncTeX written on main.synctex.gz.
Transcript written on main.log.

TeX Output exited as expected with code 1 at Tue Jun  9 13:30:57
Running `Preview-PDF2DSC' with ``pdf2dsc main.pdf main.prv/tmp4678jI2/preview.dsc''

Preview-PDF2DSC finished at Tue Jun  9 13:30:57
Running `Preview-Ghostscript' with ``/usr/local/texlive/2014/bin/x86_64-linux/rungs -dOutputFile\=\(main.prv/tmp4678jI2/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r96.0757x96.0504''
Ghostscript filter: No bounding box

Preview-Ghostscript finished at Tue Jun  9 13:30:57
--8<---------------cut here---------------end--------------->8---

And sometimes this one:

--8<---------------cut here---------------start------------->8---
Running `Preview-LaTeX' on `main' with ``pdflatex  -file-line-error  --synctex=1 "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" main.tex''
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 9 languages loaded.

No auxiliary output files.

(./main.tex (./sigplanconf.cls
Document Class: sigplanconf 2013/07/02 v2.8 ACM SIGPLAN Proceedings
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo))) (./main.aux)
(/usr/local/texlive/2014/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/preview.sty
(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/prtightpage.def)
(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/prauctex.def
No auxiliary output files.


(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/prauctex.cfg))
(/usr/local/texlive/2014/texmf-dist/tex/latex/preview/prfootnotes.def)
Preview: Fontsize 9pt
Preview: PDFoutput 1
) (./formalism.tex (./formalism_atranslation.tex
./formalism_atranslation.tex:1: Preview: Snippet 1 started.
<-><->
      
\pr@msg ...rrhelp {Not a real error.}\errmessage <
                                                  }
\@firstofone #1->
                 #1
\@startsection ... {!!!!!!*[[!}{##1\pr@endbox }}{}
                                                  \pr@\@startsection 
\section ->\@startsection 
                          {section}{1}{0pt}{-\@sectionaboveskip }{\@sectionb...
l.1 \section
            {A-Normal Form}
Preview: Tightpage -32891 -32891 32891 32891
./formalism_atranslation.tex:1: Preview: Snippet 1 ended.(496694+13332x15728640
).
<-><->
      
\pr@msg ...rrhelp {Not a real error.}\errmessage <
                                                  }
\pr@endbox ...lineskip \box \pr@box }\pr@ship@end 
                                                  {\let \protect \noexpand \...
l.1 \section{A-Normal Form}
                           
[1{/usr/local/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]))
./main.tex:5: Preview: Snippet 2 started.
<-><->
      
\pr@msg ...rrhelp {Not a real error.}\errmessage <
                                                  }
\@firstofone #1->
                 #1
\(->\pr@protect@ship {\pr@endaftergroup }{}
                                           \pr@\( 
l.5 \(
      a + b = c\)
./main.tex:5: Preview: Snippet 2 ended.(409600+54612x2392548).
<-><->
      
\pr@msg ...rrhelp {Not a real error.}\errmessage <
                                                  }
\pr@endbox ...lineskip \box \pr@box }\pr@ship@end 
                                                  {\let \protect \noexpand \...

\)->\relax \ifmmode \ifinner $
                              \else \@badmath \fi \else \@badmath \fi 
l.5 \(a + b = c\)
                 
[2] )
(see the transcript file for additional information){/usr/local/texlive/2014/te
xmf-dist/fonts/enc/dvips/base/8r.enc}</usr/local/texlive/2014/texmf-dist/fonts/
type1/public/amsfonts/cm/cmmi9.pfb></usr/local/texlive/2014/texmf-dist/fonts/ty
pe1/public/amsfonts/cm/cmr9.pfb></usr/local/texlive/2014/texmf-dist/fonts/type1
/urw/times/utmb8a.pfb>
Output written on main.pdf (2 pages, 23675 bytes).
SyncTeX written on main.synctex.gz.
Transcript written on main.log.

TeX Output exited as expected with code 1 at Tue Jun  9 13:49:15
Running `Preview-PDF2DSC' with ``pdf2dsc main.pdf main.prv/tmp4678JCS/preview.dsc''
Error: /undefinedfilename in --file--
Operand stack:
   PDFfile   (main.pdf)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1967   1   3   %oparray_pop   1966   1   3   %oparray_pop   1950   1   3   %oparray_pop   1836   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1192/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 1822
GPL Ghostscript 9.16: Unrecoverable error, exit code 1

Preview-PDF2DSC exited abnormally with code 1 at Tue Jun  9 13:49:15
PDF2DSC sentinel: Opening input file: No such file or directory, /home/horn/tmp/spc/main.prv/tmp4678JCS/preview.dsc
--8<---------------cut here---------------end--------------->8---

This latter error is actually only caused by the file main.pdf not being
there which is pretty strange given that the Preview-LaTeX command's
output ended in

  Output written on main.pdf (2 pages, 23675 bytes).
  SyncTeX written on main.synctex.gz.
  Transcript written on main.log.

> I tried to replicate this with other filenames, but have not had
> success using "foo.tex" and "bar.tex", so I decided to send the actual
> filenames.

Indeed, the file names and includes are not relevant.  At least it works
fine when switching the document class from sigplanconf to article.

Unfortunately, I don't understand tex well enough to figure out what's
the problem here...

Bye,
Tassilo




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

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


Received: (at submit) by debbugs.gnu.org; 8 Jun 2015 20:45:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 08 16:45:50 2015
Received: from localhost ([127.0.0.1]:45493 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z23vY-000835-5f
	for submit <at> debbugs.gnu.org; Mon, 08 Jun 2015 16:45:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58474)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rpglover64@HIDDEN>) id 1Z23vU-00082S-PR
 for submit <at> debbugs.gnu.org; Mon, 08 Jun 2015 16:45:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rpglover64@HIDDEN>) id 1Z23vN-0001NC-T8
 for submit <at> debbugs.gnu.org; Mon, 08 Jun 2015 16:45:39 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36049)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rpglover64@HIDDEN>) id 1Z23vN-0001N5-Pm
 for submit <at> debbugs.gnu.org; Mon, 08 Jun 2015 16:45:37 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43747)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rpglover64@HIDDEN>) id 1Z23vM-0001Dz-Bf
 for bug-auctex@HIDDEN; Mon, 08 Jun 2015 16:45:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rpglover64@HIDDEN>) id 1Z23vK-0001LN-S7
 for bug-auctex@HIDDEN; Mon, 08 Jun 2015 16:45:36 -0400
Received: from mail-ig0-x236.google.com ([2607:f8b0:4001:c05::236]:36100)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rpglover64@HIDDEN>) id 1Z23vK-0001KJ-LY
 for bug-auctex@HIDDEN; Mon, 08 Jun 2015 16:45:34 -0400
Received: by igbpi8 with SMTP id pi8so71245937igb.1
 for <bug-auctex@HIDDEN>; Mon, 08 Jun 2015 13:45:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=CD1JMRIKyFQIWjXLT6pQ485XfQIsf1gNNwPTV7GCu5g=;
 b=uEPJdDuYEwL+IzVu7oXvLJ4P1NNh50ONci0y54h5f28ziqm+b4lkyZlTjzylMWCYin
 CgByWsN3TpEbP3xL18LZtJBDvJ/LoKG0T5sOZxGID7n+MKom4iD9OrvktHCpNJDQcn8S
 74AIo3ESR9h8RCXO8iMU03shWb2fXKBAX37iLJhrQfpIukItp+lsJXU8gFlQ26ao3AhE
 9yYG2w10ckYGvBUSLlgU08ITxxPIq5F2KA5jw0XimhOgRqHuID+YA+sUrcK/CUuKhMIG
 12U7d9jgR0MTo+yvGYzz1WN+PnjJdoDiPp1eUBvu3NQCBvZpmgDN7Trt3yOVhtIUe7pl
 z8Ug==
X-Received: by 10.50.50.210 with SMTP id e18mr15834013igo.0.1433796333805;
 Mon, 08 Jun 2015 13:45:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.192.196 with HTTP; Mon, 8 Jun 2015 13:45:13 -0700 (PDT)
From: Alex Rozenshteyn <rpglover64@HIDDEN>
Date: Mon, 8 Jun 2015 16:45:13 -0400
Message-ID: <CALm==BVOiExhvMgs2KvBXoo5hf_07NxBvZn6Z1yh7mYurMz3sg@HIDDEN>
Subject: 11.88.6;
 Preview fails on nested \include{} using \documentclass{sigplanconf}
To: bug-auctex@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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.8 (---)

Attempting to run `preview-document` on a file using
\documentclass{sigplanconf} (found here:
http://www.sigplan.org/sites/default/files/sigplanconf.cls)
led me to discover the following unpleasant behavior:

Imagine the document structure is as follows:

---     main.tex ---

\documentclass{sigplanconf}
\begin{document}
\input{formalism}
\end{document}

--- end main.tex ---

---     formalism.tex ---

\input{formalism_atranslation}

--- end formalism.tex ---

---     formalism_atranslation.tex ---

\section{A-Normal Form}

--- end formalism_atranslation.tex ---

When I run `preview-document` in "main.tex" (or in others if `TeX-master`
is set correctly.) I get one of two errors. On occasion, Preview-PDF2DSC
fails:

-----------------
TeX Output exited as expected with code 1 at Mon Jun  8 16:09:46
Running `Preview-PDF2DSC' with ``pdf2dsc main.pdf
main.prv/tmp3331NDl/preview.dsc''
Error: /undefinedfilename in --file--
Operand stack:
   PDFfile   (main.pdf)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   1910
1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3
%oparray_pop   1787   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1170/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 1822
GPL Ghostscript 9.06: Unrecoverable error, exit code 1

Preview-PDF2DSC exited abnormally with code 1 at Mon Jun  8 16:09:46
PDF2DSC sentinel: Opening input file: no such file or directory,
/tmp/baz/main.prv/tmp3331NDl/preview.dsc
---------------------

but more often, ghostscript fails with

--------------------
Preview-PDF2DSC finished at Mon Jun  8 16:10:16
Running `Preview-Ghostscript' with ``/usr/bin/gs
-dOutputFile\=\(main.prv/tmp3331aNr/pr1-\%d.png\) -q -dDELAYSAFER
-dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r104.616x104.588''
Ghostscript filter: No bounding box
--------------------

I tried to replicate this with other filenames, but have not had success
using "foo.tex" and "bar.tex", so I decided to send the actual
filenames.
------------------------------------------------------------------------



Emacs  : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-03-07 on trouble, modified by Debian
Package: 11.88.6

current state:
==============
(setq
 AUCTeX-date "2015-05-08"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex"
"/home/alex/.emacs.d/elpa/auctex-11.88.6/style"
                  "/home/alex/.emacs.d/auctex/auto"
"/home/alex/.emacs.d/auctex/style" "auto"
                  "style")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master "main"
 TeX-command-list '(("Rubber" "rubber -d %t" TeX-run-TeX nil (latex-mode))
                    ("TeX"
                     "%(PDF)%(tex) %(file-line-error) %(extraopts)
%`%S%(PDFout)%(mode)%' %t"
                     TeX-run-TeX nil (plain-tex-mode texinfo-mode
ams-tex-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
(latex-mode doctex-mode) :help
                     "Run LaTeX")
                    ("Makeinfo" "makeinfo %(extraopts) %t"
TeX-run-compile nil (texinfo-mode)
                     :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo %(extraopts) --html %t"
TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %(extraopts)
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX
                     nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(extraopts)
%(execopts)%t" TeX-run-TeX
                     nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(extraopts)
%(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
"Run BibTeX")
                    ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")
                    ("View" "%V" TeX-run-discard-or-function t t :help
"Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help "View
the printer queue"
                     :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
                     "Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t
:help "Create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil t :help
                     "Run xindy to create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help
                     "Check LaTeX file for correctness")
                    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil
(latex-mode) :help
                     "Check LaTeX file for common mistakes")
                    ("Spell" "(TeX-ispell-document \"\")"
TeX-run-function nil t :help
                     "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help "Run an
arbitrary command"))
 )




Acknowledgement sent to Alex Rozenshteyn <rpglover64@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#20773; 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.