A message from our CEO about the future of Stack Overflow and Stack Exchange. Read 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
0
votes
0answers
175 views

csvsimple, siunitx and tabularx

In the MWE \documentclass{article} \usepackage{filecontents} \usepackage{csvsimple} \usepackage{xcolor} \usepackage{tabularx} \usepackage{colortbl} \usepackage{siunitx} \definecolor{ColourTable}{...
2
votes
2answers
179 views

insert table generated by csvsimple package into another tex document not using that package

I'm not sure if the title describes the question clearly. I have a latex document that uses the csvsimple package to read some columns from a large datafile and make a nice table. It works fine, but ...
2
votes
1answer
180 views

csvreader and csvstyle with siunitx: “Paragraph ended before NC@rewrite@S was complete”

I'm trying to define a csvstyle that I can use for multiple tables using csvreader, however I'm running into errors trying to separately format 'S' columns. Each table has the same column names and ...
1
vote
1answer
149 views

Csvsimple with colored rows gives black cell in the next table

What is wrong with: \documentclass[12pt]{article} \usepackage{fontspec} \usepackage[american]{babel} \usepackage{libertine} \usepackage{xcolor} \usepackage{colortbl} \usepackage{csvsimple} \...
2
votes
1answer
2k views

Creating a Table caption with csvsimple package using \csvautotabular{}

I have the following CSV dow_distribution.csv file: DoW,ANZ Vol.,CBA Vol.,MQG Vol.,NAB Vol.,WBC Vol.,AORD Vol.,Total Vol. Monday,3.63,1.93,0.88,3.14,3.56,457.56,470.7 Tuesday,4.11,2.12,0.92,3.64,4.07,...
1
vote
0answers
50 views

How to read chinese formating from CSV

anybody knows which package I can implement to be able to read chinese characters from a CSV file. The code works really well with english, but as soon as a make a CSV file containing chinese format, ...
1
vote
1answer
576 views

csvsimple table going off of page

I have the following CSV dow_distribution.csv file: dow,ANZ Volume,BHP Volume,CBA Volume,MQG Volume,NAB Volume,QAN Volume,RHC Volume,TLS Volume,WBC Volume,WOW Volume,AORD Volume,Total Volume Monday,3....
4
votes
1answer
247 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 ...
0
votes
1answer
63 views

cite inside a csv file

I am trying to create a table from a csv file that has a citation column. Here is a sample from the csv file: id, ref 1, \cite{ref1} 2, \cite{ref2} when I use: \csvreader[ respect all, ...
1
vote
1answer
46 views

Csvsimple: Customize the method of output

\documentclass[12pt]{article} \usepackage{csvsimple,filecontents} \usepackage{fontspec} \usepackage[american]{babel} \usepackage{libertine} \begin{filecontents*}{test.csv} H1, H2 X1, Y1 X2, Y2 X3, ...
0
votes
1answer
202 views

Excluding columns with csvsimple & autotables

first my apologies for not providing a full minimum working example. Description: I have a large number of (mainly large) tables in the csv format that I wish to include in a LaTeX document. The ...
0
votes
1answer
144 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 ...
4
votes
2answers
218 views

Unable to print without quotes in csvsimple

I am trying to print a table from .csv file which is generated by libreoffice in such a way one of the column has a value comma separated e.g John,Terang i want to print John, Terang without any ...
0
votes
0answers
35 views

How to run another tex file from within tikzposter

I want to run a separate tex file from within tikzposter. Is this possible? I can't find any examples on the internet. I want to do something like this, here but using a csvsimple package that ...
2
votes
1answer
341 views

csv issue with semicolon

using pipe as separator in csvsimple : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[frenchb]{babel} \usepackage{microtype} \usepackage{...
1
vote
1answer
190 views

How to use a semicolon separator with csvsimple together with babel (french language)?

1) Semicolon ; separator and babel Using the package csvsimple, I found that I can use a semicolon ; separator only if the babel package is not loaded: \documentclass[varwidth,margin=0.5cm]{...
3
votes
2answers
133 views

CSV file and QR codes

I have a .csv file with some URLs. First I want to store each URL in a variable. Second I want to print the variables in QR codes. What's the easiest way to do this? MWE \documentclass{article} \...
3
votes
1answer
89 views

Import csv and multiple eps files into table

How can I import all the elements of a csv file along with corresponding eps files? Basically I have 3 columns, NSC, Name, Structure. I was able to import text using csvsimple package and I think I ...
1
vote
1answer
684 views

csvreader longtable caption repeated on every page

I am using csvreader with longtable and I added a caption in table head below is my code: \csvreader[ longtable=ccc, table head=\caption{Caption goes here. }\label{tab:sometab} \\ \toprule\...
3
votes
1answer
438 views

Format tabular cell from csv file automatically

I tried to adapt examples from 5.4 Tables with Number Formatting from csvsimple package, but no success. Each line in my csv file has 20 fields, all of them has format like x.xxxxxx. Here is the ...
5
votes
1answer
498 views

csvreader adds extra empty row at the bottom of the table

I want to create a xltabular table by loading the content of a CSV file, which is imported by way of csvreader. At the end of the table, an extra empty undesired row is shown. I can't figure out what ...
2
votes
1answer
357 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{...
1
vote
2answers
446 views

Cannot import csv file data to table in latex using csvsimple

I don't know why the data rows not shows up. Only the header, here is my csv file: method,name,error,occurences socket,socket,"ConnectionResetError(54, 'Connection reset by peer')",12 socket,socket,"...
2
votes
1answer
712 views

Importing csv Table with Underscores

I have to import a csv table whose entries contain underscores. A simple example is the following table: FirstCol, SecondCol Item_A, Item_B I am trying to solve my problem with the csvsimple package ...
2
votes
1answer
187 views

csvsimple row counter processing

I am trying to list data from a csv file using csvsimple and to add automatic hyperlinks to related sections. Issue When working with a file with a header (but using the no head option to define a ...
1
vote
1answer
921 views

Loading data to fill a table from a csv file with multicolumn header

I'm trying to create a table that looks like this . Currently I'm doing this ... \begin{table}[ht!] \centering \begin{tabular}{|l|l|l|l|l|l|l|l|l|l|} \hline \multicolumn{1}{|...
1
vote
2answers
967 views

\csvreader doesn't show the table

Mainly I want to do something similar this- \documentclass{article} \usepackage{csvsimple} \begin{document} This is the summary \csvreader[autotabular]{coefficient.csv} \end{document} but this is ...
3
votes
1answer
253 views

Making text a single row or column centered or bold under (csvsimple)

With some help here I was able to import tables read from a csv file using this code: \documentclass{article} \usepackage{array,booktabs,longtable,csvsimple} \usepackage{filecontents} \begin{...
1
vote
1answer
214 views

csvsimple with minted environment issues

I am trying to parse a csv file with csvsimple in order to output values inside a minted environment. Issue While trying to output the value from the csv row inside mintinline it seems to break the ...
1
vote
1answer
304 views

csvsimple longtable header issue

I am trying to create a longtable from a CSV file with the help of the package csvsimple. I managed to get almost everything in order except for one extra line below the first header (it does not ...
3
votes
1answer
254 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 ...
2
votes
1answer
993 views

separator line (horizontal and vertical) for a table imported using \csvautobooklongtable

I have been trying to fix the column width of my table so that the text would automatically get warped to the next line and not shoot outside the page. After searching for a few days, being a total ...
1
vote
1answer
136 views

how to print a column with a delimiter in csvsimple

I'm using csvsimple for my tables. One of the columns contains data such as "(73,1)". Since it's quoted, it is proper csv. How can I configure csvsimple to treat this data as part of one column and ...
1
vote
2answers
147 views

I have a rogue '%' symbol beside a table. How do I remove it?

I am using the csvsimple package to read a csv, and am doing some minimal formatting in Latex. The csv consists of strings formatted as percentages. I have created hacks to get around most of the ...
2
votes
1answer
70 views

Help with longtable renders extra field

So I have a problem because my longtable seems always render one extra field in my table. Depending on where I put my \ it renders after it goes through the csv or before. My code is: \documentclass{...
3
votes
1answer
44 views

csvloop bug with the word “long”?

I'm experimenting some issues with the csvloop using the package csvsimple. I need help determining if it's a bug with the package, or something I can fix myself. The word "long" is showing up in my ...
4
votes
3answers
98 views

Writing over a white table (superimpose writing)

I'm trying to put the number of rows of a csv file into a latex document, without actually putting the table into the last document. I've tried the tag package, and putting the table in another ...
1
vote
1answer
467 views

csvsimple filter for floating point precision

I am using the csvsimple package to create a table from a csv file. I am using the following options: \csvreader[tabular=lllll, table head=\toprule Instance & Best & Worst & ...
2
votes
1answer
136 views

csvsimple command csvreader changes national letter å to a

I have just began to use the csvsimple package, where I noticed a problem with national letters. The problems occurs with the danish letter å (\aa) and Å (\AA). Before the table these letters are ...
3
votes
1answer
460 views

Table built with if else statement

I'm trying to build a table that will have a table that will automatically assign a third column depending on the grade. So, the third table is dependant on the second one. I want it to look something ...
3
votes
1answer
119 views

Table: filter not working with decimal values

I have a filter that works with the first filecontents, but not the second. In fact, the filter doesn't work as soon as there is a decimal in the values that are going in the table. Does anybody ...
1
vote
1answer
452 views

Filter ifnumgreater not working with csvsimple

LaTeX gives me an error every time I add the line containing the filter. It works fine without the filter. What have I done wrong? Here is my LaTeX entry: \documentclass{article} \usepackage{float} \...
2
votes
1answer
125 views

Generating a table from values in CSV file with bidirectional text

I want to generate a table from values inside csv file which have the following properties: They include bidirectional text; some columns have English text (a left-to-right language) while others ...
1
vote
1answer
308 views

Missing \endgroup in csv longtable

I am trying to read in a very long csv file to a longtable, but I am getting a missing \endgroup inserted error when compiling. I cannot figure out what is missing. \documentclass{standalone} \...
2
votes
1answer
118 views

How to prevent labels from showing up after creating table using csvsimple's csvreader

I'm using ShareLaTeX's Institute of Physics template for this project. I have created a few data tables and since the report I'm making is relatively long and may change in order, I want each one to ...
2
votes
1answer
222 views

Latex for-loop for table header generation

In the table given here there is repetition of the columns. Is there a way to loop over them in Latex, so that you don't have to manually write out the columns? That way the table would just load the ...
2
votes
1answer
731 views

Automatic line breaks in csvautobooklongtable

I have automatically generated CSV (pipe-separated) Data, that I want to print as Latex \csvautobooklongtable. I do not know the the amount of columns (they are variable in number from one set of data ...
1
vote
2answers
1k views

how to import CSV table with header containing spaces

The header column names in my CSV contain spaces. Is there a way to still import it using csvsimple or maybe some other package? That way I would be able to specify data in CSV, import it and render ...
3
votes
3answers
171 views

How to test values in an \ifnum, that are generated from a csv file via \newcommand and \csvreader?

I would like to conditionally print something in a report, based on whether there was a non-zero data point or not (for this example, \DepthOne and \DepthThree are to be tested). I start by reading ...
1
vote
1answer
130 views

csvsimple's csvreader error inside \ExplSyntaxOn \ExplSyntaxOff

When I put a minimal \csvreader from csvsimple inside a \ExplSyntaxOn, \ExplSyntaxOff, I get a pgfkeys error: ! Package pgfkeys Error: I do not know the key '/csv/columnnames', to which you ...