From f059914d1364b206eda8685f4ea34a93c9edb1ea Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 26 Nov 2014 00:08:18 +0000 Subject: glossaries-LANGs (26nov14) git-svn-id: svn://tug.org/texlive/trunk@35665 c570f23f-e606-0410-a88d-b1316a301751 --- .../glossaries-english/glossaries-english.dtx | 162 +++++++++++++++++++++ .../glossaries-english/glossaries-english.ins | 33 +++++ 2 files changed, 195 insertions(+) create mode 100644 Master/texmf-dist/source/latex/glossaries-english/glossaries-english.dtx create mode 100644 Master/texmf-dist/source/latex/glossaries-english/glossaries-english.ins (limited to 'Master/texmf-dist/source/latex/glossaries-english') diff --git a/Master/texmf-dist/source/latex/glossaries-english/glossaries-english.dtx b/Master/texmf-dist/source/latex/glossaries-english/glossaries-english.dtx new file mode 100644 index 00000000000..ab04a824088 --- /dev/null +++ b/Master/texmf-dist/source/latex/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 \~} +% +%\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} +% +%\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} +% +% \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} +% +% \end{macrocode} +%\fi +%\Finale +\endinput diff --git a/Master/texmf-dist/source/latex/glossaries-english/glossaries-english.ins b/Master/texmf-dist/source/latex/glossaries-english/glossaries-english.ins new file mode 100644 index 00000000000..b99b1ad021c --- /dev/null +++ b/Master/texmf-dist/source/latex/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 -- cgit v1.2.3