{datatool} is a tool to create and manipulate databases.

learn more… | top users | synonyms

17
votes
2answers
2k views

How typeset a numeric table from a CSV file

I have a CSV file (db.txt)like this: 30.0, 0.0, 0.0 60.0, 1.9098, 5.8779 90.0, 6.9098, 9.5106 120.0, 13.09, 9.5106 150.0, 18.09, 5.8779 180.0, 20.0, 0.0 I need to typeset it. My ...
5
votes
2answers
479 views

skipping the first line of a data file for pgfplotstable

I need to skip the first row of a csv file, which is auto-generated by some magic measurement apparatus. It contains its own filename as the first line. The second line contains the column names (no ...
5
votes
2answers
2k views

Formatting complex table from CSV using datatool

I have this csv file, formatted like this one: Store,Product 1,Product 2,Product 3,Product 4,Product 5,Sub Total Store 1,15,99,299,75,292,780 Store 2,33,353,429,283,561,1659 Store ...
3
votes
1answer
298 views

Using datatool on files with lines breaks

I have a generated CSV file which has line breaks (newline characters) in values. They are properly quoted. When reading this data with DTLloadrawdb LaTeX complains as those line breaks still breaks ...
5
votes
1answer
714 views

Datatool error: undefined control sequence \begin

I'm using datatool to make a mail merge. I have my .csv file. I've defined my \DTLloaddb{indirizzi}{/home/kde/Dropbox/edile_150/consulenti_arezzo.csv} and if I use \DTLdisplaydb{indirizzi} I have my ...
3
votes
2answers
374 views

Weird error when using datatool's `\DTLaddall` in a `\DTLforeach`

Given test.csv containing: donor,core,non-core Norway,137.6,111.4 The Netherlands,116.6,85.8 and data-problem.tex containing: \documentclass{article} \usepackage{datatool} \begin{document} ...