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

learn more… | top users | synonyms

0
votes
0answers
48 views

Automatically creating a table from datatool using references in the text (merging solution into format of question)

In Automatically creating a table from datatool using references in the text I asked a question about datatool automatically generating a table based on references to the text. David Carlisle ...
1
vote
1answer
41 views

Creating lables - using data from excel sheets - selecting specific column

I have to create desk slips (labels). For this data is available in excel sheet. The column names are - RollNo, Subject, Venue of Exam (examination center). Presently we are creating desk slips using ...
3
votes
2answers
47 views

On sorting a string with multiple entries

In my LaTeX-file I create a variable \authors which could have content: [Doe] John Doe; [Potter] Harry Potter; [Clinton] Bill Clinton; [Obama] Barack Obama; ... This is dynamically created, so I ...
1
vote
0answers
28 views

Problem with packages siunitx, datatool and xkeyval

After having read several articles concerning the siunitx problem I am still struggling with my problem. Your comments and your help is highly appreciated. The following error occurs when I switch on ...
4
votes
2answers
59 views

Is there a way to store information in something like an array

I'd like to store some basic information on people in a file, and want to be able for LaTeX to process this information. More specifically, I'd like to store something like: id:john1; fname: John; ...
3
votes
1answer
100 views

I want to take a CSV file, process the data, and generate a report file, where can I go to learn how to do this?

I have access to MATLAB for data processing, and TeXstudio for the report. I am familiar with MATLAB about 100x more than LaTeX. The data flow I am trying to create: CSV file is generated with 50 ...
6
votes
4answers
114 views

Sending Same Letter to multiple addresses

I'm sending the same letter to multiple addresses. The addresses are stored in a csv document. I've so far created a loop to create multiple letters, but I have not been successful in finding a ...
1
vote
1answer
53 views

Custom table from csv file (multiple header rows)

I would like to create custom tables from .csv files. By custom I mean, that I only want LaTex to read in the body of the table, i.e. "a & b & ... \ ..." but I want to write my own header and ...
1
vote
1answer
52 views

Problem with gb4e's spacing when using datatool

Say that I have a .csv file with sentences in IPA, their glosses, and their translations that I want to incorporate into a document. However, using datatool to loop over the .csv doesn't work with ...
1
vote
1answer
60 views

bulk letter with datatool: how to handle linebreak csv-field

I'm generating a bulk letter using datatool. Therefore I import my data from an external csv-file using the following syntax: \documentclass[11pt]{dinbrief} \usepackage[T1]{fontenc} ...
0
votes
1answer
82 views

Dynamic Courtesy Receipt PDF Generator For PHP

The title needs a bit of help, but I'm wondering if it's possible to dynamically create a beautiful customized receipt for purchases from my website using LaTeX, where LaTeX gets its data from my ...
0
votes
0answers
35 views

Display bibtex entry in latex document

I'm trying to display a bibtex code written in a .bib file inside a document. Does anyone know how to include bibtex code, e.g. : @book{Darwin59, author={Darwin,Charles}, title={On the Origin of ...
0
votes
0answers
27 views

Logarithmic axes using \DTLplot

I am working with the dataplot package for quite some time and find it useful for my purpose. But now I have to display a log-log diagram and failed to find a suitable function; is there any command ...
3
votes
1answer
95 views

Mail merge using datatool with letter class

I am trying to adapt this question/answer on how to do mail merge to work with the letter document class. The linked answer works great for me, but when I try to change the document class to letter I ...
1
vote
1answer
118 views

Pie Chart with datatool

I am totally stuck with a problem. Is there any appropriate package for pie charts? I am using datatool right now. But there are a lot of problems: E.g. the labels are overlapping. Do you have any ...
2
votes
1answer
80 views

Modify Pie Charts (delete the labels)

I am totally new to LaTeX and pgfplots,... I copied an example for pie charts from another blog. The problem: I don't want the labels in my pie chart. Could you please help me? This is what I have ...
3
votes
1answer
81 views

Using \DTLforeach for defining multiple \newtcolorbox

Concerning this project, I'm now trying to define an own tcolorbox environment for every conversational partner by creating a "conversational partner database" with the datatool package and then using ...
5
votes
3answers
170 views

Use datatool to read a row from a CSV file, then use the variables in the document?

I'm confused about how to use "datatool" to read variables from a row in my database, and pass them on to be formatted in my text. I don't want to make a table, but that's about all there seems to be ...
6
votes
0answers
99 views

What kind of data can be gleaned from a PDF created in LaTeX?

As I use LaTeX for the creation of many of my business instruments, and since I send these all over the world to different clients I just wanted to know if there are any data embedded in a PDF that ...
4
votes
0answers
76 views

How can I typeset *some* fields from a (YAML) dataset?

I'm building a dataset of sorts with long strings, tags, some of which will be used for survey research (a q-sort, actually). This dataset needs to: be reasonably human-readable play nice with ...
4
votes
1answer
88 views

datatool group by?

I try to display the results of a survey where students of 2 different classes could choose their favorite subject. In the result table I find Surname, Name, ClassID, Subject. The data in the file ...
0
votes
0answers
18 views

Adding blank pages when generating multiple copies of a document [duplicate]

I'm generating multiple copies (right now, 2, but a general solution would be nice) of a letter with minor variations using datatool. I just realised that if I'm printing it double-sided. and if the ...
1
vote
0answers
303 views

File `datatool.sty' not found [closed]

I am making a latex document with class {article} I want to make a page for glossaries I added the below in my preamble \usepackage{datatool} \usepackage{datatool-base} \usepackage{glossaries} ...
1
vote
1answer
79 views

Inserting names on invitations, two per page in specific locations

I am doing a wedding invitation and I want the RSVP to have the person's name on it. I also need the name to appear in another, very specific location on the invitation. The invitation only takes up ...
4
votes
1answer
172 views

Rotating a pie chart

How can I rotate a pie chart with 50,50 distribution so that it is divided vertically rather than horizontally? \documentclass{beamer} \usepackage{multicol} \usepackage{datapie} \usetheme{Warsaw} ...
2
votes
1answer
52 views

datatool: why does \DTLifstringeq not work in the address part of a bulk letter

I'm trying to create a bulk letter using the package dinbrief and datatool. I created the whole letter and except from one problem everything works fine (that's why I don't want to change any major ...
2
votes
1answer
205 views

The datatool package is not reading the csv file

I have the csv file as follows: The csv file in sublime looks like this: Now the code reads each quote and author in the quote environment at the footer in the center. But it doesn't print the ...
1
vote
1answer
253 views

The footer styling in fancyhdr - Center text

\fancypagestyle{myfancy}{ \fancyhf{} \fancyhead[LE,RO]{\slshape\nouppercase{\leftmark}} \fancyfoot[LE,RO]{\tikz[baseline={(0,0)},anchor=center] ...
3
votes
1answer
133 views

Why does datatool/pgfplots only plot for last row in table?

I'm trying to use datatool to put a bunch of circles on a pgfplots plot. I tried the following: \documentclass{article} \usepackage{datatool,tikz,pgfplots} \pgfplotsset{compat=1.9} ...
6
votes
2answers
173 views

Automatically creating a table from datatool using references in the text

This question is based on Peter Grill's answer to "Table including rows of a master table".. The function \PrintDTLTable takes an optional list of rowIDs (first row of the data file) as its first ...
5
votes
1answer
140 views

Using `ifthenelse` to combine two related functions into one

This question is based on Peter Grill's answer to "Table including rows of a master table".. The function PrintDTLTable was in Peter's original answer. I wanted a version that would run over all ...
2
votes
1answer
70 views

Handling blank rows for use with multirow automatically when using datatool

The following example code is slightly adapted from Peter Grill's answer to "Table including rows of a master table". The problem I'm having is that if I have a multirow, then I need an extra blank ...
7
votes
1answer
74 views

Multiple instances of xelatex in parallel without overwriting generated PDF's

I've one TeX file abc.tex which is executed using xelatex abc.tex to generate the PDF file abc.pdf Inside abc.tex I'm using the datatool package to read data from an external CSV file (say pqr.csv). ...
4
votes
1answer
103 views

Eso-pic and data-tool

Csv files can be easier to prepare for the person who is not used to LaTeX syntax. I would like to use a csv file containing Id, myauthor, mydate, myaddress Sebastian, 12.12.2012, XYZ road, ...
1
vote
1answer
89 views

esopic and repeating part of document

This answer nicely illustrate the use of eso-pic to repeat part of document. Repeating part of document on every page But when the text entered is large, it is cut-off from the page. It possibly ...
1
vote
1answer
144 views

Line-breaking long cell contents when using longtable through datatool

I'm trying to display a table loaded from a CSV file and displaying it like this: \DTLloadrawdb[]{myDB}{myDB.csv} \DTLdisplaylongdb[% caption={myDB caption},% label={tab:myDB},% ...
1
vote
1answer
124 views

Datatool (datagidx) index with special characters

When I define multiple terms that contain an underscore and begin with the same string ex_ 1, ex_ 2 (as shown in the example below) I get the following error: ! TeX capacity exceeded, sorry [input ...
4
votes
1answer
67 views

Indexes using datagidx where multiple terms have a single index entry

I'm building off of an example here from the LaTeX Community. What I want to do is create an index where multiple terms link to the same word in the index. So for example if the terms toyota, ford, ...
4
votes
1answer
179 views

text wrapping and \DTLdisplaydb from datatool

I'm trying to adjust width column of tabular generated by \DTLdisplaydb from datatool package like here for tabular environment. But I didn't come up with any solution. I tried something pretty bad: ...
5
votes
1answer
78 views

datatool: How to reliably store database in \AtEndDocument (or similar hook)

In a big report with many subfiles and authors, I am using the datatool package to write out some data collected across the document. At the end of the document, the data should be stored in a CSV ...
3
votes
1answer
337 views

Combining invoice and datatool to create serial invoices

I want to generate invoices based on a CSV table. My approach looks like this: \documentclass{letter} \usepackage{invoice} \usepackage{datatool} \address{ABC AG \\ Nonamestreet 4 \\ 1100 ...
5
votes
1answer
93 views

Using counter within database

I try to add a countervalue into a database. But if the database content will be printed, the value is allways the maximum value. I have a simple code example ...
4
votes
1answer
196 views

Sort database with datatool

I use the datatool package to read CSV files and print them as tables. Before printing I want to sort the rows. The problem is that the file was written with R and some rows contain normal numbers ...
2
votes
1answer
120 views

Highlight smallest number in table

I would like to highlight the smallest number in each row. How would I go about doing this. In the following for example, would like to highlight 3 and 3. \documentclass{article} ...
5
votes
1answer
287 views

Is it possible to use commands defined in DTLforeach as conditions in a tikz environment?

I have been tearing out my hair with this one all afternoon and was hoping someone could help me. Essentially the problem I have is that I'm using a DTLforeach loop to iterate over values in a .csv ...
4
votes
1answer
166 views

Datatool cannot use math macros in tabular headers from csv file

I am making a LaTeX table using a CSV file and the datatools package. Here is a minimal working example: \documentclass{minimal} \usepackage{datatool} \usepackage{filecontents} ...
5
votes
1answer
128 views

How to cherry pick from datatool DB and calculate totals

I have a CSV file with current prices/item. These prices are updated regularly. I have loaded a DB with datatool. I would like to use these prices to calculate totals according to quantities I have ...
9
votes
1answer
311 views

LaTeX's datatool package together with siunitx

I want to use the datatool package to read csv files and parse them to LaTeX tables. Furthermore I want to use siunitx to format the numbers from the csv file. Have a look at the following example: ...
8
votes
1answer
122 views

Datatool control precision

How can I bring down the number of decimal points in following code to only 2: \documentclass{article} \usepackage{datatool} \begin{filecontents*}{test2.csv} Name, Age, stDev Adam, 17.2344, ...
4
votes
2answers
270 views

How do I solve “Undefined color `\dtlpie@segcolix '”?

I have the following LaTeX file: \documentclass{article} \usepackage[pdftex,active,tightpage]{preview} \setlength\PreviewBorder{2mm} \usepackage{datapie} %\usepackage{xcolor} ...