I want to create a glossary with the glossaries package (or maybe other one) that follow those rules:
- If an entry A has a field "see also" to B, both A and B should show a reference to each other.
- If an entry C has a field "parent = {P}, C should show a reference "child of " P and A should show a reference "parent of" C.
Code: Select all
\newglossaryentry{A}{
name={name of A},
description={description of A},
SEEALSO_THAT_SHOW_REFERENCES_ON_BOTH={B}
}
\newglossaryentry{B}{
name={name of B},
description={description of B}
}
\newglossaryentry{P}{
name={name of P},
description={description of P},
}
\newglossaryentry{C}{
name={name of C},
description={description of C},
PARENT_THAT_SHOW_REFERENCES_ON_BOTH={P}
}
Thank you!