I am writing a mathematics book. For each example, I would like to store a few attributes, including:
-The source
-Whether I have checked the problem
-The difficulty of the problem
(etc.)
Normally, I would just create a spreadsheet that would do this, but I frequently rearrange the examples, making it cumbersome to update the spreadsheet.
Is it possible to create a database that stores these attributes for each \item (each example), that can be conveniently printed, and dynamically updated when the \item's are rearranged?
Here's a tangible example of what I want.
\section{Chapter 1}
\begin{enumerate}
%Source: X
%Checked: No
%Difficulty: Easy
\item (Example goes here)
%Source: Y
%Checked: Yes
%Difficulty: Hard
\item (Example goes here)
\end{enumerate}
And the output would be a .PDF, something like
Example 1.1
Source: X
Checked: No
Difficulty: Easy
Example 1.2
Source: Y
Checked: Yes
Difficulty: Hard
where the above is formatted in a table of some sort.
Thanks in advance for the help! Please let me know if I should clarify the question.