summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tcldoc/dtxload.ins
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/tcldoc/dtxload.ins')
-rw-r--r--Master/texmf-dist/source/latex/tcldoc/dtxload.ins54
1 files changed, 54 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/tcldoc/dtxload.ins b/Master/texmf-dist/source/latex/tcldoc/dtxload.ins
new file mode 100644
index 00000000000..4e33fb87512
--- /dev/null
+++ b/Master/texmf-dist/source/latex/tcldoc/dtxload.ins
@@ -0,0 +1,54 @@
+% dtxload.ins --- DOCSTRIP installation script for dtxload.
+\input docstrip
+
+% Redefine the \MetaPrefix; it should be something which starts a
+% until-end-of-line comment:
+\edef\MetaPrefix{\string#\string#}
+
+
+% Redefine the file preamble and postamble; this is necessary because
+% otherwise the old \metaPrefix is inserted at the beginning of these
+% lines.
+\preamble
+
+This file may be distributed and/or modified under the conditions
+of the LaTeX Project Public License, either version 1.2 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.2 or later is part of all distributions of LaTeX
+version 1999/12/01 or later.
+
+This file may only be distributed together with a copy of the source
+file from which it was generated. You may distribute that source file
+without this generated file.
+
+\endpreamble
+
+\postamble
+\endpostamble
+
+% Add a (auto-install) line at the top of the preamble, so that
+% Alpha will auto-install it.
+\edef\defaultpreamble{%
+ \MetaPrefix\space (auto-install)^^J%
+ \defaultpreamble
+}
+
+% Actually make dtxload.tcl:
+\generate{\file{dtxload.tcl}{\from{dtxload.dtx}{tcl}}}
+
+
+\Msg{}
+\Msg{**********************************************}
+\Msg{*}
+\Msg{* To complete installation,}
+\Msg{* have Alpha open the file dtxload.tcl}
+\Msg{* somewhere outside Alpha's folder hierarchy.}
+\Msg{*}
+\Msg{**********************************************}
+\Msg{}
+
+
+\end
+