bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 11.82; TeX-master-file-ask for *.Rnw files


From: Patrick Drechsler
Subject: [Bug-AUCTeX] 11.82; TeX-master-file-ask for *.Rnw files
Date: Wed, 17 May 2006 00:02:19 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

Hello,

is there a way to get the command `TeX-master-file-ask' to work
for *.Rnw files?

When typing `C-_' within a *.Rnw file I'm prompted for the master
file. But nothing is displayed at the bottom of the *.Rnw
file. It works as documented for *.tex files.

I already have the following in my ~/.emacs configuration:

,----
| (setq reftex-file-extensions
|       '(("Rnw" ".Rnw" "nw" "tex" ".tex" ".ltx") ("bib" ".bib")))
| (setq TeX-file-extensions
|       '("Rnw" "nw" "tex" "sty" "cls" "ltx" "texi" "texinfo"))
`----

Regards

Patrick


Emacs  : GNU Emacs 22.0.50.3 (i686-pc-linux-gnu, GTK+ Version 2.8.6)
 of 2006-05-14 on trurl
Package: 11.82

current state:
==============
(setq
 AUCTeX-date "2005-12-17"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto"
                  "/usr/local/share/emacs/site-lisp/auctex/style"
                  "/usr/local/var/auctex")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("acro" "/usr/bin/acroread %s.pdf" TeX-run-command
 nil t)
                    ("ps4pdf" "/usr/local/bin/ps4pdf %s"
 TeX-run-command nil t)
                    ("clean"
                     "rm %s.bm %s.log *.aux %s.out %s.lof %s.lot
 %s.toc %s.bbl %s.blg %s.dvi %s.ps %s.2.ps %s.pdf" TeX-run-command nil
 t)
                    ("Clean"
                     "rm %s.log $s.aux %s.out %s.brf %s.brf %s.cb
 %s.cb2 %s.exa %s.ilg %s.idx %s.ind %s.lof %s.lot %s.toc %s.bbl %s.blg
 %s.dvi %s.ps %s.2.ps %s.pdf %s.nav %s.snm %s.cb %s.cb2 %s.fff %s.ttt
 %s.rel" TeX-run-command nil t)
                    ("dvi2pdf"
                     "dvips -Ppdf -G0 -sPAPERSIZE=a4 %s.dvi && ps2pdf
 -dAutoRotatePages=/None %s.ps" TeX-run-command nil t)
                    ("A_dvi2pdf"
                     "dvips -Ppdf -G0 -sPAPERSIZE=a4 %s.dvi && ps2pdf
 -dAutoRotatePages=/None %s.ps && /usr/bin/acroread %s.pdf"
 TeX-run-command nil t)
                    ("ps2pdf" "ps2pdf -dAutoRotatePages=/None %s.ps"
                     TeX-run-command nil t)
                    ("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")
                    )
 )

-- 
Black Holes result from God 
dividing the universe by zero.





reply via email to

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