[tex-live] texdoc texlive.tlpdb cache-tlpdb.lua
Takuto ASAKURA
tkt.asakura at gmail.com
Sun Jul 22 09:37:08 CEST 2018
Hi Johannes,
under the condition:
1. Data.tlpdb.lua exists in the appropriate location
(please be aware of the file name; it's not cache-tlpdb.lua)
2. /tlpkg/texlive.tlpdb does not exist
(even empty texlive.tlpdb is not necessary)
Texdoc should be work fine. Running `texdoc -dtlpdb foo` with
the above condition, Texdoc will show
texdoc debug-tlpdb: Using shipped tlpdb data.
If the message appear but Texdoc still does not work, maybe something
is wrong with the condition 1.
Thanks,
Takuto
> On 2018/07/22, at 15:41, texlive at schoepfer.info wrote:
>
> Hi Takuto,
>
>> I'm afraid there's no sophisticated way to do that except setting the
>> environment variable, like Norbert is saying, at this point.
>> JFYI, copying texmf-var/texdoc/cache-tlpdb.lua to
>> texmf-dist/scripts/texdoc/Data.tlpdb.lua, which is the official way to
>> activate Texdoc without shipping texlive.tlpdb, is supported by the
>> build script.
>
> Thanks,
> manually copying works, but i still need to keep /tlpkg/texlive.tlpdb(after generatig the data, an empty texlive.tlpdb also works) which is not good for packaging.
>
> I compile texlive from the official release, but texdoc comes by tlnet (no makefile/rakefile), which was no issue with texlive 2017.
>
> What do other package distributors do since texdoc 3.0?
>
> Johannes
More information about the tex-live
mailing list