diff options
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-norsk/README.md | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-norsk/norsk.pdf | bin | 142246 -> 154485 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/generic/babel-norsk/norsk.dtx | 127 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/babel-norsk/norsk.ins | 40 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel-norsk/norsk.ldf | 158 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel-norsk/norwegian.ldf | 168 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel-norsk/nynorsk.ldf | 41 |
7 files changed, 301 insertions, 248 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-norsk/README.md b/Master/texmf-dist/doc/generic/babel-norsk/README.md new file mode 100644 index 00000000000..230f986bc54 --- /dev/null +++ b/Master/texmf-dist/doc/generic/babel-norsk/README.md @@ -0,0 +1,15 @@ +Norwegian 2.0j +-------------- + +This is the babel style for Norwegian + +**This package is NOT being actively maintained, but bugs might +got fixed if you report them. If you want to take over maintenance +of this language style, please contact me at +https://latex3.github.io/babel/contact.html .** + +Changes 2.0j +------------ + +Allow norwegian as the language name, preferred to norsk. + diff --git a/Master/texmf-dist/doc/generic/babel-norsk/norsk.pdf b/Master/texmf-dist/doc/generic/babel-norsk/norsk.pdf Binary files differindex 896d926f504..7416dfc5bde 100644 --- a/Master/texmf-dist/doc/generic/babel-norsk/norsk.pdf +++ b/Master/texmf-dist/doc/generic/babel-norsk/norsk.pdf diff --git a/Master/texmf-dist/source/generic/babel-norsk/norsk.dtx b/Master/texmf-dist/source/generic/babel-norsk/norsk.dtx index e8b8880190b..ab541701b82 100644 --- a/Master/texmf-dist/source/generic/babel-norsk/norsk.dtx +++ b/Master/texmf-dist/source/generic/babel-norsk/norsk.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1989-2005 Johannes L. Braams and any individual authors +% Copyright 1989-2024 Johannes L. Braams and any individual authors % listed elsewhere in this file. All rights reserved. % % This file is part of the Babel system. @@ -16,35 +16,30 @@ % % This work has the LPPL maintenance status "maintained". % -% The Current Maintainer of this work is Johannes Braams. -% -% The list of all files belonging to the Babel system is -% given in the file `manifest.bbl. See also `legal.bbl' for additional -% information. -% +% The Current Maintainer of this work is Javier Bezos. +% % The list of derived (unpacked) files belonging to the distribution % and covered by LPPL is defined by the unpacking scripts (with % extension .ins) which are part of the distribution. % \fi -%\CheckSum{305} % \iffalse % Tell the \LaTeX\ system who we are and write an entry on the % transcript. %<*dtx> \ProvidesFile{norsk.dtx} %</dtx> -%<code>\ProvidesLanguage{norsk} +%<code>\ProvidesLanguage{norwegian} +%<nynorsk>\ProvidesLanguage{nynorsk} +%<norsk>\ProvidesLanguage{norsk} %\fi %\ProvidesFile{norsk.dtx} - [2012/08/06 v2.0i Norsk support from the babel system] + [2024/01/26 v2.0j Norwegian support from the babel system] %\iffalse %%File `norsk.dtx' %% Babel package for LaTeX version 2e -%% Copyright (C) 1989 - 2005 +%% Copyright (C) 1989 - 2024 %% by Johannes Braams, TeXniek -% -%% Please report errors to: J.L. Braams -%% babel at braams.cistron.nl +%% by Javier Bezos % % This file is part of the babel system, it provides the source % code for the Norwegian language definition file. Contributions @@ -83,6 +78,7 @@ % with \LaTeX} % \changes{norsk-1.2h}{1996/10/10}{Moved the definition of % \cs{atcatcode} right to the beginning.} +% \changes{norsk-2.0j}{2024/01/23}{Dual load norwegian/norsk} % % % \section{The Norwegian language} @@ -162,9 +158,19 @@ % \changes{norsk-1.2d}{1994/06/26}{Now use \cs{@nopatterns} to produce % the warning} % \begin{macrocode} -\ifx\l@norsk\@undefined - \@nopatterns{Norsk} - \adddialect\l@norsk0\fi +\expandafter\ifx\csname l@\CurrentOption\endcsname\relax + \def\bbl@tempa#1{% + \ifx#1\@undefined\else + \expandafter\adddialect\csname l@\CurrentOption\endcsname#1% + \fi}% Last wins: + \bbl@tempa\l@nynorsk + \bbl@tempa\l@norsk + \bbl@tempa\l@norwegian +\fi +\expandafter\ifx\csname l@\CurrentOption\endcsname\relax + \@nopatterns{\CurrentOption} + \expandafter\adddialect\csname l@\CurrentOption\endcsname\z@ +\fi % \end{macrocode} % % \begin{macro}{\norskhyphenmins} @@ -186,10 +192,6 @@ % Now we have to decide which version of the captions should be % made available. This can be done by checking the contents of % |\CurrentOption|. -% \begin{macrocode} -\def\bbl@tempa{norsk} -\ifx\CurrentOption\bbl@tempa -% \end{macrocode} % % The next step consists of defining commands to switch to (and % from) the Norwegian language. @@ -209,7 +211,34 @@ % \changes{norsk-2.0g}{1996/04/01}{Replaced `Glossary' by its % translation} % \begin{macrocode} - \def\captionsnorsk{% +\def\bbl@tempa{nynorsk} +\ifx\CurrentOption\bbl@tempa + \def\captionsnynorsk{% + \def\prefacename{Forord}% + \def\refname{Referansar}% + \def\abstractname{Samandrag}% + \def\bibname{Litteratur}% or Litteraturoversyn + % or Referansar + \def\chaptername{Kapittel}% + \def\appendixname{Tillegg}% or Appendiks + \def\contentsname{Innhald}% + \def\listfigurename{Figurar}% or Figurliste + \def\listtablename{Tabellar}% or Tabelliste + \def\indexname{Register}% + \def\figurename{Figur}% + \def\tablename{Tabell}% + \def\partname{Del}% + \def\enclname{Vedlegg}% + \def\ccname{Kopi til}% + \def\headtoname{Til}% in letter + \def\pagename{Side}% + \def\seename{Sj\aa{}}% + \def\alsoname{Sj\aa{} \`{o}g}% + \def\proofname{Bevis}% + \def\glossaryname{Ordliste}% + } +\else + \@namedef{captions\CurrentOption}{% \def\prefacename{Forord}% \def\refname{Referanser}% \def\abstractname{Sammendrag}% @@ -233,14 +262,13 @@ \def\proofname{Bevis}% \def\glossaryname{Ordliste}% } -\else +\fi % \end{macrocode} % \end{macro} % % For the `nynorsk' version of these definitions we just add a % ``dialect''. % \begin{macrocode} - \adddialect\l@nynorsk\l@norsk % \end{macrocode} % % \begin{macro}{\captionsnynorsk} @@ -257,33 +285,7 @@ % \changes{norsk-2.0g}{1996/04/01}{Replaced `Glossary' by its % translation} % \changes{norks-2.0h}{2001/01/12}{Changed \cs{ccname} and \cs{alsoname}} -% \begin{macrocode} - \def\captionsnynorsk{% - \def\prefacename{Forord}% - \def\refname{Referansar}% - \def\abstractname{Samandrag}% - \def\bibname{Litteratur}% or Litteraturoversyn - % or Referansar - \def\chaptername{Kapittel}% - \def\appendixname{Tillegg}% or Appendiks - \def\contentsname{Innhald}% - \def\listfigurename{Figurar}% or Figurliste - \def\listtablename{Tabellar}% or Tabelliste - \def\indexname{Register}% - \def\figurename{Figur}% - \def\tablename{Tabell}% - \def\partname{Del}% - \def\enclname{Vedlegg}% - \def\ccname{Kopi til}% - \def\headtoname{Til}% in letter - \def\pagename{Side}% - \def\seename{Sj\aa{}}% - \def\alsoname{Sj\aa{} \`{o}g}% - \def\proofname{Bevis}% - \def\glossaryname{Ordliste}% - } -\fi -% \end{macrocode} +% % \end{macro} % % \begin{macro}{\datenorsk} @@ -431,24 +433,13 @@ % \begin{macrocode} \ldf@finish\CurrentOption %</code> +% Finally, We create a few proxy files. +% +% \begin{macrocode} +%<*norsk|nynorsk> +\input norwegian.ldf\relax +%</norsk|nynorsk> % \end{macrocode} % % \Finale -%% -%% \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 \~} -%% \endinput diff --git a/Master/texmf-dist/source/generic/babel-norsk/norsk.ins b/Master/texmf-dist/source/generic/babel-norsk/norsk.ins index 9ec2729e642..f21a7bef198 100644 --- a/Master/texmf-dist/source/generic/babel-norsk/norsk.ins +++ b/Master/texmf-dist/source/generic/babel-norsk/norsk.ins @@ -3,7 +3,7 @@ %% driver files from the doc files in this package when run through %% LaTeX or TeX. %% -%% Copyright 1989-2005 Johannes L. Braams and any individual authors +%% Copyright 1989-2024 Johannes L. Braams and any individual authors %% listed elsewhere in this file. All rights reserved. %% %% This file is part of the Babel system. @@ -19,19 +19,15 @@ %% %% This work has the LPPL maintenance status "maintained". %% -%% The Current Maintainer of this work is Johannes Braams. -%% -%% The list of all files belonging to the LaTeX base distribution is -%% given in the file `manifest.bbl. See also `legal.bbl' for additional -%% information. -%% +%% The Current Maintainer of this work is Javier Bezos. +%% %% The list of derived (unpacked) files belonging to the distribution %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. %% %% --------------- start of docstrip commands ------------------ %% -\def\filedate{1999/04/11} +\def\filedate{2024/01/26} \def\batchfile{norsk.ins} \input docstrip.tex @@ -53,7 +49,7 @@ \declarepreamble\mainpreamble This is a generated file. -Copyright 1989-2005 Johannes L. Braams and any individual authors +Copyright 1989-2024 Johannes L. Braams and any individual authors listed elsewhere in this file. All rights reserved. This file was generated from file(s) of the Babel system. @@ -69,15 +65,7 @@ version 2003/12/01 or later. This work has the LPPL maintenance status "maintained". -The Current Maintainer of this work is Johannes Braams. - -This file may only be distributed together with a copy of the Babel -system. You may however distribute the Babel system without -such generated files. - -The list of all files belonging to the Babel distribution is -given in the file `manifest.bbl'. See also `legal.bbl for additional -information. +The Current Maintainer of this work is Javier Bezos. The list of derived (unpacked) files belonging to the distribution and covered by LPPL is defined by the unpacking scripts (with @@ -87,7 +75,7 @@ extension .ins) which are part of the distribution. \declarepreamble\fdpreamble This is a generated file. -Copyright 1989-2005 Johannes L. Braams and any individual authors +Copyright 1989-2024 Johannes L. Braams and any individual authors listed elsewhere in this file. All rights reserved. This file was generated from file(s) of the Babel system. @@ -103,15 +91,7 @@ version 2003/12/01 or later. This work has the LPPL maintenance status "maintained". -The Current Maintainer of this work is Johannes Braams. - -This file may only be distributed together with a copy of the Babel -system. You may however distribute the Babel system without -such generated files. - -The list of all files belonging to the Babel distribution is -given in the file `manifest.bbl'. See also `legal.bbl for additional -information. +The Current Maintainer of this work is Javier Bezos. In particular, permission is granted to customize the declarations in this file to serve the needs of your installation. @@ -126,7 +106,9 @@ of this file under its original name. \usedir{tex/generic/babel} \usepreamble\mainpreamble -\generate{\file{norsk.ldf}{\from{norsk.dtx}{code}} +\generate{\file{norwegian.ldf}{\from{norsk.dtx}{code}} + \file{norsk.ldf}{\from{norsk.dtx}{norsk}} + \file{nynorsk.ldf}{\from{norsk.dtx}{nynorsk}} } \usepreamble\fdpreamble diff --git a/Master/texmf-dist/tex/generic/babel-norsk/norsk.ldf b/Master/texmf-dist/tex/generic/babel-norsk/norsk.ldf index 533bc95a12d..f20df0ae90e 100644 --- a/Master/texmf-dist/tex/generic/babel-norsk/norsk.ldf +++ b/Master/texmf-dist/tex/generic/babel-norsk/norsk.ldf @@ -4,10 +4,10 @@ %% %% The original source files were: %% -%% norsk.dtx (with options: `code') +%% norsk.dtx (with options: `norsk') %% This is a generated file. %% -%% Copyright 1989-2005 Johannes L. Braams and any individual authors +%% Copyright 1989-2024 Johannes L. Braams and any individual authors %% listed elsewhere in this file. All rights reserved. %% %% This file was generated from file(s) of the Babel system. @@ -23,163 +23,19 @@ %% %% This work has the LPPL maintenance status "maintained". %% -%% The Current Maintainer of this work is Johannes Braams. -%% -%% This file may only be distributed together with a copy of the Babel -%% system. You may however distribute the Babel system without -%% such generated files. -%% -%% The list of all files belonging to the Babel distribution is -%% given in the file `manifest.bbl'. See also `legal.bbl for additional -%% information. +%% The Current Maintainer of this work is Javier Bezos. %% %% The list of derived (unpacked) files belonging to the distribution %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesLanguage{norsk} - [2012/08/06 v2.0i Norsk support from the babel system] + [2024/01/26 v2.0j Norwegian support from the babel system] %%File `norsk.dtx' %% Babel package for LaTeX version 2e -%% Copyright (C) 1989 - 2005 +%% Copyright (C) 1989 - 2024 %% by Johannes Braams, TeXniek -%% Please report errors to: J.L. Braams -%% babel at braams.cistron.nl -\LdfInit\CurrentOption{captions\CurrentOption} -\ifx\l@norsk\@undefined - \@nopatterns{Norsk} - \adddialect\l@norsk0\fi -\providehyphenmins{\CurrentOption}{\tw@\tw@} -\def\bbl@tempa{norsk} -\ifx\CurrentOption\bbl@tempa - \def\captionsnorsk{% - \def\prefacename{Forord}% - \def\refname{Referanser}% - \def\abstractname{Sammendrag}% - \def\bibname{Bibliografi}% or Litteraturoversikt - % or Litteratur or Referanser - \def\chaptername{Kapittel}% - \def\appendixname{Tillegg}% or Appendiks - \def\contentsname{Innhold}% - \def\listfigurename{Figurer}% or Figurliste - \def\listtablename{Tabeller}% or Tabelliste - \def\indexname{Register}% - \def\figurename{Figur}% - \def\tablename{Tabell}% - \def\partname{Del}% - \def\enclname{Vedlegg}% - \def\ccname{Kopi sendt}% - \def\headtoname{Til}% in letter - \def\pagename{Side}% - \def\seename{Se}% - \def\alsoname{Se ogs\aa{}}% - \def\proofname{Bevis}% - \def\glossaryname{Ordliste}% - } -\else - \adddialect\l@nynorsk\l@norsk - \def\captionsnynorsk{% - \def\prefacename{Forord}% - \def\refname{Referansar}% - \def\abstractname{Samandrag}% - \def\bibname{Litteratur}% or Litteraturoversyn - % or Referansar - \def\chaptername{Kapittel}% - \def\appendixname{Tillegg}% or Appendiks - \def\contentsname{Innhald}% - \def\listfigurename{Figurar}% or Figurliste - \def\listtablename{Tabellar}% or Tabelliste - \def\indexname{Register}% - \def\figurename{Figur}% - \def\tablename{Tabell}% - \def\partname{Del}% - \def\enclname{Vedlegg}% - \def\ccname{Kopi til}% - \def\headtoname{Til}% in letter - \def\pagename{Side}% - \def\seename{Sj\aa{}}% - \def\alsoname{Sj\aa{} \`{o}g}% - \def\proofname{Bevis}% - \def\glossaryname{Ordliste}% - } -\fi -\@namedef{date\CurrentOption}{% - \def\today{\number\day.~\ifcase\month\or - januar\or februar\or mars\or april\or mai\or juni\or - juli\or august\or september\or oktober\or november\or - desember\fi - \space\number\year}} -\@namedef{extras\CurrentOption}{\bbl@frenchspacing} -\@namedef{noextras\CurrentOption}{\bbl@nonfrenchspacing} -\initiate@active@char{"} -\expandafter\addto\csname extras\CurrentOption\endcsname{% - \languageshorthands{norsk}} -\expandafter\addto\csname extras\CurrentOption\endcsname{% - \bbl@activate{"}} -\expandafter\addto\csname noextras\CurrentOption\endcsname{% - \bbl@deactivate{"}} -\begingroup \catcode`\"12 -\def\x{\endgroup - \def\@SS{\mathchar"7019 } - \def\dq{"}} -\x -\declare@shorthand{norsk}{"b}{\textormath{\bbl@disc b{bb}}{b}} -\declare@shorthand{norsk}{"B}{\textormath{\bbl@disc B{BB}}{B}} -\declare@shorthand{norsk}{"d}{\textormath{\bbl@disc d{dd}}{d}} -\declare@shorthand{norsk}{"D}{\textormath{\bbl@disc D{DD}}{D}} -\declare@shorthand{norsk}{"e}{\textormath{\bbl@disc e{\'e}}{}} -\declare@shorthand{norsk}{"E}{\textormath{\bbl@disc E{\'E}}{}} -\declare@shorthand{norsk}{"F}{\textormath{\bbl@disc F{FF}}{F}} -\declare@shorthand{norsk}{"g}{\textormath{\bbl@disc g{gg}}{g}} -\declare@shorthand{norsk}{"G}{\textormath{\bbl@disc G{GG}}{G}} -\declare@shorthand{norsk}{"k}{\textormath{\bbl@disc k{kk}}{k}} -\declare@shorthand{norsk}{"K}{\textormath{\bbl@disc K{KK}}{K}} -\declare@shorthand{norsk}{"l}{\textormath{\bbl@disc l{ll}}{l}} -\declare@shorthand{norsk}{"L}{\textormath{\bbl@disc L{LL}}{L}} -\declare@shorthand{norsk}{"n}{\textormath{\bbl@disc n{nn}}{n}} -\declare@shorthand{norsk}{"N}{\textormath{\bbl@disc N{NN}}{N}} -\declare@shorthand{norsk}{"p}{\textormath{\bbl@disc p{pp}}{p}} -\declare@shorthand{norsk}{"P}{\textormath{\bbl@disc P{PP}}{P}} -\declare@shorthand{norsk}{"r}{\textormath{\bbl@disc r{rr}}{r}} -\declare@shorthand{norsk}{"R}{\textormath{\bbl@disc R{RR}}{R}} -\declare@shorthand{norsk}{"s}{\textormath{\bbl@disc s{ss}}{s}} -\declare@shorthand{norsk}{"S}{\textormath{\bbl@disc S{SS}}{S}} -\declare@shorthand{norsk}{"t}{\textormath{\bbl@disc t{tt}}{t}} -\declare@shorthand{norsk}{"T}{\textormath{\bbl@disc T{TT}}{T}} -\declare@shorthand{norsk}{"f}{\textormath{\bbl@discff}{f}} -\def\bbl@discff{\penalty\@M - \afterassignment\bbl@insertff \let\bbl@nextff= } -\def\bbl@insertff{% - \if f\bbl@nextff - \expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi - {\relax\discretionary{ff-}{f}{ff}\allowhyphens}{f\bbl@nextff}} -\let\bbl@nextff=f -\declare@shorthand{norsk}{"<}{\flqq} -\declare@shorthand{norsk}{">}{\frqq} -\declare@shorthand{norsk}{"-}{\penalty\@M\-\bbl@allowhyphens} -\declare@shorthand{norsk}{"|}{% - \textormath{\penalty\@M\discretionary{-}{}{\kern.03em}% - \allowhyphens}{}} -\declare@shorthand{norsk}{""}{\hskip\z@skip} -\declare@shorthand{norsk}{"~}{\textormath{\leavevmode\hbox{-}}{-}} -\declare@shorthand{norsk}{"=}{\penalty\@M-\hskip\z@skip} -\ldf@finish\CurrentOption -%% -%% \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 \~} -%% +%% by Javier Bezos +\input norwegian.ldf\relax \endinput %% %% End of file `norsk.ldf'. diff --git a/Master/texmf-dist/tex/generic/babel-norsk/norwegian.ldf b/Master/texmf-dist/tex/generic/babel-norsk/norwegian.ldf new file mode 100644 index 00000000000..19b7d12c125 --- /dev/null +++ b/Master/texmf-dist/tex/generic/babel-norsk/norwegian.ldf @@ -0,0 +1,168 @@ +%% +%% This is file `norwegian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% norsk.dtx (with options: `code') +%% This is a generated file. +%% +%% Copyright 1989-2024 Johannes L. Braams and any individual authors +%% listed elsewhere in this file. All rights reserved. +%% +%% This file was generated from file(s) of the Babel system. +%% --------------------------------------------------------- +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (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 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Javier Bezos. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +\ProvidesLanguage{norwegian} + [2024/01/26 v2.0j Norwegian support from the babel system] +%%File `norsk.dtx' +%% Babel package for LaTeX version 2e +%% Copyright (C) 1989 - 2024 +%% by Johannes Braams, TeXniek +%% by Javier Bezos +\LdfInit\CurrentOption{captions\CurrentOption} +\expandafter\ifx\csname l@\CurrentOption\endcsname\relax + \def\bbl@tempa#1{% + \ifx#1\@undefined\else + \expandafter\adddialect\csname l@\CurrentOption\endcsname#1% + \fi}% Last wins: + \bbl@tempa\l@nynorsk + \bbl@tempa\l@norsk + \bbl@tempa\l@norwegian +\fi +\expandafter\ifx\csname l@\CurrentOption\endcsname\relax + \@nopatterns{\CurrentOption} + \expandafter\adddialect\csname l@\CurrentOption\endcsname\z@ +\fi +\providehyphenmins{\CurrentOption}{\tw@\tw@} +\def\bbl@tempa{nynorsk} +\ifx\CurrentOption\bbl@tempa + \def\captionsnynorsk{% + \def\prefacename{Forord}% + \def\refname{Referansar}% + \def\abstractname{Samandrag}% + \def\bibname{Litteratur}% or Litteraturoversyn + % or Referansar + \def\chaptername{Kapittel}% + \def\appendixname{Tillegg}% or Appendiks + \def\contentsname{Innhald}% + \def\listfigurename{Figurar}% or Figurliste + \def\listtablename{Tabellar}% or Tabelliste + \def\indexname{Register}% + \def\figurename{Figur}% + \def\tablename{Tabell}% + \def\partname{Del}% + \def\enclname{Vedlegg}% + \def\ccname{Kopi til}% + \def\headtoname{Til}% in letter + \def\pagename{Side}% + \def\seename{Sj\aa{}}% + \def\alsoname{Sj\aa{} \`{o}g}% + \def\proofname{Bevis}% + \def\glossaryname{Ordliste}% + } +\else + \@namedef{captions\CurrentOption}{% + \def\prefacename{Forord}% + \def\refname{Referanser}% + \def\abstractname{Sammendrag}% + \def\bibname{Bibliografi}% or Litteraturoversikt + % or Litteratur or Referanser + \def\chaptername{Kapittel}% + \def\appendixname{Tillegg}% or Appendiks + \def\contentsname{Innhold}% + \def\listfigurename{Figurer}% or Figurliste + \def\listtablename{Tabeller}% or Tabelliste + \def\indexname{Register}% + \def\figurename{Figur}% + \def\tablename{Tabell}% + \def\partname{Del}% + \def\enclname{Vedlegg}% + \def\ccname{Kopi sendt}% + \def\headtoname{Til}% in letter + \def\pagename{Side}% + \def\seename{Se}% + \def\alsoname{Se ogs\aa{}}% + \def\proofname{Bevis}% + \def\glossaryname{Ordliste}% + } +\fi +\@namedef{date\CurrentOption}{% + \def\today{\number\day.~\ifcase\month\or + januar\or februar\or mars\or april\or mai\or juni\or + juli\or august\or september\or oktober\or november\or + desember\fi + \space\number\year}} +\@namedef{extras\CurrentOption}{\bbl@frenchspacing} +\@namedef{noextras\CurrentOption}{\bbl@nonfrenchspacing} +\initiate@active@char{"} +\expandafter\addto\csname extras\CurrentOption\endcsname{% + \languageshorthands{norsk}} +\expandafter\addto\csname extras\CurrentOption\endcsname{% + \bbl@activate{"}} +\expandafter\addto\csname noextras\CurrentOption\endcsname{% + \bbl@deactivate{"}} +\begingroup \catcode`\"12 +\def\x{\endgroup + \def\@SS{\mathchar"7019 } + \def\dq{"}} +\x +\declare@shorthand{norsk}{"b}{\textormath{\bbl@disc b{bb}}{b}} +\declare@shorthand{norsk}{"B}{\textormath{\bbl@disc B{BB}}{B}} +\declare@shorthand{norsk}{"d}{\textormath{\bbl@disc d{dd}}{d}} +\declare@shorthand{norsk}{"D}{\textormath{\bbl@disc D{DD}}{D}} +\declare@shorthand{norsk}{"e}{\textormath{\bbl@disc e{\'e}}{}} +\declare@shorthand{norsk}{"E}{\textormath{\bbl@disc E{\'E}}{}} +\declare@shorthand{norsk}{"F}{\textormath{\bbl@disc F{FF}}{F}} +\declare@shorthand{norsk}{"g}{\textormath{\bbl@disc g{gg}}{g}} +\declare@shorthand{norsk}{"G}{\textormath{\bbl@disc G{GG}}{G}} +\declare@shorthand{norsk}{"k}{\textormath{\bbl@disc k{kk}}{k}} +\declare@shorthand{norsk}{"K}{\textormath{\bbl@disc K{KK}}{K}} +\declare@shorthand{norsk}{"l}{\textormath{\bbl@disc l{ll}}{l}} +\declare@shorthand{norsk}{"L}{\textormath{\bbl@disc L{LL}}{L}} +\declare@shorthand{norsk}{"n}{\textormath{\bbl@disc n{nn}}{n}} +\declare@shorthand{norsk}{"N}{\textormath{\bbl@disc N{NN}}{N}} +\declare@shorthand{norsk}{"p}{\textormath{\bbl@disc p{pp}}{p}} +\declare@shorthand{norsk}{"P}{\textormath{\bbl@disc P{PP}}{P}} +\declare@shorthand{norsk}{"r}{\textormath{\bbl@disc r{rr}}{r}} +\declare@shorthand{norsk}{"R}{\textormath{\bbl@disc R{RR}}{R}} +\declare@shorthand{norsk}{"s}{\textormath{\bbl@disc s{ss}}{s}} +\declare@shorthand{norsk}{"S}{\textormath{\bbl@disc S{SS}}{S}} +\declare@shorthand{norsk}{"t}{\textormath{\bbl@disc t{tt}}{t}} +\declare@shorthand{norsk}{"T}{\textormath{\bbl@disc T{TT}}{T}} +\declare@shorthand{norsk}{"f}{\textormath{\bbl@discff}{f}} +\def\bbl@discff{\penalty\@M + \afterassignment\bbl@insertff \let\bbl@nextff= } +\def\bbl@insertff{% + \if f\bbl@nextff + \expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi + {\relax\discretionary{ff-}{f}{ff}\allowhyphens}{f\bbl@nextff}} +\let\bbl@nextff=f +\declare@shorthand{norsk}{"<}{\flqq} +\declare@shorthand{norsk}{">}{\frqq} +\declare@shorthand{norsk}{"-}{\penalty\@M\-\bbl@allowhyphens} +\declare@shorthand{norsk}{"|}{% + \textormath{\penalty\@M\discretionary{-}{}{\kern.03em}% + \allowhyphens}{}} +\declare@shorthand{norsk}{""}{\hskip\z@skip} +\declare@shorthand{norsk}{"~}{\textormath{\leavevmode\hbox{-}}{-}} +\declare@shorthand{norsk}{"=}{\penalty\@M-\hskip\z@skip} +\ldf@finish\CurrentOption +\endinput +%% +%% End of file `norwegian.ldf'. diff --git a/Master/texmf-dist/tex/generic/babel-norsk/nynorsk.ldf b/Master/texmf-dist/tex/generic/babel-norsk/nynorsk.ldf new file mode 100644 index 00000000000..3fb0f278564 --- /dev/null +++ b/Master/texmf-dist/tex/generic/babel-norsk/nynorsk.ldf @@ -0,0 +1,41 @@ +%% +%% This is file `nynorsk.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% norsk.dtx (with options: `nynorsk') +%% This is a generated file. +%% +%% Copyright 1989-2024 Johannes L. Braams and any individual authors +%% listed elsewhere in this file. All rights reserved. +%% +%% This file was generated from file(s) of the Babel system. +%% --------------------------------------------------------- +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (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 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Javier Bezos. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +\ProvidesLanguage{nynorsk} + [2024/01/26 v2.0j Norwegian support from the babel system] +%%File `norsk.dtx' +%% Babel package for LaTeX version 2e +%% Copyright (C) 1989 - 2024 +%% by Johannes Braams, TeXniek +%% by Javier Bezos +\input norwegian.ldf\relax +\endinput +%% +%% End of file `nynorsk.ldf'. |