![](https://secure.gravatar.com/avatar/2349dcb0bed02a89d589125ccc301859.jpg?s=120&d=mm&r=g)
Hi all, I found some hints to CSV in the wiki, but they all refer to tables. What are the building block to create business cards from a csv file? My business-card.tex looks like this: \starttext {\bf Vorname Name}\\ Function \blank Company\\ Street\\ PLZ City\\ Germany\\ Telefon: 12345678\\ name@example.com\\ www.example.com\\ \stoptext In pseudo code I think something like this could work: for i in csv: {\bf $Vorname $Name}\\ $Function \blank $Company\\ $Street\\ etc. \page The variables ($Vorname, $Name etc) could be named according to the columns in the first row in the csv-file. Each row starting from the second is creating a page (business card). TIA juh
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 2/7/19 2:27 PM, Jan U. Hasecke wrote:
Hi all,
I found some hints to CSV in the wiki, but they all refer to tables.
What are the building block to create business cards from a csv file? Hi Jan Ulrich,
there is a module that does it (handlecsv, which comes with the ConTeXt Suite [I wrote the documentation for it]): I attach both the ConTeXt source and a sample CSV file. It could be a good starting point. Just in case it helps, Pablo -- http://www.ousia.tk
![](https://secure.gravatar.com/avatar/2349dcb0bed02a89d589125ccc301859.jpg?s=120&d=mm&r=g)
Thanks Pablo, great documentation and just the tool I was looking for. juh
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 2/10/19 11:01 AM, Jan U. Hasecke wrote:
Thanks Pablo,
great documentation and just the tool I was looking for.
Jan Ulrich, Jaroslav Hajtmar has done a great job with the handlecsv module. I have used it and I find it extremely useful. The least I could do was to write the documentation. Cheers, Pablo -- http://www.ousia.tk
participants (2)
-
Jan U. Hasecke
-
Pablo Rodriguez