| 1 |
% pdf.ins --- DOCSTRIP installation script for writepdf. |
| 2 |
\input docstrip |
| 3 |
|
| 4 |
% Redefine the \MetaPrefix; it should be something which starts a |
| 5 |
% until-end-of-line comment: |
| 6 |
\edef\MetaPrefix{\string#\string#} |
| 7 |
|
| 8 |
|
| 9 |
% Redefine the file preamble and postamble; this is necessary because |
| 10 |
% otherwise the old \metaPrefix is inserted at the beginning of these |
| 11 |
% lines. |
| 12 |
\preamble |
| 13 |
|
| 14 |
In other words: |
| 15 |
*************************************** |
| 16 |
* This Source is not the True Source. * |
| 17 |
*************************************** |
| 18 |
The True Source is pdf.dtx in |
| 19 |
http://ftp.ctan.org/tex-archive/macros/latex/contrib/tclldoc/examples |
| 20 |
|
| 21 |
It is preferred that you apply the distribution and modification |
| 22 |
conditions of the LaTeX Project Public License (LPPL) for this file, |
| 23 |
but you may alternatively choose to apply BSD/Tcl-style license |
| 24 |
conditions (either is OK). The latest version of the LPPL is in |
| 25 |
http://www.latex-project.org/lppl.txt |
| 26 |
and version 1.2 or later is part of all distributions of LaTeX |
| 27 |
version 1999/12/01 or later. |
| 28 |
|
| 29 |
\endpreamble |
| 30 |
|
| 31 |
\postamble |
| 32 |
\endpostamble |
| 33 |
|
| 34 |
|
| 35 |
% Actually make the files: |
| 36 |
\generate{ |
| 37 |
\file{writepdf.tcl}{\from{pdf.dtx}{pkg}} |
| 38 |
\file{hellopdf.tcl}{\from{pdf.dtx}{example1}} |
| 39 |
} |
| 40 |
|
| 41 |
|
| 42 |
\Msg{} |
| 43 |
\Msg{************************************************} |
| 44 |
\Msg{*} |
| 45 |
\Msg{* To complete installation,} |
| 46 |
\Msg{* place pdfwrite.tcl in a Tcl library directory} |
| 47 |
\Msg{* and run pkg_mkIndex to rebuild the package} |
| 48 |
\Msg{* index.} |
| 49 |
\Msg{*} |
| 50 |
\Msg{************************************************} |
| 51 |
\Msg{} |
| 52 |
|
| 53 |
|
| 54 |
\end |
| 55 |
|