4

Suppose I have the following scientists.csv file:

name,surname;age
Albert,Einstein;133
Marie,Curie;145
Thomas,Edison;165

Now I want to use ; as the only delimiter:

How can I do that?

MWE

\documentclass{article}
\usepackage{csvsimple}
\begin{document}
\csvautotabular{scientists.csv}
\end{document}

It produces:

jub0bs
  • 58,916
hola
  • 4,026
  • 3
  • 35
  • 72
  • 2
    Do you mean: \csvautotabular[separator=semicolon]{scientists.csv}..? – jon Aug 15 '14 at 04:32
  • @jon But it gives pgfkeys: I do not know the key '/csv/separator' and I am going to ignore it. Perhaps you misspelled it. ...abular[separator=semicolon]{scientists.csv}. – hola Aug 15 '14 at 04:34
  • 2
    Sounds like you have an old version of the package. Your document works for me with csvsimple.sty 2013/09/25 version 1.07 LaTeX CSV file processing (according to \listfiles) – jon Aug 15 '14 at 04:38
  • 1
    @jon OK, I fixed it by downloading it from here. – hola Aug 15 '14 at 04:45
  • 5
    This question appears to be off-topic because the reported problem can be fixed by using a recent version of the package. – Masroor Aug 15 '14 at 05:18

0 Answers0