[Top][All Lists]

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

[Bug-AUCTeX] 11.81; File type not recognized

From: Peter Dyballa
Subject: [Bug-AUCTeX] 11.81; File type not recognized
Date: Fri, 7 Oct 2005 11:39:29 +0200


I have a few XeTeX files (from dired):

  -rw-r--r--    1 pete  pete         8  4 Jul 22:02 Will-Test.aux
  -rw-r--r--    1 pete  pete      3927  4 Jul 22:02 Will-Test.log
  -rw-r--r--    1 pete  pete      5607  4 Jul 22:02 Will-Test.pdf
  -rw-r--r--    1 pete  wheel      301 25 Jun 23:08 Will-Test.tex
  -rw-r--r--    1 pete  pete         8  4 Jul 22:02 XeLaTeX-Bruch.aux
  -rw-r--r--    1 pete  pete      2362  4 Jul 22:02 XeLaTeX-Bruch.log
  -rw-r--r--    1 pete  pete      7029  4 Jul 22:02 XeLaTeX-Bruch.pdf
  -rw-r--r--    1 pete  pete       172  4 Mai 14:03 XeLaTeX-Bruch.tex
-rw-r--r-- 1 pete pete 1000 4 Jul 22:02 XeTeX-Zeilenabstand.log -rw-r--r-- 1 pete pete 16047 17 Feb 2005 XeTeX-Zeilenabstand.pdf -rw-r--r-- 1 pete wheel 760 4 Mai 14:03 XeTeX-Zeilenabstand.tex lrwxr-xr-x 1 pete pete 74 21 Jul 12:09 XeTeX-notes.tex -> /usr/local/teTeX/share/texmf.local/doc/xetex/XeTeX-samples/XeTeX- notes.tex
  drwxr-xr-x    4 pete  pete       136  5 Okt 21:51 auto

When the cursor is on Will-Test.tex, XeLaTeX-Bruch.tex, or XeTeX-Zeilenabstand.tex and I press v the buffer opened is in PostScript view mode. When the cursor is on XeTeX-notes.tex it opens in PDFLaTeX mode. The other three XeTeX files have a header for TeXShop à la:

        %!TEX TS-program = xelatex
        %!TEX encoding = UTF-8 Unicode


        %!TEX encoding = UTF-8 Unicode

This seems to be more a regular GNU Emacs bug assuming every file starting with %! is PostScript, doesn't it?

Emacs : GNU Emacs (powerpc-apple-darwin7.9.0, X toolkit, Xaw3d scroll bars)
 of 2005-10-03 on Latsche.local
Package: 11.81

current state:
 AUCTeX-date "2005-09-25"
 window-system 'x
 LaTeX-version "2e"
TeX-style-path '("style" "auto" "/Library/Application Support/Emacs/auctex/style"
 TeX-auto-save t
 TeX-parse-self t
 TeX-master nil
TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil (plain-tex-mode texinfo-mode ams-tex-mode)
                     :help "Run plain TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("XeTeX" " xetex \"%(mode)\\input %t\"" TeX-run-TeX nil
                     (plain-tex-mode context-mode))
                    ("XeLaTeX" "xelatex \"%(mode)\\input{%t}\"" TeX-run-TeX nil
                     (latex-mode context-mode))
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil (texinfo-mode)
                     :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t" 
                     nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt until completion")
                    ("ConTeXt Clean" "texutil --purgeall" TeX-run-interactive 
                     (context-mode) :help "Clean temporary ConTeXt files")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run 
                    ("View" "%V" TeX-run-discard 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")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help
                     "Check LaTeX file for correctness")
                    ("Spell" "<ignored>" TeX-run-ispell-on-document nil t :help
                     "Spell-check the document")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")

Mit friedvollen Grüßen


We are usually convinced more easily by reasons we have found ourselves than by those which have occurred to others.
(Blaise Pascal)

reply via email to

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