texlive[63179] Master/texmf-dist: dtk (29apr22)

commits+karl at tug.org commits+karl at tug.org
Fri Apr 29 23:15:05 CEST 2022


Revision: 63179
          http://tug.org/svn/texlive?view=revision&revision=63179
Author:   karl
Date:     2022-04-29 23:15:04 +0200 (Fri, 29 Apr 2022)
Log Message:
-----------
dtk (29apr22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.pdf
    trunk/Master/texmf-dist/doc/latex/dtk/doc/dtk-extern-test.tex
    trunk/Master/texmf-dist/tex/latex/dtk/dtk-full.clo
    trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls

Removed Paths:
-------------
    trunk/Master/texmf-dist/tex/latex/dtk/dtk-extern.sty

Modified: trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/dtk/doc/dtk-extern-test.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dtk/doc/dtk-extern-test.tex	2022-04-29 21:14:42 UTC (rev 63178)
+++ trunk/Master/texmf-dist/doc/latex/dtk/doc/dtk-extern-test.tex	2022-04-29 21:15:04 UTC (rev 63179)
@@ -1,15 +1,8 @@
 \documentclass[ngerman]{dtk}
-\ifluatex\else
-  \usepackage[utf8]{inputenc}
-\fi
+\usepackage{hvextern}
 
-\usepackage{dtk-extern}
-\makeatletter
-\edef\dtkFileversion{\@nameuse{ver at dtk-extern}}
-\makeatother
-
 \begin{document}
-\title[Externe Dokumente erzeugen]{\dtkFileversion~-- Externe Dokumente aus \LaTeX\ heraus definieren und das Ergebnis einbinden, }
+\title[Externe Dokumente erzeugen]{Externe Dokumente aus \LaTeX\ heraus definieren und das Ergebnis einbinden, }
 \Author{Herbert}{Voß}{\Email{herbert at dante.de}}
 \maketitle
 
@@ -16,7 +9,7 @@
 \section{Syntax}
 
 \begin{verbatim}
-\usepackage{dtk-extern}
+\usepackage{hvextern}
 \end{verbatim}
 
 Das Paket wird standardmäßig bei Verwendung der Klasse \texttt{dtk} geladen.
@@ -42,7 +35,6 @@
 \begin{externalDocument}[grfOptions={width=0.5\linewidth},compiler=pdflatex,force,cleanup]{Roemer1}
 \documentclass{standalone}
 \usepackage[T1]{fontenc}
-\usepackage[utf8]{inputenc}
 \usepackage{libertine}
 \usepackage[linguistics]{forest}
 \forestapplylibrarydefaults{linguistics, edges}

Deleted: trunk/Master/texmf-dist/tex/latex/dtk/dtk-extern.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk-extern.sty	2022-04-29 21:14:42 UTC (rev 63178)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk-extern.sty	2022-04-29 21:15:04 UTC (rev 63179)
@@ -1,233 +0,0 @@
-%% This is file `dtk-extern.sty',
-%%
-%% LaTeX package for ``Die TeXnische Komoedie''.
-%%
-%% Copyright (C) 2016-20
-%% 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-extern}%
-  [2020/02/07 v0.16: dtk package for running external documents (HV)]
-
-\RequirePackage{shellesc,xkeyval,graphicx,marginnote,fancyvrb}
-
-\newcounter{dtk at extern@runs}
-\newlength\LineWidth
-\AtBeginDocument{\setlength\LineWidth{\dimexpr\linewidth-2\fboxsep-2\fboxrule}}
-\newlength\dtk at extern@mpwidth \setlength\dtk at extern@mpwidth{\z@}
-
-\define at key{dtk}{compiler}[pdflatex]{\def\dtk at extern@compiler{#1}}
-\define at key{dtk}{runsequence}[]{\def\dtk at extern@runsequence{#1}}
-\define at key{dtk}{runs}[1]{\setcounter{dtk at extern@runs}{#1}}
-\define at key{dtk}{grfOptions}[]{\def\dtk at extern@grfOptions{#1}}
-\define at key{dtk}{lstOptions}[]{\def\dtk at extern@lstOptions{#1}}
-\define at key{dtk}{docType}[latex]{\def\dtk at extern@docType{#1}}
-\define at key{dtk}{caption}[]{\def\dtk at extern@caption{#1}}
-\define at key{dtk}{label}[]{\def\dtk at extern@label{#1}}
-\define at key{dtk}{pages}[1]{\def\dtk at extern@pages{#1}}
-\define at key{dtk}{mpwidth}[0pt]{\setlength\dtk at extern@mpwidth{#1}}
-\define at boolkey{dtk}[dtk at extern@]{usefancyvrb}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{showFilename}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{code}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{force}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{crop}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{biber}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{xindex}[true]{}
-\define at key{dtk}{xindexOptions}[]{\def\dtk at extern@xindexOptions{#1}}
-\define at boolkey{dtk}[dtk at extern@]{includegraphic}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{inline}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{frame}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{float}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{cleanup}[true]{}
-\define at boolkey{dtk}[dtk at extern@]{copyToExampleDir}[true]{}
-\define at key{dtk}{align}[\centering]{\def\dtk at extern@align{#1}}
-\define at key{dtk}{ExamplesDir}[Examples]{\def\dtk at extern@ExamplesDir{#1}}
-
-\def\ResetKeys{%
- \setkeys{dtk}{
-  showFilename=false,%  Dateinamen im Rand angeben
-  code=false,%          show Code
-  crop=false,%		erzeugte PDF "croppen"
-  compiler=pdflatex,%	zu verwendener Compiler
-  grfOptions={},%	Optionen der einzubindenden Grafik
-  lstOptions={},%	Optionen für das Listing
-  includegraphic=true,% Grafik einbinden oder User überlassen
-  inline=false,%        Grafik nicht in derselben Zeile
-  runs=1,%		Anzahl Compiler-Durchläufe
-  runsequence={},%	Im Moment nicht aktiv
-  biber=false,%		Biber laufen lassen?
-  xindex=false,%	xindex laufen lassen?
-  xindexOptions={},%     options for xindex
-  force=false,%		Compiler, auch wenn PDF existiert?
-  frame=false,%		keinen Rahmen um Abbildung
-  float=false,%		nicht als Gleitumgebung
-  caption=,%	        keine Caption
-  label=,%		kein Label
-  pages=1,%		welche Seiten auszugeben sind
-  docType=latex,%	LaTeX example Code
-  cleanup=false,%	Hilfsdateien nicht löschen
-  copyToExampleDir,%    Kopie nach ExamplesDir
-  ExamplesDir=Examples,% Unterverzeichnis für Beispiele
-  align=\centering,%    Ausgabe zentrieren
-  mpwidth=0pt,%         no minipage
-  usefancyvrb=false,%   use VerbatimInput instead of listings
-  }
-}
-\ResetKeys
-
-{\catcode`\%=12 
- \gdef\perCent{%}
- \gdef\DoubleperCent{%%}
-}
-
-\newcounter{dtk at example@counter}
-
-\newcommand\extern at ExampleType[5]{%
-   \ifdtk at extern@usefancyvrb
-     \@namedef{#1 at initText}{\gdef\FancyVerbStartString{#2}\gdef\FancyVerbStopString{#3}}% text
-     \@namedef{#1 at initPreamble}{\gdef\FancyVerbStartString{#4}\gdef\FancyVerbStopString{#5}}% code
-   \else
-     \@namedef{#1 at initText}{linerange=#2-#3,includerangemarker=false}% text
-     \@namedef{#1 at initPreamble}{linerange=#4-#5,includerangemarker=false}% code
-   \fi
-}
-
-\extern at ExampleType{latex}%               #1
-  {\string\begin\string{document\string}}%       #2
-  {\string\end\string{document\string}}%         #3
-  {\perCent StartVisiblePreamble}% #4
-  {\perCent StopVisiblePreamble}%  #5
-
-\extern at ExampleType{context}
-  {\string\starttext}
-  {\string\stoptext}
-  {\perCent StartVisiblePreamble}
-  {\perCent StopVisiblePreamble}
-
-%%
-%% [#1]: Optionen  #2: Dateiname
-%%
-\newenvironment{ErstelleGrafik}[2][]{%
-   \xdef\dtkExternDateiname{#2-\arabic{dtk at example@counter}}%
-   \typeout{Externer Dateiname: \dtkExternDateiname}%
-   \global\setkeys{dtk}{#1}%                   \begin
-   \expandafter\IfFileExists\expandafter{\dtkExternDateiname.pdf}{}{\setkeys{dtk}{force}}%
-   \begingroup
-   \filecontents[force,noheader]{\dtkExternDateiname.tex}
-  }
-  {\endfilecontents%         \end
-   \ifdtk at extern@copyToExampleDir
-     \ShellEscape{cp\space\dtkExternDateiname.tex \dtk at extern@ExamplesDir/}%
-   \fi
-   \global\stepcounter{dtk at example@counter}%
-   \endgroup
-   \ifdtk at extern@force
-     \loop\ifnum\thedtk at extern@runs>0
-       \typeout{Run: \thedtk at extern@runs\space \dtk at extern@compiler\space\dtkExternDateiname}%
-       \ShellEscape{\dtk at extern@compiler\space\dtkExternDateiname}%
-       \addtocounter{dtk at extern@runs}{-1}%
-     \repeat
-   \fi
-   \ifdtk at extern@code
-      \ifdim\dtk at extern@mpwidth>\z@ \minipage[t]{\dtk at extern@mpwidth}\vspace{0pt}\fi
-        \expandafter\edef\expandafter\dtk at lst@options at preamble\expandafter{%
-          \@nameuse{\dtk at extern@docType @initPreamble},
-          \dtk at extern@lstOptions,
-          backgroundcolor=\noexpand\color{black!12}}%
-          \ifdtk at extern@usefancyvrb
-            \expandafter\VerbatimInput\expandafter[\dtk at lst@options at preamble]{\dtkExternDateiname}%
-          \else
-           \expandafter\lstinputlisting\expandafter[\dtk at lst@options at preamble]{\dtkExternDateiname}%
-          \fi
-        \ifdtk at extern@showFilename
-          \marginnote{\rotatebox{90}{\dtkExternDateiname}}%[-15mm]%
-        \fi
-%     
-      \expandafter\edef\expandafter\dtk at lst@options at text\expandafter{%
-        \@nameuse{\dtk at extern@docType @initText},
-        \dtk at extern@lstOptions,
-        backgroundcolor=\noexpand\color{black!8}}%
-%      \typeout{\dtk at lst@options at text}
-       \ifdtk at extern@usefancyvrb
-         \expandafter\VerbatimInput\expandafter[\dtk at lst@options at text]{\dtkExternDateiname}%
-       \else
-         \expandafter\lstinputlisting\expandafter[\dtk at lst@options at text]{\dtkExternDateiname}%
-       \fi
-     \ifdim\dtk at extern@mpwidth > \z@\relax \endminipage\fi
-   \fi
-   \expandafter\IfFileExists\expandafter{\dtkExternDateiname.pdf}%
-     {\ifdtk at extern@force
-        \ifdtk at extern@biber
-          \ShellEscape{biber  \dtkExternDateiname}%  NAch biber nochmal latex
-          \ShellEscape{\dtk at extern@compiler\space\dtkExternDateiname}%
-        \fi
-        \ifdtk at extern@xindex 
-          \ShellEscape{xindex \dtk at extern@xindexOptions\space \dtkExternDateiname.idx}%  NAch xindex nochmal latex
-          \ShellEscape{\dtk at extern@compiler\space\dtkExternDateiname}%
-        \fi
-        \ifdtk at extern@crop
-          \ShellEscape{pdfcrop \dtkExternDateiname}%
-          \ShellEscape{mv \dtkExternDateiname-crop.pdf \dtkExternDateiname.pdf}%
-        \fi
-      \fi
-     }{}
-   \ifdtk at extern@code\else
-      \ifdtk at extern@showFilename
-        \marginnote{\rotatebox{90}{\dtkExternDateiname}}%
-      \fi
-   \fi
-%
-   \ifdtk at extern@includegraphic
-     \ifdtk at extern@float
-       \begin{figure}[!htb]
-     \else
-       \ifdim\dtk at extern@mpwidth>\z@ 
-         \hfill\minipage[t]{\dimexpr\linewidth-\dtk at extern@mpwidth-1em\relax}\vspace{0pt}
-       \else
-         \ifdtk at extern@inline\else\par\fi\begingroup
-       \fi
-     \fi
-     \dtk at extern@align
-     \ifdtk at extern@frame
-       \expandafter\@for\expandafter\next\expandafter:\expandafter=\dtk at extern@pages\do{%
-          \fbox{\expandafter\includegraphics\expandafter[\dtk at extern@grfOptions,page=\next]{\dtkExternDateiname}}%
-              \hspace{5pt}}\hspace*{-5pt}
-%   \fbox{\expandafter\includegraphics\expandafter[\dtk at extern@grfOptions]{\dtkExternDateiname}}%
-     \else
-       \expandafter\@for\expandafter\next\expandafter:\expandafter=\dtk at extern@pages\do{%
-          \expandafter\includegraphics\expandafter[\dtk at extern@grfOptions,page=\next]{\dtkExternDateiname}%
-              \hspace{5pt}}\hspace*{-5pt}
-%       \expandafter\includegraphics\expandafter[\dtk at extern@grfOptions]{\dtkExternDateiname}%
-     \fi
-     \ifx\dtk at extern@caption\@empty\else\caption{\dtk at extern@caption}\fi
-     \ifx\dtk at extern@label\@empty\else\label{\dtk at extern@label}\fi
-     \ifdtk at extern@float
-       \end{figure}
-     \else
-       \ifdim\dtk at extern@mpwidth>\z@ 
-         \endminipage
-       \else
-         \ifdtk at extern@inline\else\par\fi\endgroup
-       \fi
-     \fi
-   \fi
-   \ifdtk at extern@cleanup
-      \ShellEscape{rm \dtkExternDateiname.log}%
-      \ShellEscape{rm \dtkExternDateiname.aux}%
-      \ShellEscape{rm \dtkExternDateiname.toc}%
-%      \ShellEscape{rm \dtkExternDateiname.log}%
-   \fi
-   \global\ResetKeys}
-\stepcounter{dtk at example@counter}%
-%
-\let\externalDocument\ErstelleGrafik
-\let\endexternalDocument\endErstelleGrafik
-%%
-\endinput

Modified: trunk/Master/texmf-dist/tex/latex/dtk/dtk-full.clo
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk-full.clo	2022-04-29 21:14:42 UTC (rev 63178)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk-full.clo	2022-04-29 21:15:04 UTC (rev 63179)
@@ -30,6 +30,8 @@
 % standardmäßig ungünstige Defionition in luatex85
 \RequirePackage[showzone=false]{datetime2}
 
+\newcounter{dtk at example@counter}
+
 \newcommand*\AutorenListenName{Autoren/Organisatoren} % auch »Stichwortverzeichnis«?
 \newcommand*\DTK at fancyJournalname{%
   \color{DTK at fancy}Die \color{black}\TeX\color{DTK at fancy}nische Kom\"odie}

Modified: trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls	2022-04-29 21:14:42 UTC (rev 63178)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls	2022-04-29 21:15:04 UTC (rev 63179)
@@ -2,7 +2,7 @@
 %%
 %% LaTeX Class for ``Die TeXnische Komoedie''.
 %%
-%% Copyright (C) 2015-2021
+%% Copyright (C) 2015-2022
 %% Rolf Niepraschk, Herbert Voss
 %%
 %% It may be distributed and/or modified under the
@@ -23,8 +23,8 @@
 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 
-\def\DTKversion{2.08l}
-\def\DTKversiondate{2022/03/10}
+\def\DTKversion{2.08m}
+\def\DTKversiondate{2022/04/29}
 \ProvidesClass{dtk}[\DTKversiondate v\DTKversion dtk documentclass (RN)]
 
 \@ifpackagelater{iftex}{2019/10/24}{% 
@@ -119,7 +119,7 @@
 
 \RequirePackage{scrhack}% Andere Pakete KOMA-Script-freundlich machen
 
-\RequirePackage{dtk-extern}
+\RequirePackage{hvextern}
 
 % http://www.komascript.de/release3.18
 \Ifstr{\KOMAScriptVersion}{2015/07/02 v3.18 KOMA-Script}{%
@@ -367,7 +367,8 @@
 \colorlet{DTKlstNumbers}{black}
 \newcommand*\DTKlstKeywordfont{\bfseries}
 
-\RequirePackage[final]{listings}
+%\RequirePackage[final]{listings}
+\PassOptionsToPackage{final}{listings}
 \RequirePackage{lstautogobble}
 
 \@ifundefined{ifDTKrecord}{\newif\ifDTKrecord \DTKrecordfalse}{}



More information about the tex-live-commits mailing list.