texlive[43744] Master/texmf-dist: dtk
commits+karl at tug.org
commits+karl at tug.org
Tue Apr 11 00:03:23 CEST 2017
Revision: 43744
http://tug.org/svn/texlive?view=revision&revision=43744
Author: karl
Date: 2017-04-11 00:03:23 +0200 (Tue, 11 Apr 2017)
Log Message:
-----------
dtk
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-logos.sty
trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/dtk/doc/dtk-extern-test.tex
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/beispiel.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex 2017-04-10 22:03:09 UTC (rev 43743)
+++ trunk/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex 2017-04-10 22:03:23 UTC (rev 43744)
@@ -11,14 +11,14 @@
\begin{document}
\title{Die \texttt{dtk}-Klasse, Version \DTKversion -- \DTKversiondate}
-\Author{Herbert}{Voß}
- {Wasgenstraße~21\\
+\Author{Mustermann}{Max}%
+ {Dorfstraße~1\\
14129 Berlin\\
- \Email{herbert at dante.de}}
-\Author{Rolf}{Niepraschk}%
- {Persiusstr.~12\\
+ \Email{Max.Mustermann at xyz.de}}
+\Author{Peter}{Silie}%
+ {Hauptstr.~2\\
10245~Berlin\\
- \Email{Rolf.Niepraschk at gmx.de}}
+ \Email{Peter.Silie at abc.de}}
\maketitle
\section{Makros}
Added: trunk/Master/texmf-dist/doc/latex/dtk/doc/dtk-extern-test.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dtk/doc/dtk-extern-test.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/dtk/doc/dtk-extern-test.tex 2017-04-10 22:03:23 UTC (rev 43744)
@@ -0,0 +1,106 @@
+\documentclass[ngerman]{dtk}
+\ifluatex\else
+ \usepackage[utf8]{inputenc}
+\fi
+
+% lualatex --shell-escape dtk-extern-test.tex
+
+\usepackage{dtk-extern}
+
+\begin{document}
+
+
+\begin{minipage}{.3\linewidth}
+\begin{ErstelleGrafik}[grfOptions={width=0.5\linewidth},compiler=pdflatex]{Roemer1}
+\documentclass{standalone}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{libertine}
+\usepackage[linguistics]{forest}
+\forestapplylibrarydefaults{linguistics, edges}
+\begin{document}
+\begin{forest}
+[VP
+ [DP]
+ [V’
+ [V]
+ [DP]
+ ]
+]
+\end{forest}
+\end{document}
+\end{ErstelleGrafik}
+\end{minipage}
+\begin{minipage}{.3\linewidth}
+\begin{lstlisting}
+\begin{forest}
+[VP
+ [DP]
+ [V’
+ [V]
+ [DP]
+ ]
+]
+\end{forest}
+\end{lstlisting}
+\end{minipage} \quad oder \quad
+\begin{minipage}{.2\linewidth}
+\begin{lstlisting}
+\Forest*{
+[VP
+ [DP]
+ [V’
+ [V]
+ [DP]
+ ]
+]
+}
+\end{lstlisting}
+\end{minipage}
+
+
+\begin{minipage}{0.35\textwidth}
+\begin{ErstelleGrafik}[grfOptions={width=\linewidth},compiler=xelatex,crop]{Senger3}
+\documentclass{article}
+\usepackage{tikz}
+\usepackage[hks,pantone,xcolor]{xespotcolor}
+\pagestyle{empty}
+\begin{document}
+\SetPageColorSpace{HKS}
+\definecolor{HYellow}{spotcolor}{HKS05N,0.5}
+\definecolor{HRed}{spotcolor}{HKS14N,0.5}
+\definecolor{HBlue}{spotcolor}{HKS38N,0.5}
+\begin{tikzpicture}[scale=0.7,fill opacity=0.7]
+ \fill[HYellow] ( 90:1.2) circle (2);
+ \fill[HRed] (210:1.2) circle (2);
+ \fill[HBlue] (330:1.2) circle (2);
+ \node at ( 90:2) {Typography};
+\node at ( 210:2) {Design};
+\node at ( 330:2) {Coding};
+\node {\LaTeX};
+\end{tikzpicture}
+\end{document}
+\end{ErstelleGrafik}
+\end{minipage}
+\hfill
+\begin{minipage}{0.64\textwidth}
+\begin{lstlisting}
+\SetPageColorSpace{HKS}
+\definecolor{HYellow}{spotcolor}{HKS05N,0.5}
+\definecolor{HRed}{spotcolor}{HKS14N,0.5}
+\definecolor{HBlue}{spotcolor}{HKS38N,0.5}
+\begin{tikzpicture}[scale=0.7,fill opacity=0.7]
+\fill[HYellow]( 90:1.2) circle (2);
+\fill[HRed] (210:1.2) circle (2);
+\fill[HBlue] (330:1.2) circle (2);
+\node at ( 90:2) {Typography};
+\node at ( 210:2) {Design};
+\node at ( 330:2) {Coding};
+\node {\LaTeX};
+\end{tikzpicture}
+\end{lstlisting}
+\end{minipage}
+
+\end{document}
+
+
Property changes on: trunk/Master/texmf-dist/doc/latex/dtk/doc/dtk-extern-test.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/dtk/dtk-extern.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk-extern.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk-extern.sty 2017-04-10 22:03:23 UTC (rev 43744)
@@ -0,0 +1,102 @@
+%% This is file `dtk-extern.sty',
+%%
+%% LaTeX package for ``Die TeXnische Komoedie''.
+%%
+%% Copyright (C) 2016-
+%% 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}%
+ [2016/08/04 v0.03 dtk package for running external documents (HV)]
+
+\RequirePackage{shellesc,filecontents,xkeyval,graphicx}
+
+\newcounter{dtk at extern@runs}
+\define at key{dtk}{compiler}[pdflatex]{\gdef\dtk at extern@compiler{#1}}
+\define at key{dtk}{runsequence}[]{\gdef\dtk at extern@runsequence{#1}}
+\define at key{dtk}{runs}[1]{\setcounter{dtk at extern@runs}{#1}}
+\define at key{dtk}{grfOptions}[]{\gdef\dtk at extern@grfOptions{#1}}
+\define at key{dtk}{lstOptions}[]{\gdef\dtk at extern@lstOptions{#1}}
+\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@]{includegraphic}[true]{}
+\define at boolkey{dtk}[dtk at extern@]{frame}[true]{}
+\define at boolkey{dtk}[dtk at extern@]{float}[true]{}
+\setkeys{dtk}{
+ 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
+ runs=1,% Anzahl Compiler-Durchläufe
+ runsequence={},% Im Moment nicht aktiv
+ biber=false,% Biber laufen lassen?
+ force=false,% Compiler, auch wenn PDF existiert?
+ frame=false,% keinen Rahmen um Abbildung
+ float=false,% nicht als Gleitumgebung
+ }
+\def\ResetKeys{%
+ \setkeys{dtk}{
+ 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
+ runs=1,% Anzahl Compiler-Durchläufe
+ runsequence={},% Im Moment nicht aktiv
+ biber=false,% Biber laufen lassen?
+ force=false,% Compiler, auch wenn PDF existiert?
+ frame=false,% keinen Rahmen um Abbildung
+ float=false,% nicht als Gleitumgebung
+ }
+}
+%%
+%% [#1]: Optionen #2: Dateiname
+%%
+\newenvironment{ErstelleGrafik}[2][]
+ {\global\setkeys{dtk}{#1}% \begin
+ \gdef\dtk at extern@dateiname{#2}%
+ \typeout{Externer Dateiname: \dtk at extern@dateiname}%
+ \@nameuse{filecontents*}{#2.tex}}
+ {\@nameuse{endfilecontents*}% \end
+ \loop\ifnum\thedtk at extern@runs>0
+ \typeout{Run: \thedtk at extern@runs\space \dtk at extern@compiler\space\dtk at extern@dateiname}%
+ \ShellEscape{\dtk at extern@compiler\space\dtk at extern@dateiname}%
+ \addtocounter{dtk at extern@runs}{-1}%
+ \repeat
+ \ifdtk at extern@code\expandafter\lstinputlisting\expandafter[\dtk at extern@lstOptions]{\dtk at extern@dateiname}\fi
+ \expandafter\IfFileExists\expandafter{\dtk at extern@dateiname.pdf}%
+ {\ifdtk at extern@force
+ \ifdtk at extern@biber
+ \ShellEscape{biber \dtk at extern@dateiname}% NAch biber nochmal latex
+ \ShellEscape{\dtk at extern@compiler\space\dtk at extern@dateiname}%
+ \fi
+ \ifdtk at extern@crop
+ \ShellEscape{pdfcrop \dtk at extern@dateiname}%
+ \ShellEscape{mv \dtk at extern@dateiname-crop.pdf \dtk at extern@dateiname.pdf}%
+ \fi
+ \fi
+ }{}
+ \ifdtk at extern@includegraphic
+ \ifdtk at extern@float\begin{figure}[!htb]\fi
+ \ifdtk at extern@frame
+ \fbox{\expandafter\includegraphics\expandafter[\dtk at extern@grfOptions]{\dtk at extern@dateiname}}%
+ \else
+ \expandafter\includegraphics\expandafter[\dtk at extern@grfOptions]{\dtk at extern@dateiname}%
+ \fi
+ \ifdtk at extern@float\end{figure}\fi
+ \fi
+ \global\ResetKeys}
+%
+\endinput
Property changes on: trunk/Master/texmf-dist/tex/latex/dtk/dtk-extern.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/dtk/dtk-logos.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk-logos.sty 2017-04-10 22:03:09 UTC (rev 43743)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk-logos.sty 2017-04-10 22:03:23 UTC (rev 43744)
@@ -4,7 +4,7 @@
%%
%% LaTeX Class for ``Die TeXnische Komoedie''.
%%
-%% Copyright (C) 2015-
+%% Copyright (C) 2017
%% Herbert Voss
%%
%% It may be distributed and/or modified under the
@@ -18,9 +18,9 @@
% $Id: deLogos.sty 188 2015-10-08 20:06:29Z herbert $
%
% -------------------------------------
-\ProvidesPackage{dtk-logos}[2015/10/21 Dante Edition: Logos (hv)]
+\ProvidesPackage{dtk-logos}[2017/03/20 v. 1.00 Dante Edition: Logos (hv)]
%
-\RequirePackage{hologo,dantelogo}
+\RequirePackage{hologo,dantelogo,fontspec}
%
\def\HoLogo at La#1{%
L%
@@ -120,5 +120,11 @@
\let\biblatex\BibLaTeX
\def\CTAN{\texttt{CTAN}\xspace}
+\iffalse
+\newfontfamily\LinWikipedia{LinLibertine_R_G}[Extension=.ttf,
+ Path=/usr/local/texlive/texmf-local/fonts/opentype/libertine/]
+\def\WikipediA{{\LinWikipedia\char"E02F\textsc{ikipediA}}} % dezimal
+\let\wikipedia\WikipediA
+\fi
\endinput
Modified: trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls 2017-04-10 22:03:09 UTC (rev 43743)
+++ trunk/Master/texmf-dist/tex/latex/dtk/dtk.cls 2017-04-10 22:03:23 UTC (rev 43744)
@@ -21,8 +21,8 @@
\HyphSubstIfExists{german-x-latest}{%
\HyphSubstLet{german}{german-x-latest}}{}
-\def\DTKversion{2.06}
-\def\DTKversiondate{2016/12/06}
+\def\DTKversion{2.07}
+\def\DTKversiondate{2017/04/02}
\ProvidesClass{dtk}[\DTKversiondate v\DTKversion dtk documentclass (RN)]
\RequirePackage{ifxetex,ifluatex,ifpdf,ifvtex,luatex85}
@@ -254,6 +254,8 @@
\ifx\relax#1\relax\gdef\@@title{#2}\else\gdef\@@title{#1}\fi%
}
+\let\DTK at thispagestyle=\thispagestyle
+
\newcommand\DTK at maketitle[1][]{%
\begingroup
\dimen0=\textheight
@@ -269,6 +271,7 @@
\usekomafont{author}\lineskip 0.75em %
\begin{tabular}[t]{@{}c@{}}\@author\end{tabular}\par
\endgroup
+ \DTK at thispagestyle{plain.scrheadings}%
\@thanks
\global\let\@thanks=\@empty
\global\let\@title=\@empty
More information about the tex-live-commits
mailing list