diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/glossaries-english |
Initial commit
Diffstat (limited to 'macros/latex/contrib/glossaries-english')
-rw-r--r-- | macros/latex/contrib/glossaries-english/README | 18 | ||||
-rw-r--r-- | macros/latex/contrib/glossaries-english/glossaries-english.dtx | 162 | ||||
-rw-r--r-- | macros/latex/contrib/glossaries-english/glossaries-english.ins | 33 | ||||
-rw-r--r-- | macros/latex/contrib/glossaries-english/glossaries-english.pdf | bin | 0 -> 121944 bytes |
4 files changed, 213 insertions, 0 deletions
diff --git a/macros/latex/contrib/glossaries-english/README b/macros/latex/contrib/glossaries-english/README new file mode 100644 index 0000000000..89837ac7fe --- /dev/null +++ b/macros/latex/contrib/glossaries-english/README @@ -0,0 +1,18 @@ +English Language Module for glossaries Package + +Author: Nicola Talbot + www.dickimaw-books.com + +To install: copy *.ldf and *.dict to + +TEXMF/tex/latex/glossaries-english/ + +where TEXMF is the texmf root directory. + +The glossaries package will automatically load this module if it is +required. + +This material is subject to the LaTeX Project Public License. +See http://www.ctan.org/license/lppl1.3 +for the details of that license. + diff --git a/macros/latex/contrib/glossaries-english/glossaries-english.dtx b/macros/latex/contrib/glossaries-english/glossaries-english.dtx new file mode 100644 index 0000000000..ab04a82408 --- /dev/null +++ b/macros/latex/contrib/glossaries-english/glossaries-english.dtx @@ -0,0 +1,162 @@ +%\iffalse +% glossaries-english.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-english +% Created on 2014/11/24 18:20 +%\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-english} +\author{Nicola Talbot} +\date{version 1.0 (2014-11-23)} + +\begin{document} +\DocInput{glossaries-english.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-english.ldf> +% \end{macrocode} +%\fi +%\subsection{glossaries-english.ldf} +% \begin{macrocode} +\ProvidesGlossariesLang{english}[2014/11/23 v1.0] + +\glsifusedtranslatordict{English} +{% + \addglossarytocaptions{\CurrentTrackedLanguage}% + \addglossarytocaptions{\CurrentTrackedDialect}% +} +{% + \@ifpackageloaded{polyglossia}% + {% + \newcommand*{\glossariescaptionsenglish}{% + \renewcommand*{\glossaryname}{\textenglish{Glossary}}% + \renewcommand*{\acronymname}{\textenglish{Acronyms}}% + \renewcommand*{\entryname}{\textenglish{Notation}}% + \renewcommand*{\descriptionname}{\textenglish{Description}}% + \renewcommand*{\symbolname}{\textenglish{Symbol}}% + \renewcommand*{\pagelistname}{\textenglish{Page List}}% + \renewcommand*{\glssymbolsgroupname}{\textenglish{Symbols}}% + \renewcommand*{\glsnumbersgroupname}{\textenglish{Numbers}}% + }% + }% + {% + \newcommand*{\glossariescaptionsenglish}{% + \renewcommand*{\glossaryname}{Glossary}% + \renewcommand*{\acronymname}{Acronyms}% + \renewcommand*{\entryname}{Notation}% + \renewcommand*{\descriptionname}{Description}% + \renewcommand*{\symbolname}{Symbol}% + \renewcommand*{\pagelistname}{Page List}% + \renewcommand*{\glssymbolsgroupname}{Symbols}% + \renewcommand*{\glsnumbersgroupname}{Numbers}% + }% + }% + \ifcsdef{captions\CurrentTrackedDialect} + {% + \csappto{captions\CurrentTrackedDialect}% + {% + \glossariescaptionsenglish + }% + }% + {% + \ifcsdef{captions\CurrentTrackedLanguage} + { + \csappto{captions\CurrentTrackedLanguage}% + {% + \glossariescaptionsenglish + }% + }% + {% + }% + }% + \glossariescaptionsenglish +} +% \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-english.ldf> +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} +%<*glossaries-dictionary-English.dict> +% \end{macrocode} +%\fi +%\subsection{glossaries-dictionary-English.dict} +% \begin{macrocode} +\ProvidesDictionary{glossaries-dictionary}{English} + +\providetranslation{Glossary}{Glossary} +\providetranslation{Acronyms}{Acronyms} +\providetranslation{Notation (glossaries)}{Notation} +\providetranslation{Description (glossaries)}{Description} +\providetranslation{Symbol (glossaries)}{Symbol} +\providetranslation{Page List (glossaries)}{Page List} +\providetranslation{Symbols (glossaries)}{Symbols} +\providetranslation{Numbers (glossaries)}{Numbers} +% \end{macrocode} +%\iffalse +% \begin{macrocode} +%</glossaries-dictionary-English.dict> +% \end{macrocode} +%\fi +%\Finale +\endinput diff --git a/macros/latex/contrib/glossaries-english/glossaries-english.ins b/macros/latex/contrib/glossaries-english/glossaries-english.ins new file mode 100644 index 0000000000..b99b1ad021 --- /dev/null +++ b/macros/latex/contrib/glossaries-english/glossaries-english.ins @@ -0,0 +1,33 @@ +% glossaries-english.ins generated using makedtx version 1.1 2014/11/24 18:20 +\input docstrip + +\preamble + + glossaries-english.dtx + Copyright 2014 Nicola Talbot + + This work may be distributed and/or modified under the + conditions of the LaTeX Project Public License, either version 1.3 + of this license of (at your option) any later version. + The latest version of this license is in + http://www.latex-project.org/lppl.txt + and version 1.3 or later is part of all distributions of LaTeX + version 2005/12/01 or later. + + This work has the LPPL maintenance status `maintained'. + + The Current Maintainer of this work is Nicola Talbot. + + This work consists of the files glossaries-english.dtx and glossaries-english.ins and the derived files glossaries-english.ldf, glossaries-dictionary-English.dict. + +\endpreamble + +\askforoverwritefalse + +\generate{\file{glossaries-english.ldf}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-english.dtx}{glossaries-english.ldf,package}} +\file{glossaries-dictionary-English.dict}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-english.dtx}{glossaries-dictionary-English.dict,package}} +} + +\endbatchfile diff --git a/macros/latex/contrib/glossaries-english/glossaries-english.pdf b/macros/latex/contrib/glossaries-english/glossaries-english.pdf Binary files differnew file mode 100644 index 0000000000..5213820107 --- /dev/null +++ b/macros/latex/contrib/glossaries-english/glossaries-english.pdf |