CTAN Comprehensive TeX Archive Network

datatool – Tools to load and manipulate data

The tools comprise the packages:

  • datatool-base.sty: the underlying base package used by all the other packages in this bundle;
  • datatool.sty: databases may be created using commands or by importing external files; they may be sorted numerically or alphabetically; repetitive operations (such as mail merging) may be performed on each row of a database, subject to conditions to exclude particular rows; commands are provided to examine database elements, and to convert formats (for example, to convert a numeric element to a format compatible with l3fp or the fp package;
  • datapie.sty: a database may be represented as a pie chart; flexible options allow colouring of the chart, and annotation hooks are available;
  • dataplot.sty: a database may be represented as a 2-dimensional scatter or line plot; flexible options control of the plot's overall appearance, and of legends and other extra information;
  • databar.sty: a database may be represented as a bar chart; overall appearance, colouring and annotation are controllable;
  • datagidx.sty: provides a way of indexing or creating glossaries/lists of abbreviations that uses to do the sorting and collating instead of using an external indexing application, such as xindy or makeindex (although you may prefer \printnoidxglossary now provided by the glossaries package);
  • databib.sty: a bibliography may be loaded into a datatool database, and manipulated there before being printed (this permits a -based route to printing bibliographies in formats for which no style is available, although biblatex is now the better route); and
  • person.sty: provides support for displaying a person’s name and pronoun in a document, thus avoiding cumbersome use of “he/she”, etc.

The drawing packages make use of PGF/TikZ for their output.

Localisation support needs to be installed separately. See datatool-regions and datatool-english.

The bundle supersedes and replaces the author’s csvtools bundle.

Sources/macros/latex/contrib/datatool
Documentation
Bug trackerhttps://www.dickimaw-books.com/bugtracker.php?category=datatool
Version3.4 2025-04-03
LicensesThe Project Public License 1.3
Copyright2007–2025 Nicola Talbot
MaintainerNicola Talbot
TDS archivedatatool.tds.zip
Contained inTeX Live as datatool
MiKTeX as datatool
TopicsData display
Data manipulation
Data import

Download the contents of this package in one zip archive (19.2M).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author