From e94d686213b25e06fdc7b227bcb3d7baaf67c06a Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 9 Sep 2017 22:34:08 +0000
Subject: glossaries-extra (9sep17)

git-svn-id: svn://tug.org/texlive/trunk@45251 c570f23f-e606-0410-a88d-b1316a301751
---
 .../doc/latex/glossaries-extra/sample-record.tex   | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

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

diff --git a/Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex b/Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex
index 2639da2e3d4..760a866f0c4 100644
--- a/Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex
+++ b/Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex
@@ -1,25 +1,25 @@
 % arara: pdflatex
+% arara: bib2gls
 % arara: pdflatex
 \documentclass{article}
 
 \usepackage[colorlinks]{hyperref}
-\usepackage[record,style=index]{glossaries-extra}
-
-
-% Use \loadglsentries (or \input) for .tex files:
-% \loadglsentries{example-glossaries-brief}
-
-% Use \glsxtrresourcefile or \GlsXtrLoadResources for .glstex files:
-
-%\GlsXtrLoadResources % loads \jobname.glstex
-\glsxtrresourcefile{sample-resource}% loads sample-resource.glstex
+\usepackage[record,% use bib2gls
+ style=index]{glossaries-extra}
 
 \GlsXtrRecordCounter{section}
 
+\GlsXtrLoadResources[
+   src={example-glossaries-brief},% entries defined in example-glossaries-brief.bib
+   sort={en-GB},% sort according to en-GB locale
+   loc-prefix={{\unskip, page},{\unskip, pages}},% prefix for location list
+   loc-suffix% suffix for location list
+ ]
+
 \begin{document}
 
 \section{Sample Section}
-\printunsrtglossaryunit{section}
+\printunsrtglossaryunit[nonumberlist]{section}
 % or:
 %\printunsrtglossary*{\printunsrtglossaryunitsetup{section}%
 %  \renewcommand*{\glossarysection}[2][]{\subsection*{Summary}}%
@@ -27,11 +27,11 @@
 
 \gls{dolor}, \gls{amet}.
 
-See \url{https://github.com/nlct/bib2gls} for converting
+See \url{http://www.dickimaw-books.com/software/bib2gls} for converting
 .bib to .glstex files.
 
 \section{Another Section}
-\printunsrtglossaryunit{section}
+\printunsrtglossaryunit[nonumberlist]{section}
 
 \glspl{lorem}, \gls{amet}.
 
-- 
cgit v1.2.3

