1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
|
# csvsimple-l3 package
# Matthew Bertucci 2/3/2022 for v2.3.0
\csvreader{file}{assignments%definition}{command list%definition}#i
\csvreader[options%keyvals]{file}{assignments%definition}{command list%definition}#i
\csvcoli#*
\csvcolii#*
\csvcoliii#*
\csvcoliv#*
\csvcolv#*
\csvloop{options%keyvals}
\csvautotabular{file}#i
\csvautotabular[options%keyvals]{file}#i
\csvautotabular*{file}#i
\csvautotabular*[options%keyvals]{file}#i
\csvautolongtable{file}#i
\csvautolongtable[options%keyvals]{file}#i
\csvautolongtable*{file}#i
\csvautolongtable*[options%keyvals]{file}#i
\csvautobooktabular{file}#i
\csvautobooktabular[options%keyvals]{file}#i
\csvautobooktabular*{file}#i
\csvautobooktabular*[options%keyvals]{file}#i
\csvautobooklongtable{file}#i
\csvautobooklongtable[options%keyvals]{file}#i
\csvautobooklongtable*{file}#i
\csvautobooklongtable*[options%keyvals]{file}#i
\csvset{options%keyvals}
\csvstyle{key name}{options%keyvals}#s#%csvstyle
\csvnames{key name}{assignments%definition}#s#%csvstyle
\csvfilterbool{key name}{boolean expr}#s#%csvstyle
\ifcsvoddrow{then}{else}
\ifcsvfirstrow{then}{else}
\csvfilteraccept
\csvfilterreject
\csvline
\csvlinetotablerow
\thecsvrow
\thecsvcolumncount
\thecsvinputline
\csvsortingrule{name}{file}#i
\csvdatacollection
\csvexpval%<\macro%>
\csvexpnot%<\macro%>
\csvcollectn{code}
\csvcollectx{code}
\csvcollectV%<\macro%>
\ifcsvstrcmp{stringA}{stringB}{true}{false}
\ifcsvnotstrcmp{stringA}{stringB}{true}{false}
\ifcsvstrequal{stringA}{stringB}{true}{false}
\ifcsvprostrequal{stringA}{stringB}{true}{false}
\ifcsvfpcmp{floating point expr}{true}{false}
\ifcsvintcmp{integer expr}{true}{false}
#keyvals:\csvreader,\csvloop,\csvautotabular,\csvautotabular*,\csvautolongtable,\csvautolongtable*,\csvautobooktabular,\csvautobooktabular*,\csvautobooklongtable,\csvautobooklongtable*,\csvset,\csvstyle
before reading=%<code%>
after head=%<code%>
before filter=%<code%>
after filter=%<code%>
late after head=%<code%>
late after line=%<code%>
late after first line=%<code%>
late after last line=%<code%>
before line=%<code%>
before first line=%<code%>
command=%<code%>
after line=%<code%>
after first line=%<code%>
after reading=%<code%>
head#true,false
no head
column names={%<assignments%>}
column names reset
head to column names#true,false
head to column names prefix=%<text%>
column names detection#true,false
check column count#true,false
no check column count
column count=%<number%>
on column count error=%<code%>
warn on column count error
filter strcmp={%<stringA%>}{%<stringB%>}
filter not strcmp={%<stringA%>}{%<stringB%>}
filter equal={%<stringA%>}{%<stringB%>}
filter not equal={%<stringA%>}{%<stringB%>}
filter fp=%<floating point expr%>
filter bool=%<boolean expr%>
filter test=%<condition%>
filter ifthen=%<boolean expr%>
no filter
filter accept all
filter reject all
full filter=%<code%>
range={%<range1,range2,...%>}
tabular=%<preamble%>
centered tabular=%<preamble%>
longtable=%<preamble%>
tabbing
centered tabbing
tabularray=%<preamble%>
long tabularray=%<preamble%>
centered tabularray=%<preamble%>
no table
before table=%<code%>
table head=%<code%>
table foot=%<code%>
after table=%<code%>
table centered#true,false
generic table=%<name%>
generic collected table=%<name%>
generic table options={%<code%>}
respect tab#true,false
respect percent#true,false
respect sharp#true,false
respect dollar#true,false
respect and#true,false
respect backslash#true,false
respect underscore#true,false
respect tilde#true,false
respect circumflex#true,false
respect leftbrace#true,false
respect rightbrace#true,false
respect all
respect none
separator=#comma,semicolon,pipe,tab
file=%<file%>
preprocessed file=%<file%>
preprocessor=%<macro%>
no preprocessing
csvsorter command=%<system command%>
csvsorter configpath=%<path%>
csvsorter log=%<file%>
csvsorter token=%<file%>
sort by=%<file%>
new sorting rule={%<name%>}{%<file%>}
collect data#true,false
data collection=%<macro%>
%csvstyle
#endkeyvals
#keyvals:\csvreader,\csvloop
autotabular=%<file%>
autotabular*=%<file%>
autolongtable=%<file%>
autolongtable*=%<file%>
autobooktabular=%<file%>
autobooktabular*=%<file%>
autobooklongtable=%<file%>
autobooklongtable*=%<file%>
#endkeyvals
# deprecated
\csvifoddrow{then}{else}#S
\csviffirstrow{then}{else}#S
# Let common tabular commands be used in \csvreader etc.
# Without listing them here, they're marked as incorrect outside tabular envs
\cline{i-j}
\hline
\tabularnewline
\toprule#S
\midrule#S
\bottomrule#S
\cmidrule#S
\morecmidrules#S
\specialrule#S
\addlinespace#S
|