From 408535fbea350c5dec96507b2044ac6dfb574d58 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 17 May 2023 20:30:18 +0000 Subject: glossaries-norsk (17may23) git-svn-id: svn://tug.org/texlive/trunk@67141 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/glossaries-norsk/README | 30 ++++ .../glossaries-dictionary-norsk.dict | 56 +++++++ .../latex/glossaries-norsk/glossaries-norsk.dtx | 162 +++++++++++++++++++++ .../latex/glossaries-norsk/glossaries-norsk.ins | 37 +++++ .../latex/glossaries-norsk/glossaries-norsk.ldf | 102 +++++++++++++ Master/tlpkg/bin/tlpkg-ctan-check | 3 +- Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 + Master/tlpkg/tlpsrc/glossaries-norsk.tlpsrc | 0 8 files changed, 390 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/latex/glossaries-norsk/README create mode 100644 Master/texmf-dist/doc/latex/glossaries-norsk/glossaries-dictionary-norsk.dict create mode 100644 Master/texmf-dist/source/latex/glossaries-norsk/glossaries-norsk.dtx create mode 100644 Master/texmf-dist/source/latex/glossaries-norsk/glossaries-norsk.ins create mode 100644 Master/texmf-dist/tex/latex/glossaries-norsk/glossaries-norsk.ldf create mode 100644 Master/tlpkg/tlpsrc/glossaries-norsk.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/glossaries-norsk/README b/Master/texmf-dist/doc/latex/glossaries-norsk/README new file mode 100644 index 00000000000..973bfdca7bb --- /dev/null +++ b/Master/texmf-dist/doc/latex/glossaries-norsk/README @@ -0,0 +1,30 @@ +Norsk Bokmål Language Module for glossaries Package + +This adds Norwegian Bokmål translations for the glossaries package, and will +automatically be loaded when the document/babel-package has the option `norsk`. + +The package this is based on (glossaries-nynorsk), adds the same translations +for Norsk Nynorsk. That package will be loaded when the `nynorsk` option is +used as mentioned before. + +Author: Jakob Stendahl + +Based on package by: + Eirik Haustveit + www.switchcraft.org + +To install: copy *.ldf and *.dict to + +TEXMF/tex/latex/glossaries-norsk/ + +where TEXMF is the texmf root directory. + +The glossaries package will automatically load this module if it is +required, as mentioned previously. + +Compile using `make` or just `latex glossaries-norsk.ins`. + +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/Master/texmf-dist/doc/latex/glossaries-norsk/glossaries-dictionary-norsk.dict b/Master/texmf-dist/doc/latex/glossaries-norsk/glossaries-dictionary-norsk.dict new file mode 100644 index 00000000000..2aa37f0843b --- /dev/null +++ b/Master/texmf-dist/doc/latex/glossaries-norsk/glossaries-dictionary-norsk.dict @@ -0,0 +1,56 @@ +%% +%% This is file `glossaries-dictionary-norsk.dict', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% glossaries-norsk.dtx (with options: `glossaries-dictionary-norsk.dict,package') +%% +%% glossaries-norsk.dtx +%% Copyright 2023 Jakob Stendahl +%% +%% +%% Based on package by Eirik Haustveit +%% +%% 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 Jakob Stendahl. +%% +%% This work consists of the files glossaries-norsk.dtx and glossaries-norsk.ins and the derived files glossaries-norsk.ldf, glossaries-dictionary-norsk.dict. +%% +%% \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 \~} +\ProvidesDictionary{glossaries-dictionary}{norsk} + +\providetranslation{Glossary}{Ordforklaringer} +\providetranslation{Acronyms}{Forkortelser} +\providetranslation{Notation (glossaries)}{Symbolliste} +\providetranslation{Description (glossaries)}{Beskrivelse} +\providetranslation{Symbol (glossaries)}{Symbol} +\providetranslation{Page List (glossaries)}{Side} +\providetranslation{Symbols (glossaries)}{Symbol} +\providetranslation{Numbers (glossaries)}{Tall} +\endinput +%% +%% End of file `glossaries-dictionary-norsk.dict'. diff --git a/Master/texmf-dist/source/latex/glossaries-norsk/glossaries-norsk.dtx b/Master/texmf-dist/source/latex/glossaries-norsk/glossaries-norsk.dtx new file mode 100644 index 00000000000..60e6515e000 --- /dev/null +++ b/Master/texmf-dist/source/latex/glossaries-norsk/glossaries-norsk.dtx @@ -0,0 +1,162 @@ +%\iffalse +% glossaries-norsk.dtx generated using makedtx version 1.1 (c) Jakob Stendahl +% Command line args: +% -src "(.*.ldf)=>\1" +% -src "(.*.dict)=>\1" +% -doc "glossaries-module.tex" +% -author "Jakob Stendahl" +% glossaries-norsk +% Created on 2023/05/16 15:14 +%\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) 2023 Jakob Stendahl, all rights reserved. +% \fi +% \iffalse +%<*driver> +\documentclass{nlctdoc} + +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} + +\title{Glossaries Language Module: glossaries-norsk} +\author{Jakob Stendahl} +\date{version 1.0 (2023-05-16)} + +\begin{document} +\DocInput{glossaries-norsk.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-norsk.ldf> +% \end{macrocode} +%\fi +%\subsection{glossaries-norsk.ldf} +% \begin{macrocode} +\ProvidesGlossariesLang{norsk}[2023/05/16 v1.0] + +\glsifusedtranslatordict{norsk} +{% + \addglossarytocaptions{\CurrentTrackedLanguage}% + \addglossarytocaptions{\CurrentTrackedDialect}% +} +{% + \@ifpackageloaded{polyglossia}% + {% + \newcommand*{\glossariescaptionsnorsk}{% + \renewcommand*{\glossaryname}{\textnorsk{Ordforklaringer}}% + \renewcommand*{\acronymname}{\textnorsk{Forkortelser}}% + \renewcommand*{\entryname}{\textnorsk{Notasjon}}% + \renewcommand*{\descriptionname}{\textnorsk{Beskrivelse}}% + \renewcommand*{\symbolname}{\textnorsk{Symbol}}% + \renewcommand*{\pagelistname}{\textnorsk{Side}}% + \renewcommand*{\glssymbolsgroupname}{\textnorsk{Symbol}}% + \renewcommand*{\glsnumbersgroupname}{\textnorsk{Tall}}% + }% + }% + {% + \newcommand*{\glossariescaptionsnorsk}{% + \renewcommand*{\glossaryname}{Ordforklaringer}% + \renewcommand*{\acronymname}{Forkortelser}% + \renewcommand*{\entryname}{Notasjon}% + \renewcommand*{\descriptionname}{Beskrivelse}% + \renewcommand*{\symbolname}{Symbol}% + \renewcommand*{\pagelistname}{Side}% + \renewcommand*{\glssymbolsgroupname}{Symbol}% + \renewcommand*{\glsnumbersgroupname}{Tall}% + }% + }% + \ifcsdef{captions\CurrentTrackedDialect} + {% + \csappto{captions\CurrentTrackedDialect}% + {% + \glossariescaptionsnorsk + }% + }% + {% + \ifcsdef{captions\CurrentTrackedLanguage} + { + \csappto{captions\CurrentTrackedLanguage}% + {% + \glossariescaptionsnorsk + }% + }% + {% + }% + }% + \glossariescaptionsnorsk +} +% \end{macrocode} +% General default plural suffix: +% \begin{macrocode} +\renewcommand*{\glspluralsuffix}{e} +% \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-norsk.dict> +% \end{macrocode} +%\fi +%\subsection{glossaries-dictionary-norsk.dict} +% \begin{macrocode} +\ProvidesDictionary{glossaries-dictionary}{norsk} + +\providetranslation{Glossary}{Ordforklaringer} +\providetranslation{Acronyms}{Forkortelser} +\providetranslation{Notation (glossaries)}{Symbolliste} +\providetranslation{Description (glossaries)}{Beskrivelse} +\providetranslation{Symbol (glossaries)}{Symbol} +\providetranslation{Page List (glossaries)}{Side} +\providetranslation{Symbols (glossaries)}{Symbol} +\providetranslation{Numbers (glossaries)}{Tall} +% \end{macrocode} +%\iffalse +% \begin{macrocode} +% +% \end{macrocode} +%\fi +%\Finale +\endinput diff --git a/Master/texmf-dist/source/latex/glossaries-norsk/glossaries-norsk.ins b/Master/texmf-dist/source/latex/glossaries-norsk/glossaries-norsk.ins new file mode 100644 index 00000000000..67b8683354b --- /dev/null +++ b/Master/texmf-dist/source/latex/glossaries-norsk/glossaries-norsk.ins @@ -0,0 +1,37 @@ +% glossaries-english.ins generated using makedtx version 1.1 2014/11/24 18:20 +\input docstrip + +\preamble + + glossaries-norsk.dtx + Copyright 2023 Jakob Stendahl + + + Based on package by Eirik Haustveit + + 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 Jakob Stendahl. + + This work consists of the files glossaries-norsk.dtx and glossaries-norsk.ins and the derived files glossaries-norsk.ldf, glossaries-dictionary-norsk.dict. + +\endpreamble + +\askforoverwritefalse + +\generate{\file{glossaries-norsk.ldf}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-norsk.dtx}{glossaries-norsk.ldf,package}} +\file{glossaries-dictionary-norsk.dict}{\usepreamble\defaultpreamble +\usepostamble\defaultpostamble\from{glossaries-norsk.dtx}{glossaries-dictionary-norsk.dict,package}} +} + +\endbatchfile + diff --git a/Master/texmf-dist/tex/latex/glossaries-norsk/glossaries-norsk.ldf b/Master/texmf-dist/tex/latex/glossaries-norsk/glossaries-norsk.ldf new file mode 100644 index 00000000000..fa3a48a4c4b --- /dev/null +++ b/Master/texmf-dist/tex/latex/glossaries-norsk/glossaries-norsk.ldf @@ -0,0 +1,102 @@ +%% +%% This is file `glossaries-norsk.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% glossaries-norsk.dtx (with options: `glossaries-norsk.ldf,package') +%% +%% glossaries-norsk.dtx +%% Copyright 2023 Jakob Stendahl +%% +%% +%% Based on package by Eirik Haustveit +%% +%% 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 Jakob Stendahl. +%% +%% This work consists of the files glossaries-norsk.dtx and glossaries-norsk.ins and the derived files glossaries-norsk.ldf, glossaries-dictionary-norsk.dict. +%% +%% \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 \~} +\ProvidesGlossariesLang{norsk}[2023/05/16 v1.0] + +\glsifusedtranslatordict{norsk} +{% + \addglossarytocaptions{\CurrentTrackedLanguage}% + \addglossarytocaptions{\CurrentTrackedDialect}% +} +{% + \@ifpackageloaded{polyglossia}% + {% + \newcommand*{\glossariescaptionsnorsk}{% + \renewcommand*{\glossaryname}{\textnorsk{Ordforklaringer}}% + \renewcommand*{\acronymname}{\textnorsk{Forkortelser}}% + \renewcommand*{\entryname}{\textnorsk{Notasjon}}% + \renewcommand*{\descriptionname}{\textnorsk{Beskrivelse}}% + \renewcommand*{\symbolname}{\textnorsk{Symbol}}% + \renewcommand*{\pagelistname}{\textnorsk{Side}}% + \renewcommand*{\glssymbolsgroupname}{\textnorsk{Symbol}}% + \renewcommand*{\glsnumbersgroupname}{\textnorsk{Tall}}% + }% + }% + {% + \newcommand*{\glossariescaptionsnorsk}{% + \renewcommand*{\glossaryname}{Ordforklaringer}% + \renewcommand*{\acronymname}{Forkortelser}% + \renewcommand*{\entryname}{Notasjon}% + \renewcommand*{\descriptionname}{Beskrivelse}% + \renewcommand*{\symbolname}{Symbol}% + \renewcommand*{\pagelistname}{Side}% + \renewcommand*{\glssymbolsgroupname}{Symbol}% + \renewcommand*{\glsnumbersgroupname}{Tall}% + }% + }% + \ifcsdef{captions\CurrentTrackedDialect} + {% + \csappto{captions\CurrentTrackedDialect}% + {% + \glossariescaptionsnorsk + }% + }% + {% + \ifcsdef{captions\CurrentTrackedLanguage} + { + \csappto{captions\CurrentTrackedLanguage}% + {% + \glossariescaptionsnorsk + }% + }% + {% + }% + }% + \glossariescaptionsnorsk +} +\renewcommand*{\glspluralsuffix}{e} +\renewcommand*{\glsacrpluralsuffix}{\glspluralsuffix} +\renewcommand*{\glsupacrpluralsuffix}{\glstextup{\glsacrpluralsuffix}} +\endinput +%% +%% End of file `glossaries-norsk.ldf'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index e4c6652c1db..c1d392f171e 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -376,7 +376,8 @@ my @TLP_working = qw( glossaries-english glossaries-estonian glossaries-extra glossaries-finnish glossaries-french glossaries-german glossaries-irish glossaries-italian glossaries-magyar - glossaries-nynorsk gloss-occitan glossaries-polish glossaries-portuges + glossaries-norsk glossaries-nynorsk gloss-occitan + glossaries-polish glossaries-portuges glossaries-serbian glossaries-slovene glossaries-spanish gmdoc gmdoc-enhance gmiflink gmp gmutils gmverb gmverse gnuplottex diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 6d29969ac44..a692f477bbe 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -599,6 +599,7 @@ depend glossaries-german depend glossaries-irish depend glossaries-italian depend glossaries-magyar +depend glossaries-norsk depend glossaries-nynorsk depend glossaries-polish depend glossaries-portuges diff --git a/Master/tlpkg/tlpsrc/glossaries-norsk.tlpsrc b/Master/tlpkg/tlpsrc/glossaries-norsk.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3