diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx | 82 |
1 files changed, 65 insertions, 17 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx b/Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx index 7f4843199a4..c28466122c7 100644 --- a/Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx @@ -1,11 +1,12 @@ % \iffalse meta-comment -% +% % File: pdfcrypt.dtx % Version: 2007/04/26 v1.0 -% +% Info: Allows the setting of PDF encryption +% % Copyright (C) 2001, 2006, 2007 by % Heiko Oberdiek <heiko.oberdiek at googlemail.com> -% +% % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3c of this license or (at your option) any later @@ -15,22 +16,22 @@ % http://www.latex-project.org/lppl.txt % and version 1.3 or later is part of all distributions of % LaTeX version 2005/12/01 or later. -% +% % This work has the LPPL maintenance status "maintained". -% +% % This Current Maintainer of this work is Heiko Oberdiek. -% +% % The Base Interpreter refers to any `TeX-Format', % because some files are installed in TDS:tex/generic//. -% +% % This work consists of the main source file pdfcrypt.dtx % and the derived files % pdfcrypt.sty, pdfcrypt.pdf, pdfcrypt.ins, pdfcrypt.drv. -% +% % Distribution: % CTAN:macros/latex/contrib/oberdiek/pdfcrypt.dtx % CTAN:macros/latex/contrib/oberdiek/pdfcrypt.pdf -% +% % Unpacking: % (a) If pdfcrypt.ins is present: % tex pdfcrypt.ins @@ -39,7 +40,7 @@ % (c) If you insist on using LaTeX % latex \let\install=y\input{pdfcrypt.dtx} % (quote the arguments according to the demands of your shell) -% +% % Documentation: % (a) If pdfcrypt.drv is present: % latex pdfcrypt.drv @@ -49,14 +50,14 @@ % if available. Here you can specify further options, e.g. % use A4 as paper format: % \PassOptionsToClass{a4paper}{article} -% +% % Programm calls to get the documentation (example): % pdflatex pdfcrypt.dtx % makeindex -s gind.ist pdfcrypt.idx % pdflatex pdfcrypt.dtx % makeindex -s gind.ist pdfcrypt.idx % pdflatex pdfcrypt.dtx -% +% % Installation: % TDS:tex/generic/oberdiek/pdfcrypt.sty % TDS:doc/latex/oberdiek/pdfcrypt.pdf @@ -77,7 +78,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: pdfcrypt 2007/04/26 v1.0 Setting pdf encryption (HO)} +\Msg{* Package: pdfcrypt 2007/04/26 v1.0 Allows the setting of PDF encryption (HO)} \Msg{************************************************************************} \keepsilent @@ -123,6 +124,10 @@ and the derived files \file{pdfcrypt.drv}{\from{pdfcrypt.dtx}{driver}}% \usedir{tex/generic/oberdiek}% \file{pdfcrypt.sty}{\from{pdfcrypt.dtx}{package}}% + \nopreamble + \nopostamble + \usedir{source/latex/oberdiek/catalogue}% + \file{pdfcrypt.xml}{\from{pdfcrypt.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -149,16 +154,16 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{pdfcrypt.drv}% - [2007/04/26 v1.0 Setting pdf encryption (HO)]% + [2007/04/26 v1.0 Allows the setting of PDF encryption (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/02/04] +\usepackage{holtxdoc}[2011/11/22] \begin{document} \DocInput{pdfcrypt.dtx}% \end{document} %</driver> % \fi % -% \CheckSum{676} +% \CheckSum{679} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -429,7 +434,7 @@ and the derived files % % \begin{macrocode} \ProvidesPackage{pdfcrypt}% - [2007/04/26 v1.0 Setting pdf encryption (HO)]% + [2007/04/26 v1.0 Allows the setting of PDF encryption (HO)]% % \end{macrocode} % % \begin{macrocode} @@ -1040,6 +1045,49 @@ and the derived files %\end{verbatim} % \end{quote} % +% \section{Catalogue} +% +% The following XML file can be used as source for the +% \href{http://mirror.ctan.org/help/Catalogue/catalogue.html}{\TeX\ Catalogue}. +% The elements \texttt{caption} and \texttt{description} are imported +% from the original XML file from the Catalogue. +% The name of the XML file in the Catalogue is \xfile{pdfcrypt.xml}. +% \begin{macrocode} +%<*catalogue> +<?xml version='1.0' encoding='us-ascii'?> +<!DOCTYPE entry SYSTEM 'catalogue.dtd'> +<entry datestamp='$Date$' modifier='$Author$' id='pdfcrypt'> + <name>pdfcrypt</name> + <caption>Allows the setting of pdf encryption.</caption> + <authorref id='auth:oberdiek'/> + <copyright owner='Heiko Oberdiek' year='2001,2006,2007'/> + <license type='lppl1.3'/> + <version number='1.0'/> + <description> + Allows the setting of pdf encryption options for VTeX and some + older versions of pdfTeX. The options can be set as package + options or in the command <tt>\pdfcryptsetup</tt>. Options + include <tt>owner=OwnerPassword</tt>, <tt>user=UserPassword, + print</tt>, <tt>copy</tt>, <tt>edit</tt>, <tt>annotate=true, + false all, none</tt>. The encryption is set at + <tt>\begin{document}</tt> by default, but this can be forced for + an earlier time by option ‘set’. + <p/> + Example: + <tt>\usepackage[owner=Donald,user=Knuth,print=false]{pdfcrypt}</tt> + <p/> + The package is part of the <xref refid='oberdiek'>oberdiek</xref> bundle. + </description> + <documentation details='Package documentation' + href='ctan:/macros/latex/contrib/oberdiek/pdfcrypt.pdf'/> + <ctan file='true' path='/macros/latex/contrib/oberdiek/pdfcrypt.dtx'/> + <miktex location='oberdiek'/> + <texlive location='oberdiek'/> + <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/> +</entry> +%</catalogue> +% \end{macrocode} +% % \begin{History} % \begin{Version}{2001/04/02 v0.1} % \item |