You are not logged in.

#1 2009-12-09 15:59:47

donpicoro
Member
Registered: 2009-04-10
Posts: 42

What texlive-* package provides a specific LaTeX file?[Solved]

Hi, I am a happy Archlinux user with almost 1 year of "heavy" arch-experience installing a maintaining about 5 different arch-boxes.

In my laptop I have installed the following texlive packages (according to a pacman query):

$ pacman -Qs texlive
local/texlive-bin 2009.4-3
    TeX Live binaries
local/texlive-core 2009.15574-1 (texlive-most)
    TeX Live core distribution
local/texlive-latexextra 2009.15565-1 (texlive-most)
    TeX Live - Large collection of add-on packages for LaTeX
local/texlive-publishers 2009.14714-1 (texlive-most)
    TeX Live - LaTeX classes and packages for specific publishers
local/texlive-science 2009.14871-1 (texlive-most)
    TeX Live - Typesetting for natural and computer sciences
local/texlive-science-doc 2008.12088-1 (texlive-most-doc)
    TeX Live - Typesetting for natural and computer sciences

For me that is more than enough. But I need to compile a friend's presentation which asks for the file "pb-diagram.sty". Do not get me wrong, I do not want to install just that file. I know how to do that. This is not a question specific to that file or to install a specific packages downloaded from CTAN.

I just want to know if there is an efficient way to find out which one of the texlive-* packages listed in the TeXLive wiki provides the LaTeX package you need. Like for instance in this case "pb-diagram".

Any help will be very appreciated.

Last edited by donpicoro (2009-12-09 16:56:10)

Offline

#2 2009-12-09 16:05:17

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: What texlive-* package provides a specific LaTeX file?[Solved]

Use pkgfile (in the pkgtools package) to find packages containing some given file. In this case:

$ pkgfile pb-diagram.sty
extra/texlive-pictures

Last edited by bernarcher (2009-12-09 16:06:42)


To know or not to know ...
... the questions remain forever.

Offline

#3 2009-12-09 16:55:33

donpicoro
Member
Registered: 2009-04-10
Posts: 42

Re: What texlive-* package provides a specific LaTeX file?[Solved]

sweeeeeeeeeeeeet... :D:D:D:D:D

Great tool BTW.

Thanks.

Offline

Board footer

Powered by FluxBB