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