[R-sig-Debian] Adding R's texmf to tetex's texmf

Gorjanc Gregor Gregor.Gorjanc at bfro.uni-lj.si
Sun May 29 23:59:12 CEST 2005


Hello!

I use Sweave for a report and up to now I always copied Sweave.sty to
a folder where I have the report. But this can be done better (or did 
I miss anything) with 

* extension of TEXMF variable in texmf/web2c/texmf.cnf or 

* linking /usr/lib/R/share/texmf to somewhere in /usr/share/texmf

I tried with the following and I didn't need to put Sweave.sty in
folder with a report:

cd /usr/share/texmf/tex/latex
mkdir R
cd R
ln -s /usr/lib/R/share/texmf/Sweave.sty
# This two are not really needed but to do everything
ln -s /usr/lib/R/share/texmf/Rd.sty
ln -s /usr/lib/R/share/texmf/upquote.sty
# Rebuild TeX database
texhash

Could this be added in postinstall script for debian package?

I am not sure if this is also OK/enough for pdflatex or any other
"TeX" tools. 

Any comments?

Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana
Biotechnical Faculty        URI: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department     mail: gregor.gorjanc <at> bfro.uni-lj.si
Groblje 3                   tel: +386 (0)1 72 17 861
SI-1230 Domzale             fax: +386 (0)1 72 17 888
Slovenia, Europe
----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.



More information about the R-SIG-Debian mailing list