![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
Hello, I have to convert an "ini"-file to pdf. On the one hand, it's easy for me to do most things in C, on the other hand, I would like to enlarge my experience with lua and ConTeXt. So here my question to the experts: what languages would you use for the different tasks? In fact, I believe lua could do a good job for some tasks, but I'm not really sure. Here the details: Example "ini"-file with 2 entries (the real file has about 200 entries): [temp_room] comment = the room temperature in °C description = This value must be sent at least once per 15 minutes, \ but only if a local sensor is connected to the device. size = 16 channel = master fb = RTS dpt = 2.009 dir = o [power] comment = the actual power available in % description = This value is only used to calculate the energy \ consumption. size = 8 channel = slave fb = HVA dpt = 4.307 dir = i The tasks: - put theses entries into a structured table (easy to do in C and the iniparser library http://ndevilla.free.fr/iniparser/ but it could be nice to do it in lua) - sorting (several PDF-documents with different sorting: by name, size, channel or other values) - filtering, for example _ must be converted to \_ and % to \% (same question: C, lua or ConTeXt) - formatting with nice layout (certainly with ConTeXt) For example, the first entry could become: 1.) temp_room, the room temperature in °C ----------------------------------------- ______________________________________________________________________ | Master | RTS | Output with datapoint type 2.009 (16 bits) | |___________|_________|______________________________________________| This value must be sent at least once per 15 minutes, but only if a local sensor is connected to the device. (Until now, I've coded just one line of lua-code in my life...) Perhaps, with your help, the subject line could become: ini -> MKIV -> pdf Thanks in advance for any hints and encouragements! Cheers, Peter -- http://pmrb.free.fr/contact/