From: Christiaan H. <cmh...@gm...> - 2015-10-14 23:22:14
|
> On Oct 15, 2015, at 1:01, Maxwell, Adam R <ada...@pn...> wrote: > > >> On Oct 14, 2015, at 15:44, Christiaan Hofman <cmh...@gm...> wrote: >> >> How should we handle this? > > In TeX Live Utility, I check for El Capitan and MacTeX 2015 (by seeing if /Library/TeX/texbin exists) and offer to update preferences in that case. For BibDesk, I guess that could be done in BDSKPreviewer, since presumably some users don’t even bother with TeX? > > https://github.com/amaxwell/tlutility/blob/master/TLMEnvironment.m#L156 > > If the user is on El Capitan and has an earlier MacTeX or a generic UNIX install of TeX Live, he has to navigate to /usr/local/texlive/… or whatever and set it manually in prefs, since it could be anywhere. I don’t handle that case very well, but it’s less common. > > — adam Not sure where in BDSKPreviewer to check this. We can’t use init, as that is always called. And in windowDidLoad may be a bit late. It could also be checked at launch conditionally on BDSKUsesTeXKey? Christiaan |