From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/glossaries-swedish/README | 15 ++ .../glossaries-swedish/glossaries-swedish.dtx | 218 +++++++++++++++++++++ .../glossaries-swedish/glossaries-swedish.ins | 34 ++++ .../glossaries-swedish/glossaries-swedish.pdf | Bin 0 -> 146819 bytes 4 files changed, 267 insertions(+) create mode 100644 macros/latex/contrib/glossaries-swedish/README create mode 100644 macros/latex/contrib/glossaries-swedish/glossaries-swedish.dtx create mode 100644 macros/latex/contrib/glossaries-swedish/glossaries-swedish.ins create mode 100644 macros/latex/contrib/glossaries-swedish/glossaries-swedish.pdf (limited to 'macros/latex/contrib/glossaries-swedish') diff --git a/macros/latex/contrib/glossaries-swedish/README b/macros/latex/contrib/glossaries-swedish/README new file mode 100644 index 0000000000..02a4702a95 --- /dev/null +++ b/macros/latex/contrib/glossaries-swedish/README @@ -0,0 +1,15 @@ +Swedish Language Module for glossaries Package +version 1.0 2016-03-05 + +To install: copy *.ldf and *.dict to + +TEXMF/tex/latex/glossaries-swedish/ + +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-swedish/glossaries-swedish.dtx b/macros/latex/contrib/glossaries-swedish/glossaries-swedish.dtx new file mode 100644 index 0000000000..f1537c9faf --- /dev/null +++ b/macros/latex/contrib/glossaries-swedish/glossaries-swedish.dtx @@ -0,0 +1,218 @@ +%\iffalse +% glossaries-swedish.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 \~} +% +%\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-swedish} +\author{Robert Nyqvist\\ + Based on glossaries-\emph{language} by Nicola Talbot} +\date{version 1.0 (2016-03-05)} + +\begin{document} +\DocInput{glossaries-swedish.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-swedish-noenc.ldf> +% \end{macrocode} +%\fi +%\subsection{glossaries-swedish-noenc.ldf} +% \begin{macrocode} +\@ifpackageloaded{polyglossia}% +{% +% \end{macrocode} +% This is unlikely to occur, since if polyglossia has been loaded +% then the glossaries-swedish-utf8.ldf file should've been loaded instead. +% \begin{macrocode} + \newcommand*{\glossariescaptionsswedish}{% + \renewcommand*{\glossaryname}{\textswedish{Ordlista}}% + \renewcommand*{\acronymname}{\textswedish{F\"{o}rkortningar}}% + \renewcommand*{\entryname}{\textswedish{Notation}}% + \renewcommand*{\descriptionname}{\textswedish{Beskrivning}}% + \renewcommand*{\symbolname}{\textswedish{Symbol}}% + \renewcommand*{\pagelistname}{\textswedish{Sidor}}% + \renewcommand*{\glssymbolsgroupname}{\textswedish{Symboler}}% + \renewcommand*{\glsnumbersgroupname}{\textswedish{Nummer}}% + }% +} +{% + \newcommand*{\glossariescaptionsswedish}{% + \renewcommand*{\glossaryname}{Ordlista}% + \renewcommand*{\acronymname}{F\"{o}rkortningar}% + \renewcommand*{\entryname}{Notation}% + \renewcommand*{\descriptionname}{Beskrivning}% + \renewcommand*{\symbolname}{Symbol}% + \renewcommand*{\pagelistname}{Sidor}% + \renewcommand*{\glssymbolsgroupname}{Symboler}% + \renewcommand*{\glsnumbersgroupname}{Nummer}% + }% +} +% \end{macrocode} +%\iffalse +% \begin{macrocode} +% +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} +%<*glossaries-swedish-utf8.ldf> +% \end{macrocode} +%\fi +%\subsection{glossaries-swedish-utf8.ldf} +% \begin{macrocode} +\@ifpackageloaded{polyglossia}% +{% + \newcommand*{\glossariescaptionsswedish}{% + \renewcommand*{\glossaryname}{\textswedish{Ordlista}}% + \renewcommand*{\acronymname}{\textswedish{Förkortningar}}% + \renewcommand*{\entryname}{\textswedish{Notation}}% + \renewcommand*{\descriptionname}{\textswedish{Beskrivning}}% + \renewcommand*{\symbolname}{\textswedish{Symbol}}% + \renewcommand*{\pagelistname}{\textswedish{Sidor}}% + \renewcommand*{\glssymbolsgroupname}{\textswedish{Symboler}}% + \renewcommand*{\glsnumbersgroupname}{\textswedish{Nummer}}% + }% +} +{% + \newcommand*{\glossariescaptionsswedish}{% + \renewcommand*{\glossaryname}{Ordlista}% + \renewcommand*{\acronymname}{Förkortningar}% + \renewcommand*{\entryname}{Notation}% + \renewcommand*{\descriptionname}{Beskrivning}% + \renewcommand*{\symbolname}{Symbol}% + \renewcommand*{\pagelistname}{Sidor}% + \renewcommand*{\glssymbolsgroupname}{Symboler}% + \renewcommand*{\glsnumbersgroupname}{Nummer}% + }% +} +% \end{macrocode} +%\iffalse +% \begin{macrocode} +% +% \end{macrocode} +%\fi +%\iffalse +% \begin{macrocode} +%<*glossaries-swedish.ldf> +% \end{macrocode} +%\fi +%\subsection{glossaries-swedish.ldf} +% \begin{macrocode} +\ProvidesGlossariesLang{swedish}[2016/03/05 v1.0] + +\glsifusedtranslatordict{Swedish} +{% + \addglossarytocaptions{\CurrentTrackedLanguage}% + \addglossarytocaptions{\CurrentTrackedDialect}% +} +{% + \ifdefstring{\inputencodingname}{utf8} + {\input{glossaries-swedish-utf8.ldf}}% + {% + \ifdef{\XeTeXinputencoding}% XeTeX defaults to UTF-8 + {\input{glossaries-swedish-utf8.ldf}}% + {\input{glossaries-swedish-noenc.ldf}} + } + \ifcsdef{captions\CurrentTrackedDialect} + {% + \csappto{captions\CurrentTrackedDialect}% + {% + \glossariescaptionsswedish + }% + }% + {% + \ifcsdef{captions\CurrentTrackedLanguage} + { + \csappto{captions\CurrentTrackedLanguage}% + {% + \glossariescaptionsswedish + }% + }% + {% + }% + }% + \glossariescaptionsswedish +} +% \end{macrocode} +% General default plural suffix (there are also -er, -n, -on, -or, and -r): +% \begin{macrocode} +\renewcommand*{\glspluralsuffix}{ar} +% \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-Swedish.dict> +% \end{macrocode} +%\fi +%\subsection{glossaries-dictionary-Swedish.dict} +% This dictionary was provided by Zoran Filipovic. +% \begin{macrocode} +\ProvidesDictionary{glossaries-dictionary}{Swedish} + +\providetranslation{Glossary}{Ordlista} +\providetranslation{Acronyms}{F\"{o}rkortningar} +\providetranslation{Notation (glossaries)}{Notation} +\providetranslation{Description (glossaries)}{Beskrivning} +\providetranslation{Symbol (glossaries)}{Symbol} +\providetranslation{Page List (glossaries)}{Sidor} +\providetranslation{Symbols (glossaries)}{Symboler} +\providetranslation{Numbers (glossaries)}{Nummer} +% \end{macrocode} +%\iffalse +% \begin{macrocode} +% +% \end{macrocode} +%\fi +%\Finale +\endinput diff --git a/macros/latex/contrib/glossaries-swedish/glossaries-swedish.ins b/macros/latex/contrib/glossaries-swedish/glossaries-swedish.ins new file mode 100644 index 0000000000..05b534aa06 --- /dev/null +++ b/macros/latex/contrib/glossaries-swedish/glossaries-swedish.ins @@ -0,0 +1,34 @@ +% glossaries-swedish.ins +\input docstrip + +\preamble + + glossaries-swedish.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 Robert Nyqvist + +\endpreamble + +\askforoverwritefalse + +\generate{\file{glossaries-swedish-noenc.ldf}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-swedish.dtx}{glossaries-swedish-noenc.ldf,package}} +\file{glossaries-swedish-utf8.ldf}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-swedish.dtx}{glossaries-swedish-utf8.ldf,package}} +\file{glossaries-swedish.ldf}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-swedish.dtx}{glossaries-swedish.ldf,package}} +\file{glossaries-dictionary-Swedish.dict}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-swedish.dtx}{glossaries-dictionary-Swedish.dict,package}} +} + +\endbatchfile diff --git a/macros/latex/contrib/glossaries-swedish/glossaries-swedish.pdf b/macros/latex/contrib/glossaries-swedish/glossaries-swedish.pdf new file mode 100644 index 0000000000..08eaafabf7 Binary files /dev/null and b/macros/latex/contrib/glossaries-swedish/glossaries-swedish.pdf differ -- cgit v1.2.3