Latest news 2021-09-06: new blog post "Legacy Documents and TeX Live Docker Images".

Bug Tracker

ID 137🔗
Date: 2019-10-19 18:32:13
Status Closed (Fixed)
Category datetime2
Version 1.5.3
Summary Use of \nr as a scratch macro conflicts with other packages

Sign in to subscribe to notifications about this report.

Description

The datetime2 package uses \nr as a scratch macro for \define@choicekey{datetime2.sty}{useregional}

This conflicts with nccmath, that has a macro with that name.

It's true that the examples in xkeyval use \nr for the purpose, but it can be anything. Also \val can be anything.

It would be better to use \DTM@val and \DTM@nr.

See Command \nr already defined (datetime2 and nccmath incompatibility)

MWE

Download (115B)

\documentclass{article}

\usepackage[useregional]{datetime2}
\usepackage{nccmath}

\begin{document}
\end{document}

Evaluation

Fixed in version 1.5.4 (2019-10-21).

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=137