Skip to content

Commit

Permalink
Merge branch 'hotfix/scrlfile' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpiggi committed Sep 29, 2020
2 parents b2d2306 + 7ff287b commit 884d858
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 73 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2020

tudscr 2020/07/27 v2.06i
tudscr 2020/09/29 v2.06j

----------------------------------------------------------------------------

Expand Down Expand Up @@ -53,6 +53,9 @@ Das Bundle beinhaltet:
Versionen
---------

**v2.06j** (2020/09/29)
+ Anpassungen an neue Version von `scrlfile v3.32` für LaTeX-Kernel `2020/10/01`

**v2.06i** (2020/07/27)
+ Bugfix für duplizierte Outline-Einträg in Umgebung `abstract`

Expand Down Expand Up @@ -260,6 +263,9 @@ The bundle offers:
Versions
--------

**v2.06j** (2020/09/29)
+ adjustments to new version of `scrlfile v3.32` for LaTeX kernel `2020/10/01`

**v2.06i** (2020/07/27)
+ bug fix for duplicated outline entries in environment `abstract`

Expand Down
4 changes: 3 additions & 1 deletion release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ echo.
cd doc
pdflatex --shell-escape "\def\tudfinalflag{}\input{tudscr.tex}"
pdflatex "\def\tudfinalflag{}\input{tudscr.tex}"
pdflatex "\def\tudfinalflag{}\input{tudscr.tex}"
pdflatex --shell-escape "\def\tudfinalflag{}\input{tudscr.tex}"
pdflatex "\def\tudfinalflag{}\input{tudscr.tex}"
pdflatex --shell-escape "\def\tudfinalflag{}\input{tudscr.tex}"
pdflatex "\def\tudfinalflag{}\input{tudscr.tex}"
pdflatex "\def\tudfinalflag{}\def\tudprintflag{}\input{tudscr.tex}"
pause
copy tudscr.pdf tudscr_print.pdf
pdflatex "\def\tudfinalflag{}\input{tudscr.tex}"
del tutorials\*autopp*.* /q > nul
Expand All @@ -75,6 +76,7 @@ move tutorials\*-example.tex ..\source\latex\tudscr\doc\examples\
del *.* /q > nul
rmdir examples /s /q > nul
rmdir tutorials /s /q > nul
pause
echo.
echo =========================================================================
echo Erzeugen der Installationdateien
Expand Down
2 changes: 1 addition & 1 deletion source/doc/tudscr.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
\endgroup%
}
\faculty{\cdurl}
\date{2020-07-27}
\date{2020-09-29}
\author{%
Falk Hanisch%
\expandafter\emailaddress\expandafter{\tudscrmail}%
Expand Down
8 changes: 4 additions & 4 deletions source/tudscr-base.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
% \fi
%
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\ProvidesFile{tudscr-base.dtx}[2020/06/25 v2.06h TUD-Script\space%
\ProvidesFile{tudscr-base.dtx}[2020/09/29 v2.06j TUD-Script\space%
%
% \iffalse
%</dtx>
Expand Down Expand Up @@ -149,7 +149,7 @@
\providecommand*{\ifisdimen}{\Ifisdimen}
\providecommand*{\ifisdimension}{\Ifisdimension}
\providecommand*{\ifnumber}{\Ifnumber}
\RequirePackage{scrbase}[2019/12/23]
\RequirePackage{scrbase}[2020/09/21]
\RequirePackage{iftex}[2019/11/07]
% \end{macrocode}
% Die folgenden Pakete werden für die Manipulation bereits definierter
Expand Down Expand Up @@ -1218,14 +1218,14 @@
% \begin{macrocode}
\newcommand*\TUD@AfterPackage@set[1]{%
\newbool{@tud@#1@loaded}%
\AfterPackage!{#1}{\booltrue{@tud@#1@loaded}}%
\AfterAtEndOfPackage*{#1}{\booltrue{@tud@#1@loaded}}%
}
\newcommand*\TUD@AfterPackage@do[2]{%
\ifcsdef{if@tud@#1@loaded}{%
\if@atdocument%
\ifbool{@tud@#1@loaded}{#2}{}%
\else%
\AfterPackage!{#1}{#2}%
\AfterAtEndOfPackage*{#1}{#2}%
\fi%
}{%
\PackageError{tudscrbase}{\string\TUD@AfterPackage@set{#1} missing}{%
Expand Down
10 changes: 7 additions & 3 deletions source/tudscr-comp.dtx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% \CheckSum{1456}
% \CheckSum{1457}
% \iffalse meta-comment
%
% TUD-Script -- Corporate Design of Technische Universität Dresden
Expand Down Expand Up @@ -52,7 +52,7 @@
% \fi
%
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\ProvidesFile{tudscr-comp.dtx}[2020/07/27 v2.06i TUD-Script\space%
\ProvidesFile{tudscr-comp.dtx}[2020/09/29 v2.06j TUD-Script\space%
%
% \iffalse
%</dtx>
Expand Down Expand Up @@ -387,8 +387,10 @@
% \changes{v2.06g}{2020/06/18}{neu}^^A
% \begin{macro}{\tud@v@2.06h}
% \changes{v2.06h}{2020/06/25}{neu}^^A
% \begin{macro}{\tud@v@2.06h}
% \begin{macro}{\tud@v@2.06i}
% \changes{v2.06i}{2020/07/27}{neu}^^A
% \begin{macro}{\tud@v@2.06j}
% \changes{v2.06j}{2020/09/29}{neu}^^A
% \begin{macro}{\tud@v@last}
% \changes{v2.02}{2014/08/22}{neu}^^A
% \changes{v2.03}{2015/01/13}{angepasst}^^A
Expand Down Expand Up @@ -434,9 +436,11 @@
\csdef{tud@v@2.06g}{4}
\csdef{tud@v@2.06h}{4}
\csdef{tud@v@2.06i}{4}
\csdef{tud@v@2.06j}{4}
\csdef{tud@v@last}{4}
% \end{macrocode}
% \end{macro}^^A \tud@v@last
% \end{macro}^^A \tud@v@2.06j
% \end{macro}^^A \tud@v@2.06i
% \end{macro}^^A \tud@v@2.06h
% \end{macro}^^A \tud@v@2.06g
Expand Down
6 changes: 3 additions & 3 deletions source/tudscr-fonts.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
% \fi
%
\ProvidesFile{tudscr-fonts.dtx}[2020/06/18 v2.06g TUD-Script\space%
\ProvidesFile{tudscr-fonts.dtx}[2020/09/29 v2.06j TUD-Script\space%
%
% \iffalse
%</dtx>
Expand Down Expand Up @@ -152,7 +152,7 @@
% \pkg{scrextend} benötigt.
% \begin{macrocode}
\ifcsname KOMAClassName\endcsname\else
\RequirePackage{scrextend}[2013/12/19]
\RequirePackage{scrextend}[2020/09/21]
\fi
% \end{macrocode}
% Wird das Paket \pkg{tudscrfonts} nach einer der Klassen verwendet, welche die
Expand Down Expand Up @@ -669,7 +669,7 @@
% Mathematikmodus auf \cs{familydefault} bzw. \cs{rmfamily} verlässt.
% \begin{macrocode}
\newif\if@tud@x@siunitx@enabled
\AfterPackage*{siunitx}{%
\AfterAtEndOfPackage*{siunitx}{%
\@tud@x@siunitx@enabledtrue%
\providecommand*\lseries{\fontseries{l}\selectfont}%
}
Expand Down
4 changes: 2 additions & 2 deletions source/tudscr-misc.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
% \fi
%
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\ProvidesFile{tudscr-misc.dtx}[2019/08/20 v2.06c TUD-Script\space%
\ProvidesFile{tudscr-misc.dtx}[2020/09/29 v2.06j TUD-Script\space%
(miscellaneous)%
]
%
Expand Down Expand Up @@ -606,7 +606,7 @@
% geladen.
% \begin{macrocode}
%<*class&!inherit>
\LoadClass{\TUD@Class@KOMA}[2018/03/30]
\LoadClass{\TUD@Class@KOMA}[2020/09/21]
%</class&!inherit>
%<*class&inherit>
%<manual>\PassOptionsToClass{ttfont=roboto}{\TUD@Class@Parent}
Expand Down
13 changes: 8 additions & 5 deletions source/tudscr-pagestyle.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
% \fi
%
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\ProvidesFile{tudscr-pagestyle.dtx}[2019/08/20 v2.06c TUD-Script\space%
\ProvidesFile{tudscr-pagestyle.dtx}[2020/09/29 v2.06j TUD-Script\space%
(pagestyle)%
]
%
Expand Down Expand Up @@ -121,7 +121,7 @@
\if@tud@x@standalone@crop
\PreventPackageFromLoading{scrlayer-scrpage}%
\else
\AtEndPreamble{\RequirePackage{scrlayer-scrpage}[2013/12/14]}%
\AtEndPreamble{\RequirePackage{scrlayer-scrpage}[2020/09/21]}%
\fi
% \end{macrocode}
% Für das Erzeugen der Seitenstile wird das Paket \pkg{scrlayer-scrpage}
Expand Down Expand Up @@ -644,10 +644,13 @@
% bereits durch den Anwender ausgewählt werden können, wird \cs{pagestyle}
% temporär zurechtgebogen. Die Definition des Makros wird gesichert und direkt
% vor dem Laden des Paketes wiederhergestellt. Damit werden die Seitenstile
% erst aktiviert, nachdem diese auch tatsächlich erstellt wurden.
% erst aktiviert, nachdem diese auch tatsächlich erstellt wurden. Alle zuvor
% angeforderten Seitenstile werden erst nach dem Paket propagiert.
% \begin{macrocode}
\tud@cs@store{pagestyle}
\renewcommand*\pagestyle[1]{\AfterPackage!{scrlayer-scrpage}{\pagestyle{#1}}}
\renewcommand*\pagestyle[1]{%
\AfterAtEndOfPackage*{scrlayer-scrpage}{\pagestyle{#1}}%
}
\BeforePackage{scrlayer-scrpage}{%
\tud@cs@restore{pagestyle}%
\undef\tud@pagestyle%
Expand All @@ -661,7 +664,7 @@
% Einstellungen abgeschlossen sein müssen, um die Satzspiegel zu definieren.
% \ToDo{Abhängigkeiten Satzspiegel<>Seitenstil beseitigen}[v2.07]
% \begin{macrocode}
\AfterPackage!{scrlayer-scrpage}{\AtEndPreamble{\tud@cdgeometry@init}}
\AfterAtEndOfPackage*{scrlayer-scrpage}{\AtEndPreamble{\tud@cdgeometry@init}}
% \end{macrocode}
% \begin{macro}{\ps@tudheadings}
% \begin{macro}{\ps@plain.tudheadings}
Expand Down
4 changes: 2 additions & 2 deletions source/tudscr-version.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
\def\@tempb##1 v##2 ##3\relax##4\relax{\gdef\TUDScriptVersionNumber{##2}}%
\edef\@tempa{\TUD@Version}%
\expandafter\@tempb\@tempa\relax? ? \relax\relax%
\gdef\TUD@Version@KOMA{3.28}%
\gdef\TUD@Version@KOMA{3.32}%
}
\else
\newcommand*\TUD@Version@Check[1]{%
Expand All @@ -128,7 +128,7 @@
%<*!(package|class)>
\fi
%</!(package|class)>
\TUD@Version@Check{2020/07/27 v2.06i TUD-Script}
\TUD@Version@Check{2020/09/29 v2.06j TUD-Script}
\endgroup
% \end{macrocode}
% \end{macro}^^A \TUDScriptVersionNumber
Expand Down
59 changes: 8 additions & 51 deletions test/test.tex
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
\documentclass[ngerman,USenglish]{tudscrreprt}
\usepackage{babel}
\usepackage{bookmark}
\usepackage{hyperref}

\title{Titel der Arbeit}
\author{Vorname Nachname}

\begin{document}
\maketitle

\TUDoption{abstract}{multiple,section}
\begin{abstract}
English abstract.

\nextabstract[ngerman]
Deutsche Zusammenfassung
\end{abstract}

\tableofcontents
\chapter{Kapitel 1}
Inhalt.

\chapter{Kapitel 2}
\section{Abschnitt 2.1}

\end{document}

\documentclass[
ngerman,
%cdoldfont,
Expand All @@ -34,32 +6,17 @@ \section{Abschnitt 2.1}
%cdfont=heavy,
%cdfont=ultrabold
%cdmath=false,
]{scrreprt}
\ifpdftex{
]{tudscrreprt}
\usepackage{iftex}
\iftutex
\usepackage{fontspec}
\else
\usepackage[T1]{fontenc}
\usepackage[ngerman=ngerman-x-latest]{hyphsubst}
}{
\usepackage{fontspec}
}
\fi
\usepackage{babel}
%\usepackage[math]{blindtext}

\usepackage{tudscrfonts}
\usepackage{libertine}
\usepackage{textcomp}
\usepackage{fonttable}
\usepackage[math]{blindtext}

\begin{document}



\meaning\textrightarrow

aaa \textrightarrow bbb $\rightarrow$





%\blindtext
\blinddocument
\end{document}

0 comments on commit 884d858

Please sign in to comment.