Bug Tracker RSS feed

ID 208🔗
Date: 2022-08-05 02:15:08
Last update: 2022-08-05 08:32:54
Status Open
Sign in if you want to bump this report.
Category datetime2
Version 1.5.7
Summary "number too big" error when some separator is empty

Return to Search Results

Sign in to subscribe to notifications about this report.

Description

Refer to [TeX.SX Link] for a MWE.

I think the bug is on line 456 with a missing space after \number#1:


456 \number#1\dtm@yearmonthsep\DTMtwodigits{#2}\dtm@monthdaysep\DTMtwodigits{#3}%

MWE

Download (632B)

\documentclass{article}
\usepackage{fancyhdr}
\usepackage[yearmonthsep=,monthdaysep=,hourminsep=,minsecsep=]{datetime2}
\usepackage{color}
\usepackage{tikz}
\usepackage{comment}
\fancyhf{}

\topmargin=-0.45in
\evensidemargin=0in
\oddsidemargin=0in
\textwidth=6.5in
\textheight=9.0in
\headsep=0.25in

\newcommand{\noteTitle}{\today \DTMcurrenttime}
\newcommand{\notesAuthor}{AUTHOR}

\pagestyle{fancy}

\lhead{\noteTitle}
\rhead{\notesAuthor}

\rfoot{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\begin{document}
    
    \section*{Section 1}
    
    \section*{Section 2}
    
\end{document}

Evaluation

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. All guest comments have to be manually checked before they appear on the page. There are too many bots trying to spam the site to allow unauthenticated users to post without verification.

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

Return to Search Results