|
From: | NOGUET Dominique |
Subject: | [AUCTeX] Local Variable ignored |
Date: | Wed, 22 Aug 2012 12:57:21 +0000 |
Hello, In order to specify a master file, I'm using local variables. That is: I have (setq-default TeX-master nil) in my xemacs init file, and
%%% Local Variables: %%% mode: latex %%% TeX-master: "hdr" %%% End: at the end of the child files. When I open the file and check the value of TeX-master variable (M-? v), the value is nil. I tried to create a new document. I was promted to set the TeX-master value. Entered "hdr". The local values were inserted just as I did by hand in the old file (example above). Checked the value of TeX-master variable, the value was hdr. Closed the file and opened it again, and the variable value was reset to nil. I have the same behaviour when I execute (setq TeX-master "hdr") from the minibuffer. The variable is set to the right value until I close the file. It looks like my local variable is invisible for Auctex when it parses the file. Any clue? I miss this multifile feature that I used to work with in earlier versions of xemacs/auctex. Thanks, Dominique Emacs : XEmacs 21.4 (patch 22) "Instant Classic" [Lucid] (i586-pc-win32) of Tue Jan 06 2009 on VSHELTON-PC2 Package: 11.84 current state: ============== (setq AUCTeX-date "2007-01-12" window-system 'mswindows LaTeX-version "2e" TeX-style-path '("c:\\Program Files (x86)\\XEmacs\\site-packages\\etc\\auctex\\auto/" "c:\\Program Files (x86)\\XEmacs\\site-packages\\etc\\auctex\\style" "d:\\.emacs.d\\auctex\\auto" "d:\\.emacs.d\\auctex\\style" "auto" "style") TeX-auto-save t TeX-parse-self t TeX-master "hdr" TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %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)%' %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") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("View" "%V" TeX-run-discard-or-function 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" "(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")) ) |
[Prev in Thread] | Current Thread | [Next in Thread] |