Peter Münster wrote:
- 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)
this kind of parsing is rather trival in lua
- sorting (several PDF-documents with different sorting: by name, size, channel or other values)
sorting is also easy
- filtering, for example _ must be converted to \_ and % to \% (same question: C, lua or ConTeXt)
depends, if the font has _ no conversion is needed (otf fonts have this)
- formatting with nice layout (certainly with ConTeXt)
ini parsing ... look into string.find; loop over the lines and triugger on [...] and ...=... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------