lomov.vl at gmail.com
Mon Jul 30 08:06:31 CEST 2012
** Bernd Rellermeyer [2012-07-21 08:13:01 +0200]:
> I have two directories in TEXMFLOCAL, using brace expansion. At least
> the updmap script does not work with this configuration but seems to
> expect only one directory. Otherwise it throws an error in line 248.
> Is this just a bug in updmap, or is TEXMFLOCAL meant to expand to only
> one single directory?
So I wonder why are you using more than one directory in TEXMFLOCAL?
If you have several directories with local tex/latex files and you wish
add them to search path there is another way.
(I see that "workaround" proposed by Norbert Preining causes more
troubles than benefit).
I can give you advice based on my experiance.
For ordinary user
(i.e. he/she can't run 'sudo' or in other words, not administrator),
not font stuff:
Let's suppose that in addition to TEXMFHOME (~/texmf) there is directory
Create file `texmf.cnf' and write to it
Create environment variable TEXMFCNF with content:
where <REST> is output of command
kpsewhich -var-value TEXMFCNF
I hope you get idea.
Similarly, use e.g. $HOME/texmf-projects/FONT-PAC1 and add
`map' file to TEXMFLOCAL/web2c/updmap.cfg .
Instruction for "sudo"ed user
Suppose you have two TDS trees
in addition to TEXMFLOCAL (there may be different strong reasons to have
separate TDS trees not merged in TEXMFLOCAL).
As administrator edit file `texmf.cnf' located in `$(kpsewhich
-var-value SELFAUTOPARENT)', add new variable, say `TEXMFLOCAL2'
and add it to `TEXMF' variable.
 Though TeX Live manual don't recommend to set this variable it is
the only way for (ordinal) user to use several (user) texmf trees.
WBR, Vladimir Lomov
One old enough to know better.
More information about the tex-live