diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-05 23:22:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-05 23:22:17 +0000 |
commit | 17efbb93c3c280ebec43438b10c53601758ef11e (patch) | |
tree | a113323608fcf1d4538b75835d3d28b8b6bae6be /Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex | |
parent | 9cb0c9d7ad125c5b287bfc285ebf1bf94749494a (diff) |
glossaries-extra (4feb17)
git-svn-id: svn://tug.org/texlive/trunk@43152 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex | 25 |
1 files changed, 21 insertions, 4 deletions
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 f480e816510..2639da2e3d4 100644 --- a/Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex +++ b/Master/texmf-dist/doc/latex/glossaries-extra/sample-record.tex @@ -3,21 +3,38 @@ \documentclass{article} \usepackage[colorlinks]{hyperref} -\usepackage[record]{glossaries-extra} +\usepackage[record,style=index]{glossaries-extra} + % Use \loadglsentries (or \input) for .tex files: % \loadglsentries{example-glossaries-brief} -% Use \glsxtrresourcefile for .glstex files: -\glsxtrresourcefile{sample-resource} +% Use \glsxtrresourcefile or \GlsXtrLoadResources for .glstex files: + +%\GlsXtrLoadResources % loads \jobname.glstex +\glsxtrresourcefile{sample-resource}% loads sample-resource.glstex + +\GlsXtrRecordCounter{section} \begin{document} -\glspl{lorem}, \gls{dolor}, \gls{amet}. +\section{Sample Section} +\printunsrtglossaryunit{section} +% or: +%\printunsrtglossary*{\printunsrtglossaryunitsetup{section}% +% \renewcommand*{\glossarysection}[2][]{\subsection*{Summary}}% +%} + +\gls{dolor}, \gls{amet}. See \url{https://github.com/nlct/bib2gls} for converting .bib to .glstex files. +\section{Another Section} +\printunsrtglossaryunit{section} + +\glspl{lorem}, \gls{amet}. + \printunsrtglossary \end{document} |