[Fwd: Re: reftex and noweb (file extension?)]
markus.jantti at iki.fi
Fri Jul 19 19:28:13 CEST 2002
On Fri, 2002-07-19 at 18:45, A.J. Rossini wrote:
> >>>>> "markus" == Markus Jäntti <markus.jantti at iki.fi> writes:
> markus> FYI -- the reply from Carsten Dominik, author of reftex, to my query
> markus> about reftex and noweb.
> RefTeX does a bit of parsing at the beginning, if I recall correctly
> (might not). Anything that needs initialization is broken on any of
> the current variations of Thorsten Ohl's Noweb mode (which includes
> the "usual" one, as well as ESS's hacked version).
> I've got another version of Noweb mode, quite, quite slick, which only
> works on XEmacs (so we don't distribute it).
> I don't have time to check it for a while (other things like the next
> release of ESS have more priority) but could ship it to people if
> they'd like to see if it plays well with RefTeX.
i'll test the other version of noweb mode. i'd like to use noweb with
Sweave, but reftex is a fairly central tool, so if it doesn't work
with noweb, i won't use it.
> Best yet would be a rewrite of noweb-mode to use mmm-mode (multi mode
> tool thingy), but that's not happening for a bit.
> On the other hand, it might just be the name extension thing. But
> that doesn't make as much sense to me. I wish I had time today to
> read code...
i do suspect the filename extension stuff. i attach the message i sent
top carsten dominick. it seems that reftex is treating the added
extensions differently than the native ones (which are .tex and .ltx).
From: Markus Jäntti <markus.jantti at iki.fi>
To: dominik at strw.LeidenUniv.nl
Subject: reftex and noweb (file extension?)
Date: 19 Jul 2002 15:01:17 +0300
Hi -- I am trying to use reftex with auctex and bib-cite together with
noweb (under Emacs Speaks Statistics, to complicate matters further).
I fail to get reftex to use, for instance, the bibliography
information, so inserting \cite's fails.
Digging a little into this, it seemed that setting
(reftex-file-extensions (quote (("tex" ".tex" ".ltx" ".nw") ("bib"
in the .xemacs/custom.el file might help. However, this does not help.
The test file I have created is tmp.nw:
x <- runif(100)
Parsing this file and saving the results create the file tmp.nw.rel:
;; RefTeX parse info file
;; File: /home/markus/lib/cvs/common/tmp.nw.tex
;; User: markus (Markus Jäntti)
(set reftex-docstruct-symbol '(
(xr nil "\\\\\\\\\\\\")
(master-dir . "/home/markus/lib/cvs/common/")
The problem would thus seem to be with the name extention,
but I am unable to get reftex to recognize the extension
".nw". I wonder if you could help?
> 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.)
Statistics Finland and University of Tampere
markus.jantti at iki.fi
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