| 1 |
% |
| 2 |
% File: xcpdftips.ins |
| 3 |
% |
| 4 |
% Copyright (c) 2019 Mikica Kocic |
| 5 |
% |
| 6 |
% This program is free software: you can redistribute it and/or modify |
| 7 |
% it under the terms of the GNU General Public License as published by |
| 8 |
% the Free Software Foundation, either version 3 of the License, or |
| 9 |
% (at your option) any later version. |
| 10 |
% |
| 11 |
% This program is distributed in the hope that it will be useful, |
| 12 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
% GNU General Public License for more details. |
| 15 |
% |
| 16 |
% You should have received a copy of the GNU General Public License |
| 17 |
% along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 18 |
% |
| 19 |
% It is an installation file for extracting package and driver |
| 20 |
% files from the original source file. Simply process it under |
| 21 |
% TeX or LaTeX. It works with Docstrip versions before and after |
| 22 |
% December 1995. |
| 23 |
|
| 24 |
\def\batchfile{xcpdftips.ins} |
| 25 |
\input docstrip |
| 26 |
|
| 27 |
\preamble |
| 28 |
|
| 29 |
============================================= |
| 30 |
IMPORTANT NOTICE: |
| 31 |
|
| 32 |
This program is free software: you can redistribute it and/or modify |
| 33 |
it under the terms of the GNU General Public License as published by |
| 34 |
the Free Software Foundation, either version 3 of the License, or |
| 35 |
(at your option) any later version. |
| 36 |
|
| 37 |
This program is distributed in the hope that it will be useful, |
| 38 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 39 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 40 |
GNU General Public License for more details. |
| 41 |
|
| 42 |
You should have received a copy of the GNU General Public License |
| 43 |
along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 44 |
|
| 45 |
This is a generated file. |
| 46 |
It may not be distributed without the original source file \inFileName. |
| 47 |
|
| 48 |
Full documentation can be obtained by LaTeXing that original file. |
| 49 |
Only a few abbreviated comments remain here to describe the usage. |
| 50 |
============================================= |
| 51 |
|
| 52 |
\endpreamble |
| 53 |
\postamble |
| 54 |
|
| 55 |
<<<<< End of generated file <<<<<< |
| 56 |
|
| 57 |
\endpostamble |
| 58 |
\keepsilent |
| 59 |
|
| 60 |
% Docstrip before Dec 95 does not have \generate syntax, nor |
| 61 |
% \declarepreamble. Must redefine them. The \generateFile called |
| 62 |
% for each output file individually. |
| 63 |
% Docstrip before Dec 96 cannot interprete multiline \if..\fi |
| 64 |
% Thus for maximum compatibility, have only one-line conditionals |
| 65 |
|
| 66 |
\let\oldDS F\relax |
| 67 |
\expandafter\ifx\csname generate\endcsname\relax \let\oldDS T\relax\fi |
| 68 |
\if\oldDS T \def\declarepreamble#1{\preamble}\fi |
| 69 |
\if\oldDS T \def\declarepostamble#1{\postamble}\fi |
| 70 |
\if\oldDS T \generateFile{xcpdftips.sty}{f}{\from{xcpdftips.dtx}{package}} \fi |
| 71 |
|
| 72 |
\declarepreamble\driver |
| 73 |
============================================ |
| 74 |
This is the driver file to produce the LaTeX documentation |
| 75 |
from the original source file \inFileName. |
| 76 |
|
| 77 |
Make changes to it as needed. (Never change the file \inFileName!) |
| 78 |
============================================ |
| 79 |
\endpreamble |
| 80 |
|
| 81 |
\declarepostamble\driverq |
| 82 |
|
| 83 |
End of documentation driver file. |
| 84 |
\endpostamble |
| 85 |
|
| 86 |
\ifx\oldDS T \generateFile{xcpdftips.drv}{f}{\from{xcpdftips.dtx}{driver}}\fi |
| 87 |
|
| 88 |
\ifx\oldDS T \let\askforoverwritefalse\relax\def\generate#1{}\fi |
| 89 |
|
| 90 |
\askforoverwritefalse |
| 91 |
\generate{\file{xcpdftips.sty}{\from{xcpdftips.dtx}{package}} |
| 92 |
\file{xcpdftips.drv}{\usepreamble\driver\usepostamble\driverq |
| 93 |
\from{xcpdftips.dtx}{driver}} |
| 94 |
} |
| 95 |
|
| 96 |
\obeyspaces |
| 97 |
\Msg{********************************************}% |
| 98 |
\Msg{* For documentation, process xcpdftips.dtx *}% |
| 99 |
\Msg{* or the driver file xcpdftips.drv *}% |
| 100 |
\Msg{********************************************} |