Generaldatatool | No multiple Replacements

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
GerlofVito
Posts: 27
Joined: Wed May 16, 2012 8:24 pm

datatool | No multiple Replacements

Post by GerlofVito »

When I use the datatool package to load data from a CSV file, I also want to use the \DTLrawmap macro to make some replacements and make my output look a bit nicer.

However, \DTLrawmap can only make one replacement in a given row. It will correctly replace the first instance but none of the subsequent ones. This looks like a bug in the package, and I have e-mailed the author, but if anyone has ideas for how to fix this, I'm all ears. A MWE is attached.
Attachments
data.csv
The data file
(437 Bytes) Downloaded 269 times
longtabumwe3.tex
The source file
(679 Bytes) Downloaded 203 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Re: datatool | No multiple Replacements

Post by nlct »

I've emailed a reply, but if anyone else encounters this problem it was fixed in version 2.10.

Regards
Nicola Talbot
GerlofVito
Posts: 27
Joined: Wed May 16, 2012 8:24 pm

Re: datatool | No multiple Replacements

Post by GerlofVito »

I just remembered that I should come back and update this post. Thanks for writing back!
Post Reply