[Top][All Lists]

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

[Bug-AUCTeX] Automatic parsing fails due to verbatim environments

From: Harald von Aschen
Subject: [Bug-AUCTeX] Automatic parsing fails due to verbatim environments
Date: Thu, 03 Jul 2008 13:41:00 +0200


Sorry, this is an old Bug (as given in manual C.3 Bugs: "AUCTeX should not parse verbatim environments").

When putting \usepackage commands in a verbatim environment AUCTeX fails with parsing, e.g. here: After compiling, with C-c C-c there should start the viewer
  yap -1  "filename.dvi"
Instead, AUCTeX detects "PostScript"-code which cannot displayed by a DVI-viewer and starts
  dvips "filename.dvi" -o && start "" "filename.ps"

Below is an example for this behaviour. Problem is the package pst-eps. Please press C-c C-n after inserting the example, otherwise AUCTeX is working correctly.

Used System:
System: Windows XP 64bit, MikTeX 2.7

Emacs  : GNU Emacs (i386-mingw-nt5.2.3790)
 of 2008-03-08 on HARRY
Package: 2008-03-12

current state:
 AUCTeX-date "2008-03-12"
 window-system 'w32
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" "c:/Programme/Emacs/site-lisp/auctex/style"
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t


\section{Example parsing}
\usepackage{pst-eps} %This switches AUCTeX to dvips
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

Best regards, Harald

reply via email to

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