From 953423df3388111af14ec84c79dfa6b10e1e8aac Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 27 Jan 2017 23:14:08 +0000
Subject: tudscr (27jan17)

git-svn-id: svn://tug.org/texlive/trunk@43067 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty | 250 +++++++++++----------
 1 file changed, 126 insertions(+), 124 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty')

diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
index 8a944aa4f62..617ca2a6e8b 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrfonts.sty
@@ -14,37 +14,30 @@
 %% tudscr-comp.dtx  (with options: `package,fonts,body')
 %% tudscr-misc.dtx  (with options: `package,fonts,body')
 %% 
-%% ============================================================================
+%% TUD-Script -- Corporate Design of Technische Universitaet Dresden
 %% 
-%%  TUD-Script
-%%  Copyright (c) Falk Hanisch <tudscr@gmail.com>, 2012-2016
+%%   2017/01/26 v2.05g TUD-Script
 %% 
-%% ============================================================================
-%% 
-%%  This work may be distributed and/or modified under the conditions of the
-%%  LaTeX Project Public License, version 1.3c of the license. The latest
-%%  version of this license is in http://www.latex-project.org/lppl.txt and
-%%  version 1.3c or later is part of all distributions of LaTeX 2005/12/01
-%%  or later and of this work. This work has the LPPL maintenance status
-%%  "author-maintained". The current maintainer and author of this work
-%%  is Falk Hanisch.
+%% Copyright (C) Falk Hanisch <tudscr@gmail.com>, 2012-2017
 %% 
+%% This file was generated from file(s) of the TUD-Script bundle.
 %% ----------------------------------------------------------------------------
 %% 
-%%  Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
-%%  in der Version 1.3c, verteilt und/oder veraendert werden. Die aktuelle
-%%  Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
-%%  Version 1.3c oder spaeter ist Teil aller Verteilungen von LaTeX 2005/12/01
-%%  oder spaeter und dieses Werks. Dieses Werk hat den LPPL-Verwaltungs-Status
-%%  "author-maintained", wird somit allein durch den Autor verwaltet. Der
-%%  aktuelle Verwalter und Autor dieses Werkes ist Falk Hanisch.
+%% This work may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, version 1.3c of the license.
+%% The latest version of this license is in
+%%     http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of
+%% LaTeX 2005/12/01 or later and of this work.
+%% 
+%% This work has the LPPL maintenance status "author-maintained".
 %% 
-%% ============================================================================
+%% The current maintainer and author of this work is Falk Hanisch.
 %% 
 %%% From File: tudscr-version.dtx
 \begingroup
   \catcode`\@11\relax
-  \ifx\TUD@Version\undefined
+  \ifx\TUD@Version\@undefined
     \newcommand*\TUD@Version@Check[1]{%
       \gdef\TUD@Version{#1}%
       \gdef\TUDScriptVersion{#1}%
@@ -66,7 +59,7 @@
       \fi%
     }
   \fi
-  \TUD@Version@Check{2016/10/12 v2.05f TUD-Script}
+  \TUD@Version@Check{2017/01/26 v2.05g TUD-Script}
 \endgroup
 \NeedsTeXFormat{LaTeX2e}
 \providecommand*\tudscrmail{tudscr@gmail.com}
@@ -79,8 +72,9 @@
 }{}
 %%% From File: tudscr-fonts.dtx
 \ProvidesPackage{tudscrfonts}[%
-  2016/10/12 v2.05f TUD-Script
-  package (corporate design fonts)%
+  2017/01/26 v2.05g TUD-Script
+  package
+  (corporate design fonts)%
 ]
 \ifcsname KOMAClassName\endcsname\else
   \RequirePackage{scrextend}[2013/12/19]
@@ -251,6 +245,93 @@
   }%
   \TUDoptions{#2}%
 }
+\newcommand*\tud@v@comp{\tud@v@last}
+\TUD@key{tudscrver}[last]{%
+  \tud@v@get\@tempa{#1}%
+  \ifcsundef{tud@v@\@tempa}{%
+    \PackageWarningNoLine{tudscrfonts}%
+    {%
+      You have set option `tudscrver' to `\@tempa', but\MessageBreak%
+      this value is not supported. Because of this, the\MessageBreak%
+      value for `tudscrver' was set to `first'%
+    }%
+    \def\tud@v@comp{0}%
+  }{%
+    \PackageInfoNoLine{tudscrfonts}%
+    {%
+      Switching compatibility level to `\@tempa'%
+    }%
+    \edef\tud@v@comp{\csuse{tud@v@\@tempa}}%
+  }%
+  \FamilyKeyStateProcessed%
+}
+\AtEndOfPackage%
+{%
+  \TUD@key{tudscrver}[]{%
+    \PackageError{tudscrfonts}%
+    {Option `tudscrver' too late}{%
+      Option `tudscrver' can only be set while loading the\MessageBreak%
+      package `tudscrfonts'
+      but you have tried to set it up later.%
+    }%
+    \FamilyKeyStateProcessed%
+  }%
+}
+\csdef{tud@v@first}{0}
+\csdef{tud@v@2.00}{0}
+\csdef{tud@v@2.01}{0}
+\csdef{tud@v@2.01a}{0}
+\csdef{tud@v@2.01b}{0}
+\csdef{tud@v@2.02}{0}
+\csdef{tud@v@2.02}{0}
+\csdef{tud@v@2.03}{1}
+\csdef{tud@v@2.03a}{1}
+\csdef{tud@v@2.04}{2}
+\csdef{tud@v@2.04a}{2}
+\csdef{tud@v@2.04b}{2}
+\csdef{tud@v@2.04c}{2}
+\csdef{tud@v@2.04d}{2}
+\csdef{tud@v@2.04e}{2}
+\csdef{tud@v@2.05}{3}
+\csdef{tud@v@2.05a}{3}
+\csdef{tud@v@2.05b}{3}
+\csdef{tud@v@2.05c}{3}
+\csdef{tud@v@2.05d}{3}
+\csdef{tud@v@2.05e}{3}
+\csdef{tud@v@2.05f}{3}
+\csdef{tud@v@2.05g}{3}
+\csdef{tud@v@last}{3}
+\newcommand*\tud@v@get[2]{%
+  \begingroup%
+    \def\@tempa{\kernel@ifnextchar v{\@tempb}{\@tempb v}}%
+    \def\@tempb v##1\@nil{\def\@tempc{##1}}%
+    \@tempa #2\@nil%
+    \edef\tud@reserved{%
+      \endgroup%
+      \etex@unexpanded{\def#1}{\@tempc}%
+    }%
+  \tud@reserved%
+}
+\newcommand*\tud@if@v@lower[1]{%
+  \begingroup%
+    \tud@v@get\@tempa{#1}%
+    \ifcsdef{tud@v@\@tempa}{%
+      \ifnum\tud@v@comp<\csuse{tud@v@\@tempa}\relax%
+        \def\tud@reserved{\endgroup\@firstoftwo}%
+      \else%
+        \def\tud@reserved{\endgroup\@secondoftwo}%
+      \fi%
+    }{%
+      \def\tud@reserved{%
+        \ClassWarningNoLine{\TUD@Class@Name}{%PackageWarning!
+          Erroneous usage of `\string\tud@if@v@lower'.\MessageBreak%
+          There's no defined macro `\string\tud@v@\@tempa'%
+        }%
+        \endgroup\@firstoftwo%
+      }%
+    }%
+  \tud@reserved%
+}
 \TUD@key{fontspec}[true]{%
   \PackageWarning{tudscrfonts}%
   {%
@@ -355,92 +436,6 @@
     \fi%
   \fi%
 }
-\newcommand*\tud@v@comp{\tud@v@last}
-\TUD@key{tudscrver}[last]{%
-  \tud@v@get\@tempa{#1}%
-  \ifcsundef{tud@v@\@tempa}{%
-    \PackageWarningNoLine{tudscrfonts}%
-    {%
-      You have set option `tudscrver' to `\@tempa', but\MessageBreak%
-      this value is not supported. Because of this, the\MessageBreak%
-      value for `tudscrver' was set to `first'%
-    }%
-    \def\tud@v@comp{0}%
-  }{%
-    \PackageInfoNoLine{tudscrfonts}%
-    {%
-      Switching compatibility level to `\@tempa'%
-    }%
-    \edef\tud@v@comp{\csuse{tud@v@\@tempa}}%
-  }%
-  \FamilyKeyStateProcessed%
-}
-\AtEndOfPackage%
-{%
-  \TUD@key{tudscrver}[]{%
-    \PackageError{tudscrfonts}%
-    {Option `tudscrver' too late}{%
-      Option `tudscrver' can only be set while loading the\MessageBreak%
-      package `tudscrfonts'
-      but you have tried to set it up later.%
-    }%
-    \FamilyKeyStateProcessed%
-  }%
-}
-\csdef{tud@v@first}{0}
-\csdef{tud@v@2.00}{0}
-\csdef{tud@v@2.01}{0}
-\csdef{tud@v@2.01a}{0}
-\csdef{tud@v@2.01b}{0}
-\csdef{tud@v@2.02}{0}
-\csdef{tud@v@2.02}{0}
-\csdef{tud@v@2.03}{1}
-\csdef{tud@v@2.03a}{1}
-\csdef{tud@v@2.04}{2}
-\csdef{tud@v@2.04a}{2}
-\csdef{tud@v@2.04b}{2}
-\csdef{tud@v@2.04c}{2}
-\csdef{tud@v@2.04d}{2}
-\csdef{tud@v@2.04e}{2}
-\csdef{tud@v@2.05}{3}
-\csdef{tud@v@2.05a}{3}
-\csdef{tud@v@2.05b}{3}
-\csdef{tud@v@2.05c}{3}
-\csdef{tud@v@2.05d}{3}
-\csdef{tud@v@2.05e}{3}
-\csdef{tud@v@2.05f}{3}
-\csdef{tud@v@last}{3}
-\newcommand*\tud@v@get[2]{%
-  \begingroup%
-    \def\@tempa{\kernel@ifnextchar v{\@tempb}{\@tempb v}}%
-    \def\@tempb v##1\@nil{\def\@tempc{##1}}%
-    \@tempa #2\@nil%
-    \edef\tud@reserved{%
-      \endgroup%
-      \etex@unexpanded{\def#1}{\@tempc}%
-    }%
-  \tud@reserved%
-}
-\newcommand*\tud@if@v@lower[1]{%
-  \begingroup%
-    \tud@v@get\@tempa{#1}%
-    \ifcsdef{tud@v@\@tempa}{%
-      \ifnum\tud@v@comp<\csuse{tud@v@\@tempa}\relax%
-        \def\tud@reserved{\endgroup\@firstoftwo}%
-      \else%
-        \def\tud@reserved{\endgroup\@secondoftwo}%
-      \fi%
-    }{%
-      \def\tud@reserved{%
-        \ClassWarningNoLine{\TUD@Class@Name}{%PackageWarning!
-          Erroneous usage of `\string\tud@if@v@lower'.\MessageBreak%
-          There's no defined macro `\string\tud@v@\@tempa'%
-        }%
-        \endgroup\@firstoftwo%
-      }%
-    }%
-  \tud@reserved%
-}
 %%% From File: tudscr-misc.dtx
 \newcommand*\TUD@SpecialOptionAtDocument[1]{}
 \DeclareOption*{\KOMAoptions{\CurrentOption}}
@@ -534,6 +529,27 @@
   \fi%
   \undef\tud@font@check%
 }
+\newcommand*\tud@raggedright{\raggedright}
+\newcommand*\tud@RaggedRight{\raggedright}
+\AfterPackage*{ragged2e}{%
+  \ifdef{\LaTeXraggedright}{%
+    \renewcommand*\tud@raggedright{\LaTeXraggedright}%
+  }{}%
+  \renewcommand*\tud@RaggedRight{\RaggedRight}%
+}
+\AfterPackage*{siunitx}{%
+  \providecommand*\lseries{\fontseries{l}\selectfont}%
+}
+\AfterClass*{beamer}{\usefonttheme[onlymath]{serif}}
+\newif\if@tud@x@bm@requested
+\@ifpackageloaded{bm}{%
+  \PackageWarning{tudscrfonts}{%
+    Package `bm' must be loaded after `tudscrfonts'.\MessageBreak%
+    Otherwise the functionality can not be guaranteed%
+  }%
+}{%
+\PreventPackageFromLoading[\@tud@x@bm@requestedtrue]{bm}
+}
 \RequirePackage{trimspaces}[2009/09/17]
 \newif\if@tud@x@mweights@enabled
 \AfterPackage*{mweights}{\@tud@x@mweights@enabledtrue}
@@ -1038,12 +1054,6 @@
   \fi%
   \AtBeginDocument{\tud@font@math@init\let\tud@font@math@init\relax}%
 }
-\newif\if@tud@x@bm@requested
-\PreventPackageFromLoading[\@tud@x@bm@requestedtrue]{bm}
-\AfterClass*{beamer}{\usefonttheme[onlymath]{serif}}
-\AfterPackage*{siunitx}{%
-  \providecommand*\lseries{\fontseries{l}\selectfont}%
-}
 \newrobustcmd*\ifdin{%
   \ifx\f@family\tud@dinbold%
     \expandafter\@firstoftwo%
@@ -1058,14 +1068,6 @@
     \sectfont#1%
   \fi%
 }
-\newcommand*\tud@raggedright{\raggedright}
-\newcommand*\tud@RaggedRight{\raggedright}
-\AfterPackage*{ragged2e}{%
-  \ifdef{\LaTeXraggedright}{%
-    \renewcommand*\tud@raggedright{\LaTeXraggedright}%
-  }{}%
-  \renewcommand*\tud@RaggedRight{\RaggedRight}%
-}
 \RequirePackage{textcase}[2004/10/07]
 \newcommand*\tud@makeuppercase[1]{%
   \ifdin{\begingroup\MakeTextUppercase{#1}\endgroup}{#1}%
-- 
cgit v1.2.3

