From ba8f9817d50e9533e8925630f9fe1290be27cf33 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 28 Sep 2019 21:33:38 +0000
Subject: glossaries (28sep19)

git-svn-id: svn://tug.org/texlive/trunk@52199 c570f23f-e606-0410-a88d-b1316a301751
---
 .../doc/latex/glossaries/samples/sample-dual.tex       | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

(limited to 'Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex')

diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex b/Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex
index 0015f9385a7..4a1fc9a9539 100644
--- a/Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex
+++ b/Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex
@@ -1,21 +1,23 @@
- % This file is public domain
- % If you want to use arara, you need the following directives:
- % arara: pdflatex: { synctex: on }
- % arara: makeglossaries
- % arara: pdflatex: { synctex: on }
+% This file is public domain
+% If you want to use arara, you need the following directives:
+% arara: pdflatex: { synctex: on }
+% arara: makeglossaries
+% arara: pdflatex: { synctex: on }
 \documentclass{article}
 
 \usepackage[acronym]{glossaries}
 
- % \newdualentry[main options]{label}{short}{long}{description}
+% \newdualentry[main options]{label}{short}{long}{description}
 
 \newcommand*{\newdualentry}[5][]{%
+  % main entry:
   \newglossaryentry{main-#2}{name={#4},%
   text={#3\glsadd{#2}},%
   description={#5},%
-  #1
+  #1% additional options for main entry
   }%
-  \newacronym{#2}{#3\glsadd{main-#2}}{#4}
+  % abbreviation:
+  \newacronym{#2}{#3\glsadd{main-#2}}{#4}%
 }
 
 \newdualentry{svm}% label
-- 
cgit v1.2.3

