From 76fb2142ad97b7b04ad28687472e3c29036971a1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Dec 2019 23:12:38 +0000 Subject: glossaries (7dec19) git-svn-id: svn://tug.org/texlive/trunk@53043 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/glossaries/glossaries.dtx | 6745 +------------------- .../source/latex/glossaries/glossaries.ins | 56 +- 2 files changed, 51 insertions(+), 6750 deletions(-) (limited to 'Master/texmf-dist/source/latex/glossaries') diff --git a/Master/texmf-dist/source/latex/glossaries/glossaries.dtx b/Master/texmf-dist/source/latex/glossaries/glossaries.dtx index 124662d6a67..37f589e208e 100644 --- a/Master/texmf-dist/source/latex/glossaries/glossaries.dtx +++ b/Master/texmf-dist/source/latex/glossaries/glossaries.dtx @@ -1,10 +1,12 @@ %\iffalse % glossaries.dtx generated using makedtx version 1.2 (c) Nicola Talbot % Command line args: +% -codetitle "Main Package Code" +% -doc "glossaries-manual.tex" +% -section "chapter" +% -setambles ".*\.perl=>\nopreamble\nopostamble" +% -setambles ".*\.tex=>\nopreamble\nopostamble" % -author "Nicola Talbot" -% -comment ".*\.perl" -% -comment ".*\.tex" -% -comment ".*\.xdy" % -src "glossaries\.sty\Z=>glossaries.sty" % -src "glossaries-prefix.sty\Z=>glossaries-prefix.sty" % -src "(glossary-.+)\.(sty)\Z=>\1.\2" @@ -13,25 +15,14 @@ % -src "(glossaries-accsupp)\.(sty)\Z=>\1.\2" % -src "(glossaries-babel)\.(sty)\Z=>\1.\2" % -src "(glossaries-polyglossia)\.(sty)\Z=>\1.\2" -% -src "(minimalgls\.tex)\Z=>\1" -% -src "(glossary-lipsum-examples\.tex)\Z=>\1" % -src "(example-glossaries-.*\.tex)\Z=>\1" -% -src "(sample.*\.tex)\Z=>\1" -% -src "(mwe.*\.tex)\Z=>\1" -% -src "(samplexdy-mc.*\.xdy)\Z=>\1" -% -src "(database.*\.tex)\Z=>\1" % -src "(.*\.perl)\Z=>\1" % -macrocode ".*\.perl" % -macrocode ".*\.tex" -% -macrocode ".*\.xdy" -% -section "chapter" -% -codetitle "Main Package Code" -% -doc "glossaries-manual.tex" -% -setambles ".*\.perl=>\nopreamble\nopostamble" -% -setambles ".*\.tex=>\nopreamble\nopostamble" -% -setambles ".*\.xdy=>\nopreamble\nopostamble" +% -comment ".*\.perl" +% -comment ".*\.tex" % glossaries -% Created on 2019/9/28 15:01 +% Created on 2019/12/6 14:57 %\fi %\iffalse %<*package> @@ -145,7 +136,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of \setcounter{IndexColumns}{2} -\CheckSum{19658} +\CheckSum{19669} \newcommand*{\ifirstuse}{\iterm{first use}} \newcommand*{\firstuse}{\gls{firstuse}} @@ -172,12 +163,12 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of %\fi %\MakeShortVerb{"} % -% \title{Documented Code For glossaries v4.43} +% \title{Documented Code For glossaries v4.44} % \author{Nicola L.C. Talbot\\[10pt] %Dickimaw Books\\ %\url{http://www.dickimaw-books.com/}} % -% \date{2019-09-28} +% \date{2019-12-06} % \maketitle % %This is the documented code for the \styfmt{glossaries} package. @@ -193,7 +184,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of %glossaries package}. % %\item[\url{glossaries-user.pdf}] -%For the main user guide, read \qt{glossaries.sty v4.43: +%For the main user guide, read \qt{glossaries.sty v4.44: %\LaTeX2e\ Package to Assist Generating Glossaries}. % %\item[\url{mfirstuc-manual.pdf}] @@ -248,7 +239,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of % This package requires \LaTeXe. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} %\changes{4.18}{2015-09-09}{split mfirstuc into separate bundle} % Required packages: @@ -19196,7 +19187,7 @@ you % \cs{gls}\marg{label}} on subsequent use. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-prefix}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-prefix}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Pass all options to \sty{glossaries}: % \begin{macrocode} @@ -19351,6 +19342,20 @@ you % \end{macrocode} %\end{macro} % +%\begin{macro}{\@glsprefix@record@hook} +%\changes{4.44}{2019-12-06}{new} +%Need to take into account the possibility that +%\sty{glossaries-extra} might be loaded with the \pkgopt{record} +%option. +% \begin{macrocode} +\providecommand{\@glsprefix@record@hook}[2]{% + \ifdef\@glsxtr@record + {\@glsxtr@record{#1}{#2}{glslink}}% + {}% +} +% \end{macrocode} +%\end{macro} +% % Define commands that insert the prefix before commands like \ics{gls}: %\begin{macro}{\pgls} %\changes{4.08}{2014-07-30}{changed to use \cs{@gls@hyp@opt}} @@ -19374,6 +19379,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@pgls@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19412,6 +19418,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@pglspl@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19450,6 +19457,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@Pgls@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19497,6 +19505,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@Pglspl@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19544,6 +19553,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@PGLS@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19582,6 +19592,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@PGLSpl@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19611,7 +19622,7 @@ you %\label{sec:code:hypernav} % Package Definition: % \begin{macrocode} -\ProvidesPackage{glossary-hypernav}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-hypernav}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % % The commands defined in this package are provided to @@ -19804,7 +19815,7 @@ you % This defines an in-line style where the entries are % comma-separated with just the name and description displayed. % \begin{macrocode} -\ProvidesPackage{glossary-inline}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-inline}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % %\begin{style}{inline} @@ -19995,7 +20006,7 @@ you % \ics{item} command, it will appear in a bold font by % default. % \begin{macrocode} -\ProvidesPackage{glossary-list}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-list}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} %\begin{macro}{\indexspace} %\changes{4.13}{2015-02-03}{new} @@ -20277,7 +20288,7 @@ you % The glossary styles defined in the \isty{glossary-long} package % used the \env{longtable} environment in the glossary. % \begin{macrocode} -\ProvidesPackage{glossary-long}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-long}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{longtable} package: % \begin{macrocode} @@ -20774,7 +20785,7 @@ you % \url{http://tex.stackexchange.com/a/56890} % % \begin{macrocode} -\ProvidesPackage{glossary-longbooktabs}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-longbooktabs}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires \sty{booktabs} package: % \begin{macrocode} @@ -21115,7 +21126,7 @@ you % used the \env{longtable} environment in the glossary and use % ragged right formatting for the multiline columns. % \begin{macrocode} -\ProvidesPackage{glossary-longragged}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-longragged}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -21548,7 +21559,7 @@ you %use the \sty{multicol} package. These use the tree-like glossary %styles in a multicol environment. % \begin{macrocode} -\ProvidesPackage{glossary-mcols}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-mcols}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Required packages: % \begin{macrocode} @@ -21985,7 +21996,7 @@ you % The glossary styles defined in the \isty{glossary-super} package % use the \env{supertabular} environment. % \begin{macrocode} -\ProvidesPackage{glossary-super}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-super}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{supertabular} package: % \begin{macrocode} @@ -22517,7 +22528,7 @@ you % are like those provided by the \isty{glossary-super} package, % except that the multiline columns have ragged right justification. % \begin{macrocode} -\ProvidesPackage{glossary-superragged}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-superragged}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -22957,7 +22968,7 @@ you % that have a tree-like structure. These are designed for % hierarchical glossaries. % \begin{macrocode} -\ProvidesPackage{glossary-tree}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-tree}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % %\begin{macro}{\indexspace} @@ -23678,7 +23689,7 @@ you % hyperlinks may not work properly. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-207}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-compatible-207}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} %\begin{macro}{\GlsAddXdyAttribute} % Adds an attribute in old format. @@ -24039,7 +24050,7 @@ you %\section{glossaries-compatible-307} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-307}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-compatible-307}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % % Compatibility macros for predefined glossary styles: @@ -24847,7 +24858,7 @@ you % \end{macrocode} % Package version number now in line with main glossaries package number. % \begin{macrocode} -\ProvidesPackage{glossaries-accsupp}[2019/09/28 v4.43 (NLCT) +\ProvidesPackage{glossaries-accsupp}[2019/12/06 v4.44 (NLCT) Experimental glossaries accessibility] % \end{macrocode} % Pass all options to \sty{glossaries}: @@ -27290,7 +27301,7 @@ you % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-babel}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-babel}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -27334,7 +27345,7 @@ you % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-polyglossia}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-polyglossia}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -27370,344 +27381,6 @@ you %\fi %\iffalse % \begin{macrocode} -%<*minimalgls.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*glossary-lipsum-examples.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex - % arara: bibtex - % arara: pdflatex - % arara: pdflatex -\documentclass{report} - -\usepackage{graphicx} - -\usepackage[colorlinks]{hyperref} -\usepackage[savewrites,nopostdot,toc,acronym,symbols]{glossaries} -\usepackage{glossary-mcols} -\usepackage{glossary-longragged} - -\newglossary*{symbolname}{Entries with Symbols in the Name} -\newglossary*{long}{Long Descriptions} -\newglossary*{multipar}{Multi-Paragraph Descriptions} -\newglossary*{acronymdesc}{Acronyms with Descriptions} -\newglossary*{images}{Descriptions with Images} -\newglossary*{acronymslang}{Acronyms with Translations} - -\newglossary*{parent}{Hierarchical Entries} -\newglossary*{homographs}{Homographs} -\newglossary*{cites}{Entries with Citations} -\newglossary*{urls}{Entries with URLs} - -\DeclareAcronymList{acronymdesc,acronymslang} - -\makeglossaries - -\loadglsentries{example-glossaries-brief} -\loadglsentries[long]{example-glossaries-long} -\loadglsentries[multipar]{example-glossaries-multipar} -\loadglsentries[symbols]{example-glossaries-symbols} -\loadglsentries[symbolname]{example-glossaries-symbolnames} -\loadglsentries[images]{example-glossaries-images} -\loadglsentries[parent]{example-glossaries-parent} -\loadglsentries[homographs]{example-glossaries-childnoname} -\loadglsentries[cites]{example-glossaries-cite} -\loadglsentries[urls]{example-glossaries-url} - -\setacronymstyle{long-short} - -\loadglsentries[acronym]{example-glossaries-acronym} - -\setacronymstyle{long-short-desc} - -\loadglsentries[acronymdesc]{example-glossaries-acronym-desc} - - % define an acronym style for the acronyms with a translation: - -\newacronymstyle{acronymslang}% -{% - \GlsUseAcrEntryDispStyle{long-short}% -} -{% - \GlsUseAcrStyleDefs{short-long}% - \renewcommand*{\genacrfullformat}[2]{% - \glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% - \renewcommand*{\Genacrfullformat}[2]{% - \Glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% - \renewcommand*{\genplacrfullformat}[2]{% - \glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% - \renewcommand*{\Genplacrfullformat}[2]{% - \Glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% -} - -\setacronymstyle{acronymslang} - -\loadglsentries[acronymslang]{example-glossaries-acronyms-lang} - - % Define a style for the "images" glossary. The image names are - % stored in the user1 key. - % (The image insertion can probably be done more neatly using an - % appropriate package, but this is just a sample file.) - -\newsavebox\glsimagebox -\newlength\glswidth - -\newglossarystyle{images}% -{% - \setglossarystyle{tree}% - \renewenvironment{theglossary}{}{}% - \renewcommand{\glossentry}[2]{% - \ifglshasfield{useri}{##1}% - {\savebox - {\glsimagebox}% - {\includegraphics[height=4\baselineskip]{\glsentryuseri{##1}}}% - \settowidth{\glswidth}{\usebox\glsimagebox}% - \glswidth=\dimexpr\linewidth-\glswidth-1em\relax - \parshape=5 - 0pt \glswidth - 0pt \glswidth - 0pt \glswidth - 0pt \glswidth - 0pt \linewidth\relax - }% - {% - \savebox{\glsimagebox}{}% - }% - \noindent - \makebox[0pt][l]{% - \smash{\makebox[\linewidth][r]{\raisebox{-3\baselineskip}{\usebox\glsimagebox}}}}% - \glsentryitem{##1}\textbf{\glstarget{##1}{\glossentryname{##1}}}% - \space\glossentrydesc{##1}\par - \indexspace - }% - \renewcommand*{\glsgroupskip}{}% -} - - % glossary style for acronyms with a translation - -\newglossarystyle{acronymslang} -{% - \setglossarystyle{long}% - \renewcommand*{\glsgroupskip}{}% - \renewcommand{\glossentry}[2]{% - \glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}} & - \glossentrydesc{##1}\glspostdescription - \ifglshasfield{useri}{##1}{ (English: \glsentryuseri{##1})}{}% - \space ##2\tabularnewline - }% -} - - % glossary style for the cites glossary - -\newglossarystyle{cites} -{% based on list style - \setglossarystyle{list}% - \renewcommand*{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}] - \glossentrydesc{##1}\glspostdescription - \ifglshasfield{useri}{##1}{\space - % in the event of multiple cites (as in the vestibulum2 - % sample entry), \glsentryuseri{##1} needs to be expanded - % before being passed to \cite. - \glsletentryfield{\thiscite}{##1}{useri}% - (See \expandafter\cite\expandafter{\thiscite})}{}% - \space ##2}% -} - - % glossary style for the urls glossary - -\newglossarystyle{urls} -{% based on list style - \setglossarystyle{list}% - \renewcommand{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}] - \glossentrydesc{##1}\glspostdescription\space##2% - \ifglshasfield{useri}{##1}{\glspar - \glsletentryfield{\thisurl}{##1}{useri}% - \expandafter\url\expandafter{\thisurl}}{}}% -} - -\begin{document} -\tableofcontents - -\chapter{Sample} - -This is a sample document that uses the dummy glossary entries -supplied with the glossaries bundle for testing. - -Here are all the entries (including acronyms): - -\forallglossaries{\thistype}{\section{Glossary `\thistype'} -\forglsentries[\thistype]{\thislabel}{\gls{\thislabel}. }} - -\section{Acronyms Revisited} - -Here are just the acronyms again: -\forallacronyms{\thistype}{\forglsentries[\thistype]{\thislabel}{\gls{\thislabel}. }} - -\printglossary[style=mcolindex,title={Brief Descriptions}] - -\printglossary[type=long,style=list] - -\printglossary[type=multipar,style=altlist] - -\printglossary[type=symbols,style=altlongragged4col,nogroupskip] - -\printglossary[type=symbolname,style=list,nogroupskip] - -\printglossary[type=acronym,style=long] - -\printglossary[type=acronymdesc,style=altlist] - -\printglossary[type=images,style=images] - -\printglossary[type=acronymslang,style=acronymslang] - -\printglossary[type=homographs,style=mcoltreenoname,subentrycounter] - -\printglossary[type=parent,style=tree] - -\printglossary[type=cites,style=cites,nopostdot=false,nogroupskip] - -\printglossary[type=urls,style=urls,nopostdot=false,nogroupskip] - -\bibliographystyle{plain} -\bibliography{xampl} - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} %<*example-glossaries-acronym-desc.tex> % \end{macrocode} %\fi @@ -29054,6326 +28727,6 @@ amet, libero}, %\fi %\iffalse % \begin{macrocode} -%<*sample-chap-hyperfirst.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-crossref.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-custom-acronym.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-dot-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-dual.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-entrycount.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-entryfmt.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-FnDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-font-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-ignored.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-index.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-inline.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-langdict.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-newkeys.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-noidxapp-utf8.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-noidxapp.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-nomathhyper.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-numberlist.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-prefix.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-si.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-storage-abbr-desc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-storage-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample4col.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleaccsupp.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleAcr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleAcrDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleacronyms.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleCustomAcr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleDB.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleEq.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleEqPg.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleFnAcrDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleNtn.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplePeople.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleSec.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleSort.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampletree.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleutf8.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< \tallynum { - "arabic-numbers" % -> arabic number (0, 1, 2, etc) - :sep "\glsclosebrace" % -> } -} - -% If the definition of \tally changes so that it expands to -% something slightly different then the above will have to be -% changed accordingly. - -% (Need to redefine \glsXpageXhyperbfit and -% \glsXpageXglsnumberformat after \makeglossaries to get the -% hyperlinks working correctly.) - -% To have Mc as a separate group uncomment the following three -% lines: - -%\setStyleFile{samplexdy-mc} % note no extension -%\noist -%\GlsSetXdyLanguage{} - -% The above three lines specify to use samplexdy-mc.xdy (supplied -% with this file) and don't overwrite it. The language is -% unset using \GlsSetXdyLanguage{} as all the language -% dependent information is contained in samplexdy-mc.xdy -% Note that using \noist means that commands like -% \GlsAddXdyAttribute and \GlsAddXdyLocation will no longer have -% an effect. - -% Write the style file (if \noist isn't used) -% and activate glossary entries - -\makeglossaries - -% Each page location will be specified in the form: -% -% "\glsXpageXglsnumberformat{}{\tallynum {" number "}}" -% or -% "\glsXpageXhyperbfit{}{\tallynum {" number "}}" -% -% Knowing this, we can redefine \glsXpageXglsnumberformat -% and \glsXpageXhyperbfit to grab the number part to work out the -% location's numeric value. If the definition of \tally changes -% so that it expands to something slightly different then this -% code will no longer work. -% -% Redefine to allow hyperlinks: - -\renewcommand{\glsXpageXglsnumberformat}[2]{% - % remember that #2 is in the form \tallynum {n} - % so this does \linkpagenumber\tallynum{n} - \linkpagenumber#2% -} - -\renewcommand{\glsXpageXhyperbfit}[2]{% - \textbf{\em\linkpagenumber#2}% -} - -% Syntax: \linkpagenumber\tallynum{page number} -% This creates hyperlink to the given page. -\newcommand{\linkpagenumber}[2]{\hyperlink{page.#2}{#1{#2}}} - -% Define glossary entries -% \glshyperlink is used instead of \gls to prevent the glossary -% page numbers also appear in the locations, however I need -% to ensure that the referenced entries are added to the -% glossary via commands that use \glslink, \glsadd or \glssee - -\newglossaryentry{mcadam}{name={McAdam, John Loudon}, -first={John Loudon McAdam},text={McAdam}, -description={Scottish engineer}} - -\newglossaryentry{maclaurin}{name={Maclaurin, Colin}, -first={Colin Maclaurin},text={Maclaurin}, -description={Scottish mathematician best known for the -\gls{maclaurinseries}}} - -\newglossaryentry{maclaurinseries}{name={Maclaurin series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylorstheorem}{name={Taylor's theorem}, -description={Theorem expressing a function $f(x)$ as the sum of -a polynomial and a remainder: -\[f(x) = f(a)+f'(a)(x-a)+f''(a)(x-a^2)/2!+\cdots+R_n\] -If $n\to\infty$ the expansion is a \glshyperlink{taylorseries} -and if $a=0$, the series is called a -\gls{maclaurinseries}}} - -\newglossaryentry{taylorseries}{name={Taylor series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylor}{name={Taylor, Brook}, -first={Brook Taylor},text={Taylor}, -description={English mathematician}} - -\newglossaryentry{mcnemar}{name={McNemar, Quinn}, -first={Quinn McNemar},text={McNemar}, -description={Mathematician who introduced -\gls{mcnemarstest}. This entry has the number list -suppressed},nonumberlist} - -\newglossaryentry{mcnemarstest}{name={McNemar's test}, -description={A nonparametric test introduced by -\gls{mcnemar} in 1947}} - -\newglossaryentry{mach}{name={Mach, Ernst}, -first={Ernst Mach},text={Mach}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach, Ernst}, -description={Czech/Austrian physicist and philosopher}} - -\newglossaryentry{machnumber}{name={Mach number}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach number}, -description={Ratio of the speed of a body in a fluid to the -speed of sound in that fluid named after \gls{mach}}} - -\newglossaryentry{malthus}{name={Malthus, Thomas Robert}, -first={Thomas Robert Malthus},text={Malthus}, -description={English mathematician, sociologist and classicist}} - -\newglossaryentry{ampereandre}{name={Ampère, André-Marie}, -first={André-Marie Ampère},text={Ampère}, -description={French mathematician and physicist}} - -\newglossaryentry{ampere}{name={ampere}, -description={SI unit of electric current named after -\gls{ampereandre}}} - -\newglossaryentry{archimedes}{name={Archimedes of Syracuse}, -first={Archimedes of Syracuse},text={Archimedes}, -description={Greek mathematician}} - -\newglossaryentry{archimedesprinciple}{name={Archimedes' principle}, -description={Principle that if a body is submerged in a fluid -it experiences upthrust equal to the weight of the displaced -fluid. Named after \gls{archimedes}}} - -\newglossaryentry{galton}{name={Galton, Sir Francis}, -first={Sir Francis Galton},text={Galton}, -description={English anthropologist}} - -\newglossaryentry{gauss}{name={Gauss, Karl Friedrich}, -first={Karl Friedrich Gauss},text={Gauss}, -description={German mathematician}} - -\newglossaryentry{gaussianint}{name={Gaussian integer}, -description={Complex number where both real and imaginary -parts are integers}} - -\newglossaryentry{gaussianfn}{name={Gaussian function}, - description={A function of the form: - \[f(x) = a \exp\left(-\frac{(x-b)^2}{2c^2}\right)\] - for some constants $a$, $b$ and $c$}} - -\newglossaryentry{peano}{name={Peano, Giuseppe}, -first={Giuseppe Peano},text={Peano}, -description={Italian mathematician}} - -\newglossaryentry{peanoscurve}{name={Peano's curve}, -description={A space-filling curve discovered by -\gls{peano}}} - -\newglossaryentry{pearson}{name={Pearson, Karl}, -first={Karl Pearson},text={Pearson}, -description={English mathematician}} - -\newglossaryentry{pearspmcc}{name={Pearson's product moment -correlation coefficient},description={Product moment correlation -coefficient named after \gls{pearson}}} - -\begin{document} -\title{Sample Document Using the Glossaries Package With Xindy} -\author{Nicola Talbot} -\maketitle - -\section{\glsentryfirst{gauss}} - -This is a section on \gls[format=(]{gauss}. This section spans -several pages. - -\rule{1pt}{0.6\textheight} - -This paragraph has been shoved to the bottom of the page using a rule. -This paragraph spans a page break for testing purposes to ensure the -glossary entry in this paragraph has the correct location. Here's -the glossary entry: \gls{gaussianfn}. Check that the location is -correct. - -This page talks about \glspl[format=hyperbfit]{gaussianint}. Since -it's the principle definition, the user-defined hyperbfit format is -used. - -\newpage - -The section on \gls[format=)]{gauss} ends here. - -\section{Series Expansions} - -This section is about series expansions. It mentions -\gls{maclaurin} and \gls{taylor}. It also discusses -\gls{taylorstheorem} which is related to the \gls{taylorseries}. -The \gls{maclaurinseries} is a special case of the -\gls{taylorseries}. - -\section{\glsentryname{archimedesprinciple}} - -This section discusses \gls{archimedesprinciple} which was -introduced by \gls{archimedes}. - -\section{Another section} - -This section covers \gls{mach} who introduced the \gls{machnumber}. -It also mentions \gls{ampereandre} after whom the -SI unit \gls{ampere} is named. It then discusses \gls{galton} -and \gls{malthus}. Finally it mentions \gls{mcadam}. - -\newpage -This page discusses \gls{mcnemar} who introduced -\gls{mcnemarstest} and \gls{peano} who discovered \gls{peanoscurve}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy2.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy3.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<} (where is the page number) -% so need to define the location in that format: -% (This command will have no effect if \noist is used) - -\GlsAddXdyLocation{customfmt}{:sep "\string\customfmtnum\space\glsopenbrace" - "arabic-numbers" :sep "\glsclosebrace"} - -% (Need to redefine \glsXpageXhyperbfit and -% \glsXpageXglsnumberformat after \makeglossaries to get the -% hyperlinks working correctly.) - -% To have Mc as a separate group uncomment the following three -% lines: - -%\setStyleFile{samplexdy-mc} % note no extension -%\noist -%\GlsSetXdyLanguage{} - -% The above three lines specify to use samplexdy-mc.xdy (supplied -% with this file) and don't overwrite it. The language is -% unset using \GlsSetXdyLanguage{} as all the language -% dependent information is contained in samplexdy-mc.xdy -% Note that using \noist means that commands like -% \GlsAddXdyAttribute and \GlsAddXdyLocation will no longer have -% an effect. - -% Write the style file (if \noist isn't used) -% and activate glossary entries - -\makeglossaries - -% Each page location will be specified in the form: -% -% "\glsXpageXglsnumberformat{}{\customfmtnum "\marg{n}"}" -% or -% "\glsXpageXhyperbfit{}{\customfmtnum "\marg{n}"}" -% -% Redefine to allow hyperlinks: - -\renewcommand{\glsXpageXglsnumberformat}[2]{% - \linkpagenumber#2% -} - -\renewcommand{\glsXpageXhyperbfit}[2]{% - \textbf{\em\linkpagenumber#2}% -} - -% The arguments of \linkpagenumber will be -% #1 -> \customfmtnum -% #2 -> n -% This means that the page number (n) can be used to -% form the hyperlink target. -\newcommand{\linkpagenumber}[2]{\hyperlink{page.#2}{#1{#2}}} - -% Define glossary entries -% \glshyperlink is used instead of \gls to prevent the glossary -% page numbers also appear in the locations, however I need -% to ensure that the referenced entries are added to the -% glossary via commands that use \glslink, \glsadd or \glssee - -\newglossaryentry{mcadam}{name={McAdam, John Loudon}, -first={John Loudon McAdam},text={McAdam}, -description={Scottish engineer}} - -\newglossaryentry{maclaurin}{name={Maclaurin, Colin}, -first={Colin Maclaurin},text={Maclaurin}, -description={Scottish mathematician best known for the -\gls{maclaurinseries}}} - -\newglossaryentry{maclaurinseries}{name={Maclaurin series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylorstheorem}{name={Taylor's theorem}, -description={Theorem expressing a function $f(x)$ as the sum of -a polynomial and a remainder: -\[f(x) = f(a)+f'(a)(x-a)+f''(a)(x-a^2)/2!+\cdots+R_n\] -If $n\to\infty$ the expansion is a \glshyperlink{taylorseries} -and if $a=0$, the series is called a -\gls{maclaurinseries}}} - -\newglossaryentry{taylorseries}{name={Taylor series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylor}{name={Taylor, Brook}, -first={Brook Taylor},text={Taylor}, -description={English mathematician}} - -\newglossaryentry{mcnemar}{name={McNemar, Quinn}, -first={Quinn McNemar},text={McNemar}, -description={Mathematician who introduced -\gls{mcnemarstest}. This entry has the number list -suppressed},nonumberlist} - -\newglossaryentry{mcnemarstest}{name={McNemar's test}, -description={A nonparametric test introduced by -\gls{mcnemar} in 1947}} - -\newglossaryentry{mach}{name={Mach, Ernst}, -first={Ernst Mach},text={Mach}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach, Ernst}, -description={Czech/Austrian physicist and philosopher}} - -\newglossaryentry{machnumber}{name={Mach number}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach number}, -description={Ratio of the speed of a body in a fluid to the -speed of sound in that fluid named after \gls{mach}}} - -\newglossaryentry{malthus}{name={Malthus, Thomas Robert}, -first={Thomas Robert Malthus},text={Malthus}, -description={English mathematician, sociologist and classicist}} - -\newglossaryentry{ampereandre}{name={Ampère, André-Marie}, -first={André-Marie Ampère},text={Ampère}, -description={French mathematician and physicist}} - -\newglossaryentry{ampere}{name={ampere}, -description={SI unit of electric current named after -\gls{ampereandre}}} - -\newglossaryentry{archimedes}{name={Archimedes of Syracuse}, -first={Archimedes of Syracuse},text={Archimedes}, -description={Greek mathematician}} - -\newglossaryentry{archimedesprinciple}{name={Archimedes' principle}, -description={Principle that if a body is submerged in a fluid -it experiences upthrust equal to the weight of the displaced -fluid. Named after \gls{archimedes}}} - -\newglossaryentry{galton}{name={Galton, Sir Francis}, -first={Sir Francis Galton},text={Galton}, -description={English anthropologist}} - -\newglossaryentry{gauss}{name={Gauss, Karl Friedrich}, -first={Karl Friedrich Gauss},text={Gauss}, -description={German mathematician}} - -\newglossaryentry{gaussianint}{name={Gaussian integer}, -description={Complex number where both real and imaginary -parts are integers}} - -\newglossaryentry{gaussianfn}{name={Gaussian function}, - description={A function of the form: - \[f(x) = a \exp\left(-\frac{(x-b)^2}{2c^2}\right)\] - for some constants $a$, $b$ and $c$}} - -\newglossaryentry{peano}{name={Peano, Giuseppe}, -first={Giuseppe Peano},text={Peano}, -description={Italian mathematician}} - -\newglossaryentry{peanoscurve}{name={Peano's curve}, -description={A space-filling curve discovered by -\gls{peano}}} - -\newglossaryentry{pearson}{name={Pearson, Karl}, -first={Karl Pearson},text={Pearson}, -description={English mathematician}} - -\newglossaryentry{pearspmcc}{name={Pearson's product moment -correlation coefficient},description={Product moment correlation -coefficient named after \gls{pearson}}} - -\begin{document} -\title{Sample Document Using the Glossaries Package With Xindy} -\author{Nicola Talbot} -\maketitle - -\section{\glsentryfirst{gauss}} - -This is a section on -\gls[format=(]{gauss}. This section spans -several pages. - -\rule{1pt}{0.6\textheight} - -This paragraph has been shoved to the bottom of the page using a rule. -This paragraph spans a page break for testing purposes to ensure the -glossary entry in this paragraph has the correct location. Here's -the glossary entry: \gls{gaussianfn}. - -This page talks about \glspl[format=hyperbfit]{gaussianint}. Since -it's the principle definition, the user-defined hyperbfit format is -used. - -\newpage - -The section on \gls[format=)]{gauss} ends here. - -\section{Series Expansions} - -This section is about series expansions. It mentions -\gls{maclaurin} and \gls{taylor}. It also discusses -\gls{taylorstheorem} which is related to the \gls{taylorseries}. -The \gls{maclaurinseries} is a special case of the -\gls{taylorseries}. - -\section{\glsentryname{archimedesprinciple}} - -This section discusses \gls{archimedesprinciple} which was -introduced by \gls{archimedes}. - -\section{Another section} - -This section covers \gls{mach} who introduced the \gls{machnumber}. -It also mentions \gls{ampereandre} after whom the -SI unit \gls{ampere} is named. It then discusses \gls{galton} -and \gls{malthus}. Finally it mentions \gls{mcadam}. - -\newpage -This page discusses \gls{mcnemar} who introduced -\gls{mcnemarstest} and \gls{peano} who discovered \gls{peanoscurve}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*mwe-acr-desc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\setacronymstyle{short-long-desc} - -\newacronym[description={a device that emits a narrow beam of -light}]{laser}{laser}{light amplification by stimulated -emission of radiation} - -\begin{document} - -First use: \gls{laser}. - -Next use: \gls{laser} or \glspl{laser}. - -\printglossaries - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*mwe-acr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\setacronymstyle{long-short} - -\newacronym{laser}{laser}{light amplification by stimulated -emission of radiation} - -\begin{document} - -First use: \gls{laser}. - -Next use: \gls{laser} or \glspl{laser}. - -\printglossaries - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*mwe-gls.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\newglossaryentry{apple}{name={apple},description={a fruit}} - -\begin{document} - -\Gls{apple} or \gls{apple} or \glspl{apple}. - -\printglossaries - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy-mc.xdy> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -;; xindy style file for samplexdy.tex that has Mc letter group - -(define-letter-group "A" :prefixes ("€")) -(define-letter-group "B" :after "A" :prefixes ("„")) -(define-letter-group "C" :after "B" :prefixes ("†")) -(define-letter-group "D" :after "C" :prefixes ("")) -(define-letter-group "E" :after "D" :prefixes ("—")) -(define-letter-group "F" :after "E" :prefixes ("œ")) -(define-letter-group "G" :after "F" :prefixes ("")) -(define-letter-group "H" :after "G" :prefixes ("¤")) -(define-letter-group "I" :after "H" :prefixes ("¨")) -(define-letter-group "J" :after "I" :prefixes ("¬")) -(define-letter-group "K" :after "J" :prefixes ("®")) -(define-letter-group "L" :after "K" :prefixes ("´")) -(define-letter-group "Mc" :after "L" :prefixes ("»†")) -(define-letter-group "M" :after "Mc" :prefixes ("»")) -(define-letter-group "N" :after "M" :prefixes ("¼")) -(define-letter-group "O" :after "N" :prefixes ("Ã")) -(define-letter-group "P" :after "O" :prefixes ("È")) -(define-letter-group "Q" :after "P" :prefixes ("Ê")) -(define-letter-group "R" :after "Q" :prefixes ("Ë")) -(define-letter-group "S" :after "R" :prefixes ("Ð")) -(define-letter-group "T" :after "S" :prefixes ("Ú")) -(define-letter-group "U" :after "T" :prefixes ("à")) -(define-letter-group "V" :after "U" :prefixes ("å")) -(define-letter-group "W" :after "V" :prefixes ("æ")) -(define-letter-group "X" :after "W" :prefixes ("ë")) -(define-letter-group "Y" :after "X" :prefixes ("í")) -(define-letter-group "Ȝ" :after "Y" :prefixes ("ï")) -(define-letter-group "Z" :after "Ȝ" :prefixes ("ð")) -(define-letter-group "Þ" :after "Z" :prefixes ("ö")) -(define-letter-group "Æ¿" :after "Þ" :prefixes ("÷")) - -(define-rule-set "en-alphabetize" - - :rules (("à" "€" :string) - ("À" "€" :string) - ("Æ" "€—" :string) - ("æ" "€—" :string) - ("Ç" "†" :string) - ("ç" "†" :string) - ("ð" "" :string) - ("Ð" "" :string) - ("É" "—" :string) - ("Ê" "—" :string) - ("È" "—" :string) - ("Ë" "—" :string) - ("è" "—" :string) - ("ë" "—" :string) - ("ê" "—" :string) - ("é" "—" :string) - ("Ï" "¨" :string) - ("ï" "¨" :string) - ("Ñ" "¼" :string) - ("ñ" "¼" :string) - ("Ö" "Ã" :string) - ("Ô" "Ã" :string) - ("ô" "Ã" :string) - ("ö" "Ã" :string) - ("œ" "×" :string) - ("Œ" "×" :string) - ("ȝ" "ï" :string) - ("Ȝ" "ï" :string) - ("þ" "ö" :string) - ("Þ" "ö" :string) - ("Ç·" "÷" :string) - ("Æ¿" "÷" :string) - ("a" "€" :string) - ("A" "€" :string) - ("b" "„" :string) - ("B" "„" :string) - ("C" "†" :string) - ("c" "†" :string) - ("d" "" :string) - ("D" "" :string) - ("E" "—" :string) - ("e" "—" :string) - ("F" "œ" :string) - ("f" "œ" :string) - ("g" "" :string) - ("G" "" :string) - ("H" "¤" :string) - ("h" "¤" :string) - ("I" "¨" :string) - ("i" "¨" :string) - ("J" "¬" :string) - ("j" "¬" :string) - ("K" "®" :string) - ("k" "®" :string) - ("L" "´" :string) - ("l" "´" :string) - ("Mc" "»†" :string) - ("Mac" "»†" :string) - ("M" "»" :string) - ("m" "»" :string) - ("N" "¼" :string) - ("n" "¼" :string) - ("O" "Ã" :string) - ("o" "Ã" :string) - ("P" "È" :string) - ("p" "È" :string) - ("q" "Ê" :string) - ("Q" "Ê" :string) - ("r" "Ë" :string) - ("R" "Ë" :string) - ("S" "Ð" :string) - ("s" "Ð" :string) - ("T" "Ú" :string) - ("t" "Ú" :string) - ("u" "à" :string) - ("U" "à" :string) - ("v" "å" :string) - ("V" "å" :string) - ("w" "æ" :string) - ("W" "æ" :string) - ("X" "ë" :string) - ("x" "ë" :string) - ("Y" "í" :string) - ("y" "í" :string) - ("z" "ð" :string) - ("Z" "ð" :string) - )) - -(define-rule-set "en-resolve-diacritics" - - :rules (("ȝ" "¢" :string) - ("þ" "¢" :string) - ("Ç·" "¢" :string) - ("Þ" "¢" :string) - ("Ȝ" "¢" :string) - ("Æ¿" "¢" :string) - ("Ö" "£" :string) - ("Ñ" "£" :string) - ("ð" "£" :string) - ("Ç" "£" :string) - ("É" "£" :string) - ("Ï" "£" :string) - ("ï" "£" :string) - ("ö" "£" :string) - ("ñ" "£" :string) - ("ç" "£" :string) - ("à" "£" :string) - ("À" "£" :string) - ("é" "£" :string) - ("Ð" "£" :string) - ("Ô" "¤" :string) - ("ô" "¤" :string) - ("È" "¤" :string) - ("è" "¤" :string) - ("Ë" "¥" :string) - ("ë" "¥" :string) - ("Ê" "¦" :string) - ("ê" "¦" :string) - ("œ" "ÿ" :string) - ("Æ" "ÿ" :string) - ("Œ" "ÿ" :string) - ("æ" "ÿ" :string) - ("S" "¢" :string) - ("K" "¢" :string) - ("d" "¢" :string) - ("Y" "¢" :string) - ("E" "¢" :string) - ("y" "¢" :string) - ("g" "¢" :string) - ("e" "¢" :string) - ("J" "¢" :string) - ("q" "¢" :string) - ("D" "¢" :string) - ("b" "¢" :string) - ("z" "¢" :string) - ("w" "¢" :string) - ("Q" "¢" :string) - ("M" "¢" :string) - ("C" "¢" :string) - ("L" "¢" :string) - ("X" "¢" :string) - ("P" "¢" :string) - ("T" "¢" :string) - ("a" "¢" :string) - ("N" "¢" :string) - ("j" "¢" :string) - ("Z" "¢" :string) - ("u" "¢" :string) - ("k" "¢" :string) - ("t" "¢" :string) - ("W" "¢" :string) - ("v" "¢" :string) - ("s" "¢" :string) - ("B" "¢" :string) - ("H" "¢" :string) - ("c" "¢" :string) - ("I" "¢" :string) - ("G" "¢" :string) - ("U" "¢" :string) - ("F" "¢" :string) - ("r" "¢" :string) - ("x" "¢" :string) - ("V" "¢" :string) - ("h" "¢" :string) - ("f" "¢" :string) - ("i" "¢" :string) - ("A" "¢" :string) - ("O" "¢" :string) - ("n" "¢" :string) - ("m" "¢" :string) - ("l" "¢" :string) - ("p" "¢" :string) - ("R" "¢" :string) - ("o" "¢" :string) - )) - -(define-rule-set "en-resolve-case" - - :rules (("Ö" "8" :string) - ("Ñ" "8" :string) - ("Ô" "8" :string) - ("Ç" "8" :string) - ("É" "8" :string) - ("Ï" "8" :string) - ("Ê" "8" :string) - ("È" "8" :string) - ("Ë" "8" :string) - ("Ç·" "8" :string) - ("À" "8" :string) - ("Þ" "8" :string) - ("Ȝ" "8" :string) - ("Ð" "8" :string) - ("Æ" "89" :string) - ("Œ" "89" :string) - ("ð" "9" :string) - ("ô" "9" :string) - ("ȝ" "9" :string) - ("ï" "9" :string) - ("ö" "9" :string) - ("ñ" "9" :string) - ("ç" "9" :string) - ("à" "9" :string) - ("þ" "9" :string) - ("è" "9" :string) - ("ë" "9" :string) - ("ê" "9" :string) - ("é" "9" :string) - ("Æ¿" "9" :string) - ("œ" "99" :string) - ("æ" "99" :string) - ("S" "8" :string) - ("K" "8" :string) - ("Y" "8" :string) - ("E" "8" :string) - ("J" "8" :string) - ("D" "8" :string) - ("Q" "8" :string) - ("M" "8" :string) - ("C" "8" :string) - ("L" "8" :string) - ("X" "8" :string) - ("P" "8" :string) - ("T" "8" :string) - ("N" "8" :string) - ("Z" "8" :string) - ("W" "8" :string) - ("B" "8" :string) - ("H" "8" :string) - ("I" "8" :string) - ("G" "8" :string) - ("U" "8" :string) - ("F" "8" :string) - ("V" "8" :string) - ("A" "8" :string) - ("O" "8" :string) - ("R" "8" :string) - ("d" "9" :string) - ("y" "9" :string) - ("g" "9" :string) - ("e" "9" :string) - ("q" "9" :string) - ("b" "9" :string) - ("z" "9" :string) - ("w" "9" :string) - ("a" "9" :string) - ("j" "9" :string) - ("u" "9" :string) - ("k" "9" :string) - ("t" "9" :string) - ("v" "9" :string) - ("s" "9" :string) - ("c" "9" :string) - ("r" "9" :string) - ("x" "9" :string) - ("h" "9" :string) - ("f" "9" :string) - ("i" "9" :string) - ("n" "9" :string) - ("m" "9" :string) - ("l" "9" :string) - ("p" "9" :string) - ("o" "9" :string) - )) - -(define-rule-set "en-ignore-special" - - :rules (("-" "" :string) - ("!" "" :string) - ("{" "" :string) - ("'" "" :string) - ("}" "" :string) - ("?" "" :string) - ("." "" :string) - )) - -(define-rule-set "en-resolve-special" - - :rules (("Ö" "¤" :string) - ("Ñ" "¤" :string) - ("ð" "¤" :string) - ("Ô" "¤" :string) - ("Ç" "¤" :string) - ("É" "¤" :string) - ("ô" "¤" :string) - ("Ï" "¤" :string) - ("ȝ" "¤" :string) - ("ï" "¤" :string) - ("Ê" "¤" :string) - ("ö" "¤" :string) - ("ñ" "¤" :string) - ("È" "¤" :string) - ("ç" "¤" :string) - ("Ë" "¤" :string) - ("à" "¤" :string) - ("þ" "¤" :string) - ("Ç·" "¤" :string) - ("è" "¤" :string) - ("À" "¤" :string) - ("ë" "¤" :string) - ("Þ" "¤" :string) - ("ê" "¤" :string) - ("é" "¤" :string) - ("Ȝ" "¤" :string) - ("Æ¿" "¤" :string) - ("Ð" "¤" :string) - ("œ" "¤¤" :string) - ("Æ" "¤¤" :string) - ("Œ" "¤¤" :string) - ("æ" "¤¤" :string) - ("?" "¡" :string) - ("!" "¢" :string) - ("." "£" :string) - ("S" "¤" :string) - ("K" "¤" :string) - ("d" "¤" :string) - ("Y" "¤" :string) - ("E" "¤" :string) - ("y" "¤" :string) - ("g" "¤" :string) - ("e" "¤" :string) - ("J" "¤" :string) - ("q" "¤" :string) - ("D" "¤" :string) - ("b" "¤" :string) - ("z" "¤" :string) - ("w" "¤" :string) - ("Q" "¤" :string) - ("M" "¤" :string) - ("C" "¤" :string) - ("L" "¤" :string) - ("X" "¤" :string) - ("P" "¤" :string) - ("T" "¤" :string) - ("a" "¤" :string) - ("N" "¤" :string) - ("j" "¤" :string) - ("Z" "¤" :string) - ("u" "¤" :string) - ("k" "¤" :string) - ("t" "¤" :string) - ("W" "¤" :string) - ("v" "¤" :string) - ("s" "¤" :string) - ("B" "¤" :string) - ("H" "¤" :string) - ("c" "¤" :string) - ("I" "¤" :string) - ("G" "¤" :string) - ("U" "¤" :string) - ("F" "¤" :string) - ("r" "¤" :string) - ("x" "¤" :string) - ("V" "¤" :string) - ("h" "¤" :string) - ("f" "¤" :string) - ("i" "¤" :string) - ("A" "¤" :string) - ("O" "¤" :string) - ("n" "¤" :string) - ("m" "¤" :string) - ("l" "¤" :string) - ("p" "¤" :string) - ("R" "¤" :string) - ("o" "¤" :string) - ("-" "¥" :string) - ("'" "¦" :string) - ("{" "§" :string) - ("}" "¨" :string) - )) - -; The following section is customised for samplexdy.tex -; (copied from samplexdy.xdy automatically generated by -; samplexdy.tex) - -; required styles - -(require "tex.xdy") - -; list of allowed attributes (number formats) - -(define-attributes (("default" - "hyperbfit" - "pagehyperbfit" - "glsnumberformat" - "pageglsnumberformat" - "textrm" - "pagetextrm" - "textsf" - "pagetextsf" - "texttt" - "pagetexttt" - "textbf" - "pagetextbf" - "textmd" - "pagetextmd" - "textit" - "pagetextit" - "textup" - "pagetextup" - "textsl" - "pagetextsl" - "textsc" - "pagetextsc" - "emph" - "pageemph" - "glshypernumber" - "pageglshypernumber" - "hyperrm" - "pagehyperrm" - "hypersf" - "pagehypersf" - "hypertt" - "pagehypertt" - "hyperbf" - "pagehyperbf" - "hypermd" - "pagehypermd" - "hyperit" - "pagehyperit" - "hyperup" - "pagehyperup" - "hypersl" - "pagehypersl" - "hypersc" - "pagehypersc" - "hyperemph" - "pagehyperemph"))) - -; user defined alphabets - - - -; location class definitions - -(define-location-class "roman-page-numbers" - ( :sep "{}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers" - ( :sep "{}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers" - ( :sep "{}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers" - ( :sep "{}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers" - ( :sep "{}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers" - ( :sep "{}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers" - ( :sep "{}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) - -; user defined location classes - -(define-location-class "Numberstring" - (:sep "{}{" :sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}" :sep "}")) - -; define cross-reference class - -(define-crossref-class "see" :unverified ) -(markup-crossref-list :class "see" - :open "\glsseeformat" :close "{}") - -; define the order of the location classes -(define-location-class-order ( - "roman-page-numbers" - "arabic-page-numbers" - "arabic-section-numbers" - "alpha-page-numbers" - "Roman-page-numbers" - "Alpha-page-numbers" - "Appendix-page-numbers" - "see" )) - -; define the glossary markup - -(markup-index - :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble -\providecommand*\glsXpageXhyperbfit[2]{\setentrycounter[#1]{page}\hyperbfit{#2}} -\providecommand*\glsXpageXglsnumberformat[2]{\setentrycounter[#1]{page}\glsnumberformat{#2}} -\providecommand*\glsXpageXtextrm[2]{\setentrycounter[#1]{page}\textrm{#2}} -\providecommand*\glsXpageXtextsf[2]{\setentrycounter[#1]{page}\textsf{#2}} -\providecommand*\glsXpageXtexttt[2]{\setentrycounter[#1]{page}\texttt{#2}} -\providecommand*\glsXpageXtextbf[2]{\setentrycounter[#1]{page}\textbf{#2}} -\providecommand*\glsXpageXtextmd[2]{\setentrycounter[#1]{page}\textmd{#2}} -\providecommand*\glsXpageXtextit[2]{\setentrycounter[#1]{page}\textit{#2}} -\providecommand*\glsXpageXtextup[2]{\setentrycounter[#1]{page}\textup{#2}} -\providecommand*\glsXpageXtextsl[2]{\setentrycounter[#1]{page}\textsl{#2}} -\providecommand*\glsXpageXtextsc[2]{\setentrycounter[#1]{page}\textsc{#2}} -\providecommand*\glsXpageXemph[2]{\setentrycounter[#1]{page}\emph{#2}} -\providecommand*\glsXpageXglshypernumber[2]{\setentrycounter[#1]{page}\glshypernumber{#2}} -\providecommand*\glsXpageXhyperrm[2]{\setentrycounter[#1]{page}\hyperrm{#2}} -\providecommand*\glsXpageXhypersf[2]{\setentrycounter[#1]{page}\hypersf{#2}} -\providecommand*\glsXpageXhypertt[2]{\setentrycounter[#1]{page}\hypertt{#2}} -\providecommand*\glsXpageXhyperbf[2]{\setentrycounter[#1]{page}\hyperbf{#2}} -\providecommand*\glsXpageXhypermd[2]{\setentrycounter[#1]{page}\hypermd{#2}} -\providecommand*\glsXpageXhyperit[2]{\setentrycounter[#1]{page}\hyperit{#2}} -\providecommand*\glsXpageXhyperup[2]{\setentrycounter[#1]{page}\hyperup{#2}} -\providecommand*\glsXpageXhypersl[2]{\setentrycounter[#1]{page}\hypersl{#2}} -\providecommand*\glsXpageXhypersc[2]{\setentrycounter[#1]{page}\hypersc{#2}} -\providecommand*\glsXpageXhyperemph[2]{\setentrycounter[#1]{page}\hyperemph{#2}} -\begin{theglossary}\glossaryheader~n" - :close "%~n\end{theglossary}\glossarypostamble~n" - :tree) -(markup-letter-group-list :sep "\glsgroupskip~n") -(markup-indexentry :open "\relax\glsresetentrylist~n") -(markup-locclass-list :open "{\glossaryentrynumbers{\relax " - :sep ", " :close "}}") -(markup-locref-list :sep "\delimN ") -(markup-range :sep "\delimR ") - -; define format to use for locations - - -(markup-locref :open "~n\glsXpageXhyperbfit" - :close "" - :attr "pagehyperbfit") -(markup-locref :open "~n\glsXpageXglsnumberformat" - :close "" - :attr "pageglsnumberformat") -(markup-locref :open "~n\glsXpageXtextrm" - :close "" - :attr "pagetextrm") -(markup-locref :open "~n\glsXpageXtextsf" - :close "" - :attr "pagetextsf") -(markup-locref :open "~n\glsXpageXtexttt" - :close "" - :attr "pagetexttt") -(markup-locref :open "~n\glsXpageXtextbf" - :close "" - :attr "pagetextbf") -(markup-locref :open "~n\glsXpageXtextmd" - :close "" - :attr "pagetextmd") -(markup-locref :open "~n\glsXpageXtextit" - :close "" - :attr "pagetextit") -(markup-locref :open "~n\glsXpageXtextup" - :close "" - :attr "pagetextup") -(markup-locref :open "~n\glsXpageXtextsl" - :close "" - :attr "pagetextsl") -(markup-locref :open "~n\glsXpageXtextsc" - :close "" - :attr "pagetextsc") -(markup-locref :open "~n\glsXpageXemph" - :close "" - :attr "pageemph") -(markup-locref :open "~n\glsXpageXglshypernumber" - :close "" - :attr "pageglshypernumber") -(markup-locref :open "~n\glsXpageXhyperrm" - :close "" - :attr "pagehyperrm") -(markup-locref :open "~n\glsXpageXhypersf" - :close "" - :attr "pagehypersf") -(markup-locref :open "~n\glsXpageXhypertt" - :close "" - :attr "pagehypertt") -(markup-locref :open "~n\glsXpageXhyperbf" - :close "" - :attr "pagehyperbf") -(markup-locref :open "~n\glsXpageXhypermd" - :close "" - :attr "pagehypermd") -(markup-locref :open "~n\glsXpageXhyperit" - :close "" - :attr "pagehyperit") -(markup-locref :open "~n\glsXpageXhyperup" - :close "" - :attr "pagehyperup") -(markup-locref :open "~n\glsXpageXhypersl" - :close "" - :attr "pagehypersl") -(markup-locref :open "~n\glsXpageXhypersc" - :close "" - :attr "pagehypersc") -(markup-locref :open "~n\glsXpageXhyperemph" - :close "" - :attr "pagehyperemph") - -; define letter group list format - -(markup-letter-group-list :sep "\glsgroupskip~n") - -; letter group headings - -(markup-letter-group :open-head "\glsgroupheading{" - :close-head "}") - -; additional letter groups - -(define-letter-group "glsnumbers" - :prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") - :before "A") - -; additional sort rules - - -; The following is copied from xindy/lang/english/utf8-lang.xdy - -(define-sort-rule-orientations (forward backward forward forward)) -(use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) -(use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) -(use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) -(use-rule-set :run 3 - :rule-set ("en-resolve-special")) - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy-mc207.xdy> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -;; xindy style file for samplexdy.tex that has Mc letter group - -(define-letter-group "A" :prefixes ("€")) -(define-letter-group "B" :after "A" :prefixes ("„")) -(define-letter-group "C" :after "B" :prefixes ("†")) -(define-letter-group "D" :after "C" :prefixes ("")) -(define-letter-group "E" :after "D" :prefixes ("—")) -(define-letter-group "F" :after "E" :prefixes ("œ")) -(define-letter-group "G" :after "F" :prefixes ("")) -(define-letter-group "H" :after "G" :prefixes ("¤")) -(define-letter-group "I" :after "H" :prefixes ("¨")) -(define-letter-group "J" :after "I" :prefixes ("¬")) -(define-letter-group "K" :after "J" :prefixes ("®")) -(define-letter-group "L" :after "K" :prefixes ("´")) -(define-letter-group "Mc" :after "L" :prefixes ("»†")) -(define-letter-group "M" :after "Mc" :prefixes ("»")) -(define-letter-group "N" :after "M" :prefixes ("¼")) -(define-letter-group "O" :after "N" :prefixes ("Ã")) -(define-letter-group "P" :after "O" :prefixes ("È")) -(define-letter-group "Q" :after "P" :prefixes ("Ê")) -(define-letter-group "R" :after "Q" :prefixes ("Ë")) -(define-letter-group "S" :after "R" :prefixes ("Ð")) -(define-letter-group "T" :after "S" :prefixes ("Ú")) -(define-letter-group "U" :after "T" :prefixes ("à")) -(define-letter-group "V" :after "U" :prefixes ("å")) -(define-letter-group "W" :after "V" :prefixes ("æ")) -(define-letter-group "X" :after "W" :prefixes ("ë")) -(define-letter-group "Y" :after "X" :prefixes ("í")) -(define-letter-group "Ȝ" :after "Y" :prefixes ("ï")) -(define-letter-group "Z" :after "Ȝ" :prefixes ("ð")) -(define-letter-group "Þ" :after "Z" :prefixes ("ö")) -(define-letter-group "Æ¿" :after "Þ" :prefixes ("÷")) - -(define-rule-set "en-alphabetize" - - :rules (("à" "€" :string) - ("À" "€" :string) - ("Æ" "€—" :string) - ("æ" "€—" :string) - ("Ç" "†" :string) - ("ç" "†" :string) - ("ð" "" :string) - ("Ð" "" :string) - ("É" "—" :string) - ("Ê" "—" :string) - ("È" "—" :string) - ("Ë" "—" :string) - ("è" "—" :string) - ("ë" "—" :string) - ("ê" "—" :string) - ("é" "—" :string) - ("Ï" "¨" :string) - ("ï" "¨" :string) - ("Ñ" "¼" :string) - ("ñ" "¼" :string) - ("Ö" "Ã" :string) - ("Ô" "Ã" :string) - ("ô" "Ã" :string) - ("ö" "Ã" :string) - ("œ" "×" :string) - ("Œ" "×" :string) - ("ȝ" "ï" :string) - ("Ȝ" "ï" :string) - ("þ" "ö" :string) - ("Þ" "ö" :string) - ("Ç·" "÷" :string) - ("Æ¿" "÷" :string) - ("a" "€" :string) - ("A" "€" :string) - ("b" "„" :string) - ("B" "„" :string) - ("C" "†" :string) - ("c" "†" :string) - ("d" "" :string) - ("D" "" :string) - ("E" "—" :string) - ("e" "—" :string) - ("F" "œ" :string) - ("f" "œ" :string) - ("g" "" :string) - ("G" "" :string) - ("H" "¤" :string) - ("h" "¤" :string) - ("I" "¨" :string) - ("i" "¨" :string) - ("J" "¬" :string) - ("j" "¬" :string) - ("K" "®" :string) - ("k" "®" :string) - ("L" "´" :string) - ("l" "´" :string) - ("Mc" "»†" :string) - ("Mac" "»†" :string) - ("M" "»" :string) - ("m" "»" :string) - ("N" "¼" :string) - ("n" "¼" :string) - ("O" "Ã" :string) - ("o" "Ã" :string) - ("P" "È" :string) - ("p" "È" :string) - ("q" "Ê" :string) - ("Q" "Ê" :string) - ("r" "Ë" :string) - ("R" "Ë" :string) - ("S" "Ð" :string) - ("s" "Ð" :string) - ("T" "Ú" :string) - ("t" "Ú" :string) - ("u" "à" :string) - ("U" "à" :string) - ("v" "å" :string) - ("V" "å" :string) - ("w" "æ" :string) - ("W" "æ" :string) - ("X" "ë" :string) - ("x" "ë" :string) - ("Y" "í" :string) - ("y" "í" :string) - ("z" "ð" :string) - ("Z" "ð" :string) - )) - -(define-rule-set "en-resolve-diacritics" - - :rules (("ȝ" "¢" :string) - ("þ" "¢" :string) - ("Ç·" "¢" :string) - ("Þ" "¢" :string) - ("Ȝ" "¢" :string) - ("Æ¿" "¢" :string) - ("Ö" "£" :string) - ("Ñ" "£" :string) - ("ð" "£" :string) - ("Ç" "£" :string) - ("É" "£" :string) - ("Ï" "£" :string) - ("ï" "£" :string) - ("ö" "£" :string) - ("ñ" "£" :string) - ("ç" "£" :string) - ("à" "£" :string) - ("À" "£" :string) - ("é" "£" :string) - ("Ð" "£" :string) - ("Ô" "¤" :string) - ("ô" "¤" :string) - ("È" "¤" :string) - ("è" "¤" :string) - ("Ë" "¥" :string) - ("ë" "¥" :string) - ("Ê" "¦" :string) - ("ê" "¦" :string) - ("œ" "ÿ" :string) - ("Æ" "ÿ" :string) - ("Œ" "ÿ" :string) - ("æ" "ÿ" :string) - ("S" "¢" :string) - ("K" "¢" :string) - ("d" "¢" :string) - ("Y" "¢" :string) - ("E" "¢" :string) - ("y" "¢" :string) - ("g" "¢" :string) - ("e" "¢" :string) - ("J" "¢" :string) - ("q" "¢" :string) - ("D" "¢" :string) - ("b" "¢" :string) - ("z" "¢" :string) - ("w" "¢" :string) - ("Q" "¢" :string) - ("M" "¢" :string) - ("C" "¢" :string) - ("L" "¢" :string) - ("X" "¢" :string) - ("P" "¢" :string) - ("T" "¢" :string) - ("a" "¢" :string) - ("N" "¢" :string) - ("j" "¢" :string) - ("Z" "¢" :string) - ("u" "¢" :string) - ("k" "¢" :string) - ("t" "¢" :string) - ("W" "¢" :string) - ("v" "¢" :string) - ("s" "¢" :string) - ("B" "¢" :string) - ("H" "¢" :string) - ("c" "¢" :string) - ("I" "¢" :string) - ("G" "¢" :string) - ("U" "¢" :string) - ("F" "¢" :string) - ("r" "¢" :string) - ("x" "¢" :string) - ("V" "¢" :string) - ("h" "¢" :string) - ("f" "¢" :string) - ("i" "¢" :string) - ("A" "¢" :string) - ("O" "¢" :string) - ("n" "¢" :string) - ("m" "¢" :string) - ("l" "¢" :string) - ("p" "¢" :string) - ("R" "¢" :string) - ("o" "¢" :string) - )) - -(define-rule-set "en-resolve-case" - - :rules (("Ö" "8" :string) - ("Ñ" "8" :string) - ("Ô" "8" :string) - ("Ç" "8" :string) - ("É" "8" :string) - ("Ï" "8" :string) - ("Ê" "8" :string) - ("È" "8" :string) - ("Ë" "8" :string) - ("Ç·" "8" :string) - ("À" "8" :string) - ("Þ" "8" :string) - ("Ȝ" "8" :string) - ("Ð" "8" :string) - ("Æ" "89" :string) - ("Œ" "89" :string) - ("ð" "9" :string) - ("ô" "9" :string) - ("ȝ" "9" :string) - ("ï" "9" :string) - ("ö" "9" :string) - ("ñ" "9" :string) - ("ç" "9" :string) - ("à" "9" :string) - ("þ" "9" :string) - ("è" "9" :string) - ("ë" "9" :string) - ("ê" "9" :string) - ("é" "9" :string) - ("Æ¿" "9" :string) - ("œ" "99" :string) - ("æ" "99" :string) - ("S" "8" :string) - ("K" "8" :string) - ("Y" "8" :string) - ("E" "8" :string) - ("J" "8" :string) - ("D" "8" :string) - ("Q" "8" :string) - ("M" "8" :string) - ("C" "8" :string) - ("L" "8" :string) - ("X" "8" :string) - ("P" "8" :string) - ("T" "8" :string) - ("N" "8" :string) - ("Z" "8" :string) - ("W" "8" :string) - ("B" "8" :string) - ("H" "8" :string) - ("I" "8" :string) - ("G" "8" :string) - ("U" "8" :string) - ("F" "8" :string) - ("V" "8" :string) - ("A" "8" :string) - ("O" "8" :string) - ("R" "8" :string) - ("d" "9" :string) - ("y" "9" :string) - ("g" "9" :string) - ("e" "9" :string) - ("q" "9" :string) - ("b" "9" :string) - ("z" "9" :string) - ("w" "9" :string) - ("a" "9" :string) - ("j" "9" :string) - ("u" "9" :string) - ("k" "9" :string) - ("t" "9" :string) - ("v" "9" :string) - ("s" "9" :string) - ("c" "9" :string) - ("r" "9" :string) - ("x" "9" :string) - ("h" "9" :string) - ("f" "9" :string) - ("i" "9" :string) - ("n" "9" :string) - ("m" "9" :string) - ("l" "9" :string) - ("p" "9" :string) - ("o" "9" :string) - )) - -(define-rule-set "en-ignore-special" - - :rules (("-" "" :string) - ("!" "" :string) - ("{" "" :string) - ("'" "" :string) - ("}" "" :string) - ("?" "" :string) - ("." "" :string) - )) - -(define-rule-set "en-resolve-special" - - :rules (("Ö" "¤" :string) - ("Ñ" "¤" :string) - ("ð" "¤" :string) - ("Ô" "¤" :string) - ("Ç" "¤" :string) - ("É" "¤" :string) - ("ô" "¤" :string) - ("Ï" "¤" :string) - ("ȝ" "¤" :string) - ("ï" "¤" :string) - ("Ê" "¤" :string) - ("ö" "¤" :string) - ("ñ" "¤" :string) - ("È" "¤" :string) - ("ç" "¤" :string) - ("Ë" "¤" :string) - ("à" "¤" :string) - ("þ" "¤" :string) - ("Ç·" "¤" :string) - ("è" "¤" :string) - ("À" "¤" :string) - ("ë" "¤" :string) - ("Þ" "¤" :string) - ("ê" "¤" :string) - ("é" "¤" :string) - ("Ȝ" "¤" :string) - ("Æ¿" "¤" :string) - ("Ð" "¤" :string) - ("œ" "¤¤" :string) - ("Æ" "¤¤" :string) - ("Œ" "¤¤" :string) - ("æ" "¤¤" :string) - ("?" "¡" :string) - ("!" "¢" :string) - ("." "£" :string) - ("S" "¤" :string) - ("K" "¤" :string) - ("d" "¤" :string) - ("Y" "¤" :string) - ("E" "¤" :string) - ("y" "¤" :string) - ("g" "¤" :string) - ("e" "¤" :string) - ("J" "¤" :string) - ("q" "¤" :string) - ("D" "¤" :string) - ("b" "¤" :string) - ("z" "¤" :string) - ("w" "¤" :string) - ("Q" "¤" :string) - ("M" "¤" :string) - ("C" "¤" :string) - ("L" "¤" :string) - ("X" "¤" :string) - ("P" "¤" :string) - ("T" "¤" :string) - ("a" "¤" :string) - ("N" "¤" :string) - ("j" "¤" :string) - ("Z" "¤" :string) - ("u" "¤" :string) - ("k" "¤" :string) - ("t" "¤" :string) - ("W" "¤" :string) - ("v" "¤" :string) - ("s" "¤" :string) - ("B" "¤" :string) - ("H" "¤" :string) - ("c" "¤" :string) - ("I" "¤" :string) - ("G" "¤" :string) - ("U" "¤" :string) - ("F" "¤" :string) - ("r" "¤" :string) - ("x" "¤" :string) - ("V" "¤" :string) - ("h" "¤" :string) - ("f" "¤" :string) - ("i" "¤" :string) - ("A" "¤" :string) - ("O" "¤" :string) - ("n" "¤" :string) - ("m" "¤" :string) - ("l" "¤" :string) - ("p" "¤" :string) - ("R" "¤" :string) - ("o" "¤" :string) - ("-" "¥" :string) - ("'" "¦" :string) - ("{" "§" :string) - ("}" "¨" :string) - )) - -; The following section is customised for samplexdy.tex -; (copied from samplexdy.xdy automatically generated by -; samplexdy.tex) - -; required styles - -(require "tex.xdy") - -; list of allowed attributes (number formats) - -(define-attributes (("default" - "glsnumberformat" - "textrm" - "textsf" - "texttt" - "textbf" - "textmd" - "textit" - "textup" - "textsl" - "textsc" - "emph" - "glshypernumber" - "hyperrm" - "hypersf" - "hypertt" - "hyperbf" - "hypermd" - "hyperit" - "hyperup" - "hypersl" - "hypersc" - "hyperemph" - "hyperbfit"))) - -; user defined alphabets - - - -; location class definitions - -(define-location-class "roman-page-numbers" - ("roman-numbers-lowercase")) -(define-location-class "Roman-page-numbers" - ("roman-numbers-uppercase")) -(define-location-class "arabic-page-numbers" - ("arabic-numbers")) -(define-location-class "alpha-page-numbers" - ("alpha")) -(define-location-class "Alpha-page-numbers" - ("ALPHA")) -(define-location-class "Appendix-page-numbers" - ("ALPHA" :sep "." "arabic-numbers")) -(define-location-class "arabic-section-numbers" - ("arabic-numbers" :sep "." "arabic-numbers")) - -; user defined location classes - -(define-location-class "Numberstring" - (:sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}")) - -; define cross-reference class - -(define-crossref-class "see" :unverified ) -(markup-crossref-list :class "see" - :open "\glsseeformat" :close "{}") - -; define the order of the location classes -(define-location-class-order ( - "roman-page-numbers" - "arabic-page-numbers" - "arabic-section-numbers" - "alpha-page-numbers" - "Roman-page-numbers" - "Alpha-page-numbers" - "Appendix-page-numbers" - "see" )) - -; define the glossary markup - -(markup-index - :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble~n\begin{theglossary}\glossaryheader~n" - :close "~n\end{theglossary}~n\glossarypostamble~n" - :tree) -(markup-letter-group-list :sep "\glsgroupskip~n") -(markup-indexentry :open "~n" :depth 0) -(markup-locclass-list :open "{\glossaryentrynumbers{\relax " - :sep ", " :close "}}") -(markup-locref-list :sep "\delimN ") -(markup-range :sep "\delimR ") - -; define format to use for locations - - -(markup-locref :open "~n\setentrycounter{page}\glsnumberformat{" - :close "}" - :attr "glsnumberformat") -(markup-locref :open "~n\setentrycounter{page}\textrm{" - :close "}" - :attr "textrm") -(markup-locref :open "~n\setentrycounter{page}\textsf{" - :close "}" - :attr "textsf") -(markup-locref :open "~n\setentrycounter{page}\texttt{" - :close "}" - :attr "texttt") -(markup-locref :open "~n\setentrycounter{page}\textbf{" - :close "}" - :attr "textbf") -(markup-locref :open "~n\setentrycounter{page}\textmd{" - :close "}" - :attr "textmd") -(markup-locref :open "~n\setentrycounter{page}\textit{" - :close "}" - :attr "textit") -(markup-locref :open "~n\setentrycounter{page}\textup{" - :close "}" - :attr "textup") -(markup-locref :open "~n\setentrycounter{page}\textsl{" - :close "}" - :attr "textsl") -(markup-locref :open "~n\setentrycounter{page}\textsc{" - :close "}" - :attr "textsc") -(markup-locref :open "~n\setentrycounter{page}\emph{" - :close "}" - :attr "emph") -(markup-locref :open "~n\setentrycounter{page}\glshypernumber{" - :close "}" - :attr "glshypernumber") -(markup-locref :open "~n\setentrycounter{page}\hyperrm{" - :close "}" - :attr "hyperrm") -(markup-locref :open "~n\setentrycounter{page}\hypersf{" - :close "}" - :attr "hypersf") -(markup-locref :open "~n\setentrycounter{page}\hypertt{" - :close "}" - :attr "hypertt") -(markup-locref :open "~n\setentrycounter{page}\hyperbf{" - :close "}" - :attr "hyperbf") -(markup-locref :open "~n\setentrycounter{page}\hypermd{" - :close "}" - :attr "hypermd") -(markup-locref :open "~n\setentrycounter{page}\hyperit{" - :close "}" - :attr "hyperit") -(markup-locref :open "~n\setentrycounter{page}\hyperup{" - :close "}" - :attr "hyperup") -(markup-locref :open "~n\setentrycounter{page}\hypersl{" - :close "}" - :attr "hypersl") -(markup-locref :open "~n\setentrycounter{page}\hypersc{" - :close "}" - :attr "hypersc") -(markup-locref :open "~n\setentrycounter{page}\hyperemph{" - :close "}" - :attr "hyperemph") -(markup-locref :open "~n\setentrycounter{page}\hyperbfit{" - :close "}" - :attr "hyperbfit") - -; define letter group list format - -(markup-letter-group-list :sep "\glsgroupskip~n") - -; letter group headings - -(markup-letter-group :open-head "\glsgroupheading{" - :close-head "}") - -(define-letter-group "glsnumbers" - :prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") - :before "A") - -; The following is copied from xindy/lang/english/utf8-lang.xdy - -(define-sort-rule-orientations (forward backward forward forward)) -(use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) -(use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) -(use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) -(use-rule-set :run 3 - :rule-set ("en-resolve-special")) - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*database1.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries - -\newglossaryentry{array}{name=array, -description={A list of values identified by a numeric value}} - -\newglossaryentry{binary}{name=binary, -description={Pertaining to numbers represented in base 2}} - -\newglossaryentry{comment}{name=comment, -description={A remark that doesn't affect the meaning of the -code}} - -\newglossaryentry{global}{name=global, -description={Something that maintains its state when it leaves -the current group}} - -\newglossaryentry{local}{name=local, -description={Something that only maintains its state until -it leaves the group in which it was defined/changed}} - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*database2.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries - - % Don't need to worry about makeindex special characters -\newglossaryentry{quote}{name={"}, -description={the double quote symbol}} - -\newglossaryentry{at}{name={@}, -description={the ``at'' symbol}} - -\newglossaryentry{excl}{name={!}, -description={the exclamation mark symbol}} - -\newglossaryentry{bar}{name={\ensuremath{|}}, -description={the vertical bar symbol}} - -\newglossaryentry{hash}{name={\#}, -description={the hash symbol}} - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} %<*glossaries.perl> % \end{macrocode} %\fi diff --git a/Master/texmf-dist/source/latex/glossaries/glossaries.ins b/Master/texmf-dist/source/latex/glossaries/glossaries.ins index f46dd99a7ae..6539fc80467 100644 --- a/Master/texmf-dist/source/latex/glossaries/glossaries.ins +++ b/Master/texmf-dist/source/latex/glossaries/glossaries.ins @@ -1,4 +1,4 @@ -% glossaries.ins generated using makedtx version 1.2 2019/9/28 15:01 +% glossaries.ins generated using makedtx version 1.2 2019/12/6 14:57 \input docstrip \preamble @@ -18,7 +18,7 @@ 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, glossaries-prefix.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-compatible-207.sty, glossaries-compatible-307.sty, glossaries-accsupp.sty, glossaries-babel.sty, glossaries-polyglossia.sty, minimalgls.tex, glossary-lipsum-examples.tex, example-glossaries-acronym-desc.tex, example-glossaries-acronym.tex, example-glossaries-acronyms-lang.tex, example-glossaries-brief.tex, example-glossaries-childnoname.tex, example-glossaries-cite.tex, example-glossaries-images.tex, example-glossaries-long.tex, example-glossaries-multipar.tex, example-glossaries-parent.tex, example-glossaries-symbolnames.tex, example-glossaries-symbols.tex, example-glossaries-url.tex, sample-chap-hyperfirst.tex, sample-crossref.tex, sample-custom-acronym.tex, sample-dot-abbr.tex, sample-dual.tex, sample-entrycount.tex, sample-entryfmt.tex, sample-FnDesc.tex, sample-font-abbr.tex, sample-ignored.tex, sample-index.tex, sample-inline.tex, sample-langdict.tex, sample-newkeys.tex, sample-noidxapp-utf8.tex, sample-noidxapp.tex, sample-nomathhyper.tex, sample-numberlist.tex, sample-prefix.tex, sample-si.tex, sample-storage-abbr-desc.tex, sample-storage-abbr.tex, sample.tex, sample4col.tex, sampleaccsupp.tex, sampleAcr.tex, sampleAcrDesc.tex, sampleacronyms.tex, sampleCustomAcr.tex, sampleDB.tex, sampleDesc.tex, sampleEq.tex, sampleEqPg.tex, sampleFnAcrDesc.tex, sampleNtn.tex, samplePeople.tex, sampleSec.tex, sampleSort.tex, sampletree.tex, sampleutf8.tex, samplexdy.tex, samplexdy2.tex, samplexdy3.tex, mwe-acr-desc.tex, mwe-acr.tex, mwe-gls.tex, samplexdy-mc.xdy, samplexdy-mc207.xdy, database1.tex, database2.tex, glossaries.perl. + This work consists of the files glossaries.dtx and glossaries.ins and the derived files glossaries.sty, glossaries-prefix.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-compatible-207.sty, glossaries-compatible-307.sty, glossaries-accsupp.sty, glossaries-babel.sty, glossaries-polyglossia.sty, example-glossaries-acronym-desc.tex, example-glossaries-acronym.tex, example-glossaries-acronyms-lang.tex, example-glossaries-brief.tex, example-glossaries-childnoname.tex, example-glossaries-cite.tex, example-glossaries-images.tex, example-glossaries-long.tex, example-glossaries-multipar.tex, example-glossaries-parent.tex, example-glossaries-symbolnames.tex, example-glossaries-symbols.tex, example-glossaries-url.tex, glossaries.perl. \endpreamble @@ -58,8 +58,6 @@ \usepostamble\defaultpostamble\from{glossaries.dtx}{glossaries-babel.sty,package}} \file{glossaries-polyglossia.sty}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{glossaries.dtx}{glossaries-polyglossia.sty,package}} -\file{minimalgls.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{minimalgls.tex}} -\file{glossary-lipsum-examples.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{glossary-lipsum-examples.tex}} \file{example-glossaries-acronym-desc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-acronym-desc.tex}} \file{example-glossaries-acronym.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-acronym.tex}} \file{example-glossaries-acronyms-lang.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-acronyms-lang.tex}} @@ -73,56 +71,6 @@ \file{example-glossaries-symbolnames.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-symbolnames.tex}} \file{example-glossaries-symbols.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-symbols.tex}} \file{example-glossaries-url.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-url.tex}} -\file{sample-chap-hyperfirst.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-chap-hyperfirst.tex}} -\file{sample-crossref.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-crossref.tex}} -\file{sample-custom-acronym.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-custom-acronym.tex}} -\file{sample-dot-abbr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-dot-abbr.tex}} -\file{sample-dual.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-dual.tex}} -\file{sample-entrycount.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-entrycount.tex}} -\file{sample-entryfmt.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-entryfmt.tex}} -\file{sample-FnDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-FnDesc.tex}} -\file{sample-font-abbr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-font-abbr.tex}} -\file{sample-ignored.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-ignored.tex}} -\file{sample-index.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-index.tex}} -\file{sample-inline.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-inline.tex}} -\file{sample-langdict.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-langdict.tex}} -\file{sample-newkeys.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-newkeys.tex}} -\file{sample-noidxapp-utf8.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-noidxapp-utf8.tex}} -\file{sample-noidxapp.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-noidxapp.tex}} -\file{sample-nomathhyper.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-nomathhyper.tex}} -\file{sample-numberlist.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-numberlist.tex}} -\file{sample-prefix.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-prefix.tex}} -\file{sample-si.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-si.tex}} -\file{sample-storage-abbr-desc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-storage-abbr-desc.tex}} -\file{sample-storage-abbr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-storage-abbr.tex}} -\file{sample.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample.tex}} -\file{sample4col.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample4col.tex}} -\file{sampleaccsupp.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleaccsupp.tex}} -\file{sampleAcr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleAcr.tex}} -\file{sampleAcrDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleAcrDesc.tex}} -\file{sampleacronyms.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleacronyms.tex}} -\file{sampleCustomAcr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleCustomAcr.tex}} -\file{sampleDB.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleDB.tex}} -\file{sampleDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleDesc.tex}} -\file{sampleEq.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleEq.tex}} -\file{sampleEqPg.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleEqPg.tex}} -\file{sampleFnAcrDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleFnAcrDesc.tex}} -\file{sampleNtn.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleNtn.tex}} -\file{samplePeople.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplePeople.tex}} -\file{sampleSec.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleSec.tex}} -\file{sampleSort.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleSort.tex}} -\file{sampletree.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampletree.tex}} -\file{sampleutf8.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleutf8.tex}} -\file{samplexdy.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy.tex}} -\file{samplexdy2.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy2.tex}} -\file{samplexdy3.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy3.tex}} -\file{mwe-acr-desc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{mwe-acr-desc.tex}} -\file{mwe-acr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{mwe-acr.tex}} -\file{mwe-gls.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{mwe-gls.tex}} -\file{samplexdy-mc.xdy}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy-mc.xdy}} -\file{samplexdy-mc207.xdy}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy-mc207.xdy}} -\file{database1.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{database1.tex}} -\file{database2.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{database2.tex}} \file{glossaries.perl}{\nopreamble\nopostamble\from{glossaries.dtx}{glossaries.perl}} } -- cgit v1.2.3