[tex-live] Package preparation question (directory structure)

Urs Liska ul at openlilylib.org
Mon Sep 9 02:07:19 CEST 2013

Am 09.09.2013 02:03, schrieb Karl Berry:
>          where should I place the common library file(s
> Ok, have two directories in your CTAN upload zip:
> bin/{exec1,exec2,...}.py
> lib/{lib1,lib2,...}.py


>      kpsewhich only seems to find the library when it is stored in the
>      texlive installation directory, and not if it is located in my
>      personal ~/texmf tree.
> Works for me.  You have to create the TDS structure under ~/texmf.
> In an unaltered TL13 installation:
> $ mkdir ~/texmf/scripts/foo
> $ touch ~/texmf/scripts/foo/bar.py
> $ kpsewhich --progname=foo --format=texmfscripts bar.py
> /u/karl/texmf/scripts/foo/bar.py

OK, I didn't see that. But it should be obvious that kpsewhich would 
look in ~/texmf/scripts ...

>      - Installation from CTAN zip:
>         library is in a different directory but not found through kpsewhich.
> It is standard for people installing directly from CTAN to have to "move
> files to the correct TDS directories".  In other words, you don't have
> to worry about the case of people just unzipping the package and
> expecting to be able to run the scripts directly.

I have to worry about that at least to the extent of documenting it 
I assume this is one issue which would be solved by a correct .tds.zip.


More information about the tex-live mailing list