Questions tagged [datatool]
{datatool} is a tool to create and manipulate databases.
409 questions
1 vote
0 answers
64 views
datatool and glossaries: Title in TOC not localized
I am using \begin{filecontents*}[overwrite]{glo.tex} \newglossaryentry{A} { name=B, description={C} } \end{filecontents*} \documentclass[german, ngerman]{article} \usepackage[ngerman]{babel} \...
0 votes
1 answer
88 views
Datatool package
I move from the 2021 distribution to the 2025. And compiling my .tex file a receive an error from the datatool package. I have the latest version of datatool (3.4.1). Here is my code: \documentclass[...
1 vote
2 answers
67 views
How to iterate over a comma-separated list stored inside a CSV field using datatool and \foreach in LaTeX?
I'm using the datatool package to load and display data from a text file (TestData.txt) in LaTeX. The last column, Description, contains a list of items that I'd like to iterate over and display (e.g.,...
1 vote
1 answer
38 views
datatool with hyperref and hypersetup
I'm using datatool to create a table with data from a CSV file. The output is the following: But I'd like to add some PDF meta data via hypersetup, for example, pdftitle=foo. So, loading the hyperref ...
0 votes
1 answer
121 views
How to create a list of symbols that can be partially inserted document-wide with a (comma-separated) list of labels?
I would like to use the glossaries package to create a list of abbreviations and a list of symbols. I like the acronym style definition with style=alttree but without a page number. I tried using a ...
5 votes
0 answers
826 views
Babel dialects and glossaries compatibility issue? Tracklang: Datatool is missing support for dialect
Consider the following MWE: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{glossaries} \begin{document} text \end{document} When compiling this code with latexmk the following ...
0 votes
1 answer
93 views
Convert csv to latex document
I have a csv file with the following columns Section Subsection item_number text A N 1 "first_text_n" A M 1 "first_text_m" A M 3 "second_text_m" I would like to use ...
3 votes
1 answer
58 views
Datatool yields "Use of \??? doesn't match its definition" with TeXLive 2025
The MWE with TeXLive2024 using pdflatex yields: But, with updated TeXLive2025 yields: Use of \??? doesn't match its definition. ??? ! LaTeX Error: Erroneous variable \1used! l.47 \DTLloaddb[...
1 vote
1 answer
88 views
Filling a siunitx-formatted table dynamically with numbers from different csv files
I am building a table in latex: using dynamically loaded values from csv files these csv files are differently formatted (different column names!) and I want these to be formatted using siunitx -- ...
7 votes
1 answer
198 views
Siunitx formatting of dynamically loaded numbers
I want siunitx's S column type to operate on dynamically-loaded data, i.e., data inserted into a cell via a \DTLfetch directive, where \DTLfetch is a macro provided by the datatool package. The ...
1 vote
2 answers
95 views
multicolumn, siunitx, and dynamically loaded values
I have a table where I am dynamically loading values. For now, just a single value for testing, but all the numbers here will eventually be loaded. \documentclass{article} \usepackage{booktabs} \...
1 vote
3 answers
175 views
Table with multiple pages, line breaks, full textwidth
I would like a table that: can use with A4 or A5 paper can span mutiple pages can use the whole textwidth break lines in the row when needed read the data from a csv file \documentclass[a4paper,...
4 votes
2 answers
128 views
How can I get a list of all entries in one column using datatool?
I would like to check if a certain word is in the column type so I can run a conditional on it. My approach is that I gather all entries of the column type in one command (e.g. \mylist) to check if ...
1 vote
1 answer
85 views
How to generate multiples pages while extracting data from an external file and push it as placeholder inside my document?
\documentclass[10pt]{article} \usepackage{fourier} \usepackage[margin=0cm, paperwidth=8.6cm, paperheight=4.5cm]{geometry} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel}...
2 votes
1 answer
74 views
Missing cell content when reading CSV file with `datatool` [closed]
I am reading a CSV file with datatool. If a cell contains multiple separators (,), the part in between the separators is missing (cell1.3.2 in the example below). How can I read in the complete cells? ...