Ralf Angeli
Sun, 27 Dec 2009 08:06:53 -0800
* Friedericksen Hope (2009-12-26) writes: > I am trying Sweave with Auctex and while I was searching for a way to > integrate sweave into the usual auctex compiling cycle (C-c C-c), I found > some earlier postings quotet below (unfortunately I am > not able to refer to this posting directly, but here is a link: > http://thread.gmane.org/gmane.emacs.auctex.general/2106 ). > > As a newbie I tried to implement your comment, Ralf, but unfortunately it > does not work. To make "LatexSweave" working I tried: > > (add-to-list 'TeX-command-list > '("LatexSweave" "%l \%(mode)\\input{%s}\" > TeX-run-TeX nil t :help "Run Latex after > Sweave") t) > > but that doesn't work, also I remove the quotation marks around %(mode) as > suggested. (I guess, I removed them uncorrectly). I really would be grateful, > if someone could give me a hint.
Use %(mode) instead of \%(mode), i.e. don't escape the percent sign. -- Ralf _______________________________________________ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex