%% %% This is file `glossary-hypernav.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% glossaries.dtx (with options: `glossary-hypernav.sty,package') %% %% glossaries.dtx %% Copyright 2024 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. %% %% The Current Maintainer of this work is Nicola Talbot. %% %% This work consists of the files glossaries.dtx and glossaries.ins and the derived files glossaries.sty, glossary-hypernav.sty, glossary-inline.sty, glossary-list.sty, glossary-long.sty, glossary-longbooktabs.sty, glossary-longragged.sty, glossary-mcols.sty, glossary-super.sty, glossary-superragged.sty, glossary-tree.sty, glossaries-babel.sty, glossaries-polyglossia.sty, glossaries-prefix.sty, glossaries-accsupp.sty, glossaries-compatible-207.sty, glossaries-compatible-307.sty, glossaries-2020-03-19.sty, glossaries-accsupp-2020-03-19.sty, glossaries-babel-2020-03-19.sty, glossaries-compatible-207-2020-03-19.sty, glossaries-compatible-307-2020-03-19.sty, glossaries-polyglossia-2020-03-19.sty, glossaries-prefix-2020-03-19.sty, glossary-hypernav-2020-03-19.sty, glossary-inline-2020-03-19.sty, glossary-list-2020-03-19.sty, glossary-long-2020-03-19.sty, glossary-longbooktabs-2020-03-19.sty, glossary-longragged-2020-03-19.sty, glossary-mcols-2020-03-19.sty, glossary-super-2020-03-19.sty, glossary-superragged-2020-03-19.sty, glossary-tree-2020-03-19.sty, glossaries-2021-11-01.sty, glossaries-accsupp-2021-11-01.sty, glossaries-babel-2021-11-01.sty, glossaries-compatible-207-2021-11-01.sty, glossaries-compatible-307-2021-11-01.sty, glossaries-polyglossia-2021-11-01.sty, glossaries-prefix-2021-11-01.sty, glossary-hypernav-2021-11-01.sty, glossary-inline-2021-11-01.sty, glossary-list-2021-11-01.sty, glossary-long-2021-11-01.sty, glossary-longbooktabs-2021-11-01.sty, glossary-longragged-2021-11-01.sty, glossary-mcols-2021-11-01.sty, glossary-super-2021-11-01.sty, glossary-superragged-2021-11-01.sty, glossary-tree-2021-11-01.sty, glossaries-2022-11-03.sty, glossary-hypernav-2022-11-03.sty, example-glossaries-acronym-desc.tex, example-glossaries-acronym.tex, example-glossaries-acronyms-lang.tex, example-glossaries-brief.tex, example-glossaries-childmultipar.tex, example-glossaries-childnoname.tex, example-glossaries-cite.tex, example-glossaries-images.tex, example-glossaries-long.tex, example-glossaries-longchild.tex, example-glossaries-multipar.tex, example-glossaries-parent.tex, example-glossaries-symbolnames.tex, example-glossaries-symbols.tex, example-glossaries-url.tex, example-glossaries-user.tex, example-glossaries-utf8.tex, glossaries.l2h. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \DeclareRelease{v4.46}{2020-03-19}{glossary-hypernav-2020-03-19.sty} \DeclareRelease{v4.49}{2021-11-01}{glossary-hypernav-2021-11-01.sty} \DeclareRelease{v4.52}{2022-11-03}{glossary-hypernav-2022-11-03.sty} \DeclareCurrentRelease{v4.54}{2024-04-03} \ProvidesPackage{glossary-hypernav}[2024/04/03 v4.54 (NLCT)] \newcommand*{\glsnavhyperlink}[3][\currentglossary]{% \protected@edef\gls@grplabel{#2}\protected@edef\@gls@grptitle{#3}% \@glslink{\glsnavhyperlinkname{#1}{#2}}{#3}% } \newcommand*{\glsnavhyperlinkname}[2]{glsn:#1@#2} \ExplSyntaxOn \cs_new:Npn \glossaries_add_hypergroup:nn #1 #2 { \seq_if_exist:cTF { g_glossaries_ #1 _hypergroups_seq } { \seq_if_in:cnF { g_glossaries_ #1 _hypergroups_seq } { #2 } { \seq_gput_right:cn { g_glossaries_ #1 _hypergroups_seq } { #2 } } } { \seq_new:c { g_glossaries_ #1 _hypergroups_seq } \seq_gput_right:cn { g_glossaries_ #1 _hypergroups_seq } { #2 } } } \cs_generate_variant:Nn \glossaries_add_hypergroup:nn { nx } \cs_new:Npn \glossaries_if_hypergroup:nnTF #1 #2 #3 #4 { \seq_if_exist:cTF { g_glossaries_ #1 _hypergroups_seq } { \seq_if_in:cnTF { g_glossaries_ #1 _hypergroups_seq } { #2 } { #3 } { #4 } } { #4 } } \cs_generate_variant:Nn \glossaries_if_hypergroup:nnTF { nxTF } \cs_new:Npn \glossaries_if_hypergroup:nnT #1 #2 #3 { \glossaries_if_hypergroup:nnTF { #1 } { #2 } { #3 } { } } \cs_generate_variant:Nn \glossaries_if_hypergroup:nnT { nxT } \cs_new:Npn \glossaries_if_hypergroup:nnF #1 #2 #3 { \glossaries_if_hypergroup:nnTF { #1 } { #2 } { } { #3 } } \cs_generate_variant:Nn \glossaries_if_hypergroup:nnF { nxF } \newcommand*{\glsnavhypertarget}{\protect\@@gls@navhypertarget} \newcommand*{\@@gls@navhypertarget}[3][\currentglossary]{% \@glsnavhypertarget{#1}{#2}{#3}% } \newcommand{\glsnavhypergroupdotarget}[3]{ \@glstarget{\glsnavhyperlinkname{#1}{#2}}{#3}% } \newcommand*{\@glsnavhypertarget}[3]{% \protected@write\@auxout{}{\string\@gls@hypergroup{#1}{#2}}% \glsnavhypergroupdotarget { #1 } { #2 } { #3 } \glossaries_if_hypergroup:nxF { #1 } { #2 } { \GlossariesWarningNoLine{Navigation ~ panel ~ for ~ glossary ~ type ~ `#1'^^Jmissing ~ group ~ `#2'}% \gdef\gls@hypergrouprerun{% \GlossariesWarningNoLine{Navigation ~ panel ~ has ~ changed. ~ Rerun ~ LaTeX}}% } } \let\gls@hypergrouprerun\relax \AtEndDocument{\gls@hypergrouprerun} \newcommand*{\@gls@hypergroup}[2]{ \glossaries_add_hypergroup:nx { #1 } { #2 } } \newcommand*{\glsnavigation}{% \def\@gls@between{}% \seq_map_inline:cn { g_glossaries_ \currentglossary _hypergroups_seq } { \@gls@between \glsnavigationitem { ##1 } \let\@gls@between\glshypernavsep }% } \newcommand{\glsnavigationitem}[1]{% \@gls@getgrouptitle { #1 } { \@gls@grptitle } \exp_args:Nno \glsnavhyperlink { #1 } { \@gls@grptitle } } \newcommand*{\glshypernavsep}{\space\textbar\space} \newcommand*{\glssymbolnav}{% \glsnavhyperlink{glssymbols}{\glsgetgrouptitle{glssymbols}}% \glshypernavsep \glsnavhyperlink{glsnumbers}{\glsgetgrouptitle{glsnumbers}}% \glshypernavsep } \ExplSyntaxOff \endinput %% %% End of file `glossary-hypernav.sty'.