summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/draftwatermark/draftwatermark.ins
blob: 1365e64ebf639b73c38aa02a0b5da6acec0a6698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
%% draftwatermark.ins
%% Copyright 2006-2020
%% Sergio Callegari <sergio.callegari@gmail.com>
%%
%% ---------------------------------------------
%% This file is part of the draftwatermark package,
%% a contribution to the LaTeX2e system.
%% ---------------------------------------------
%%
%% It may be distributed and/or modified under the conditions of the LaTeX
%% Project Public License, version 1.3. The license is at
%% https://www.latex-project.org/lppl/ and is part of all distributions of
%% LaTeX version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status "author-maintained".
%%
%% This program consists of the files listed in the README.md file
%% included in the package.
%%
%% This file will generate fast loadable files and documentation
%% from the dtx file when run through LaTeX.
%%
%%
%% --------------- start of docstrip commands ------------------
%%
\input docstrip.tex

\keepsilent
%\showprogress

\preamble

  IMPORTANT NOTICE:

Copyright 2006, 2020
Sergio Callegari <sergio.callegari@gmail.com>

------------------------------------------------
This file is part of the draftwatermark package,
a contribution to the LaTeX2e system.
------------------------------------------------

This program consists of the files listed in the README.md file included
in the package.

Any modified versions of this file must be renamed with new filenames distinct
from draftwatermark.sty.

For distribution of the original source see the terms for copying and
modification in the file draftwatermark.dtx.

This generated file may be distributed as long as the original source files, as
listed above, are part of the same distribution. (The sources need not
necessarily be in the same archive or directory.)

\endpreamble

\Msg{*** Generating the LaTeX2e package files ***}
\generate{\file{draftwatermark.sty}{%
        \from{draftwatermark.dtx}{draftwatermark}}}

\preamble
\endpreamble

\Msg{*** Generating the example files ***}
\generate{\file{test_draftwatermark1.tex}{%
        \from{draftwatermark.dtx}{samplecode-modern}}}
\generate{\file{test_draftwatermark2.tex}{%
        \from{draftwatermark.dtx}{samplecode-legacy}}}
\generate{\file{test_draftwatermark3.tex}{%
        \from{draftwatermark.dtx}{samplecode-anchor}}}
\generate{\file{test_draftwatermark4.tex}{%
        \from{draftwatermark.dtx}{samplecode-dynamic}}}        
\generate{\file{test_draftwatermark5.tex}{%
        \from{draftwatermark.dtx}{samplecode-custom}}}        

%\ReportTotals

\Msg{***********************************************************}
\Msg{*}
\Msg{* To finish the installation you have to move the following}
\Msg{* file(s) into a directory searched by TeX:}
\Msg{*}
\Msg{* \space\space draftwatermark.sty}
\Msg{*}
\Msg{*}
\Msg{* To produce the documentation run draftwatermark.dtx}
\Msg{* through LaTeX (or maybe pdfLaTeX).}
\Msg{* Process draftwatermark.idx file by:}
\Msg{* \space\space\space\space makeindex -s gind.ist draftwatermark}
%\Msg{* Process draftwatermark.glo file by:}
%\Msg{* \space\space\space\space makeindex -s gglo.ist -o draftwatermark.gls
%       draftwatermark.glo}
\Msg{* Re run through LaTeX the draftwatermark.dtx file as necessary}
\Msg{*}
\Msg{***********************************************************}

\endbatchfile