BibLaTeX Ubuntu – Complete BibLaTeX Example from Start to End

biblatexUbuntu

I've just joined this site and recently started using LaTeX so please excuse me if I come across as a little naive of anything.

I installed TexMaker in Windows 7 and tried to follow this example: "awesome" example from Cambridge University (as well as many others tutorials) to simply make use of the Harvard style of references. However this did not work.

So I've instead decided to use Ubuntu 12.04 as an OS and install every package so that I know I'm not missing anything I "might" need. Here is what I've done so far:

sudo apt-get install texlive-full
sudo apt-get install texmaker

That first step took forever to run and killed almost 2gigs of my hardisk space. However even after installing every single package possible I still can not run this above example from Cambridge. As I get the following error:

LaTeX Error: File biblatex.sty not found.

The "official documentation" is also far too long too read, but strangely doesn't even deal with the essentials, like how to set it up in x number of steps. But instead focuses on such things that hardly anybody would ever use.

Can anybody help me out on how to do a simple Harvard Reference for an assignment?

Best Answer

@jon, thanks for the tips (and everybody else). I was able to piece it all together with all your guy's help. For anybody else reading this this is what you need to do to get the latest version of LaTeX working w/ biblatex (something you need if you're wanting to use references)

Steps to take to install LaTeX and Biblatex so that you can use references in your documents. (this is using Ubuntu, Linux)

  1. Download and extract the needed file wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
  2. Extract that compressed file tar -zxvf install-tl-unx.tar.gz
  3. Go into the directory and run the script file as SUDO sudo ./install-tl
  4. After downloading many different files (the install process took me about 20 minutes, so go make yourself a cup of tea) you should have this setup. You will then need to update your PATH variable to include the location of where LaTeX is installed to. Add the following to your ~/.profile export PATH=/usr/local/texlive/2012/bin/x86_64-linux:$PATH NOTE: your last directory might be different. Mine was "x86_64-linux" but you should first check to see if that exists. (Also don't forget to close your shell and reopen it so that the changes to the PATH settings are added)

You are now completed with the set up process. Time to actually write out a damn Tex document now.

Please download this fully working example file http://pastebin.com/download.php?i=fLWQ93Ly. Save that file to your local disk as the following filename "test1.tex" and run the following in your shell:

  1. pdflatex test1.tex (This will generate a few warnings, but you can ignore them)
  2. biber test1
  3. pdflatex test1.tex (This will then generate a PDF file for you which should look like this: image description here)

Please let me know if anybody has any troubles with this.