bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 2005-06-10; `TeX-ispell-document' for multifile doc in diff


From: Franz Haeuslschmid
Subject: [Bug-AUCTeX] 2005-06-10; `TeX-ispell-document' for multifile doc in different directories
Date: Sat, 11 Jun 2005 20:07:47 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, windows-nt)

Dear bug-fixing team,

the behavior I'm going to describe as bug may be related to what
was earlier noticed in <URL:news:address@hidden>
respective
<URL:http://article.gmane.org/gmane.emacs.auctex.general/229>.

The problem is, that `TeX-ispell-document' may only check the
current buffer, when the TeX files belonging to a document are
placed in different directories.  As an example, consider the
following TeX files:

,----[ master.tex ]
| \documentclass{article}
| \usepackage{acronym}
| \begin{document}
| 
| blafasel
| 
| \include{slaves/slave}
| 
| \end{document}
| 
| %%% Local Variables: 
| %%% mode: latex
| %%% TeX-master: t
| %%% End: 
`----

,----[ slaves/slave.tex ]
| 
| blub
| 
| %%% Local Variables: 
| %%% mode: latex
| %%% TeX-master: "../master"
| %%% End: 
`----


Evaluating `TeX-ispell-document' in either file will only check
the spelling of the currently open file, instead of checking the
whole document.  It may also be related, that the file name
completion for macro arguments, e.g. triggered by `C-c RET
includegraphics', works only well for the master file or other
document files that reside in the same directory as the master.

Franz.

Emacs  : XEmacs 21.4 (patch 17) "Jumbo Shrimp" [Lucid] (i586-pc-win32) of Fri 
Apr 22 2005 on PAN
Package: 2005-06-10

current state:
==============
(setq
 AUCTeX-date "2005-06-10"
 window-system 'mswindows
 LaTeX-version "2e"
 TeX-style-path '("style" "auto"
                  "d:\\Src\\Build\\XEmacs\\site-packages\\etc\\auctex\\style"
                  "d:\\Src\\Build\\XEmacs\\var\\auctex\\")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("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"
                     TeX-run-TeX 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
                     nil (context-mode) :help "Clean temporary ConTeXt files")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("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")
                    )
 )





reply via email to

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