Re: texlive2007 and otfinst.py
Florent Rougon <f.rougon@free.fr> wrote:
> Frank Küster <frank@debian.org> wrote:
>
>> I see one problem with the code in update-fontlang:
>>
>> # Is there an updmap.d/language.d directory somewhere in the expansion of
>> # $TEXMFCONFIG?
>
> [...]
>
>> A simple fix would be
>>
>> for d in "$texmfconfig"; do
>> : ${cnfdir:=$d}
>
> I'm not sure about the need of double-quotes with this construct in case
> of paths containing spaces. I'd have to test.
$cat bin/testing/expandquote
#!/bin/sh
foo="string with space"
: ${bar:=$foo}
echo $bar
$ bin/testing/expandquote
string with space
$
ist that what you want?
>> which takes the first among a couple of directories in TEXMFCONFIG
>
> The idea was that if we have a updmap.d/language.d directory, it's safe
> to use, otherwise the setup is not appropriate and the user needs to do
> it before using update-fontlang in user-specific mode.
But that would mean that a default setup is not appropriate. If you
install texlive and don't change the configuration, there's only one
directory in texmfconfig, but it doesn't exist.
So I guess we should test whether there's more than one, and if yes (and
none does exist) give a nice error message.
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: