2

Due to compatibility issues with my template files, I have to use previous versions of Biber 2.3 and BibLaTeX 3.2 (MacTeX 2016), which I downloaded from source forge. But I have found no install instruction I could understand, and the forum and support are now gone from sourceforge. I have used TeXlive so far, so I don't know how to manually install them.

Update: I realize now by comments that previous versions may not be fully supported by new distribution in the long run.

Nhaps
  • 117
  • I guess it should be as for TeX Live, in your TeXMF-local directory, and respecting the TDS (ie. copy the directories architecture of the distribution – with only the relevant directories, of course. – Bernard Jul 25 '16 at 23:41
  • Check How do I add a .sty file to my MacTeX/TeXShop installation? and How to install a latex package in MacOS TeXLive? on how to install biblatex manually. For Biber it should be enough to place it somewhere in the PATH so it can be picked up your system automatically. (If you already have Biber installed somewhere, you can of course just overwrite it with the downgrade file.) – moewe Jul 26 '16 at 07:52
  • 1
    @moewe I certainly wouldn't overwrite it in situ. It should be installed in PATH so that it is found before the version installed by TeX Live. @ OP Are you about to submit or close to a similar deadline? If so, this kind of workaround makes sense. If not, it would be better to update the templates. Did you delete MacTeX 2015 when you installed MacTeX 2016? If not, you can just switch back to the 2015 version. – cfr Jul 26 '16 at 12:47
  • @cfr Fair enough, I had thought it safe to just overwrite Biber, if one also downgrades biblatex; I should have thought about it a bit longer, though, ... updates could be a major problem. – moewe Jul 26 '16 at 14:47
  • @cfr I deleted MacTex 2015, so I have 2016 only. Still wondering how to install my downloaded Biber 2.3 and Biblatex 3.2 – Nhaps Jul 26 '16 at 15:10
  • 1
    You can install biblatex in your local texmf tree as described in the links above (if you have trouble with that, please specify exactly what you tried and how it didn't work for you). Biber you should place in the PATH (so that it is found before the current version of Biber from TeX Live), how to do that I cannot tell you since I don't use a Mac (maybe you can find info on that elsewhere on the web, here, for example, the command which can help you). – moewe Jul 26 '16 at 15:18
  • 1
    Are you close to a deadline? How temporary is this? There is, of course, no guarantee this will work since there have also been changes in LaTeX and packages which Biblatex relies on. But it will probably work at least short term. What does echo $PATH give? – cfr Jul 26 '16 at 15:19
  • The 'easy way' to roll-back to a previous version is to keep e.g. TeX Live 2015 installed when you install 2016. I would never recommend removing the working installation when installing a new one. By default, updates with tlmgr save backup copies of packages so that individual packages can be rolled back. So, really, the 'feature' you are requesting pretty much exists already for both major upgrades (new edition) and minor ones (tlmgr update). TeX Live Manager is just a wrapper for tlmgr, so I assume it saves backups by defaults, unless MacTeX uses a custom configuration. – cfr Jul 26 '16 at 15:28
  • @cfr, there is some time left for me, not urgent. I see, no guarantees these previous versions will work with the new distribution. I better rethink my step then. Here is the echo: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin I deleted 1015 because TeXLive was sending conflict message. I see, backup exists with tlmgr – Nhaps Jul 26 '16 at 15:31
  • I decided to forgo this route and try to make adjustments in the current version of Biber-BibLaTeX 9, meant to say template. Thank you. – Nhaps Jul 26 '16 at 15:47
  • 1
    Just for the sake of completeness, it is very likely that your "template" has compatibility issues because of the new name format: Biblatex 3.3 name formatting describes the changes and the needed modifications. If you need help with it, you can of course ask a new question. (Adapting the template or abandoning it for a newer one is definitely the better long-term solution than downgrading.) – moewe Jul 26 '16 at 15:47
  • 1
    Certainly don't adjust Biber/Biblatex! That is the worst possible option. Best is updating the templates. Second best is reverting to earlier Biber/Biblatex. Trying to change current Biber/Biblatex is not even third best - it is just not really an option. – cfr Jul 26 '16 at 15:49
  • @cfr Would you want to write an answer for the manual install of Biber (with a warning that it's a bad idea)? Then we can have this question settled. (We also have another near-duplicate How can I install biber 2.4 manually from CTAN?) – moewe Aug 04 '16 at 06:43
  • @moewe Does this look OK? – cfr Aug 05 '16 at 02:42

1 Answers1

4

Note that manual installation of Biblatex and Biber is not recommended except in exceptional circumstances.

Such circumstances include:

  • you've been bitten by a bug which is fixed in a newer version, you need the fix urgently and you will remember to undo the manual installation at the appropriate time (and you'll recognise when that is);

  • you have been foolish enough to update your TeX distribution right before a deadline, have no roll-back plan and the update has broken your bibliography, you plan to fix the real problem after the deadline and will remember to undo the manual installation at that time.

In all other cases, the best course is to update your document or other packages to use the new Biblatex/Biber or to wait for the fixed version to be available through your normal update routine.

Note that there is no guarantee that rolling back Biblatex/Biber will work with an updated TeX distribution, although it is likely in most cases to work in the short term.

Caveat emptor ...


If you are sure you want to do this, then proceed as follows. These instructions assume you are using TeX Live on a Unix-ish system (Mac OS X, BSD, GNU/Linux etc.).

You need to download matching versions of Biber and Biblatex from SourceForge: Biber and Biblatex.

At the command line (e.g. Terminal for OS X users), navigate to the directory you downloaded the files to.

ls *.tgz *.gz

should show you a file named biblatex-<version>.tds.tgz and another named biber-<arch>.tar.gz where <version> is the version you need of Biblatex and <arch> matches the architecture of your OS.

mv biblatex-<version>.tds.tgz $(kpsewhich -var TEXMFHOME)
pushd $(kpsewhich -var TEXMFHOME)
tar -xzf biblatex-<version>.tds.tgz
kpsewhich biblatex.sty

The last command should return a file in you personal TEXMF tree and not in the main TEXMF tree. It should be somewhere in your home directory.

popd
mkdir -p ~/bin
tar -xzf biber-<arch>.tar.gz

This should produce a biber binary, possibly in a sub-directory.

mv <sub-directory>/biber ~/bin/

To use your downloaded copy of Biber, use ~/bin/biber <filename> rather than biber <filename>, to make sure you get the correct one. (You could adjust your PATH to automate this, but it is not worth it for a very short-term temporary workaround.)

cfr
  • 198,882