reftex and noweb -- solution

A.J. Rossini rossini at blindglobe.net
Mon Jul 22 15:25:38 CEST 2002


Thanks for tracing this down.  I'll add stuff to ess-site and perhaps
to the docs.  

Still need to get someone to run the FAQ -- I know a few of you
offerred, but I can't seem to get it to the next step (someone else
will have to take the initiative).

best,
-tony

>>>>> "markus" == Markus Jäntti <markus.jantti at iki.fi> writes:

    markus> To those who, like me, wand to edit files for Sweave mode
    markus> using ess, noweb, AUCTeX, bibcite and reftex:

    markus> The author of reftex, Carsten Dominick, suggested (see forwarded
    markus> message below) that the variable reftex-file-extensions be set in
    markus> .xemacs/init.el as follows (along with a modification for auctex):

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

    markus> this works for me using the noweb-mode that is distributed with
    markus> ess.

    markus> ( in the sense that reftex parses the file correctly
    markus> and all commands i have tried so far generate expected results...)

    markus> hope someone may find this helpful. 

    markus> markus

    markus> -----Forwarded Message-----

    markus> From: Carsten Dominik <dominik at astro.uva.nl>
    markus> To: Markus Jäntti <markus.jantti at iki.fi>
    markus> Subject: Re: reftex and noweb (file extension?)
    markus> Date: 22 Jul 2002 12:20:29 +0200

>>>>> "n" == ntti  <Markus> writes:

    n> On Fri, 2002-07-19 at 15:53, Carsten Dominik wrote:
    >>> 
    >>> 
    >>> Hi,
    >>> 
    >>> RefTeX currently does not work with noweb files.  I don't know why -
    >>> it is on my list.

    n> Hi -- thanks for the swift reply. It would be nice to be able
    n> to use reftex with noweb, but in the absence of any actual
    n> coding help, the options include waiting.


    markus> I just looked at it again, and for me the following seems to work:


    markus> (setq reftex-file-extensions '(("nw" "tex" ".tex" ".ltx") ("bib"
    markus> ".bib")))

    markus> If you are running AUCTeX, you need to add also the nw extension to
    markus> AUCTeX's loist of file extensions.

    markus> (setq TeX-file-extensions '( "nw" "tex" "sty" "cls" "ltx" "texi"
    markus> "texinfo"))


    markus> Let me know if this does the trick for you - I have not extensively
    markus> tested it.

    markus> - Carsten

    markus> --
    markus> Carsten Dominik <dominik at astro.uva.nl>          \ _ /
    markus> Sterrenkundig Instituut "Anton Pannekoek"        |X|               _
    markus> Kruislaan 403; NL-1098 SJ Amsterdam             /| |\   _  _     _/ \
    markus> phone +31 (20) 525-7477; FAX +31 (20) 525-7484 __|o|___
    markus> -- 
    markus> Markus Jantti
    markus> Statistics Finland and University of Tampere
    markus> markus.jantti at iki.fi
    markus> http://www.iki.fi/~mjantti

    markus> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    markus> ess-help mailing list -- To (un)subscribe, send
    markus> subscribe	or	unsubscribe
    markus> (in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
    markus> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini at u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
(my tuesday/wednesday/friday locations are completely unpredictable.)



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list