[Rivet] It's a rivet bug ... 90% sure

Andy Buckley andy.buckley at ed.ac.uk
Sat Nov 12 11:56:07 GMT 2011


On 12/11/11 00:37, Christopher Lester wrote:
>
> Hmm.
>
> I thought I had browsed pretty much everywhere on the rivet pages ...
> but in truth I hadn't found (or even noticed!) "troubleshooting".
>
> I guess - like sheep - you wear an established path in the landscape and
> then cease to see other possibilities.

Heh, that's why I mentioned it -- somehow I had the impression that the 
(sort of) prominent and most appropriate link might not have been seen! 
I'll see if I can put a few more pointers to this page.

> However, I'm interested in the comment thereon:
>
> "If you have a personalised LaTeX setup, and are not setting
> up your shell environment from the installation-generated rivetenv.sh
> script, then ..."
>
> since I certainly *was* using the installation-generated rivetenv.sh
> (and still am) ... and these were not setting my TEXINPUTS env var.
>
> The autogenerated script I was using was this one:
[...]
> which sets TEXMFHOME and a number of similar things, but no TEXINPUTS
> (or LATEXINPUTS).
>
> So the text on
>
> http://projects.hepforge.org/rivet/trac/wiki/TroubleShooting
>
> still might be a bit misleading in the sense that the installation
> generated script is (at least sometimes) not sufficient to set up the
> env ... or at least that seems to have been the case for me.

Ah, good to know: thanks. When you're always working off the trunk 
version, you forget what changes have been made from earlier versions. 
The trunk (and the just-released version 1.7.0) has a rivetenv.sh with a 
section like this:

export TEXMFHOME="${datarootdir}/Rivet/texmf:$TEXMFHOME"
export HOMETEXMF="${datarootdir}/Rivet/texmf:$HOMETEXMF"
export TEXMFCNF="${datarootdir}/Rivet/texmf/cnf:$TEXMFCNF"
export TEXINPUTS="${datarootdir}/Rivet/texmf/tex//:$TEXINPUTS"
export LATEXINPUTS="${datarootdir}/Rivet/texmf/tex//:$LATEXINPUTS"

So hopefully this will work correctly with any base environment. I'll 
update the text!

Andy

-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the Rivet mailing list