add example how to define glossary and acronym entries

This commit is contained in:
2024-11-19 17:26:41 +01:00
parent 940979a9fe
commit 4fa60b9497

View File

@@ -708,6 +708,16 @@ Create math matrix objects with org tables
* Glossary and Acronym and References
** Glossary
Define glossary entries with
#+latex_header_extra: \newglossaryentry{tree}{name={tree},description={A description for the glossary entry}}
#+latex_header_extra: \newglossaryentry{shrub}{name={shrub},description={A description for the other glossary entry}}
#+begin_src org
,#+latex_header_extra: \newglossaryentry{tree}{name={tree},description={A description for the glossary entry}}
,#+latex_header_extra: \newglossaryentry{shrub}{name={shrub},description={A description for the other glossary entry}}
#+end_src
See command =org-ref-glossary-gls-commands= and use
=org-ref-insert-glossary-link= to insert a link with completion (=C-c
C-l=).
@@ -731,6 +741,15 @@ Use a glossary entry using
|-----------+-------------------------------------------------------------|
** Acronym
Define acronym entries with
#+latex_header_extra: \newacronym{bb}{BB}{Two Letter Acronym}
#+latex_header_extra: \newacronym{qos}{QoS}{quality-of-service}
#+begin_src org
,#+latex_header_extra: \newacronym{bb}{BB}{Two Letter Acronym}
,#+latex_header_extra: \newacronym{qos}{QoS}{quality-of-service}
#+end_src
See command =org-ref-acronym-types= and use =org-ref-insert-acronym-link=
to insert a link with completion (=C-c C-l=).