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
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
Thanks Pablo, great documentation and just the tool I was looking for. juh
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