Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [csvsimple]

{csvsimple} provides a simple LaTeX interface for the processing of files with comma separated values (CSV).

Filter by
Sorted by
Tagged with
3
votes
1answer
244 views

Centering the first row of a table in CSV reader

I am creating tables from a CSV file by using csvsimple package. The contents of the tables are all left aligned, hence I would like to know whether it is possible to center the first row alone (and ...
0
votes
0answers
25 views

CSV File reading slash (“/”) in latex table

I have csv file having 6 columns where first column have "/" in it. I am using below code: \documentclass{article} \usepackage{csvsimple} \usepackage{datatool} \begin{document} \DTLloadrawdb[keys={...
0
votes
0answers
37 views

Longtable breaks PDFtex output with table in fancyhdr header

I'm having an issue where if the table I pull using csvsimple is too long, the PDF won't build. BUT this is only an issue if my fancyhdr header has a table of any kind in it. If you take 20 or so ...
3
votes
2answers
27 views

Physical page breaks when using csvsimple and pgfpages

I would like to print initial account data for individual students and place 8 cards on a physical page. This is my MWE. \documentclass[fontsize=12pt, paper=a7, paper=landscape, parskip=half]{...
4
votes
2answers
8k views

Csvsimple \csvautotabular and \csvautobooktabular with centered columns' content

I'm using csvsimple for making tables, and csvautotabular and csvautobooktabular are working great. However, I'd like the content of each column to be centered instead of aligned to the left. An ...
1
vote
1answer
17 views

Boldface CSV headings

(question updated from 1 to 3 columns) I am trying to do something supremely simple: typeset a table such as what.csv First,Last,Style Bob,Marley,Reggae Fritz,Wunderlich,Lieder with boldface ...
1
vote
1answer
14 views

csvsimple pdflatex hangs without error

The following minimal example, using csvsimple hangs without any error. \documentclass[a4paper,11pt]{article} \usepackage{csvsimple} \begin{document} \begin{tabular}{ll} a & b\\ \hline \...
1
vote
1answer
29 views

csvsimple no page output

Following tex source using csvsimple does not produce any output: \documentclass[a4paper,11pt]{article} \usepackage{csvsimple} \begin{document} \csvreader[head to column names,separator=semicolon]{...
0
votes
0answers
37 views

Multicolumn table with csvsimple

I'm working on a class for a document (derived from article) and one of the components I want to have in the report is a distribution list. This list should be populated with a CSV-file (name, ...
5
votes
2answers
63 views

having problems with greek characters in a table using csvsimple

Hi this is what I wrote: \documentclass{article} \usepackage{amsmath} \usepackage{gensymb} \usepackage[utf8]{inputenc} \usepackage{csvsimple} \usepackage{booktabs} \usepackage{longtable} \usepackage[...
13
votes
3answers
539 views

Populate information from a csv file into a LaTeX document (specifically into the fields/arguments of commands therein)

I have some personal information stored in a plain CSV file personal_info.csv in the following format: personal_info.csv 83 Fancy Avenue,Nowheresville,Gotham City 24061 123 456 7890 someone@xyz.com ...
2
votes
1answer
55 views

creating csv simple double header

I am trying to include to first two rows as headers. I would like to have the units - - m m m etc. on every page and another line below. I am not an advanced user of csvsimple, and I have not been ...
3
votes
1answer
45 views

Error in longtable with csvreader

I am getting an error while creating a longtable by importing a csv file. The MWE is as given below. \begin{filecontents*}{monodisperse15.csv} 20,2.825,5.967,0.0,0.0,0.0,0.0 22,2.85,15.516,0....
0
votes
1answer
54 views

How to set the width of the last column with tabular package? [duplicate]

I want to generate a table with fixed column width. This works for all the columns except for the last column. Working example (fixed column width for all column except the last one) \documentclass{...
2
votes
1answer
29 views

How to update the generated .csv file in csvsimple package

I just started using csvsimple which looks like a great package. I wonder if it was possible to do the following Let's say that I have a .csv file that I copy into the .tex file as follows: \...
2
votes
1answer
314 views

csvreader[] with \multirow

I would like to create this table imported by csv file. My problem is to create some multirows in the table. Like this: This is my code: \documentclass{article} \usepackage{longtable} \usepackage{...
0
votes
0answers
21 views

CSVReader Align Columns

Is there a way to right justify the second field (after the \dotfill)? I tried using flushright, but that did not do what I was hoping for. \documentclass{report} \usepackage{csvsimple} \usepackage{...
1
vote
1answer
42 views

Compilation error when string testing using csvsimple

Consider this minimal working example: \documentclass{beamer} \usepackage{csvsimple,filecontents} \begin{document} \begin{filecontents*}{data.csv} id,type 1,a 2,b \...
1
vote
1answer
479 views

Package csvsimple: How do I reject the last line of a csv file

Ultimately I want to read a csv (comma separated variable) file into LaTeX and display a table. I'm doing this within the beamer document class. I'm currently using the \csvautobooktabular command ...
2
votes
1answer
44 views

How can I strip the percent char of a number read by csvsimple?

I have a CSV table containing some numbers in percent with the percent char explictily written in the CSV data (that can’t be changes). Is there a (LaTeX3) way to strip the percent char and preceding ...
1
vote
0answers
54 views

Cannot input utf8 encoding with csvreader

I am trying to generate a table with \csvreader. The problem is latex is ignoring when I have some german chars such as; ü,ä,ö How can I fix this? Here is the code: \documentclass{article} \...
2
votes
3answers
89 views

csvreader with tabular (to generate entire table) with caption

I have the following MWE that works: \begin{filecontents*}{\jobname.csv} Project, Size A_b,-0.1237466 b,0.04632737 \end{filecontents*} \documentclass{article} \usepackage{...
1
vote
1answer
153 views

trouble with a simple csvsimple and csvautotabular table

I have a csv file, keywords_table.csv. I made it in Excel. Here it is: Keyword Category,Number of keywords used in searches,Examples Names of drugs,111,"tamoxifen, aspirin, tamiflu" Names of ...
4
votes
1answer
205 views

Why csvsimple doesn't allow symbols/math in first row?

The package csvsimple is a nice tool to import large tables that were generated externally. However, it fails to interpret files with symbols or math in the header. It does neither work with tabular ...
2
votes
2answers
115 views

csvsimple respect dollar not working

I'm using csvsimple to import some columns from a csv file into a tabular environment. The CSV file contains a column where all the values are dollar amounts, so just including it directly gives ...
2
votes
1answer
295 views

csvsimple - import only certain columns

\begin{figure} \csvautobooktabular[]{csvs/some-ttests.csv} \end{figure} This produces way too large a table (cut off on the left side), so I want to split it up into multiple tabulars, one for ...
0
votes
0answers
119 views

Sizing table to page

Apologies for a general question but I need some help strategizing about how to include a fairly large amount of data in an article document. Basically I have several 35x35 matrices that I need to ...
0
votes
1answer
100 views

Removing quotes in csvsimple

Before someone marks this as a duplicate question, I have read this answer, and it has not helped. I have a csv file: "headline","similarity" "Tesco directors in scandal","" "Tesco suspends three ...
3
votes
1answer
68 views

Possible Bug in passing variables from CSV

I think there's a bug in calling decimal numbers from CSV files. Have a look. Create a Folder. Add a CSV file called texDemo.CSV with the following in it. UniqueID,Name,DecimalPercentageComplete,...
2
votes
1answer
22 views

Combine datetime2 and csvsimple

How can I make the following code compile: \documentclass{standalone} \usepackage{csvsimple} \usepackage{datetime2} \usepackage{filecontents} \begin{filecontents*}{test.csv} a,b 2019,00:00:00 2019,...
1
vote
1answer
62 views

Don't do anything if CSV column is empty — How do I achieve this?

MWE (actually not totally MWE, but I think it's easier to see what happens this way): \documentclass{article} \usepackage{csvsimple} \usepackage{graphicx} \begin{document} \setlength\unitlength{1cm}...
2
votes
1answer
44 views

Adding/subtracting to the /thecsvrow number in csvsimple

Assume a simple example centered on the csvsimple package. \documentclass{standalone} \usepackage{csvsimple} \usepackage{fp} \usepackage[table]{xcolor} \begin{filecontents*}{input.csv} Foo,...
2
votes
1answer
49 views

Color background for title row in csvsimple

Assume a simple example centered on the csvsimple package. \documentclass{standalone} \usepackage{csvsimple} \usepackage{fp} \usepackage{xcolor} \begin{filecontents*}{input.csv} Foo,Bar,Baz,...
6
votes
1answer
1k views

csvsimple handles underscores wrong

I try to print a .csv file using csvsimple. The column headers of that CSV file contain underscores. Within the csvsimple documentation, I found the option respect underscore=true option that is ...
2
votes
1answer
39 views

Strange csvsimple output when the line starts with an accented character

The code example below produces an undesirable result, where an Omega appears on the 5th line and all data from the 6th line appears glued to the last cell in the 5th line. Does anyone knows what ...
5
votes
1answer
94 views

Automated truncating and compilation of mean and uncertainty pairs for display in table from csv file

I have to display data from a number of CSV files containing pairs of mean and uncertainty values grouped in columns, the first column containing the mean values, the second the uncertainty values and ...
1
vote
1answer
128 views

csvsimple - process column names with digits correctly

I have a csv that contains column names with digits. Somehow this seems to be a problem for csvsimple, but I can't quite figure out why and how to deal with it correctly. Here's what I want to ...
0
votes
0answers
36 views

Importing a csv Tablehead into latex, with too many columns

I tried importing a csv table, using the package csv simple: \documentclass[11pt,a4paper]{scrartcl} \usepackage{csvsimple} \begin{filecontents*}{xxx.csv} \end{filecontents*} \begin{document} \...
1
vote
2answers
126 views

Reading CSV file with quotes

I'm trying to read a CSV file into latex and produce a new page for every row in the file. Unfortunately, the file quotes every field, uses semicolons as delimiters, and contains underscores in the ...
1
vote
2answers
1k views

Simple table with csvsimple, with no headers

I am not managing to make a simple table in csvsimple. My data is like this: value 1, 5.5 value 2, 3806.0 value 3, 601.0 value 4, 26.8 value 5, 150.0 value 6, 2.0 value 8, 75.0 value 9, 21 I have ...
4
votes
2answers
300 views

csvsimple vs. conditional row coloring

I've a CSV file what I want process with csvsimple. My desire is to color some rows based on a conditional (one specified column has bigger value). Here is an MWE: \documentclass[12pt]{article} \...
0
votes
1answer
135 views

Controlling vertical space between lines in csvautolongbook table

I'm generating tables from csv that have very specific formatting requirements in terms of captions and spacing. A few of these tables extend across multiple pages, for which I'm using csvautolongbook ...
1
vote
2answers
305 views

Importing CSV as Long Table Not Working

I tried implementing the solution found here with multiple columns, but it is not working for me. It is just replicating the third column three times. What am I doing wrong? I know I wouldn't need a ...
7
votes
1answer
136 views

Is it possible to generate custom exams taken the student's names from a csv archive?

I'd like to generate a single PDF file containing multiple exams (template available below). Each exam must have the field 'name' (see template) filled with the name of a student taken from a ...
3
votes
1answer
131 views

Csvsimple with nonenglish: error

Trying to parse table with russian symbols. Example csv file: Название, Автор, Год Бесы, Достоевский, 1871 Can't create a table from this file with any command: \csvloop, \csvautotabular{table.csv}, ...
46
votes
3answers
65k views

How to plot data from a CSV file using tikz and csvsimple?

Here is a minimal example : \begin{filecontents*}{data.csv} a,b,c,d 1,4,5,1 2,3,1,5 3,5,6,1 4,1,4,9 5,3,4,7 \end{filecontents*} \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
3
votes
1answer
294 views

How to import data from excel and format it as text in LaTeX?

I have a big database spreadsheet on Excel which is a list of products and I want to use its data to write formatted text in LaTeX. The table looks like this: Year / Name product / Details 2000 / ...
2
votes
1answer
49 views

csvreader has integer overflow at 16384 = 2**14

I have to send quite a bit of documentation to Germany for taxes. I created some TeX files which use some CSV files to automatically generate this report. So far, I was a student and numbers were low. ...
1
vote
3answers
240 views

How to count rows of a csv?

I am using \csvreader to read a csv and I am trying to do some basic manipulation like counting the number of values and print that value in the document. For instance, how do I calculate the number ...
0
votes
1answer
58 views

csvsimple and tabular produces garbage

A simple example: \documentclass[12pt]{article} \usepackage{csvsimple} \begin{document} \begin{tabular}{|c|c|} \csvreader[separator=pipe,head to column names]{test.csv}{}{\foo&\bar\\} \end{...