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
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
|
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' |
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
Saturday, 30 June 2012, 06:50 GMT
Reason for closing: Implemented
Additional comments about closing: 2.15.1-2
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"
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.