FS#29604 - [r] .sty files are not found by latex

Attached to Project: Arch Linux
Opened by Jakob Gruber (schuay) - Tuesday, 24 April 2012, 21:06 GMT
Last edited by Ronald van Haren (pressh) - Saturday, 30 June 2012, 06:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

\usepackage{Sweave} does not find Sweave.sty.

Somewhat related:

http://stackoverflow.com/questions/2940756/ess-auctex-sweave-integration

Additional info:
* package version(s)

r 2.15.0-1

* config and/or log files etc.

Steps to reproduce:

1. Install r and texlive-core
2. run 'R CMD Sweave tmp'
3. run 'pdflatex tmp.tex'
   tmp (0.6 KiB)
This task depends upon

Closed by  Ronald van Haren (pressh)
Saturday, 30 June 2012, 06:50 GMT
Reason for closing:  Implemented
Additional comments about closing:  2.15.1-2
Comment by Jakob Gruber (schuay) - Tuesday, 24 April 2012, 21:10 GMT
Other .sty files included in the r package are probably also affected.

r /usr/share/R/texmf/tex/latex/Rd.sty
r /usr/share/R/texmf/tex/latex/Sweave.sty
r /usr/share/R/texmf/tex/latex/upquote.sty

According to Remy, "the tex files from R should be installed in the appropriate place", similar to the asymptote package.

"Either the R's texmf path could be included in TeX paths, or R could install its tex files in the common place. asymptote installs its tex files in the common directory"
Comment by Allan McRae (Allan) - Saturday, 30 June 2012, 01:24 GMT
Can we please not add texlive-bin as a dep here...

For the install file, just wrap the texlive update bit in:

if [[ -x /usr/bin/mktexlsr ]]; then
echo ">>> updating the filename database for texlive..."
mktexlsr --quiet usr/share/texmf
fi

and add texlive-bin as an optdepends.

Loading...