Latest news 2024-03-02: Ebook sale (3rd–9th March 2024): short story cybercrime fiction Unsocial Media free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99. For further details, see latest blog post.

Bug Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

ID 157🔗
Submitted by: Nicola Talbot 🦜
Date: 2020-03-26 11:39:10
Status Closed (Fixed)
Category jmlr
Version 1.26
Summary subfigure and subtable references produce extraneous text

Sign in to subscribe to notifications about this report.


The extra text produced following the reference is the counter name (subfigure or subtable). This is a result of the change in definition of the \p@... commands in the LaTeX kernel (in this case \p@subfigure and \p@subtable). The definitions of \@subfigurelabel and \@subtablelabel need to ignore a third argument with new versions of LaTeX.


Download (494B)



Reference \figureref{fig:ex-a} and \tableref{tab:ex-b}.

{\caption{Sample Figure}}% caption

{\caption{Sample Table}}% caption


Fixed in v1.27, which now has a check for the LaTeX kernel version to determine whether \@subfigurelabel and \@subtablelabel need a third argument.



Add Comment

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.


You can use the following markup:


[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]

Ordered list:
[li]first item[/li]
[li]second item[/li]

Unordered list:
[li]first item[/li]
[li]second item[/li]

You can use the Preview button to review your message formatting before submitting.

Page permalink: