diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/bib2gls/examples')
22 files changed, 80 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-authors.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-authors.pdf Binary files differindex 8b5267884aa..9313283211c 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-authors.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-authors.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-bacteria.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-bacteria.pdf Binary files differindex 7a234832ef1..4bea556abdf 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-bacteria.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-bacteria.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-chemical.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-chemical.pdf Binary files differindex 6eea6850c5f..a40807a98fe 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-chemical.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-chemical.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-citations.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-citations.pdf Binary files differindex 4e7484577bc..af0ca7379de 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-citations.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-citations.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-constants.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-constants.pdf Binary files differindex afd62a657f4..f940272f170 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-constants.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-constants.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-hierarchical.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-hierarchical.pdf Binary files differnew file mode 100644 index 00000000000..e33b240606b --- /dev/null +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-hierarchical.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-hierarchical.tex b/Master/texmf-dist/doc/support/bib2gls/examples/sample-hierarchical.tex new file mode 100644 index 00000000000..7d00843f90d --- /dev/null +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-hierarchical.tex @@ -0,0 +1,31 @@ +% This file is public domain. See the "Examples" chapter +% in the bib2gls user manual for a more detailed description +% of this file. + +\documentclass[12pt,a4paper]{article} + +\usepackage[T1]{fontenc} +\usepackage[colorlinks]{hyperref} + +\usepackage[record,% use bib2gls + nostyles,% don't load default styles + postdot,% add a full stop after the description +% load glossary-tree.sty and patch styles: + stylemods={tree}, + style=treegroup]{glossaries-extra} + +\GlsXtrLoadResources[ + src={terms,animals,minerals,vegetables},% data these .bib files + field-aliases={identifier=parent} +] + +\begin{document} +Some sample terms: \gls{duck}, \gls{sealion}, \gls{armadillo}, +\gls{seal}, \gls{aardvark}, \gls{amethyst}, \gls{aquamarine}, +\gls{diamond}, \gls{dolomite}, \gls{chalcedony}, \gls{citrine}, +\gls{quetzalcoatlite}, \gls{cabbage}, \gls{cauliflower}, +\gls{artichoke}, \gls{courgette}. + +\GlsXtrSetDefaultNumberFormat{glsignore}% ignore records in the glossary +\printunsrtglossary +\end{document} diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-markuplanguages.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-markuplanguages.pdf Binary files differindex c381c0b8d9f..6688825d480 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-markuplanguages.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-markuplanguages.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-maths.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-maths.pdf Binary files differindex 3bc8fe6a11c..43cd7710df4 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-maths.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-maths.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-media.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-media.pdf Binary files differindex 5daa1bcf79b..1369546ba45 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-media.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-media.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-msymbols.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-msymbols.pdf Binary files differindex 94b0cd9aa74..2b066570ab5 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-msymbols.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-msymbols.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi1.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi1.pdf Binary files differindex 7cb94e2e827..49cc35baaf4 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi1.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi1.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi2.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi2.pdf Binary files differindex b2ad9f79f33..90cdb481e90 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi2.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi2.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-nested.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-nested.pdf Binary files differnew file mode 100644 index 00000000000..8286cb06433 --- /dev/null +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-nested.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-nested.tex b/Master/texmf-dist/doc/support/bib2gls/examples/sample-nested.tex new file mode 100644 index 00000000000..fc6b540706c --- /dev/null +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-nested.tex @@ -0,0 +1,49 @@ +% This file is public domain. See the "Examples" chapter +% in the bib2gls user manual for a more detailed description +% of this file. + +\documentclass[12pt,a4paper]{article} + +\usepackage[T1]{fontenc} +\usepackage[colorlinks]{hyperref} + +\usepackage[record,% use bib2gls + nostyles,% don't load default styles + postdot,% add a full stop after the description +% load glossary-tree.sty and patch styles: + stylemods={tree}, + style=treegroup]{glossaries-extra} + +\GlsXtrLoadResources[src={terms},sort={en-reverse}] + +\GlsXtrLoadResources[ + src={animals,minerals,vegetables}, + field-aliases={identifier=type}, + dependency-fields=type, + sort={en} +] + +\newcommand{\nestedhandler}[1]{% + \glsxtrunsrtdo{#1}% +% Is there a glossary whose label (type) matches this entry's label? + \ifglossaryexists*{#1}% + {% + \printunsrtinnerglossary[type={#1},leveloffset=++1,groups=false]{}{}% + }% + {}% +} + +\begin{document} +Some sample terms: \gls{duck}, \gls{sealion}, \gls{armadillo}, +\gls{seal}, \gls{aardvark}, \gls{amethyst}, \gls{aquamarine}, +\gls{diamond}, \gls{dolomite}, \gls{chalcedony}, \gls{citrine}, +\gls{quetzalcoatlite}, \gls{cabbage}, \gls{cauliflower}, +\gls{artichoke}, \gls{courgette}. + +\GlsXtrSetDefaultNumberFormat{glsignore}% ignore records in the glossary + +\printunsrtglossary*{% + \let\printunsrtglossaryhandler\nestedhandler +} + +\end{document} diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-people.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-people.pdf Binary files differindex 34c8dc47507..e56463c5cbd 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-people.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-people.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols.pdf Binary files differindex 1a142e08f0e..1b7fbffb086 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols2.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols2.pdf Binary files differindex 6a3eb23a495..a9a33d07507 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols2.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols2.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-units1.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-units1.pdf Binary files differindex b1f890b33d0..82a539f6db0 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-units1.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-units1.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-units2.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-units2.pdf Binary files differindex 57fa32679d3..2bdd998fac6 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-units2.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-units2.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-units3.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-units3.pdf Binary files differindex 77ec87df670..c8a61336578 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-units3.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-units3.pdf diff --git a/Master/texmf-dist/doc/support/bib2gls/examples/sample-usergroups.pdf b/Master/texmf-dist/doc/support/bib2gls/examples/sample-usergroups.pdf Binary files differindex 41b5ee9544c..2b0a48ce126 100644 --- a/Master/texmf-dist/doc/support/bib2gls/examples/sample-usergroups.pdf +++ b/Master/texmf-dist/doc/support/bib2gls/examples/sample-usergroups.pdf |