diff options
author | Karl Berry <karl@freefriends.org> | 2017-10-26 12:48:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-10-26 12:48:07 +0000 |
commit | 733e74439303b5c8a97f4f9a9977b0d71a652219 (patch) | |
tree | 56af267a12bbe32ef3157e05847998f31d38f923 /Master/texmf-dist/source | |
parent | bacd647fd08a973b1e42ed95df69ca2f95113c4c (diff) |
glossaries-finnish
git-svn-id: svn://tug.org/texlive/trunk@45604 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/glossaries-finnish/glossaries-finnish.dtx | 217 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/glossaries-finnish/glossaries-finnish.ins | 39 |
2 files changed, 256 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/glossaries-finnish/glossaries-finnish.dtx b/Master/texmf-dist/source/latex/glossaries-finnish/glossaries-finnish.dtx new file mode 100644 index 00000000000..41c1f9f4377 --- /dev/null +++ b/Master/texmf-dist/source/latex/glossaries-finnish/glossaries-finnish.dtx @@ -0,0 +1,217 @@ +%\iffalse +% glossaries-finnish.dtx +%\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 +% \fi +% \iffalse +%<*driver> +\documentclass{nlctdoc} + +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} + +\title{Glossaries Language Module: glossaries-finnish} +\author{Tuomas Välimäki\\ + Based on glossaries-\emph{language} by Nicola Talbot} +\date{version 1.0 (2016-04-01)} + +\begin{document} +\DocInput{glossaries-finnish.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-finnish-ascii.ldf> +% \end{macrocode} +%\fi +%\subsection{glossaries-finnish-ascii.ldf} +% \begin{macrocode} +\@ifpackageloaded{polyglossia}% +{% +% \end{macrocode} +% This is unlikely to occur, since if polyglossia has been loaded +% then the glossaries-finnish-utf8.ldf file should've been loaded instead. +% \begin{macrocode} + \newcommand*{\glossariescaptionsfinnish}{% + \renewcommand*{\glossaryname}{\textfinnish{Sanasto}}% + \renewcommand*{\acronymname}{\textfinnish{Lyhenteet}}% + \renewcommand*{\entryname}{\textfinnish{Merkinn\"{a}t}}% + \renewcommand*{\descriptionname}{\textfinnish{Kuvaus}}% + \renewcommand*{\symbolname}{\textfinnish{Symboli}}% + \renewcommand*{\pagelistname}{\textfinnish{Sivut}}% + \renewcommand*{\glssymbolsgroupname}{\textfinnish{Symbolit}}% + \renewcommand*{\glsnumbersgroupname}{\textfinnish{Numerot}}% + }% +} +{% + \newcommand*{\glossariescaptionsfinnish}{% + \renewcommand*{\glossaryname}{Sanasto}% + \renewcommand*{\acronymname}{Lyhenteet}% + \renewcommand*{\entryname}{Merkinn\"{a}t}% + \renewcommand*{\descriptionname}{Kuvaus}% + \renewcommand*{\symbolname}{Symboli}% + \renewcommand*{\pagelistname}{Sivut}% + \renewcommand*{\glssymbolsgroupname}{Symbolit}% + \renewcommand*{\glsnumbersgroupname}{Numerot}% + }% +} +% \end{macrocode} +%\iffalse +% \begin{macrocode} +%</glossaries-finnish-ascii.ldf> +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} +%<*glossaries-finnish-utf8.ldf> +% \end{macrocode} +%\fi +%\subsection{glossaries-finnish-utf8.ldf} +% \begin{macrocode} +\@ifpackageloaded{polyglossia}% +{% + \newcommand*{\glossariescaptionsfinnish}{% + \renewcommand*{\glossaryname}{\textfinnish{Sanasto}}% + \renewcommand*{\acronymname}{\textfinnish{Lyhenteet}}% + \renewcommand*{\entryname}{\textfinnish{Merkinnät}}% + \renewcommand*{\descriptionname}{\textfinnish{Kuvaus}}% + \renewcommand*{\symbolname}{\textfinnish{Symboli}}% + \renewcommand*{\pagelistname}{\textfinnish{Sivut}}% + \renewcommand*{\glssymbolsgroupname}{\textfinnish{Symbolit}}% + \renewcommand*{\glsnumbersgroupname}{\textfinnish{Numerot}}% + }% +} +{% + \newcommand*{\glossariescaptionsfinnish}{% + \renewcommand*{\glossaryname}{Sanasto}% + \renewcommand*{\acronymname}{Lyhenteet}% + \renewcommand*{\entryname}{Merkinnät}% + \renewcommand*{\descriptionname}{Kuvaus}% + \renewcommand*{\symbolname}{Symboli}% + \renewcommand*{\pagelistname}{Sivut}% + \renewcommand*{\glssymbolsgroupname}{Symbolit}% + \renewcommand*{\glsnumbersgroupname}{Numerot}% + }% +} +% \end{macrocode} +%\iffalse +% \begin{macrocode} +%</glossaries-finnish-utf8.ldf> +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} +%<*glossaries-finnish.ldf> +% \end{macrocode} +%\fi +%\subsection{glossaries-finnish.ldf} +% \begin{macrocode} +\ProvidesGlossariesLang{finnish}[2016/04/01 v1.0] + +\glsifusedtranslatordict{Finnish} +{% + \addglossarytocaptions{\CurrentTrackedLanguage}% + \addglossarytocaptions{\CurrentTrackedDialect}% +} +{% + \ifdefstring{\inputencodingname}{utf8} + {\input{glossaries-finnish-utf8.ldf}}% + {% + \ifdef{\XeTeXinputencoding}% XeTeX defaults to UTF-8 + {\input{glossaries-finnish-utf8.ldf}}% + {\input{glossaries-finnish-ascii.ldf}} + } + \ifcsdef{captions\CurrentTrackedDialect} + {% + \csappto{captions\CurrentTrackedDialect}% + {% + \glossariescaptionsfinnish + }% + }% + {% + \ifcsdef{captions\CurrentTrackedLanguage} + { + \csappto{captions\CurrentTrackedLanguage}% + {% + \glossariescaptionsfinnish + }% + }% + {% + }% + }% + \glossariescaptionsfinnish +} +% \end{macrocode} +% General default plural suffix: +% \begin{macrocode} +\renewcommand*{\glspluralsuffix}{t} +% \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-finnish.ldf> +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} +%<*glossaries-dictionary-Finnish.dict> +% \end{macrocode} +%\fi +%\subsection{glossaries-dictionary-Finnish.dict} +% \begin{macrocode} +\ProvidesDictionary{glossaries-dictionary}{Finnish} + +\providetranslation{Glossary}{Sanasto} +\providetranslation{Acronyms}{Lyhenteet} +\providetranslation{Notation (glossaries)}{Merkinn\"{a}t} +\providetranslation{Description (glossaries)}{Kuvaus} +\providetranslation{Symbol (glossaries)}{Symboli} +\providetranslation{Page List (glossaries)}{Sivut} +\providetranslation{Symbols (glossaries)}{Symbolit} +\providetranslation{Numbers (glossaries)}{Numerot} +% \end{macrocode} +%\iffalse +% \begin{macrocode} +%</glossaries-dictionary-Finnish.dict> +% \end{macrocode} +%\fi +%\Finale +\endinput diff --git a/Master/texmf-dist/source/latex/glossaries-finnish/glossaries-finnish.ins b/Master/texmf-dist/source/latex/glossaries-finnish/glossaries-finnish.ins new file mode 100644 index 00000000000..8e079f77e62 --- /dev/null +++ b/Master/texmf-dist/source/latex/glossaries-finnish/glossaries-finnish.ins @@ -0,0 +1,39 @@ +% glossaries-finnish.ins +\input docstrip + +\preamble + + glossaries-finnish.dtx + + 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 Tuomas Välimäki. + + This work consists of the files glossaries-finnish.dtx and + glossaries-finnish.ins and the derived files + glossaries-finnish-utf8.ldf, glossaries-finnish-ascii.ldf, + glossaries-finnish.ldf, and glossaries-dictionary-Finnish.dict. + +\endpreamble + +\askforoverwritefalse + +\generate{\file{glossaries-finnish-ascii.ldf}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-finnish.dtx}{glossaries-finnish-ascii.ldf,package}} +\file{glossaries-finnish-utf8.ldf}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-finnish.dtx}{glossaries-finnish-utf8.ldf,package}} +\file{glossaries-finnish.ldf}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-finnish.dtx}{glossaries-finnish.ldf,package}} +\file{glossaries-dictionary-Finnish.dict}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-finnish.dtx}{glossaries-dictionary-Finnish.dict,package}} +} + +\endbatchfile |