I have the following document:
\documentclass[a4paper,10pt]{article}
\usepackage{pgfplotstable, booktabs}
\pgfplotsset{compat=1.14}
\pagenumbering{gobble}
\begin{document}
\begin{center}
\pgfplotstabletypeset [
col sep = comma,
every head row/.style={before row=\toprule, after row=\midrule},
every last row/.style={after row=\bottomrule},
display columns/0/.style={string type}
]{csv1.csv}
\end{center}
\end{document}
It uses a separate file, csv1.csv, as input to produce a table:
Name,Number
Daniel,1
Mary,2
Sarah,3
Suppose I have hundreds of CSV-files and I want to compile one PDF for each of them. The only thing I would need to change in my document is csv1.csv.
2 