I want there is some commands in LaTeX or LaTeX packages that I can extract, group and sort text from my documents.
In the MWE above, I'd like to manually edit the section 1 and 2, while automatically generate the section 3 from section 2. I want some user defined command can to this:
- extract all the dates and activities from section 2.
- group all the activities by dates.
- sort all the activities by dates.
Is it possible to accomplish that? Please advice. Thanks!