[Top][All Lists]

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

[Bug-AUCTeX] [Sanjoy Mahajan <address@hidden>] Bug#597006: auctex: runs

From: Davide G. M. Salvetti
Subject: [Bug-AUCTeX] [Sanjoy Mahajan <address@hidden>] Bug#597006: auctex: runs ConTeXt with incorrect --engine switch
Date: Fri, 17 Sep 2010 17:26:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

forwarded 597006 address@hidden

[Please, keep address@hidden in Cc.]


the following bug has been reported with the Debian bug tracking
system.  I believe it should be evaluated upstream.

Thanks, Davide
--- Begin Message --- Subject: Bug#597006: auctex: runs ConTeXt with incorrect --engine switch Date: Wed, 15 Sep 2010 14:32:57 -0400
Package: auctex
Version: 11.86-1
Severity: normal
File: /usr/share/emacs/site-lisp/auctex/tex.el

Running ConTeXt (with C-c C-c <RET>) produces this command in the output

  Running `ConTeXt' on `a' with ``texexec --once --texutil 
--engine=ConTeXt-engine --interface=en --nonstop a.tex''

However, that command line produces 0 pages of output (the log contains
"TeXExec | no ctx file found.").  The culprit is the
--engine=ConTeXt-engine switch, which should be absent or something like

The following diff fixes the problem for me (after recompiling to make
new tex.elc files in both the emacs/site-lisp and emacs23/site-lisp

--- /usr/share/emacs/site-lisp/auctex/tex.el.orig       2010-08-27 
11:06:48.000000000 -0400
+++ /usr/share/emacs/site-lisp/auctex/tex.el    2010-09-15 14:20:51.000000000 
@@ -1214,10 +1214,10 @@
 ;;; Engine
 (defvar TeX-engine-alist-builtin
-  '((default "Default" TeX-command LaTeX-command ConTeXt-engine)
+  `((default "Default" ,TeX-command ,LaTeX-command ,ConTeXt-engine)
     (xetex "XeTeX" "xetex" "xelatex" "xetex")
     (luatex "LuaTeX" "luatex" "lualatex" "luatex")
-    (omega "Omega" TeX-Omega-command LaTeX-Omega-command ConTeXt-Omega-engine))
+    (omega "Omega" ,TeX-Omega-command ,LaTeX-Omega-command 
   "Alist of built-in TeX engines and associated commands.
 For a description of the format see `TeX-engine-alist'.")

-- Package-specific info:

Attachment: txtkhuYeifRSr.txt
Description: Bug script output

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages auctex depends on:
ii  debconf [debconf-2.0]     1.5.35         Debian configuration management sy
ii  dpkg                   Debian package management system
ii  emacs22                   22.3+1-1.2+b1  The GNU Emacs editor
ii  emacs23                   23.2+1-4       The GNU Emacs editor (with GTK+ us
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  make                      3.81-8         An utility for Directing compilati
ii  preview-latex-style       11.86-1        extraction of elements from LaTeX 

Versions of packages auctex recommends:
ii  doc-base                    0.9.5        utilities to manage online documen
ii  epdfview [pdf-viewer]       0.1.7-4      Lightweight pdf viewer based on po
ii  evince [pdf-viewer]         2.30.3-1     Document (postscript, pdf) viewer
ii  ghostscript                 8.71~dfsg2-6 The GPL Ghostscript PostScript/PDF
ii  gv [pdf-viewer]             1:3.7.1-1    PostScript and PDF viewer for X
ii  texlive-latex-recommended   2009-10      TeX Live: LaTeX recommended packag
ii  xpdf [pdf-viewer]           3.02-11      Portable Document Format (PDF) rea
ii  xpdf-reader                 3.02-11      Transitional package for xpdf

Versions of packages auctex suggests:
pn  catdvi                        <none>     (no description available)
ii  dvipng                        1.13-1     convert DVI files to PNG graphics
ii  lacheck                       1.26-12    A simple syntax checker for LaTeX

-- debconf information:
  auctex/doauto: Background
  auctex/logfile: /var/log/auctex.log
  auctex/doautofg: File

--- End Message ---

reply via email to

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