Bug Tracker
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 | 20🔗 |
---|---|
Date: | 2013-01-18 11:12:26 |
Status | Closed (Fixed) |
Category | datatool |
Version | 2.13 |
Summary | Error if \DTLnewdbentry 's third argument is an empty macro |
Cross Ref | 18 |
Sign in to subscribe to notifications about this report.
Description
Hi,the bug nr 18 (xkeyval incompatibility) has in fact nothing to do with xkeyval (sorry).
It appears that if \DTLnewdbentry
's third argument (value of the identifier key) is an empty macro, the following error occurs:
Runaway argument? \@nil \ifnum \@dtl@numgrpsepcount >-1\relax \if@dtl@numgrpsep \ifnum \ETC. ! File ended while scanning use of \@dtl@checknumericalstart.
The joind MCE shows the problem:
\DTLnewdbentry{mydata}{Surname}{\test}%is OK as long as
\test
is a non-empty macro.
MWE
Download (297B)
\documentclass{article} \usepackage{datatool} % \newcommand{\test}{} % \begin{document} % \DTLnewdb{mydata}% % \renewcommand{\test}{Doe} \DTLnewrow{mydata}% \DTLnewdbentry{mydata}{Surname}{\test}% % \renewcommand{\test}{} \DTLnewrow{mydata}% \DTLnewdbentry{mydata}{Surname}{\test}% \end{document}
Evaluation
This is now fixed in version 2.14.
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=20