summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/scrkernel-bibliography.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrkernel-bibliography.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrkernel-bibliography.dtx151
1 files changed, 64 insertions, 87 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-bibliography.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-bibliography.dtx
index 30a30994939..d3c9b8a55c8 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrkernel-bibliography.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-bibliography.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{519}
+% \CheckSum{417}
% \iffalse meta-comment
% ======================================================================
% scrkernel-bibliography.dtx
@@ -55,7 +55,7 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrkernel-bibliography.dtx 2640 2017-05-08 09:36:55Z kohm $
+%%% From File: $Id: scrkernel-bibliography.dtx 2769 2017-12-03 10:56:06Z kohm $
%<option>%%% (run: option)
%<body>%%% (run: body)
%<*dtx>
@@ -63,7 +63,7 @@
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2017-05-08 11:36:55 +0200 (Mon, 08 May 2017) $
+ \filedate$Date: 2017-12-03 11:56:06 +0100 (Sun, 03 Dec 2017) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
\filerevision$Revision: 1872 $
\edef\reserved@a{%
@@ -260,57 +260,40 @@
% \subsubsection{Überschrift des Literaturverzeichnisses}
%
% \begin{macro}{\bib@heading}
-% \changes{v2.3h}{1995/01/21}{neu (intern)}^^A
-% \changes{v2.6c}{2000/06/10}{die Präambel wird gesetzt}^^A
-% \changes{v2.7b}{2001/01/05}{\cs{setchapterpreamble} wird verwendet}^^A
-% \changes{v2.7j}{2001/06/27}{Setzen der Präambel in die
-% \texttt{thebibliography}-Umgebung verschoben}^^A
-% \changes{v2.98c}{2008/02/15}{wird nun früher definiert}^^A
-% \changes{v3.10}{2011/08/31}{\cs{MakeMarkcase} wird beachtet}^^A
-% \changes{v3.12}{2012/02/06}{\cs{ifbib@leveldown} wird beachtet}^^A
-% \changes{v3.13b}{2014/10/10}{running head with \texttt{leveldown}^^A
-% fixed}^^A
-% Befehl zum Setzen der Überschrift des Literaturverzeichnisses.
+% \changes{v2.3h}{1995/01/21}{neu (intern)}^^A
+% \changes{v2.6c}{2000/06/10}{die Präambel wird gesetzt}^^A
+% \changes{v2.7b}{2001/01/05}{\cs{setchapterpreamble} wird verwendet}^^A
+% \changes{v2.7j}{2001/06/27}{Setzen der Präambel in die
+% \texttt{thebibliography}-Umgebung verschoben}^^A
+% \changes{v2.98c}{2008/02/15}{wird nun früher definiert}^^A
+% \changes{v3.10}{2011/08/31}{\cs{MakeMarkcase} wird beachtet}^^A
+% \changes{v3.12}{2012/02/06}{\cs{ifbib@leveldown} wird beachtet}^^A
+% \changes{v3.13b}{2014/10/10}{running head with \texttt{leveldown}^^A
+% fixed}^^A
+% \changes{v3.25}{2017/10/13}{use always \cs{@mkright} and \cs{@mkdouble}}^^A
+% \changes{v3.25}{2017/10/13}{using \cs{bibliography@heading}}^^A
+% \begin{macro}{\bibliography@heading}
+% \changes{v3.25}{2017/10/13}{neu (intern)}
+% Befehl zum Setzen der Überschrift des Literaturverzeichnisses.
% \begin{macrocode}
-\newcommand*\bib@heading{%
-%<*article>
+\newcommand*{\bib@heading}{%
+%<article> \bibliography@heading{\refname}%
+%<book|report> \bibliography@heading{\bibname}%
+}
+\newcommand*{\bibliography@heading}[1]{%
\ifbib@leveldown
- \subsection*{\refname}%
- \scr@ifundefinedorrelax{@mkright}{%
- \ifx\@mkboth\@gobbletwo\else\markright{\MakeMarkcase{\refname}}\fi
- }{%
- \@mkright{\MakeMarkcase{\refname}}%
- }%
+%<article> \subsection*{#1}%
+%<book|report> \section*{#1}%
+ \@mkright{\MakeMarkcase{#1}}%
\else
- \section*{\refname}%
- \scr@ifundefinedorrelax{@mkdouble}{%
- \@mkboth{\MakeMarkcase{\refname}}{\MakeMarkcase{\refname}}%
- }{%
- \@mkdouble{\MakeMarkcase{\refname}}%
- }%
+%<article> \section*{#1}%
+%<book|report> \chapter*{#1}%
+ \@mkdouble{\MakeMarkcase{#1}}%
\fi
-%</article>
-%<*book|report>
- \ifbib@leveldown
- \section*{\bibname}%
- \scr@ifundefinedorrelax{@mkright}{%
- \ifx\@mkboth\@gobbletwo\else\markright{\MakeMarkcase{\bibname}}\fi
- }{%
- \@mkright{\MakeMarkcase{\bibname}}%
- }%
- \else
- \chapter*{\bibname}%
- \scr@ifundefinedorrelax{@mkdouble}{%
- \@mkboth{\MakeMarkcase{\bibname}}{\MakeMarkcase{\bibname}}%
- }{%
- \@mkdouble{\MakeMarkcase{\bibname}}%
- }%
- \fi
-%</book|report>
}%
% \end{macrocode}
% \end{macro}
-%
+% \end{macro}%
%
%
% \subsection{Optionen für das Literaturverzeichnis}
@@ -327,6 +310,10 @@
% \changes{v3.12}{2013/09/28}{Es werden keine Kapiteleinträge in andere
% Verzeichnisse geschrieben.}^^A
% \changes{v3.17}{2015/03/12}{interne Speicherung der Werte}^^A
+% \changes{v3.25}{2017/10/13}{use always \cs{@mkright} and
+% \cs{@mkdouble}}^^A
+% \changes{v3.25}{2017/10/13}{redefines \cs{bibliography@heading} instead of
+% \cs{bib@heading}}^^A
% Dies ist der Generalschlüssel für alle Optionen, die das
% Literaturverzeichnis betreffen. Neu ist, dass verschiedene Stile definiert
% werden können. Desweiteren kann man \texttt{totoc} und
@@ -356,25 +343,16 @@
\KOMA@kav@remove{.\KOMAClassFileName}{bibliography}{totoc}%
\KOMA@kav@remove{.\KOMAClassFileName}{bibliography}{numbered}%
\KOMA@kav@add{.\KOMAClassFileName}{bibliography}{notoc}%
- \renewcommand*\bib@heading{%
-%<*article>
+ \renewcommand*{\bibliography@heading}[1]{%
\ifbib@leveldown
- \subsection*{\refname}%
- \ifx\@mkboth\@gobble\else\markright{\MakeMarkcase{\refname}}\fi
+%<article> \subsection*{##1}%
+%<book|report> \section*{##1}%
+ \@mkright{\MakeMarkcase{##1}}%
\else
- \section*{\refname}%
- \@mkboth{\MakeMarkcase{\refname}}{\MakeMarkcase{\refname}}%
+%<article> \section*{##1}%
+%<book|report> \chapter*{##1}%
+ \@mkdouble{\MakeMarkcase{##1}}%
\fi
-%</article>
-%<*book|report>
- \ifbib@leveldown
- \section*{\bibname}%
- \ifx\@mkboth\@gobble\else\markright{\MakeMarkcase{\bibname}}\fi
- \else
- \chapter*{\bibname}%
- \@mkboth{\MakeMarkcase{\bibname}}{\MakeMarkcase{\bibname}}%
- \fi
-%</book|report>
}%
\or% totoc
\KOMA@kav@remove{.\KOMAClassFileName}{toc}{nobibliography}%
@@ -385,35 +363,36 @@
\KOMA@kav@remove{.\KOMAClassFileName}{bibliography}{totoc}%
\KOMA@kav@remove{.\KOMAClassFileName}{bibliography}{numbered}%
\KOMA@kav@add{.\KOMAClassFileName}{bibliography}{totoc}%
- \renewcommand*\bib@heading{%
+ \renewcommand*{\bibliography@heading}[1]{%
%<*article>
\ifbib@leveldown
% \end{macrocode}
-% \changes{v3.23}{2017/02/23}{Verwendung von \cs{ext@toc}}^^A
-% Ab Version 3.23 wird das von \textsf{tocbasic} bereitgestellte
-% \cs{ext@toc} statt dem hart codierten \texttt{toc} verwendet.
+% \changes{v3.23}{2017/02/23}{Verwendung von \cs{ext@toc}}^^A
+% \changes{v3.25}{2017/10/13}{Verwendung von \cs{addsubsectiontocentry} statt
+% \cs{addxcontentsline}}^^A
+% Ab Version 3.23 wird das von \textsf{tocbasic} bereitgestellte
+% \cs{ext@toc} statt dem hart codierten \texttt{toc} verwendet.
% \begin{macrocode}
\subsection*{%
- \expandafter\addxcontentsline\expandafter{\ext@toc}%
- {subsection}{\refname}%
- \refname
+ \addsubsectiontocentry{}{##1}%
+ ##1%
}%
- \ifx\@mkboth\@gobble\else\markright{\MakeMarkcase{\refname}}\fi
+ \@mkright{\MakeMarkcase{##1}}%
\else
- \addsec{\refname}
- \@mkboth{\MakeMarkcase{\refname}}{\MakeMarkcase{\refname}}%
+ \addsec{##1}%
+ \@mkdouble{\MakeMarkcase{##1}}%
\fi
%</article>
%<*book|report>
\ifbib@leveldown
- \addsec{\bibname}
+ \addsec{##1}%
\else
\if@chaptertolists
- \@chaptertolistsfalse\addchap{\bibname}\@chaptertoliststrue
+ \@chaptertolistsfalse\addchap{##1}\@chaptertoliststrue
\else
- \addchap{\bibname}
+ \addchap{##1}%
\fi
- \@mkboth{\MakeMarkcase{\bibname}}{\MakeMarkcase{\bibname}}%
+ \@mkdouble{\MakeMarkcase{##1}}%
\fi
%</book|report>
}%
@@ -426,27 +405,25 @@
\KOMA@kav@remove{.\KOMAClassFileName}{bibliography}{totoc}%
\KOMA@kav@remove{.\KOMAClassFileName}{bibliography}{numbered}%
\KOMA@kav@add{.\KOMAClassFileName}{bibliography}{numbered}%
- \renewcommand*\bib@heading{%
+ \renewcommand*{\bibliography@heading}[1]{%
%<*article>
\ifbib@leveldown
- \subsection{\refname}%
+ \subsection{##1}%
\else
- \section{\refname}%
- \@mkboth{\MakeMarkcase{\sectionmarkformat \refname}}%
- {\MakeMarkcase{\sectionmarkformat \refname}}%
+ \section{##1}%
+ \@mkdouble{\MakeMarkcase{\sectionmarkformat ##1}}%
\fi
%</article>
%<*book|report>
\ifbib@leveldown
- \section{\bibname}%
+ \section{##1}%
\else
\if@chaptertolists
- \@chaptertolistsfalse\chapter{\bibname}\@chaptertoliststrue
+ \@chaptertolistsfalse\chapter{##1}\@chaptertoliststrue
\else
- \chapter{\bibname}
+ \chapter{##1}
\fi
- \@mkboth{\MakeMarkcase{\chaptermarkformat \bibname}}%
- {\MakeMarkcase{\chaptermarkformat \bibname}}%
+ \@mkdouble{\MakeMarkcase{\chaptermarkformat ##1}}%
\fi
%</book|report>
}