[Tex/LaTex] How to upgrade ‘biblatex’ properly

biblatexinstalling

I use TeXLive 2012 under Ubuntu 12.10. I would like to upgrade biblatex to the
latest version (2.3). I tried the following:

  1. download and unpack .tar.gz from
    https://github.com/plk/biblatex/downloads
  2. put content in local TeX tree /usr/local/texlive/texmf-local:
    • put ./tex/latex/biblatex in /usr/local/texlive/texmf-local/tex/latex
    • put ./bibtex in /usr/local/texlive/texmf-local (replace the existing "bibtex" there)
  3. mktexlsr (i.e., texhash)

When compiling documents, I suddenly obtain:

/usr/local/texlive/2012/../texmf-local/tex/latex/biblatex/biblatex.sty:87: Miss
ing number, treated as zero.
<to be read again> 
                   D
l.87 

? 

I checked back with the README and I have all other required (and strongly
recommended packages). How is upgrading of biblatex done properly?

Best Answer

  1. From SourceForge download biber v.1.4 (http://sourceforge.net/projects/biblatex-biber/)
  2. From SourceForge download biblatex v.2.4. (http://sourceforge.net/projects/biblatex/)
  3. Create two temp dirs: mkdir tempbb && mkdir tempbl
  4. Uncompress biber-linux_x86_32.tar.gz to the temp directory: tar -zxvf biber-linux_x86_32.tar.gz -C tempbb/
  5. Uncompress biblatex-2.4.tds.tgz to the temp directory: tar -zxvf biblatex-2.4.tds.tgz -C tempbl/
  6. Move the contents of the files in the tempbl temp directory to /usr/local/texlive/2012/texmf-dist/ thus: sudo rsync -azvv tempbl/ /usr/local/texlive/2012/texmf-dist/
  7. Move the biber bin from your temp directory to /usr/local/texlive/2012/texmf-dist/ thus: sudo rsync -azvv tempbl/ /usr/local/texlive/2012/bin/i386-linux/
  8. Run mktexlsr
  9. Test that everything is working fine.