| 1 |
%% |
| 2 |
%% This file will generate fast loadable files and documentation |
| 3 |
%% driver files from the doc files in this package when run through |
| 4 |
%% LaTeX or TeX. |
| 5 |
%% |
| 6 |
%% |
| 7 |
%% IMPORTANT NOTICE: |
| 8 |
%% |
| 9 |
%% No other permissions to copy or distribute this file in any form |
| 10 |
%% are granted and in particular no permission to modify its contents. |
| 11 |
%% |
| 12 |
%% --------------- start of docstrip commands ------------------ |
| 13 |
%% |
| 14 |
\def\batchfile{answers.ins} |
| 15 |
\input docstrip.tex |
| 16 |
\preamble |
| 17 |
|
| 18 |
Originally developed by Mike Piff |
| 19 |
Copyright (C) 1990,1994-1996 by Mike Piff |
| 20 |
Copyright (C) 2009 by |
| 21 |
Joseph Wright <[email protected]> |
| 22 |
|
| 23 |
It may be distributed and/or modified under the conditions of |
| 24 |
the LaTeX Project Public License (LPPL), either version 1.3c of |
| 25 |
this license or (at your option) any later version. The latest |
| 26 |
version of this license is in the file: |
| 27 |
|
| 28 |
http://www.latex-project.org/lppl.txt |
| 29 |
|
| 30 |
This work is "maintained" (as per LPPL maintenance status) by |
| 31 |
Joseph Wright. |
| 32 |
|
| 33 |
\endpreamble |
| 34 |
|
| 35 |
\keepsilent |
| 36 |
|
| 37 |
\def\Ask#1#2{\def#1{y}} |
| 38 |
|
| 39 |
\Msg{*** Generating the package file ***} |
| 40 |
|
| 41 |
\generate{\file{answers.sty}{\from{answers.dtx}{answers}}} |
| 42 |
|
| 43 |
\preamble |
| 44 |
\endpreamble |
| 45 |
|
| 46 |
\Msg{*** Generating example files ***} |
| 47 |
|
| 48 |
\generate{% |
| 49 |
\file{ansexam1.tex}{\from{answers.dtx}{ex1}} |
| 50 |
\file{ansexam2.tex}{\from{answers.dtx}{ex2}} |
| 51 |
\file{ansexam3.tex}{\from{answers.dtx}{ex3}} |
| 52 |
} |
| 53 |
|
| 54 |
\ifToplevel{% |
| 55 |
\Msg{***********************************************************} |
| 56 |
\Msg{*} |
| 57 |
\Msg{* To finish the installation you have to move the file} |
| 58 |
\Msg{* answers.sty into a directory searched by TeX:} |
| 59 |
\Msg{* To produce the documentation, run the file answers.dtx through LaTeX.} |
| 60 |
\Msg{* To see an example, run the file answexam.tex through LaTeX.} |
| 61 |
\Msg{***********************************************************} |
| 62 |
} |
| 63 |
|
| 64 |
\endinput |