summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/struktex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
commitb4fc5f639874db951177ec539299d20908adb654 (patch)
tree52f08823ca58fffe3db6a9b075635038c567626c /Master/texmf-dist/doc/latex/struktex
parentdec3d98ebe442d7ea93efbaa8dd2e2be8149a467 (diff)
doc 4
git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/struktex')
-rw-r--r--Master/texmf-dist/doc/latex/struktex/LIESMICH23
-rw-r--r--Master/texmf-dist/doc/latex/struktex/README28
-rw-r--r--Master/texmf-dist/doc/latex/struktex/getversion.tex8
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex-test-0.nss20
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex-test-1.pdfbin0 -> 22964 bytes
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex-test-1.tex46
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex-test-2.pdfbin0 -> 24648 bytes
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex-test-2.tex58
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex-test-3.pdfbin0 -> 56828 bytes
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex246
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex.de.pdfbin0 -> 307053 bytes
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex.en.pdfbin0 -> 291719 bytes
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex.makemake2
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex.mk195
14 files changed, 626 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/struktex/LIESMICH b/Master/texmf-dist/doc/latex/struktex/LIESMICH
new file mode 100644
index 00000000000..3ac4380bf25
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/LIESMICH
@@ -0,0 +1,23 @@
+#
+# $Revision: 1.3 $
+#
+Das LaTeX-Paket "struktex.dtx" enthaelt Makros zur Erzeugung von
+Nassi-Shneidermann-Struktogrammen.
+
+Es besteht aus sechs Dateien:
+ LIESMICH - diese Datei
+ README - diese Datei in einer englischen Version
+ struktex.dtx - das eigentliche Paket mit integrierter zweisprachiger
+ Dokumentation
+ struktex.ins - das Installationsskript
+ struktex.de.pdf - die Dokumentation in deutscher Sprache
+ struktex.en.pdf - die Dokumentation in englischer Sprache
+
+Weitere Informationen sind der Dokumentation zu entnehmen.
+
+Hinweise auf Fehler nehme ich genauso wie Vorschlaege fuer die weitere
+Entwicklung gerne entgegen unter j.hoffmann@fh-aachen.de.
+
+Diese Dateien unterliegen der LaTeX Project Public License.
+Vgl. http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
+zu Details dieser Lizens.
diff --git a/Master/texmf-dist/doc/latex/struktex/README b/Master/texmf-dist/doc/latex/struktex/README
new file mode 100644
index 00000000000..f34ba08ef2a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/README
@@ -0,0 +1,28 @@
+#
+# $Revision: 1.3 $
+#
+The LaTeX package "struktex.dtx" contains some macros which
+generate Nassi Shneidermann structure charts
+
+It consists of six files:
+ LIESMICH - this file in a german version
+ README - this file
+ struktex.dtx - the actual package with integrated bi-lingual
+ documentation
+ struktex.ins - the installation script
+ struktex.de.pdf - the documentation in german language
+ struktex.en.pdf - the documentation in english language
+
+For further information see the documentation.
+
+At this moment the english documentation is very erroneous, I'm not an english
+native speaker and some times I've missed updating the translation (the
+package first was intended for internal use only). But I think the examples are
+very helpful and speaking for themselves.
+
+Any hint as well as any proposal for further development are welcome at my
+email-address j.hoffmann@fh-aachen.de.
+
+This material is subject to the LaTeX Project Public License.
+See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
+for the details of that license.
diff --git a/Master/texmf-dist/doc/latex/struktex/getversion.tex b/Master/texmf-dist/doc/latex/struktex/getversion.tex
new file mode 100644
index 00000000000..55054ff3256
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/getversion.tex
@@ -0,0 +1,8 @@
+
+\documentclass[english]{ltxdoc}
+\nofiles
+\usepackage{struktex}
+\GetFileInfo{struktex.sty}
+\typeout{VERSION \fileversion}
+\begin{document}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex-test-0.nss b/Master/texmf-dist/doc/latex/struktex/struktex-test-0.nss
new file mode 100644
index 00000000000..248a0add57f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex-test-0.nss
@@ -0,0 +1,20 @@
+%%
+%% This is file `struktex-test-0.nss',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% struktex.dtx (with options: `example1')
+%%
+\begin{struktogramm}(95,40)[Text]
+ \case[10]{3}{3}{Signum(x)}{-1}
+ \assign{\(z \gets - \frac{1}{x}\)}
+ \switch{0}
+ \assign{Ausgabe: Division durch 0}
+ \switch[r]{1}
+ \assign{\(z \gets \frac{1}{x}\)} \caseend
+\end{struktogramm}
+%%
+%%
+%%
+%% End of file `struktex-test-0.nss'.
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex-test-1.pdf b/Master/texmf-dist/doc/latex/struktex/struktex-test-1.pdf
new file mode 100644
index 00000000000..9996b77cf17
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex-test-1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex-test-1.tex b/Master/texmf-dist/doc/latex/struktex/struktex-test-1.tex
new file mode 100644
index 00000000000..6473d80cca5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex-test-1.tex
@@ -0,0 +1,46 @@
+%%
+%% This is file `struktex-test-1.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% struktex.dtx (with options: `example2')
+%%
+\documentclass{article}
+\usepackage{struktex}
+
+\begin{document}
+
+\begin{struktogramm}(90,137)
+ \assign%
+ {
+ \begin{declaration}[]
+ \description{\(a, b, c\)}{three variables which are to be sorted}
+ \description{\(tmp\)}{temporary variable for the circular swap}
+ \end{declaration}
+ }
+ \ifthenelse{1}{2}{\(a\le c\)}{j}{n}
+ \change
+ \assign{\(tmp\gets a\)}
+ \assign{\(a\gets c\)}
+ \assign{\(c\gets tmp\)}
+ \ifend
+ \ifthenelse{2}{1}{\(a\le b\)}{j}{n}
+ \ifthenelse{1}{1}{\(b\le c\)}{j}{n}
+ \change
+ \assign{\(tmp\gets c\)}
+ \assign{\(c\gets b\)}
+ \assign{\(b\gets tmp\)}
+ \ifend
+ \change
+ \assign{\(tmp\gets a\)}
+ \assign{\(a\gets b\)}
+ \assign{\(b\gets tmp\)}
+ \ifend
+\end{struktogramm}
+
+\end{document}
+%%
+%%
+%%
+%% End of file `struktex-test-1.tex'.
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex-test-2.pdf b/Master/texmf-dist/doc/latex/struktex/struktex-test-2.pdf
new file mode 100644
index 00000000000..05399c865aa
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex-test-2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex-test-2.tex b/Master/texmf-dist/doc/latex/struktex/struktex-test-2.tex
new file mode 100644
index 00000000000..305fc95e88a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex-test-2.tex
@@ -0,0 +1,58 @@
+%%
+%% This is file `struktex-test-2.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% struktex.dtx (with options: `example3')
+%%
+%%
+\documentclass{article}
+\usepackage[pict2e, verification]{struktex}
+
+\begin{document}
+\def\StruktBoxHeight{7}
+\begin{struktogramm}(90,137)
+ \assign%
+ {
+ \begin{declaration}[]
+ \description{\(a, b, c\)}{three variables which are to be sorted}
+ \description{\(tmp\)}{temporary variable for the circular swap}
+ \end{declaration}
+ }
+ \assert[\StruktBoxHeight]{\sTrue}
+ \ifthenelse[\StruktBoxHeight]{1}{2}{\(a\le c\)}{j}{n}
+ \assert[\StruktBoxHeight]{\(a\le c\)}
+ \change
+ \assert[\StruktBoxHeight]{\(a>c\)}
+ \assign[\StruktBoxHeight]{\(tmp\gets a\)}
+ \assign[\StruktBoxHeight]{\(a\gets c\)}
+ \assign[\StruktBoxHeight]{\(c\gets tmp\)}
+ \assert[\StruktBoxHeight]{\(a<c\)}
+ \ifend
+ \assert[\StruktBoxHeight]{\(a\le c\)}
+ \ifthenelse[\StruktBoxHeight]{2}{1}{\(a\le b\)}{j}{n}
+ \assert[\StruktBoxHeight]{\(a\le b \wedge a\le c\)}
+ \ifthenelse[\StruktBoxHeight]{1}{1}{\(b\le c\)}{j}{n}
+ \assert[\StruktBoxHeight]{\(a\le b \le c\)}
+ \change
+ \assert[\StruktBoxHeight]{\(a \le c<b\)}
+ \assign[\StruktBoxHeight]{\(tmp\gets c\)}
+ \assign[\StruktBoxHeight]{\(c\gets b\)}
+ \assign[\StruktBoxHeight]{\(b\gets tmp\)}
+ \assert[\StruktBoxHeight]{\(a\le b<c\)}
+ \ifend
+ \change
+ \assert[\StruktBoxHeight]{\(b < a\le c\)}
+ \assign[\StruktBoxHeight]{\(tmp\gets a\)}
+ \assign[\StruktBoxHeight]{\(a\gets b\)}
+ \assign[\StruktBoxHeight]{\(b\gets tmp\)}
+ \assert[\StruktBoxHeight]{\(a<b\le c\)}
+ \ifend
+ \assert[\StruktBoxHeight]{\(a\le b \le c\)}
+\end{struktogramm}
+
+\end{document}
+%%
+%%
+%% End of file `struktex-test-2.tex'.
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex-test-3.pdf b/Master/texmf-dist/doc/latex/struktex/struktex-test-3.pdf
new file mode 100644
index 00000000000..001f06b653a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex-test-3.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex b/Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex
new file mode 100644
index 00000000000..a68a5ed8724
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex
@@ -0,0 +1,246 @@
+%%
+%% This is file `struktex-test-3.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% struktex.dtx (with options: `example4')
+%%
+%%
+\documentclass{article}
+
+\usepackage{struktxp,struktxf}
+
+\nofiles
+
+\begin{document}
+
+\pLanguage{Pascal}
+\section*{Default values (Pascal):}
+
+{\obeylines
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{After changing the boolean values with}
+\verb-\pBoolValue{yes}{no}-:
+
+{\obeylines
+\pBoolValue{yes}{no}
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\sffamily\bfseries}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\sffamily\bfseries}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}-:
+
+{\obeylines
+\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\bfseries\itshape}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\bfseries\itshape}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+
+\vspace{15pt}
+Without \textit{italic correction}:
+ M \pVar{M} M \pKey{M} M. \pVar{M}. M. \pKey{M}. M.
+}
+
+\pLanguage{C}
+\pBoolValue{\texttt{WAHR}}{\texttt{FALSCH}}
+\section*{Default values (C):}
+
+{\obeylines
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{After changing the boolean values with}
+\verb-\pBoolValue{\texttt{yes}}{\texttt{no}}-:
+
+{\obeylines
+\pBoolValue{\texttt{yes}}{\texttt{no}}
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\sffamily\bfseries}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\sffamily\bfseries}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}-:
+
+{\obeylines
+\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\bfseries\itshape}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\bfseries\itshape}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+
+\vspace{15pt}
+Without \textit{italic correction}:
+ M \pVar{M} M \pKey{M} M. \pVar{M}. M. \pKey{M}. M.
+}
+
+\pLanguage{Java}
+\pBoolValue{\texttt{WAHR}}{\texttt{FALSCH}}
+\section*{Default values (Java):}
+
+{\obeylines
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{After changing the boolean values with}
+\verb-\pBoolValue{\texttt{yes}}{\texttt{no}}-:
+
+{\obeylines
+\pBoolValue{\texttt{yes}}{\texttt{no}}
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\sffamily\bfseries}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\sffamily\bfseries}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}-:
+
+{\obeylines
+\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\bfseries\itshape}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\bfseries\itshape}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+
+\vspace{15pt}
+Without \textit{italic correction}:
+ M \pVar{M} M \pKey{M} M. \pVar{M}. M. \pKey{M}. M.
+}
+
+\pLanguage{Python}
+\pBoolValue{\texttt{WAHR}}{\texttt{FALSCH}}
+\section*{Default values (Python):}
+
+{\obeylines
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{After changing the boolean values with}
+\verb-\pBoolValue{\texttt{yes}}{\texttt{no}}-:
+
+{\obeylines
+\pBoolValue{\texttt{yes}}{\texttt{no}}
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\sffamily\bfseries}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\sffamily\bfseries}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}-:
+
+{\obeylines
+\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\bfseries\itshape}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\bfseries\itshape}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+
+\vspace{15pt}
+Without \textit{italic correction}:
+ M \pVar{M} M \pKey{M} M. \pVar{M}. M. \pKey{M}. M.
+}
+
+\end{document}
+%%
+%% End of file `struktex-test-2.tex'.
+%%
+%%
+%% End of file `struktex-test-3.tex'.
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex.de.pdf b/Master/texmf-dist/doc/latex/struktex/struktex.de.pdf
new file mode 100644
index 00000000000..18c812eab5b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex.de.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex.en.pdf b/Master/texmf-dist/doc/latex/struktex/struktex.en.pdf
new file mode 100644
index 00000000000..bae72de7690
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex.en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex.makemake b/Master/texmf-dist/doc/latex/struktex/struktex.makemake
new file mode 100644
index 00000000000..dedb94aca3c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex.makemake
@@ -0,0 +1,2 @@
+
+sed -e "`echo \"s/^ /@/g\" | tr '@' '\011'`" struktex.mk > Makefile
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex.mk b/Master/texmf-dist/doc/latex/struktex/struktex.mk
new file mode 100644
index 00000000000..d30263a2e3c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex.mk
@@ -0,0 +1,195 @@
+
+#-----------------------------------------------------------------------
+# Purpose: generation of the documentation of the struktex package
+# Notice: this file can be used only with dmake and the option "-B";
+# this option lets dmake interpret the leading spaces as
+# distinguishing characters for commands in the make rules.
+#
+# Rules:
+# - all-de: generate all the files and the (basic) german
+# documentation
+# - all-en: generate all the files and the (basic) english
+# documentation
+# - test: format the examples
+# - history: generate the documentation with revision
+# history
+# - develop-de: generate the german documentation with revision
+# history and source code
+# - develop-en: generate the english documentation with
+# revision history and source code
+# - realclean
+# - clean
+# - clean-example
+#
+# Author: Jobst Hoffmann, Fachhochschule Aachen, Abt. Juelich
+# Date: 2003/04/18
+#-----------------------------------------------------------------------
+
+# The texmf-directory, where to install new stuff (see texmf.cnf)
+# If you don't know what to do, search for directory texmf at /usr.
+# With teTeX and linux often one of following is used:
+#INSTALLTEXMF=/usr/TeX/texmf
+#INSTALLTEXMF=/usr/local/TeX/texmf
+#INSTALLTEXMF=/usr/share/texmf
+#INSTALLTEXMF=/usr/local/share/texmf
+# user tree:
+#INSTALLTEXMF=$(HOME)/texmf
+# Try to use user's tree known by kpsewhich:
+INSTALLTEXMF=`kpsewhich --expand-var '$$HOMETEXMF'`
+# Try to use the local tree known by kpsewhich:
+#INSTALLTEXMF=`kpsewhich --expand-var '$$TEXMFLOCAL'`
+# But you may set INSTALLTEXMF to every directory you want.
+# Use following, if you only want to test the installation:
+#INSTALLTEXMF=/tmp/texmf
+
+# If texhash must run after installation, you can invoke this:
+TEXHASH=texhash
+
+######### Edit following only, if you want to change defaults!
+
+# The directory, where to install *.cls and *.sty
+CLSDIR=$(INSTALLTEXMF)/tex/latex/jhf/$(PACKAGE)
+
+# The directory, where to install documentation
+DOCDIR=$(INSTALLTEXMF)/doc/latex/jhf/$(PACKAGE)
+
+# The directory, where to install the sources
+SRCDIR=$(INSTALLTEXMF)/source/latex/jhf/$(PACKAGE)
+
+# The directory, where to install demo-files
+# If we have some, we have to add following 2 lines to install rule:
+# $(MKDIR) $(DEMODIR); \
+# $(INSTALL) $(DEMO_FILES) $(DEMODIR); \
+DEMODIR=$(DOCDIR)/demo
+
+# We need this, because the documentation needs the classes and packages
+# It's not really a good solution, but it's a working solution.
+TEXINPUTS := $(PWD):$(TEXINPUTS)
+
+########################################################################
+# End of customization section
+########################################################################
+
+DVIPS = dvips
+LATEX = latex
+PDFLATEX = pdflatex
+
+# postscript viewer
+GV = gv
+
+COMMON_OPTIONS = \OnlyDescription\CodelineNumbered
+HISTORY_OPTIONS = \RecordChanges
+DEVELOPER_OPTIONS = \EnableCrossrefs\RecordChanges\AlsoImplementation\CodelineIndex
+
+PACKAGE = struktex
+
+all-de: $(PACKAGE).de.pdf
+
+all-en: $(PACKAGE).en.pdf
+
+# strip off the comments from the package
+$(PACKAGE).sty $(PACKAGE)-test-*.tex: $(PACKAGE).dtx
+
+$(PACKAGE).sty $(PACKAGE)-test-*.tex: $(PACKAGE).ins
+ +$(LATEX) $<
+
+# generate the documentation
+$(PACKAGE).dvi: $(PACKAGE).sty
+
+$(PACKAGE).de.dvi: $(PACKAGE).dtx
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)}\input{$<}"
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)}\input{$<}"
+ +mv $(<:.dtx=.dvi) $(<:.dtx=.de.dvi)
+
+$(PACKAGE).de.pdf: $(PACKAGE).dtx
+ +$(PDFLATEX) "\AtBeginDocument{$(COMMON_OPTIONS)}\input{$<}"
+ +$(PDFLATEX) "\AtBeginDocument{$(COMMON_OPTIONS)}\input{$<}"
+ +mv $(<:.dtx=.pdf) $(<:.dtx=.de.pdf)
+
+$(PACKAGE).en.dvi: $(PACKAGE).dtx
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)}\def\selectlanguageEnglish{}\input{$<}"
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)}\def\selectlanguageEnglish{}\input{$<}"
+ +mv $(<:.dtx=.dvi) $(<:.dtx=.en.dvi)
+
+$(PACKAGE).en.pdf: $(PACKAGE).dtx
+ +$(PDFLATEX) "\AtBeginDocument{$(COMMON_OPTIONS)}\def\selectlanguageEnglish{}\input{$<}"
+ +$(PDFLATEX) "\AtBeginDocument{$(COMMON_OPTIONS)}\def\selectlanguageEnglish{}\input{$<}"
+ +mv $(<:.dtx=.pdf) $(<:.dtx=.en.pdf)
+
+# generate the documentation with revision history (only german)
+history: $(PACKAGE).dtx
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)$(HISTORY_OPTIONS)}\input{$<}"
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)$(HISTORY_OPTIONS)}\input{$<}"
+ +makeindex -s gind.ist $(PACKAGE).idx
+ +makeindex -s gglo.ist -o $(PACKAGE).gls -t $(PACKAGE).glg $(PACKAGE).glo
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)$(HISTORY_OPTIONS)}\input{$<}"
+
+# generate the documentation for the developer (revision history always
+# in german)
+develop-de: $(PACKAGE).dtx
+ +$(LATEX) "\AtBeginDocument{$(HISTORY_OPTIONS)$(DEVELOPER_OPTIONS)}\input{$<}"
+ +$(LATEX) "\AtBeginDocument{$(HISTORY_OPTIONS)$(DEVELOPER_OPTIONS)}\input{$<}"
+ +makeindex -s gind.ist $(PACKAGE).idx
+ +makeindex -s gglo.ist -o $(PACKAGE).gls -t $(PACKAGE).glg $(PACKAGE).glo
+ +$(LATEX) "\AtBeginDocument{$(HISTORY_OPTIONS)$(DEVELOPER_OPTIONS)}\input{$<}"
+ifneq (,$(findstring pdf,$(LATEX)))
+ +mv $(<:.dtx=.pdf) $(<:.dtx=.de.pdf)
+else
+ +mv $(<:.dtx=.dvi) $(<:.dtx=.de.dvi)
+endif
+
+develop-en: $(PACKAGE).dtx
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)$(DEVELOPER_OPTIONS)}\def\selectlanguageEnglish{}\input{$<}"
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)$(DEVELOPER_OPTIONS)}\def\selectlanguageEnglish{}\input{$<}"
+ +makeindex -s gind.ist $(PACKAGE).idx
+ +makeindex -s gglo.ist -o $(PACKAGE).gls -t $(PACKAGE).glg $(PACKAGE).glo
+ +$(LATEX) "\AtBeginDocument{$(COMMON_OPTIONS)$(DEVELOPER_OPTIONS)}\def\selectlanguageEnglish{}\input{$<}"
+ifneq (,$(findstring pdf,$(LATEX)))
+ +mv $(<:.dtx=.pdf) $(<:.dtx=.en.pdf)
+else
+ +mv $(<:.dtx=.dvi) $(<:.dtx=.en.dvi)
+endif
+
+# format the example/test files
+test:
+ for i in `seq 1 3`; do \
+ f=$(PACKAGE)-test-$$i; \
+ echo file: $$f; \
+ $(LATEX) $$f; \
+ $(DVIPS) -o $$f.ps $$f.dvi; \
+ $(GV) $$f.ps \&; \
+ done
+
+install: $(PACKAGE).dtx $(PACKAGE).dvi
+ [ -d $(CLSDIR) ] || mkdir -p $(CLSDIR)
+ [ -d $(DOCDIR) ] || mkdir -p $(DOCDIR)
+ [ -d $(SRCDIR) ] || mkdir -p $(SRCDIR)
+ cp $(PACKAGE).sty $(CLSDIR)
+ cp $(PACKAGE).dvi $(DOCDIR)
+ cp $(PACKAGE).ins $(SRCDIR)
+ cp $(PACKAGE).dtx $(SRCDIR)
+ cp $(PACKAGE)-test-*.tex $(SRCDIR)
+ cp LIESMICH $(SRCDIR)
+ cp README $(SRCDIR)
+ cp THIS-IS-VERSION-$(VERSION) $(SRCDIR)
+
+uninstall:
+ rm -f $(CLSDIR)/$(PACKAGE).sty
+ rm -fr $(DOCDIR)
+ rm -fr $(SRCDIR)
+
+pack: $(PACKAGE).de.pdf $(PACKAGE).en.pdf $(PACKAGE).dtx $(PACKAGE).ins \
+LIESMICH README
+ + tar cfvz $(PACKAGE).tgz $^
+
+clean:
+ -rm -f *.log *.aux *.brf *.idx *.ilg *.ind
+ -rm -f *.glg *.glo *.gls *.lof *.lot *.out *.toc *.tmp *~
+ -rm *.mk *.makemake
+
+realclean: clean
+ -rm -f *.sty *.cls *.ps *.dvi *.pdf
+ -rm -f *test* getversion.* Makefile
+
+clean-test:
+ rm $(PACKAGE)-test-*.* # this $-sign is needed for font-locking in XEmacs only