Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

A professor I work with has loads of exam problems in LaTeX. However, he wants to index them in some sort. He wants to be able to tag them according to topic, last year it was used and so on, and then be able to sort and search them according to these tags.

The only answer I came up with was index and makeindex, however that seems a bit overkill. Is there any package that can accomplish this?

share|improve this question
10  
I'd put each exam problem in it's own file, then use some 3rd party system to track the rest of the stats. doing it in latex will be pretty difficult and will require lots of manual updates. Do you want to update the "last used" date every time you use a problem? Probably not. –  Mica Oct 14 '10 at 1:17
    
As a professor who would like the very same thing, I have to agree with @Mica. LaTeX is not a database. You can put some of the metadata into the problem file with coded comments (or fancy macros) but sorting and tracking is not going to be easy. –  Matthew Leingang Oct 14 '10 at 14:51
    
I have to second @Mica and @Matthew Leingang for LaTeX suitability to this task. As said above, maybe you could add metadata in your sources (comments) to specify custom informations. For sorting and searching: you can easily store these informations in a sqlite database using a simple python script, for example. No need for a parser module, simple regular expressions may suffice. –  c_z Oct 19 '10 at 15:53
    
Thanks for your comments. Is there a way for this question to be closed? –  fabikw Oct 20 '10 at 18:35
4  
@Mica: if you place your comment as an answer, then fabikw can accept it, and this question will go out of the 'unanswered' section. –  Taco Hoekwater Oct 29 '10 at 13:10
show 1 more comment

1 Answer

up vote 4 down vote accepted

I'd put each exam problem in it's own file, then use some 3rd party system to track the rest of the stats. doing it in latex will be pretty difficult and will require lots of manual updates. Do you want to update the "last used" date every time you use a problem? Probably not.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.