Skip to content
Prev 8134 / 15076 Next

building a package on a Mac: pdflatex

Hi Federico,
On Jul 5, 2011, at 18.51 , Federico Calboli wrote:

            
My environment is different to yours, but these may help:

1. Add this line to (or create a new file) ~/.profile

test -d /usr/local/texlive/2010 && PATH=/usr/local/texlive/2010/bin/x86_64-darwin:$PATH &&
                            MANPATH=/usr/local/texlive/2010/texmf/doc/man:$MANPATH

2. Edit R

#!/bin/sh
# Shell wrapper for R executable.

export PATH=/usr/local/texlive/2010/bin/x86_64-darwin:$PATH  # THIS IS THE ADDED LINE

R_HOME_DIR=/sw/Library/Frameworks/R.framework/Resources
if test "${R_HOME_DIR}" = "/sw/Library/Frameworks/lib/R"; then


--
BABA Yoshihiko
Urban Design Laboratory, Tokyo University