For a while I've been looking for some kind of software that will let me create and cross-reference definitions. The way I imagine this working would be, for instance: I create a file named "Hopf algebra", I type in "A Hopf algebra over a field k is a k-bialgebra such that..." and follow with the definition of a Hopf algebra, and things like "bialgebra" and "field" would be links to those definitions. Essentially something like a DIY maths encyclopedia. Bonus things would be allowing me to put things into categories (e.g. ring theory vs. group theory) and colour-coding, and some manner of LaTeX support would be pretty essential.
I cannot be the only one who's had this idea, but so far all my Google searches have been turning up empty - I figure there's some key word I'm missing. Has anyone heard of something like this before?
Edit: What I'm looking for is a sort of better-organised and better-crossref'd software version of the giant stack of index cards I use right now, not a wiki or anything communal like that.