I am working on an ever evolving document, which will contain my notes on certain topics which I learned outside school. I would like to use Latex to document it as it can sometimes contains math and on the side not it just looks better.
Here is the an example:
Topic: What not to do in Latex.
Tag: latex,
Content: My tip, learning on how not to screw up things in latex.
Topic: Do not short +ve and -ve of battery.
Tag: Engineering
Content: Never do this, as you could die.
Topic: Always use jack-stand when changing oil
Tag: Cars
Content: Seriously don't do this, you could kill yourself.
Topic: Latex again
Tag: Latex
Content: Some new content, notes, tips on latex. etc. etc.
The sections above are in random order thus I am planning to use sections*{Topic}. However I would like to create a hyperlinked table of content to organize them which should look like following:
Cars
- Always use jack-stand when changing oil.
Latex
- What not to do in Latex.
- Latex again
Engineering
- Do not short +ve and -ve of battery.
… and so on.
In above example I used only one tag per topic, but multiple tags should contain the topic listed in each one of them (duplicate content)
So questions I have:
- Is this doable in Latex?
- Is there an alternate way of organizing ever-evolving document with content in random order?
One solution I have is to manually create the Tags as sections and content as subsections, but I can see this getting tedious as the document length increases. Thus looking for an automated solution.

