Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm getting strange errors with pgfplotstable:

\documentclass{article}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage{pgfplots}
    \pgfplotsset{compat=1.7}
\usepackage{pgfplotstable}
\begin{document}
\pgfplotstabletypesetfile[columns={lambda,n},col sep=comma]{n.csv}
\end{document}

And the n.csv file:

lambda,n
6907.16,1.4190
6716.17,1.4185
5790.65,1.4252
5769.59,1.4256
5460.74,1.4272
4916.04,1.4345
4358.35,1.4412
4347.50,1.4461
4339.24,1.4475
4077.81,1.4555
4046.56,1.4572

What's wrong with it:

 Missing \endcsname inserted. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Package inputenc Error: Unicode char \u8: not set up for use with LaTeX. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Extra \endcsname. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Missing \endcsname inserted. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Extra \endcsname. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Missing \endcsname inserted. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Package inputenc Error: Unicode char \u8: not set up for use with LaTeX. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Extra \endcsname. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
Undefined control sequence. [...le[columns={lambda,n},col sep=comma]{n.csv}]
share|improve this question

closed as too localized by Werner, Kurt, diabonas, zeroth, lockstep Mar 20 '13 at 17:49

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Your code works without error for me. It looks like you have some mis-encoded control characters. Try cutting the example back off the website into a clean file and see if you get errors then. –  David Carlisle Mar 20 '13 at 16:43
    
@DavidCarlisle: I copy-and-paste the code and it works. Strange errors... –  m0nhawk Mar 20 '13 at 16:48
    
If you diff with your original you may see where the different characters are, should we close this as too localised? –  David Carlisle Mar 20 '13 at 16:50

Browse other questions tagged or ask your own question.