Bug Tracker

ID 170🔗
Date: 2020-11-22 14:12:00
Status Closed (Fixed)
Bumped ×1
Category jmlr
Version 1.24
Summary Incompatibility with cleveref

Sign in to subscribe to notifications about this report.

Description

When using cref of cleveref, the definitions and lemma defined in this package are displayed as theorems. To reproduce this error, do
\usepackage{cleveref}
\begin{document}
\begin{definition}
\label{def}
\end{definition}
\cref{def} % displayed as "theorem~1"
\end{document}

MWE

Download (139B)

\documentclass{jmlr}

\usepackage{cleveref}

\begin{document}

\begin{definition}
\label{def}
\end{definition}

\cref{def}

\end{document}

Evaluation

Version 1.29 (2022-01-29) now has the class option cleveref which will integrate cleveref with the theorem-like environments. This option isn't on by default as it may conflict with other user settings.

Comments

0 comments.


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.

Comment:

You can use the following markup:

Block:

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

In line:

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

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

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

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

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=170