I'm following this csvsimple documentation and I've come across an issue with my csv file having a reserved character: # and I've tried escaping it with a blackslash(\)
and I've tried appending [respect sharp]
to \csvreader
(since you can escape the underscore by doing that) but to no avail. I know you can use [respect sharp] with \csvautotabular
, but I can't seem to find out how to do this with csvreader
This is my code:
\begin{tabular}{|r|l|c|}\hline%
& Person & Matr.~No.\\\hline\hline
\csvreader[tabular=|r|l|l|, table head=\hline, table foot=\hline]%
{csv/scientists.csv}{name=\name,description=\desc}%
{\thecsvrow & \name & \desc}%
\end{tabular}
This is my csv code:
name, description
Locking, {Priced standard #2. Priced outside #1.}
Getting an Illegal parameter number in definition of \csv@col@body
error