TeX - LaTeX Asked by Scott Lovell on September 26, 2021
Is there any way to get definedescription
& setupdescriptions
to not only produce the inline description, but also an entry in a sorted glossary? Perhaps with before=
& after=
to add the commands for the glossary?
Other than needing to resolve some "normal" formatting issues, I've found a solution....
setuppapersize[letter]
setupexternalfigures[location=default]
setupwhitespace[medium]
definedescription[conceptdesc][alternative=serried,headstyle=bold,width=broad]
definesynonyms[conceptsyn][concepts][expandconcept]
setupsynonyms[conceptsyn][width=4cm, criterium=all]
defconcept#1#2%
{
conceptsyn{#1}{#2}
index{#1}
conceptdesc{#1}#2par
}
starttext
chapter{The Great Text}
input lorem.tex
concept{Catatonic Choochoo}{
The etherial vehicle one travels on when being
kidnapped by friends.
}
input lorem.tex
concept{Application Binary Interface}{
In computer software, an application binary
interface is an interface between two binary program modules; often, one of these modules is a library or operating system facility, and the other is a program that is being run by a user.
}
input lorem.tex
chapter{Concepts}
placelistofconcepts
chapter{Index}
placeindex
stoptext
Answered by Scott Lovell on September 26, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP