Generalfinding sty files

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
goltoof
Posts: 15
Joined: Wed Feb 04, 2015 8:08 pm

finding sty files

Post by goltoof »

I'm having a hell of a time finding subfigure.sty. In ubuntu I try:
$ kpsepath tex | tr : '\n'

Which shows called texmf directories. I've checked every directory under:
/var/lib/texmf
/home/me/texmf
/etc/texmf/
/usr/share/texmf/tex/
/usr/local/share/texmf
/usr/share/texlive

I see /home/me/texmf contains all package files I've installed manually with tlmgrbut where are the base sty files at? The sheer number of locations files are kept is a bit overwhelming.

Main reason I'm looking is I need to create a work around for an error “Command \c@lofdepth already defined” error I'm having. In any case I really should be aware where these files are kept.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

finding sty files

Post by Stefan Kottwitz »

Hello,

try:

kpsewhich subfigure.sty

Anyway, the package only has effect if you use it. And in that case I would switch to the newer subfig package, or subcaption.

Stefan
LaTeX.org admin
Post Reply