I have got a custom command:
\register{address}{format}{shortdescription}{longdescription}
I now want to create a toc of this commands, but not in the normal way, it should be a real table with the some parameters of the command.
Address || shortdescription || format || reflink
Is this possible? What package may I use for this? Basically i want to have a overview table of all with \register
created objects. I found tocloft
but dont see an option to access the parameters of a watched command.
Best Answer
\addtocontents
/\@starttoc
of the LaTeX 2ε-kernel might be your friends:Alternatively you can combine the usage of the package datatool with a document-wide l3-property-list and save property-values to a datatool-database which at the end of the latex-run is written to external comma-separated-value-file from which things are retrieved for displaying.
(Actually two databases are used - one for obtaining data stemming from the previous latex-run, one for storing data during the current latex-run and writng to .csv-file at the end of the latex-run.)