summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-irish/glossaries-irish.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/glossaries-irish/glossaries-irish.dtx
Initial commit
Diffstat (limited to 'macros/latex/contrib/glossaries-irish/glossaries-irish.dtx')
-rw-r--r--macros/latex/contrib/glossaries-irish/glossaries-irish.dtx232
1 files changed, 232 insertions, 0 deletions
diff --git a/macros/latex/contrib/glossaries-irish/glossaries-irish.dtx b/macros/latex/contrib/glossaries-irish/glossaries-irish.dtx
new file mode 100644
index 0000000000..f6e6b14f53
--- /dev/null
+++ b/macros/latex/contrib/glossaries-irish/glossaries-irish.dtx
@@ -0,0 +1,232 @@
+%\iffalse
+% glossaries-irish.dtx generated using makedtx version 1.1 (c) Nicola Talbot
+% Command line args:
+% -src "(.*.ldf)=>\1"
+% -src "(.*.dict)=>\1"
+% -doc "glossaries-module.tex"
+% -author "Nicola Talbot"
+% glossaries-irish
+% Created on 2014/11/24 18:36
+%\fi
+%\iffalse
+%<*package>
+%% \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 \~}
+%</package>
+%\fi
+% \iffalse
+% Doc-Source file to use with LaTeX2e
+% Copyright (C) 2014 Nicola Talbot, all rights reserved.
+% \fi
+% \iffalse
+%<*driver>
+\documentclass{nlctdoc}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+
+\title{Glossaries Language Module: glossaries-irish}
+\author{Nicola Talbot}
+\date{version 1.0 (2014-11-23)}
+
+\begin{document}
+\DocInput{glossaries-irish.dtx}
+\end{document}
+%</driver>
+%\fi
+%\maketitle
+%
+%This language module simply needs to be installed. The \sty{glossaries}
+%package will automatically load it if required.
+%
+%
+%
+%\StopEventually{}
+%\section{The Code}
+%\iffalse
+% \begin{macrocode}
+%<*glossaries-irish-noenc.ldf>
+% \end{macrocode}
+%\fi
+%\subsection{glossaries-irish-noenc.ldf}
+% \begin{macrocode}
+\@ifpackageloaded{polyglossia}%
+{%
+% \end{macrocode}
+% This is unlikely to occur, since if polyglossia has been loaded
+% then the glossaries-irish-utf8.ldf file should've been loaded instead.
+% \begin{macrocode}
+ \newcommand*{\glossariescaptionsirish}{%
+ \renewcommand*{\glossaryname}{\textirish{Gluais}}%
+ \renewcommand*{\acronymname}{\textirish{Acrainmneacha}}%
+ \renewcommand*{\entryname}{\textirish{Ciall}}%
+ \renewcommand*{\descriptionname}{\textirish{Tuairisc}}%
+ \renewcommand*{\symbolname}{\textirish{Comhartha}}%
+ \renewcommand*{\glssymbolsgroupname}{\textirish{Comhartha\'{\i}}}%
+ \renewcommand*{\pagelistname}{\textirish{Leathanaigh}}%
+ \renewcommand*{\glsnumbersgroupname}{\textirish{Uimhreacha}}%
+ }%
+}%
+{%
+ \newcommand*{\glossariescaptionsirish}{%
+ \renewcommand*{\glossaryname}{Gluais}%
+ \renewcommand*{\acronymname}{Acrainmneacha}%
+% \end{macrocode}
+% Wasn't sure whether to go for N\'ota (Note), Ciall (`Meaning',
+% `sense') or Br\'{\i} (`Meaning'). In the end I chose Ciall.
+% \begin{macrocode}
+ \renewcommand*{\entryname}{Ciall}%
+ \renewcommand*{\descriptionname}{Tuairisc}%
+% \end{macrocode}
+% Again, not sure whether to use Comhartha/Comhartha\'{\i} or
+% Siombail/Siombaile, so have chosen the former.
+% \begin{macrocode}
+ \renewcommand*{\symbolname}{Comhartha}%
+ \renewcommand*{\glssymbolsgroupname}{Comhartha\'{\i}}%
+ \renewcommand*{\pagelistname}{Leathanaigh}%
+ \renewcommand*{\glsnumbersgroupname}{Uimhreacha}%
+ }%
+}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%</glossaries-irish-noenc.ldf>
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*glossaries-irish-utf8.ldf>
+% \end{macrocode}
+%\fi
+%\subsection{glossaries-irish-utf8.ldf}
+% \begin{macrocode}
+\@ifpackageloaded{polyglossia}%
+{%
+ \newcommand*{\glossariescaptionsirish}{%
+ \renewcommand*{\glossaryname}{\textirish{Gluais}}%
+ \renewcommand*{\acronymname}{\textirish{Acrainmneacha}}%
+ \renewcommand*{\entryname}{\textirish{Ciall}}%
+ \renewcommand*{\descriptionname}{\textirish{Tuairisc}}%
+ \renewcommand*{\symbolname}{\textirish{Comhartha}}%
+ \renewcommand*{\glssymbolsgroupname}{\textirish{Comharthaí}}%
+ \renewcommand*{\pagelistname}{\textirish{Leathanaigh}}%
+ \renewcommand*{\glsnumbersgroupname}{\textirish{Uimhreacha}}%
+ }%
+}
+{%
+ \newcommand*{\glossariescaptionsirish}{%
+ \renewcommand*{\glossaryname}{Gluais}%
+ \renewcommand*{\acronymname}{Acrainmneacha}%
+ \renewcommand*{\entryname}{Ciall}%
+ \renewcommand*{\descriptionname}{Tuairisc}%
+ \renewcommand*{\symbolname}{Comhartha}%
+ \renewcommand*{\glssymbolsgroupname}{Comharthaí}%
+ \renewcommand*{\pagelistname}{Leathanaigh}%
+ \renewcommand*{\glsnumbersgroupname}{Uimhreacha}%
+ }%
+}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%</glossaries-irish-utf8.ldf>
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*glossaries-irish.ldf>
+% \end{macrocode}
+%\fi
+%\subsection{glossaries-irish.ldf}
+% \begin{macrocode}
+\ProvidesGlossariesLang{irish}[2014/11/23 v1.0]
+
+\glsifusedtranslatordict{Irish}
+{%
+ \addglossarytocaptions{\CurrentTrackedLanguage}%
+ \addglossarytocaptions{\CurrentTrackedDialect}%
+}
+{%
+ \ifdefstring{\inputencodingname}{utf8}
+ {\input{glossaries-irish-utf8.ldf}}%
+ {%
+ \ifdef{\XeTeXinputencoding}% XeTeX defaults to UTF-8
+ {\input{glossaries-irish-utf8.ldf}}%
+ {\input{glossaries-irish-noenc.ldf}}
+ }
+ \ifcsdef{captions\CurrentTrackedDialect}
+ {%
+ \csappto{captions\CurrentTrackedDialect}%
+ {%
+ \glossariescaptionsirish
+ }%
+ }%
+ {%
+ \ifcsdef{captions\CurrentTrackedLanguage}
+ {
+ \csappto{captions\CurrentTrackedLanguage}%
+ {%
+ \glossariescaptionsirish
+ }%
+ }%
+ {%
+ }%
+ }%
+ \glossariescaptionsirish
+}
+% \end{macrocode}
+% General default plural suffix:
+% \begin{macrocode}
+\renewcommand*{\glspluralsuffix}{s}
+% \end{macrocode}
+% Acronym default plural suffix:
+% \begin{macrocode}
+\renewcommand*{\glsacrpluralsuffix}{\glspluralsuffix}
+% \end{macrocode}
+% Acronym in \cs{textsc} default plural suffix
+% (\cs{glstextup} is used to cancel the effect of \cs{textsc}):
+% \begin{macrocode}
+\renewcommand*{\glsupacrpluralsuffix}{\glstextup{\glsacrpluralsuffix}}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%</glossaries-irish.ldf>
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
+%<*glossaries-dictionary-Irish.dict>
+% \end{macrocode}
+%\fi
+%\subsection{glossaries-dictionary-Irish.dict}
+% \begin{macrocode}
+\ProvidesDictionary{glossaries-dictionary}{Irish}
+
+\providetranslation{Glossary}{Gluais}
+\providetranslation{Acronyms}{Acrainmneacha}
+\providetranslation{Notation (glossaries)}{Ciall}
+\providetranslation{Description (glossaries)}{Tuairisc}
+\providetranslation{Symbol (glossaries)}{Comhartha}
+\providetranslation{Page List (glossaries)}{Leathanaigh}
+\providetranslation{Symbols (glossaries)}{Comhartha\'{\i}}
+\providetranslation{Numbers (glossaries)}{Uimhreacha}
+% \end{macrocode}
+%\iffalse
+% \begin{macrocode}
+%</glossaries-dictionary-Irish.dict>
+% \end{macrocode}
+%\fi
+%\Finale
+\endinput