GeneralInstalled but got an error using subcaption package

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Installed but got an error using subcaption package

Post by localghost »

hzmonte wrote:I do not know what TeX distribution the system administrator installed on my system. Is there a way to find out? […]
Until now you didn't say that you are working on a system that is administrated by someone else than you. Or did I miss something? I suggest to ask him for help.

You can find out which TeX distribution you use by opening a command line and typing in the following.

Code: Select all

pdflatex -v
But that won't help because you need the rights of an administrator to do installations. Ask the administrator to do a full installation of the used TeX distribution.

By the way, the subfig package is not deprecated.

Recommended reading 2024:

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

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

hzmonte
Posts: 17
Joined: Sun Nov 16, 2008 8:05 am

Installed but got an error using subcaption package

Post by hzmonte »

In case it helps resolve the "caption" warning message, here is the "pdflatex -v" output:

Code: Select all

 % pdflatex -v
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
...
Primary author of pdfTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.

Compiled with libpng 1.2.46; using libpng 1.2.49
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with libpoppler
I googled "latex subfig deprecated" and there are people saying subfig was deprecated.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Installed but got an error using subcaption package

Post by localghost »

The TeX system is an ancient TeX Live that is approximately five or six years old. Ask your administrator to replace it by the current TeX Live 2012. He should understand the installation instructions. And he should know best that software should be kept up to date.
hzmonte wrote:[…] I googled "latex subfig deprecated" and there are people saying subfig was deprecated.
It was some time ago because it had no maintainer. Nowadays it is no longer considered deprecated, but subcaption is more sophisticated (from my point of view)
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Installed but got an error using subcaption package

Post by sommerfee »

hzmonte wrote:"Package caption Warning: Unsupported document class (or package) detected,
(caption) usage of the caption package is not recommended.
See the caption package documentation for explanation."
Anyone knows the specific reason why "caption" is not recommended?
The caption package documentation knows, please read the section "Document classes & Babel support".

BTW: You get the same warning when using subfig instead of subcaption, at least if you don't load it with option caption=false.
Post Reply