texlive[67766] Master/texmf-dist: dtk (29jul23)
commits+karl at tug.org
commits+karl at tug.org
Sat Jul 29 22:18:58 CEST 2023
Revision: 67766
http://tug.org/svn/texlive?view=revision&revision=67766
Author: karl
Date: 2023-07-29 22:18:58 +0200 (Sat, 29 Jul 2023)
Log Message:
-----------
dtk (29jul23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.pdf
trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex
trunk/Master/texmf-dist/tex/latex/dtk/dtk-full.clo
trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/dtk/dtk-fonts.clo
Removed Paths:
-------------
trunk/Master/texmf-dist/tex/latex/dtk/dtk-new-engines.clo
trunk/Master/texmf-dist/tex/latex/dtk/dtk-old-engines.clo
Modified: trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex 2023-07-29 20:18:39 UTC (rev 67765)
+++ trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex 2023-07-29 20:18:58 UTC (rev 67766)
@@ -6,7 +6,7 @@
\let\Package\texttt
\begin{document}
-\title{Die \texttt{dtk}-Klasse, Version \DTKversion -- \DTKversiondate}
+\title{Die \texttt{dtk}-Klasse, Version \DTKversion\ -- \DTKversiondate}
\Author{Mustermann}{Max}%
{Dorfstraße~1\\
14129 Berlin\\
Added: trunk/Master/texmf-dist/tex/latex/dtk/dtk-fonts.clo
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk-fonts.clo (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk-fonts.clo 2023-07-29 20:18:58 UTC (rev 67766)
@@ -0,0 +1,64 @@
+%% This is file `dtk-new-engines.clo',
+%%
+%% LaTeX Class for ``Die TeXnische Komoedie''.
+%%
+%% Copyright (C) 2015-
+%% Rolf Niepraschk, Herbert Voss
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\ProvidesFile{dtk-new-engines.clo}%
+ [2016/05/17 v0.1f dtk class options for LuaTeX and XeTeX (RN)]
+
+\typeout{NEW-ENGINE}
+
+\RequirePackage[no-math]{fontspec}
+\RequirePackage{unicode-math}
+
+\ifluatex
+ \RequirePackage[ngerman,noftligs]{selnolig}
+ \InputIfFileExists{dtk.nolig}{%
+ \typeout{*************************************^^J%
+ * File `dtk.nolig' used.^^J%
+ *************************************}%
+ }{}
+\fi
+
+\RequirePackage{newunicodechar}
+\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE'
+\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
+\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'
+\newunicodechar{^^^^20ac}{\DTK at euro}% 'EURO SIGN'
+
+\InputIfFileExists{dtk-fonts.cfg}{%
+ \typeout{*************************************^^J%
+ * File `dtk-fonts.cfg' used.^^J%
+ *************************************}%
+}{%
+ \typeout{*************************************^^J%
+ * Using libertinus-otf *^^J%
+ *************************************}%
+ \RequirePackage{libertinus-otf}%
+ \def\DTKrmFontName{Libertinus Serif}%
+ \def\DTKsfFontName{Libertinus Sans Serif}%
+% \setmathfont{XITSMath}[Scale=0.9,math-style=TeX,bold-style=TeX]%
+ \def\DTKmathFontName{Libertinus Math}%
+ \setmonofont{AnonymousPro}[
+ Scale = MatchLowercase,FakeStretch=0.87,
+ RawFeature = -tlig,
+ UprightFont =*-Regular,
+ BoldFont = *-Bold,
+ BoldItalicFont = *-BoldItalic,
+ ItalicFont = *-Italic,
+ Ligatures = ResetAll,
+ Extension = .ttf]%
+ \def\DTKttFontName{Anonymous Pro}%
+}
+
+\endinput
Property changes on: trunk/Master/texmf-dist/tex/latex/dtk/dtk-fonts.clo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/dtk/dtk-full.clo
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk-full.clo 2023-07-29 20:18:39 UTC (rev 67765)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk-full.clo 2023-07-29 20:18:58 UTC (rev 67766)
@@ -14,7 +14,7 @@
%% version 2005/12/01 or later.
\ProvidesFile{dtk-full.clo}%
- [2022/05/08 v0.1p dtk class options for full mode (RN)]
+ [2023/07/25 v0.1r dtk class options for full mode (RN)]
\@ifclasslater{scrbook}{2015/09/29}{}{%
\ClassError{dtk}{%
@@ -25,9 +25,6 @@
}
\RequirePackage{xcolor,multicol,graphicx,tabularx}
-\edef\pdfcreationdate{\pdfcreationdate}
-% weil datetime2 inkompatible zu LuaTeX 0.95/luatex85,
-% standardmäßig ungünstige Defionition in luatex85
\RequirePackage[showzone=false]{datetime2}
\newcounter{dtk at example@counter}
@@ -123,18 +120,19 @@
\AtEndDocument{\immediate\closeout\user at bibs\relax}%
}
\renewcommand*\printbibliography[1][]{}%
- \newcommand*\DTK at addbibresource[2][]{%
+ \newcommand*\DTK at addbibresource[2][]{% Variant for recording run
\@ifundefined{BIBS:\the\c at artcounter}{%
- \def\DTK at tempa{}%
+ \def\DTK at tempa{}% no comma
\expandafter\let\csname BIBS:\the\c at artcounter\endcsname\@empty
- }{\def\DTK at tempa{,}}%
- % Collect all bib filenames as comma list for \newrefsection
+ }{\def\DTK at tempa{,}}% comma
+ % Collect all bib filenames in macro \BIBS:? as comma list for \newrefsection
\expandafter\g at addto@macro\csname BIBS:\the\c at artcounter
\expandafter\endcsname\expandafter{\DTK at tempa #2}%
+ % Write current (local) \addbibresource command to file `dtk-userbibs.tex'
\immediate\write\user at bibs{%
\string\addbibresource\ifx\relax#1\relax\else[#1]\fi{#2}%
\@percentchar\space \DTK at local@inputname
- }%
+ }%
}%
\def\DTK@@usepackage#1#2[#3]{%
\edef\@tempb{\zap at space#2 \@empty}%
@@ -192,7 +190,7 @@
\AtBeginDocument{\DTK at backside}%
\def\DTK@@usepackage#1#2[#3]{}%
\def\DTK@@RequirePackage#1#2[#3]{}%
- \newcommand*\DTK at addbibresource[2][]{}%
+ \newcommand*\DTK at addbibresource[2][]{}% Variant for the document run
\newcommand*\ORIG at printbibliography{}
\let\ORIG at printbibliography=\printbibliography
\renewcommand*\printbibliography[1][]{\ORIG at printbibliography[heading=dtk]%
@@ -276,7 +274,18 @@
\c at table=\z@
\c at equation=\z@
\ifDTKrecord
- \gdef\document{\endgroup\endinput}%
+ \gdef\document{%
+ % Write current macro definition of \BIBS:? (complete bibfile list)
+ % to file `dtk-userbibs.tex'
+ \@ifundefined{BIBS:\the\c at artcounter}{}{%
+ \immediate\write\user at bibs{%
+ \string\@namedef{BIBS:\the\c at artcounter}%
+ {\@nameuse{BIBS:\the\c at artcounter}}%
+ \@percentchar\space\DTK at local@inputname
+ }%
+ }%
+ \endgroup\endinput
+ }%
\global\let\blx at warn@auxlist=\relax
\else
\renewenvironment{document}{%
@@ -285,6 +294,7 @@
\DTK at embedded@enddocumenthook\mbox{}\endinput
}%
\fi
+ % Macro \BIBS:? may have been defined by `dtk-userbibs.tex'
\@ifundefined{BIBS:\the\c at artcounter}{%
\input{\DTK at local@inputname}%
}{%
Deleted: trunk/Master/texmf-dist/tex/latex/dtk/dtk-new-engines.clo
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk-new-engines.clo 2023-07-29 20:18:39 UTC (rev 67765)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk-new-engines.clo 2023-07-29 20:18:58 UTC (rev 67766)
@@ -1,64 +0,0 @@
-%% This is file `dtk-new-engines.clo',
-%%
-%% LaTeX Class for ``Die TeXnische Komoedie''.
-%%
-%% Copyright (C) 2015-
-%% Rolf Niepraschk, Herbert Voss
-%%
-%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3c
-%% 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.3c or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-
-\ProvidesFile{dtk-new-engines.clo}%
- [2016/05/17 v0.1f dtk class options for LuaTeX and XeTeX (RN)]
-
-\typeout{NEW-ENGINE}
-
-\RequirePackage[no-math]{fontspec}
-\RequirePackage{unicode-math}
-
-\ifluatex
- \RequirePackage[ngerman,noftligs]{selnolig}
- \InputIfFileExists{dtk.nolig}{%
- \typeout{*************************************^^J%
- * File `dtk.nolig' used.^^J%
- *************************************}%
- }{}
-\fi
-
-\RequirePackage{newunicodechar}
-\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE'
-\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
-\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'
-\newunicodechar{^^^^20ac}{\DTK at euro}% 'EURO SIGN'
-
-\InputIfFileExists{dtk-fonts.cfg}{%
- \typeout{*************************************^^J%
- * File `dtk-fonts.cfg' used.^^J%
- *************************************}%
-}{%
- \typeout{*************************************^^J%
- * Using libertinus-otf *^^J%
- *************************************}%
- \RequirePackage{libertinus-otf}%
- \def\DTKrmFontName{Libertinus Serif}%
- \def\DTKsfFontName{Libertinus Sans Serif}%
-% \setmathfont{XITSMath}[Scale=0.9,math-style=TeX,bold-style=TeX]%
- \def\DTKmathFontName{Libertinus Math}%
- \setmonofont{AnonymousPro}[
- Scale = MatchLowercase,FakeStretch=0.87,
- RawFeature = -tlig,
- UprightFont =*-Regular,
- BoldFont = *-Bold,
- BoldItalicFont = *-BoldItalic,
- ItalicFont = *-Italic,
- Ligatures = ResetAll,
- Extension = .ttf]%
- \def\DTKttFontName{Anonymous Pro}%
-}
-
-\endinput
Deleted: trunk/Master/texmf-dist/tex/latex/dtk/dtk-old-engines.clo
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk-old-engines.clo 2023-07-29 20:18:39 UTC (rev 67765)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk-old-engines.clo 2023-07-29 20:18:58 UTC (rev 67766)
@@ -1,45 +0,0 @@
-
-%% This is file `dtk-old-engines.clo',
-%%
-%% LaTeX Class for ``Die TeXnische Komoedie''.
-%%
-%% Copyright (C) 2015-
-%% Rolf Niepraschk, Herbert Voss
-%%
-%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3c
-%% 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.3c or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-
-\ProvidesFile{dtk-old-engines.clo}%
- [2021/11/12 v0.1f dtk class options for pdfTeX/TeX+dvips (RN)]
-
-\typeout{OLD-ENGINE}
-
-\RequirePackage[utf8]{inputenc}
-\RequirePackage[T1]{fontenc}
-\RequirePackage{textcomp}
-\DeclareUnicodeCharacter{20AC}{\DTK at euro}
-
-\InputIfFileExists{dtk-fonts.cfg}{%
- \typeout{*************************************^^J%
- * File `dtk-fonts.cfg' used.^^J%
- *************************************}%
-}{%
- \RequirePackage[lining=true]{libertine}%
- \def\DTKrmFontName{Linux Libertine}%
- \def\DTKsfFontName{Linux Biolinum}%
- \RequirePackage[scale=0.833,ttdefault=true]{AnonymousPro}%
- \def\DTKttFontName{Anonymous Pro}%
- %\RequirePackage[scaled=0.83]{DejaVuSansMono}%
- %\def\DTKttFontName{DejaVu Mono}%
- %
- \def\DTKmathFontName{Computer Modern Math}% ???
-}
-
-\babelprovide[hyphenrules=ngerman-x-latest]{ngerman}
-
-\endinput
Modified: trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls 2023-07-29 20:18:39 UTC (rev 67765)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls 2023-07-29 20:18:58 UTC (rev 67766)
@@ -23,35 +23,19 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\def\DTKversion{2.08n}
-\def\DTKversiondate{2022/12/14}
+\def\DTKversion{2.10a}
+\def\DTKversiondate{2023/07/28}
\ProvidesClass{dtk}[\DTKversiondate v\DTKversion dtk documentclass (RN)]
-\@ifpackagelater{iftex}{2019/10/24}{%
- \RequirePackage{ifxetex,ifluatex,ifpdf,ifvtex}
-}{%
- \RequirePackage{iftex}
-}
-\RequirePackage{luatex85}
+\RequirePackage{iftex}
-\newcommand*\DTK at engine{}
-
-\ifluatex
- \def\DTK at engine{4}% LuaTeX
-\else
- \ifxetex
- \def\DTK at engine{3}% XeTeX
- \else
- \ifpdf
- \def\DTK at engine{2}% pdfTeX
- \else
- \ifvtex
- \def\DTK at engine{1}% VTeX
- \else
- \def\DTK at engine{0}% TeX+dvips
- \fi
- \fi
- \fi
+\ifluatex\else
+ \ClassError{dtk}{%
+ LuaLaTeX ist erforderlich.
+ }{%
+ Kompiliere mit LuaLaTeX.
+ }
+ \expandafter\stop
\fi
\RequirePackage{xkeyval}
@@ -119,6 +103,8 @@
\RequirePackage{scrhack}% Andere Pakete KOMA-Script-freundlich machen
+\RequirePackage[final]{listings}
+
\RequirePackage{hvextern}
% http://www.komascript.de/release3.18
@@ -189,11 +175,7 @@
\newcommand*\DTKttFontName{} \let\DTKttFontName=\DTK at FontNameMissing
\newcommand*\DTKmathFontName{} \let\DTKmathFontName=\DTK at FontNameMissing
-\ifnum\DTK at engine < 3 %
- \input{dtk-old-engines.clo}% pdfTeX oder TeX+dvips oder VTeX
-\else
- \input{dtk-new-engines.clo}% LuaTeX oder XeTeX
-\fi
+\input{dtk-fonts.clo}
\@ifpackagelater{csquotes}{2018/02/11}{}{%
\def\@inpenc at undefined{}
@@ -367,10 +349,6 @@
\colorlet{DTKlstNumbers}{black}
\newcommand*\DTKlstKeywordfont{\bfseries}
-%\RequirePackage[final]{listings}
-\PassOptionsToPackage{final}{listings}
-\RequirePackage{lstautogobble}
-
\@ifundefined{ifDTKrecord}{\newif\ifDTKrecord \DTKrecordfalse}{}
\newcommand*\address[3]{%
@@ -515,7 +493,6 @@
,commentstyle=\DTKlstfont
,basewidth=0.55em
,keepspaces
-,autogobble=false
,backgroundcolor=\color{DTKlstBackground}
,numbers=none
,frame=single
@@ -551,7 +528,6 @@
,emphstyle=\DTK at lst@colorbox{DTKlstBackground!70!-DTKlstBackground}%
%,prebreak=
,postbreak=\mbox{$\hookrightarrow$}
-,autogobble=true
}
\lstdefinestyle{number}{% TODO: Evtl. doch besser Zeilennummern ganz ausrücken?
More information about the tex-live-commits
mailing list.