From 4fa60b94978debba2283be8b4973f190cad10c0d Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Tue, 19 Nov 2024 17:26:41 +0100 Subject: [PATCH] add example how to define glossary and acronym entries --- lisp/my/my-org-article.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lisp/my/my-org-article.org b/lisp/my/my-org-article.org index d30869de..195e8720 100644 --- a/lisp/my/my-org-article.org +++ b/lisp/my/my-org-article.org @@ -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=).