[Top][All Lists]

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

[Bug-AUCTeX] 11.83; AucTeX does not recognize style when the master file

From: Guy Wiener
Subject: [Bug-AUCTeX] 11.83; AucTeX does not recognize style when the master file does not have \documentclass directly
Date: Fri, 13 Apr 2007 17:22:01 +0300

I use three files:
1. A general header file pres.tex which includes a declaration of the
\documentclass and some options
2. A master files master.tex which inputs the header file pres.tex and
the content file lect.tex
3. A content file lect.tex which includes the document itself, from
\begin{document} to \end{document}

I set the master file of lect.tex to be the master file master.tex
Under these conditions AucTeX does not recognize the style of the
content file.

Thanks, Guy Wiener.

Emacs  : GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll
 of 2006-09-15 on rothera, modified by Debian
Package: 11.83

current state:
 AUCTeX-date "2006-06-07"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto"
 TeX-auto-save nil
 TeX-parse-self t
 TeX-master "master"
 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 
                                        ("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 
                                         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")
                                        ("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 
                                         "View the printer queue" :visible 
                                        ("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 
                                        ("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")

===File ~/Workshop/beamer-bug/lect.tex======================

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "master"
%%% End: 

===File ~/Workshop/beamer-bug/master.tex====================

===File ~/Workshop/beamer-bug/pres.tex======================


reply via email to

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