Ok, so since switching to Mint I had to reinstall all software programs including TeX Live. I forgot that I had installed the latest version TeX Live 2012 in Ubuntu from this post so I just installed from the repositories which is version 2009 (uses the same or similar repositories as Ubuntu) for Mint 13.
I was trying to compile a .tex file in Kile when I received an error stating that the bigints.sty could not be found. Now there are a few ways to solve this. One is to install TeX Live 2012 which is what I did before. Two is to download and install the bigints.sty file from
http://www.tex.ac.uk/CTAN/macros/latex/contrib/bigints/
or
http://www.ctan.org/tex-archive/macros/latex/contrib/bigints
and then place it into the directory of the file you are compiling. This is a per file thing. if you want to install universally you can either install into the directory (for me at least) /usr/local/share/texmf/ where I found to go onto /usr/local/share/texmf/tex/latex. It is then suggested to create a folder named after whatever the file name is. So in this case something like /usr/local/share/texmf/tex/latex/bigints. However, I could not create a folder in Nautilus probably because I am not logged in as admin. I tried to open a terminal and did su and typed in my password and went back to Nautilus with no luck. I didn't feel like looking up the commands to do this in the terminal which would have probably worked fine especially since I saw an alternative I could try. This alternative is to create the same file structure in your home directory. This is useful especially if you DON'T have access as an admin. So I created ~texmf/tex/latex/bigints and placed the .sty file there. Oh, I also saw where you might have to run texhash which I did through Kile's built in Konsole. Viola! It worked!
I also noticed that there is a texmf-texlive file under the share folder so this might be a possibility as well if the other route through just texmf doesn't work.
Found help from the following links:
http://www.volkerschatz.com/tex/tpacks.html
http://tex.stackexchange.com/questions/39771/finding-a-ubuntu-package-for-a-sty-file
http://stackoverflow.com/questions/1911713/add-find-style-files-in-to-latex
http://ubuntuforums.org/showthread.php?t=334047
No comments:
Post a Comment