Is there any package for LaTeX dealing with a database (with some of the fields being LaTeX code). For example, given a collection of problems with fields {id, name, author, refs, statement, solution, difficulty, keywords...} the package should allow to build a latex document from the data filtering by any of the fields (obtaining, for example, a list of the "easy" algebra problems with authors but without solutions). Another possible application is a multilingual CV being the fields the CV entries and the rows the data in the corresponding language.
I managed to simulate this scheme using .bib files to store the data, but as some drawbacks appeared (relative to the code interpretation) I just wonder if there is something specifically designed for this situations.
datatoolpackage. I haven't used it myself so I can't say more about it. – cgnieder Dec 16 '12 at 17:39datatoolpackage and I'm happy to recommend it. – Dec 16 '12 at 17:50textmerg, there an example in build dynamic documents from a Textdatabase. – Fran Dec 20 '12 at 01:22