[tex-live] [FEATURE REQUEST] support for additional user texmf trees
lomov.vl at gmail.com
Thu Feb 23 12:14:06 CET 2012
** T T [2012-02-23 09:23:52 +0000]:
> On 23 February 2012 07:58, Vladimir Lomov <lomov.vl at gmail.com> wrote:
>> ** T T [2012-02-22 15:27:32 +0000]:
>>> On 22 February 2012 15:15, Vladimir Lomov <lomov.vl at gmail.com> wrote:
>>>> Ah, 'root' -> $TL/texmf.cnf. Fine, if it is owned by root could ordinal
>>>> user editt it to add additional texmf trees?
>>> No, but you can set them through environment, i.e., environment
>>> variables take precedence over texmf.cnf variables.
>> Ah, yes. I already tried this solution as well. IMHO, too tedious
>> 1. one have to define TEXMFCNF env variable and keep it up-to-date;
>> 2. (more painful, imho!) one have to list all texmf.cnf files in
>> variable. I tried the following: "export
>> TEXMFCNF=$HOME:$TL:$TL/texmf/web2c" and this works fine with TeX Live
> I think this solves both of your problems (you can of course go
> fancier than this, depending on your particular needs):
> export TEXMFCNF=$HOME:$(kpsewhich -var-value TEXMFCNF)
Nice, really :D. I borrow this one.
>> (Here TL=/usr/local/opt/texlive/2011, seems I mistyped eariler.)
>> IMHO my proposal is "evil" too, e.g. from Tex Live documentation:
>>> The search path used to look for these files is named TEXMFCNF, but we
>>> do not recommend setting this (or any) environment variable.
>> I understand this in following way:
>>> Don't set any these variables, because if you do and face with a problem
>>> then problem may be related with your setup and all these variables.
> Indeed, but ...
>> Now I propose to make live easy for (relative small number of) advanced
>> users, by adding additional path where to search texmf.cnf file. If
>> something goes wrong in user system, then file $HOME/texmf.cnf must be
>> taking into accout too.
> I think that advanced users should be advanced enough to handle
> problems related to environment settings.
I already much with my shell (env var and etc) so have to use VCS (git)
to keep then up-to-date and spread between several hosts, so not big
If I don't drive around the park,
I'm pretty sure to make my mark.
If I'm in bed each night by ten,
I may get back my looks again.
If I abstain from fun and such,
I'll probably amount to much;
But I shall stay the way I am,
Because I do not give a damn.
-- Dorothy Parker
More information about the tex-live