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 114🔗
Date: 2016-08-27 05:10:02
Status Open
Sign in if you want to bump this report.
Category datatool
Version 2.27
Summary fp and pgfmath

Sign in to subscribe to notifications about this report.

Description

In the MWE file provided, when using the option math=fp everything is fine, but when using math=pfgmath in the log file, it appears
´ ABD: EveryShipout initializing macros
./file.tex:10: Dimension too large.
<to be read again> 
                   =
l.10 ...olumn{scores}{Assignment 1}{\averagescore}
                                                  %
I can't work with sizes bigger than about 19 feet.
Continue and I'll use the largest value I can.
And if I also uncomment the next line (\DTLsdforkeys{scores}{Assignment 1}{\stdev}) it will appear one "2" in the output file.

MWE

Download (446B)

\documentclass{article}

%\usepackage[math=fp]{datatool}
\usepackage[math=pgfmath]{datatool}

\DTLloaddb{scores}{sample-student-records.csv} % this data file may be found in http://www.ctan.org/tex-archive/macros/latex/contrib/datatool/samples

\begin{document}

\DTLmeanforcolumn{scores}{Assignment 1}{\averagescore}% 
%\DTLsdforkeys{scores}{Assignment 1}{\stdev}

\begin{tabular}{cc}
left & right
\end{tabular}

\end{document}

Evaluation

This is a limitation of the pgfmath library not a bug in datatool, so unfortunately there's nothing I can do about it (other than add a note in the manual that there are different drawbacks to the available libraries).

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