Debian Codegraph @

texmf-dist/source/latex/draftwatermark/draftwatermark.ins

raw
1 %% draftwatermark.ins
2 %% Copyright 2006-2020
3 %% Sergio Callegari <[email protected]>
4 %%
5 %% ---------------------------------------------
6 %% This file is part of the draftwatermark package,
7 %% a contribution to the LaTeX2e system.
8 %% ---------------------------------------------
9 %%
10 %% This work may be distributed and/or modified under the
11 %% conditions of the LaTeX Project Public License, version 1.3c.
12 %% This license is in
13 %% https://www.latex-project.org/lppl/lppl-1-3c/
14 %% and is part of all distributions of LaTeX later than
15 %% 2008-05-04.
16 %%
17 %% This work has the LPPL maintenance status "maintained".
18 %%
19 %% This program consists of the files listed in the README.md file
20 %% included in the package.
21 %%
22 %% This file will generate fast loadable files and documentation
23 %% from the dtx file when run through LaTeX.
24 %%
25 %%
26 %% --------------- start of docstrip commands ------------------
27 %%
28 \input docstrip.tex
29
30 \keepsilent
31 %\showprogress
32
33 \preamble
34
35 IMPORTANT NOTICE:
36
37 Copyright 2006, 2020
38 Sergio Callegari <[email protected]>
39
40 ------------------------------------------------
41 This file is part of the draftwatermark package,
42 a contribution to the LaTeX2e system.
43 ------------------------------------------------
44
45 This program consists of the files listed in the README.md file included
46 in the package.
47
48 Any modified versions of this file must be renamed with new filenames
49 distinct from \outFileName.
50
51 For distribution of the original source see the terms for copying and
52 modification in the file \inFileName.
53
54 This generated file may be distributed as long as the original source files,
55 as listed above, are part of the same distribution. (The sources need not
56 necessarily be in the same archive or directory.)
57
58 \endpreamble
59
60 \Msg{*** Generating the LaTeX2e package files ***}
61 \usedir{tex/latex/draftwatermark}
62 \generate{\file{draftwatermark.sty}{%
63 \from{draftwatermark.dtx}{draftwatermark}}}
64 \generate{\file{draftwatermark-2x.sty}{%
65 \from{draftwatermark.dtx}{draftwatermark-2x}}}
66
67 \preamble
68 \endpreamble
69
70 \Msg{*** Generating the example files ***}
71 \usedir{doc/latex/draftwatermark/examples}
72 \generate{\file{test_draftwatermark-1.tex}{%
73 \from{draftwatermark.dtx}{samplecode-modern}}}
74 \generate{\file{test_draftwatermark-2.tex}{%
75 \from{draftwatermark.dtx}{samplecode-legacy}}}
76 \generate{\file{test_draftwatermark-3.tex}{%
77 \from{draftwatermark.dtx}{samplecode-anchor}}}
78 \generate{\file{test_draftwatermark-4.tex}{%
79 \from{draftwatermark.dtx}{samplecode-dynamic}}}
80 \generate{\file{test_draftwatermark-5.tex}{%
81 \from{draftwatermark.dtx}{samplecode-custom}}}
82
83 %\ReportTotals
84
85 \Msg{***********************************************************}
86 \Msg{*}
87 \Msg{* To finish the installation you have to move the following}
88 \Msg{* file(s) into a directory searched by TeX:}
89 \Msg{*}
90 \Msg{* \space\space draftwatermark.sty}
91 \Msg{*}
92 \Msg{*}
93 \Msg{* To produce the documentation:
94 run draftwatermark.dtx}
95 \Msg{* - run draftwatermark.dtx through LaTeX}
96 \Msg{* Process draftwatermark.idx file by:}
97 \Msg{* \space\space\space\space makeindex -s gind.ist draftwatermark}
98 \Msg{* Process draftwatermark.glo file by:}
99 \Msg{* \space\space\space\space makeindex -s gglo.ist -o draftwatermark.gls
100 draftwatermark.glo}
101 \Msg{* Re run through LaTeX the draftwatermark.dtx file as necessary}
102 \Msg{* You may then want to move the test_draftwatermark*.tex files produced by}
103 \Msg{* processing this ins file together with the documentation (e.g., in an}
104 \Msg{* examples subdirectory}
105 \Msg{*}
106 \Msg{***********************************************************}
107
108 \endbatchfile