[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#432745: /usr/share/texmf-texlive/tex/latex/preprint/figcaps.sty: Breaks \label and \ref with figures



Atsuhito Kohda wrote:
> Hi Josh,
> 
> On Wed, 11 Jul 2007 11:03:18 -0700, Josh Triplett wrote:
> 
>> This makes \label and thus \ref not work in combination with
>> \usepackage[printfigures]{figcaps}.  Removing the \def of \label solves this
>> problem; the labels and refs then work perfectly.
> 
> I'm not sure but I've an impression that this could be
> a feature.  I don't understand an intention of figcaps package
> so well yet but its manual tells me:
> 
> The contents of all the figure and table environments are written to aux-
> iliary les .lof and .lot respectively, and then these are read in again at
> the end of the paper. Since these auxiliary les are normally used to write
> information for the lists of gures and tables, this capability is lost.
> 
> I might be wrong but are you sure that it's a bug?

Yes, quite sure.  This doesn't relate to the inability to have lists of
figures and lists of tables.  By gutting the \label macro, figcaps breaks the
ability to say "see figure~\ref{fig:myfigure}" and get "see figure 1".
Commenting out this change to the label macro makes such references work
perfectly.

- Josh Triplett


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: