summaryrefslogtreecommitdiff
path: root/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/latex')
-rw-r--r--tex/latex/context/m-ch-de.sty20
-rw-r--r--tex/latex/context/m-ch-en.sty20
-rw-r--r--tex/latex/context/m-ch-nl.sty20
-rw-r--r--tex/latex/context/m-metapo.sty6
-rw-r--r--tex/latex/context/m-pictex.sty6
5 files changed, 67 insertions, 5 deletions
diff --git a/tex/latex/context/m-ch-de.sty b/tex/latex/context/m-ch-de.sty
index 5988d7a53..d35f8cf2d 100644
--- a/tex/latex/context/m-ch-de.sty
+++ b/tex/latex/context/m-ch-de.sty
@@ -1 +1,19 @@
-\input m-ch-de.tex \relax \endinput
+\ProvidesPackage{m-ch-de}[2004/07/30 package wrapper for m-ch-de.tex]
+
+\newif\ifPPCH@PSTRICKS
+
+\DeclareOption{pstricks}{\PPCH@PSTRICKStrue}
+\DeclareOption{pictex}{\PPCH@PSTRICKSfalse}
+
+\ExecuteOptions{pictex}
+\ProcessOptions\relax
+
+\ifPPCH@PSTRICKS
+ \RequirePackage{pstricks,pst-plot}
+\else
+ \RequirePackage{m-pictex}
+\fi
+
+\input{m-ch-de.tex}
+
+\endinput \ No newline at end of file
diff --git a/tex/latex/context/m-ch-en.sty b/tex/latex/context/m-ch-en.sty
index f22512d05..e93a49867 100644
--- a/tex/latex/context/m-ch-en.sty
+++ b/tex/latex/context/m-ch-en.sty
@@ -1 +1,19 @@
-\input m-ch-en.tex \relax \endinput
+\ProvidesPackage{m-ch-en}[2004/07/30 package wrapper for m-ch-en.tex]
+
+\newif\ifPPCH@PSTRICKS
+
+\DeclareOption{pstricks}{\PPCH@PSTRICKStrue}
+\DeclareOption{pictex}{\PPCH@PSTRICKSfalse}
+
+\ExecuteOptions{pictex}
+\ProcessOptions\relax
+
+\ifPPCH@PSTRICKS
+ \RequirePackage{pstricks,pst-plot}
+\else
+ \RequirePackage{m-pictex}
+\fi
+
+\input{m-ch-en.tex}
+
+\endinput \ No newline at end of file
diff --git a/tex/latex/context/m-ch-nl.sty b/tex/latex/context/m-ch-nl.sty
index 29c40be30..6e2b8d43d 100644
--- a/tex/latex/context/m-ch-nl.sty
+++ b/tex/latex/context/m-ch-nl.sty
@@ -1 +1,19 @@
-\input m-ch-nl.tex \relax \endinput
+\ProvidesPackage{m-ch-nl}[2004/07/30 package wrapper for m-ch-nl.tex]
+
+\newif\ifPPCH@PSTRICKS
+
+\DeclareOption{pstricks}{\PPCH@PSTRICKStrue}
+\DeclareOption{pictex}{\PPCH@PSTRICKSfalse}
+
+\ExecuteOptions{pictex}
+\ProcessOptions\relax
+
+\ifPPCH@PSTRICKS
+ \RequirePackage{pstricks,pst-plot}
+\else
+ \RequirePackage{m-pictex}
+\fi
+
+\input{m-ch-nl.tex}
+
+\endinput \ No newline at end of file
diff --git a/tex/latex/context/m-metapo.sty b/tex/latex/context/m-metapo.sty
index c1d9f3a9f..2d568df96 100644
--- a/tex/latex/context/m-metapo.sty
+++ b/tex/latex/context/m-metapo.sty
@@ -1 +1,5 @@
-\input m-metapo.tex \relax \endinput
+\ProvidesPackage{m-metapo}[2004/07/30 package wrapper for m-metapo.tex]
+
+\input{m-metapo.tex}
+
+\endinput \ No newline at end of file
diff --git a/tex/latex/context/m-pictex.sty b/tex/latex/context/m-pictex.sty
index be5dd8504..18630f2cc 100644
--- a/tex/latex/context/m-pictex.sty
+++ b/tex/latex/context/m-pictex.sty
@@ -1 +1,5 @@
-\input m-pictex.tex \relax \endinput
+\ProvidesPackage{m-pictex}[2004/07/30 package wrapper for m-pictex.tex]
+
+\input{m-pictex.tex}
+
+\endinput \ No newline at end of file