12.07.2015 Views

Manual for the csvsimple package

Manual for the csvsimple package

Manual for the csvsimple package

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.3 Consistency Check and Filtering/csv/check column count=〈boolean value〉(default true, initially true)This key defines, if <strong>the</strong> number of entries in a data line is checked against an expected value.If true, every non consistent line is ignored without announcement.If false, every line is accepted and may produce an error during fur<strong>the</strong>r processing./csv/no check column countAbbreviation <strong>for</strong> check column count=false.(no value)/csv/column count=〈number〉(no default)Sets <strong>the</strong> 〈number〉 of feasible entries per data line. This setting is only useful in connectionwith /csv/no head → P. 12 , since 〈number〉 would be replaced by <strong>the</strong> number of entries in<strong>the</strong> header line o<strong>the</strong>rwise./csv/on column count error=〈macros〉〈macros〉 to be executed <strong>for</strong> unfeasible data lines./csv/warn on column count errorDisplay of a warning <strong>for</strong> unfeasible data lines.(no default, initially empty)(style, no value)/csv/filter=〈condition〉(no default)Only data lines which fulfill a logical 〈condition〉 are accepted. For <strong>the</strong> 〈condition〉, everyterm from <strong>the</strong> if<strong>the</strong>n <strong>package</strong> [1] is feasible. To preprocess <strong>the</strong> data line be<strong>for</strong>e testing <strong>the</strong>〈condition〉, <strong>the</strong> option key /csv/be<strong>for</strong>e filter → P. 11 can be used./csv/no filterClears a set filter./csv/filter accept allAlias <strong>for</strong> no filter. All consistent data lines are accepted./csv/filter reject allAll data line are ignored.(no value, initially set)(no value, initially set)(no value)/csv/filter equal={〈string A〉}{〈string B〉}(style, no default)Only lines where 〈string A〉 and 〈string B〉 are equal after expansion are accepted./csv/filter not equal={〈string A〉}{〈string B〉}(style, no default)Only lines where 〈string A〉 and 〈string B〉 are not equal after expansion are accepted.13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!