Skip to content

avwhite/csv2tex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#csv2tex

csv2tex is a program that translates a .csv file into a (La)TeX style table, where cells are separated by a $ and rows ended by a \\.

The resulting cells are padded with whitespace, so the columns are straight.

##Usage

	csv2tex csvfile

The output is written to stdout.

##Shortcomings/TODO

  • No effort have been put into error messages, but since I'm using parsec, the parser might spit out something sensible.
  • When parsing files with only one column, an empty line will be interpreted as an empty cell. This means that if there is any succeeding whitespace (which some text editors, like Vim adds), it too will be interpreted as an empty cell.

About

Converts .csv files to tex-style tables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published