summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrman.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrman.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tudscr/tudscrman.sty122
1 files changed, 62 insertions, 60 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrman.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrman.sty
index c57ab622c9e..41c74f9a63d 100644
--- a/Master/texmf-dist/tex/latex/tudscr/tudscrman.sty
+++ b/Master/texmf-dist/tex/latex/tudscr/tudscrman.sty
@@ -4,13 +4,12 @@
%%
%% The original source files were:
%%
-%% tudscr-version.dtx (with options: `package,manual,tudscr')
+%% tudscr-version.dtx (with options: `package,manual')
%% tudscr-manual.dtx (with options: `package,identify')
%% tudscr-base.dtx (with options: `load')
%% tudscr-manual.dtx (with options: `package,option')
-%% tudscr-base.dtx
+%% tudscr-misc.dtx
%% tudscr-manual.dtx (with options: `package,body')
-%% tudscr-misc.dtx (with options: `package,manual')
%%
%% ============================================================================
%%
@@ -57,15 +56,15 @@
\fi%
}%
\fi%
- \@TUDVersion{2015/06/11 v2.03a TUD-KOMA-Script}%
+ \@TUDVersion{2015/07/02 v2.04 TUD-KOMA-Script}%
\endgroup%
\providecommand*\tudscrmail{tudscr@gmail.com}
-\@ifundefined{tudcls@name}{%
+\@ifundefined{TUDClassName}{%
\PackageError{%
- tudscrmanual%
+ tudscrman%
}{Unsupported class found}{%
This package can only be used with a class out of the\MessageBreak%
- tudscr bundle (tudscrartcl, tudscrreprt, tudscrbook)%
+ tudscr bundle (tudscrbook, tudscrreprt, tudscrartcl).%
}
\endinput
}{}
@@ -77,9 +76,9 @@
}%
}{}
%%% From File: tudscr-manual.dtx
-\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{tudscrman}[%
- 2015/06/11 v2.03a TUD-KOMA-Script
+ 2015/07/02 v2.04 TUD-KOMA-Script
package (internal tutorials)%
]
%%% From File: tudscr-base.dtx
@@ -101,24 +100,23 @@
\KOMAoptions{headings=small}
\TUDoptions{cd=true,cdfoot=true}
\AfterPackage*{pstricks}{%
- \ifnum\pdfshellescape=1\relax
- \RequirePackage{auto-pst-pdf}[2009/04/26]
- \else
- \RequirePackage[off]{auto-pst-pdf}[2009/04/26]
- \fi
+ \ifnum\pdfshellescape=\@ne\relax\else%
+ \PassOptionsToPackage{off}{auto-pst-pdf}%
+ \fi%
+ \RequirePackage{auto-pst-pdf}[2009/04/26]%
}
-%%% From File: tudscr-base.dtx
+%%% From File: tudscr-misc.dtx
%%% From File: tudscr-manual.dtx
\RequirePackage{xparse}[2013/12/31]
\RequirePackage{textcomp}[2005/09/27]
-\RequirePackage{fixltx2e}[2014/06/10]
\RequirePackage{setspace}[2011/12/19]
\setstretch{1.1}\recalctypearea
\RequirePackage{babel}[2014/03/24]
\AfterPackage*{inputenc}{\RequirePackage{csquotes}[2011/10/22]}
\AtBeginDocument{%
\@ifpackageloaded{csquotes}{}{%
- \ClassWarning{\tudcls@name}{Package `csquotes' not loaded}%
+ \PackageWarning%
+ {tudscrman}{Package `csquotes' not loaded}%
\providecommand\enquote[1]{\glqg#1\grqq{}}%
}%
}
@@ -206,52 +204,52 @@
)%
}
\write\tud@write@i{(markup-range :sep "--")}
-\write\tud@write@i{(merge-rule "\[(.*)\]" "" :eregexp)}
\write\tud@write@i{%
- (define-attributes (("declare" "!" "important" "?" "deprecated" "default")))%
+(merge-rule "\@backslashchar[(.*)\@backslashchar]" "" :eregexp)%
+}
+\write\tud@write@i{%
+(define-attributes (("declare" "!" "important" "?" "deprecated" "default")))%
}
-\write\tud@write@i{(merge-to "important" "default")}
-\write\tud@write@i{(merge-to "?" "default")}
\write\tud@write@i{%
(markup-locref^^J%
+\space\space :attr "declare"^^J%
\space\space :open "\string\textbf{\string\hyperpage{"^^J%
\space\space :close "}}"^^J%
-\space\space :attr "declare"^^J%
)%
}
\write\tud@write@i{%
(markup-locref^^J%
+\space\space :attr "!"^^J%
\space\space :open "\string\textbf{\string\hyperpage{"^^J%
\space\space :close "}}"^^J%
-\space\space :attr "!"^^J%
)%
}
\write\tud@write@i{%
(markup-locref^^J%
+\space\space :attr "important"^^J%
\space\space :open "\string\textsl{\string\hyperpage{"^^J%
\space\space :close "}}"^^J%
-\space\space :attr "important"^^J%
)%
}
\write\tud@write@i{%
(markup-locref^^J%
+\space\space :attr "?"^^J%
\space\space :open "\string\textsl{\string\hyperpage{"^^J%
\space\space :close "}}"^^J%
-\space\space :attr "?"^^J%
)%
}
\write\tud@write@i{%
(markup-locref^^J%
+\space\space :attr "default"^^J%
\space\space :open "\string\hyperpage{"^^J%
\space\space :close "}"^^J%
-\space\space :attr "default"^^J%
)%
}
\write\tud@write@i{%
(markup-locref^^J%
+\space\space :attr "deprecated"^^J%
\space\space :open "\string\deprecatedhyperpage{"^^J%
\space\space :close "}"^^J%
-\space\space :attr "deprecated"^^J%
)%
}
\write\tud@write@i{%
@@ -314,7 +312,9 @@
}%
\@tempswafalse
\ifdefvoid{\tud@todo@type}{\@tempswatrue}{}%
- \IfValueT{#2}{\ifstr{#2}{\tud@todo@type}{\@tempswatrue}{}}%
+ \IfValueT{#2}{%
+ \@for\@tempa:=#2\do{\ifstr{\@tempa}{\tud@todo@type}{\@tempswatrue}{}}%
+ }%
\if@tempswa%
\vskip.8ex%
\IfValueT{#4}{%
@@ -336,7 +336,8 @@
\reversemarginpar
\newrobustcmd*\bsc{\@backslashchar}
\newcommand*\tud@shellescape@wrn{%
- \ClassWarning{\tudcls@name}{%
+ \PackageWarning%
+ {tudscrman}{%
You have to recompile this document with\MessageBreak%
activated shell escape option%
}%
@@ -576,7 +577,7 @@
\noindent\ignorespaces%
}
\newcommand*\InputCode{\input{\jobname-temp.tex}}
-\ifnum\pdfshellescape=1\relax%
+\ifnum\pdfshellescape=\@ne\relax%
\ActivateWarningFilters[Tutorial]%
\begin{filecontents*}{tutorial-temp.tex}
\RequirePackage[ngerman=ngerman-x-latest]{hyphsubst}
@@ -595,7 +596,7 @@
\DeactivateWarningFilters[Tutorial]%
\fi
\newcommand*\tud@tut@pdf{%
- \ifnum\pdfshellescape=1\relax%
+ \ifnum\pdfshellescape=\@ne\relax%
\immediate\write18{%
pdflatex -jobname=\jobname-temp tutorial-temp.tex
pdflatex -jobname=\jobname-temp tutorial-temp.tex
@@ -613,7 +614,7 @@
\IfFileExists{#2-temp.pdf}{%
\@tempcnta\z@%
\@for\@tempa:=#3\do{\advance\@tempcnta\@ne}%
- \ifnum\@tempcnta>\z@%
+ \ifnum\@tempcnta>\z@\relax%
\setlength\@tempdima{\textwidth}%
\divide\@tempdima\@tempcnta%
\advance\@tempcnta\m@ne%
@@ -626,7 +627,7 @@
\IfValueT{#1}{#1}%
}
\fbox{\expandafter\includegraphics\expandafter[\@tempb]{#2-temp.pdf}}%
- \ifnum\@tempcnta>\z@\hfill\fi%
+ \ifnum\@tempcnta>\z@\relax\hfill\fi%
}%
\fi%
}{%
@@ -705,7 +706,9 @@
\@printindex[files]%
\endgroup%
}
-\newcommand*\@printindexskip{\ifnum\imki@columns>\@ne\vspace{-\multicolsep}\fi}
+\newcommand*\@printindexskip{%
+ \ifnum\imki@columns>\@ne\relax\vspace{-\multicolsep}\fi%
+}
\newcommand*\@printindex[1][]{%
\pagebreak[3]%
\indexprologue[\@printindexskip]{}%
@@ -717,7 +720,6 @@
\renewrobustcmd*\seealso[2]{%
\ifstr{#1}{*}{\emph{\alsoname}~#2}{\emph{\alsoname}~#1}%
}
-%%% From File: tudscr-misc.dtx
\RequirePackage{xspace}[2009/10/20]
\xspaceaddexceptions{"=}
\newcommand*\vTUDScript{}
@@ -726,29 +728,8 @@
\edef\@tempa{\TUDVersion}%
\expandafter\@tempb\@tempa\relax? ? \relax\relax%
}
-\newcommand*\vKOMAScript{v3.12\xspace}
+\newcommand*\vKOMAScript{v3.17\xspace}
\RequirePackage{scrhack}[2014/02/27]
-\newcommand*\Attention[1]{\marginnote{\fbox{Achtung!}}\emph{#1}}
-\NewDocumentCommand\Forum{s}{%
- \IfBooleanTF{#1}{%
- \url{http://latex.wcms-file3.tu-dresden.de/phpBB3/}%
- }{%
- \hrfn{http://latex.wcms-file3.tu-dresden.de/phpBB3/}{TUD-\LaTeX-Forum}%
- }%
- \xspace%
-}
-\newcommand*\hrfn[2]{\href{#1}{#2}\footnote{\scriptsize\url{#1}}}
-\NewDocumentCommand\scrguide{s}{%
- \def\@tempc{%
- http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide.pdf%
- }%
- \IfBooleanTF{#1}{%
- \href{\@tempc}{\File{scrguide.pdf}}%
- }{%
- \hrfn{\@tempc}{\File{scrguide.pdf}}%
- }%
- \xspace%
-}
\newcommand*\CD{Corporate Design\xspace}
\newcommand*\CDs{Corporate Designs\xspace}
\newcommand*\TUD{Technische Universit\"at Dresden\xspace}
@@ -766,12 +747,33 @@
}
\newcommand*\Univers{\textubn{Univers}\xspace}
\newcommand*\DIN{\textdbn{DIN~BOLD}\xspace}
-\newcommand*\sbnfont{\sffamily\bfseries\upshape}
-\newcommand*\sbsfont{\sffamily\bfseries\slshape}
\newcommand*\textsbn{}
-\newcommand*\textsbs{}
+\newcommand*\sbnfont{\sffamily\bfseries\upshape}
\DeclareTextFontCommand\textsbn{\sffamily\bfseries\upshape}
+\newcommand*\textsbs{}
+\newcommand*\sbsfont{\sffamily\bfseries\slshape}
\DeclareTextFontCommand\textsbs{\sffamily\bfseries\slshape}
+\newcommand*\Attention[1]{\marginnote{\fbox{Achtung!}}\emph{#1}}
+\NewDocumentCommand\Forum{s}{%
+ \IfBooleanTF{#1}{%
+ \url{http://latex.wcms-file3.tu-dresden.de/phpBB3/}%
+ }{%
+ \hrfn{http://latex.wcms-file3.tu-dresden.de/phpBB3/}{TUD-\LaTeX-Forum}%
+ }%
+ \xspace%
+}
+\newcommand*\hrfn[2]{\href{#1}{#2}\footnote{\scalebox{0.97}{\url{#1}}}}
+\NewDocumentCommand\scrguide{s}{%
+ \def\@tempc{%
+ http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide.pdf%
+ }%
+ \IfBooleanTF{#1}{%
+ \href{\@tempc}{\File{scrguide.pdf}}%
+ }{%
+ \hrfn{\@tempc}{\File{scrguide.pdf}}%
+ }%
+ \xspace%
+}
\endinput
%%
%% End of file `tudscrman.sty'.