summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx104
1 files changed, 72 insertions, 32 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx b/Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx
index de4a8e158f7..f48e8c09a75 100644
--- a/Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/pdfcrypt.dtx
@@ -55,7 +55,7 @@
%
%<*ignore>
\begingroup
- \def\x{LaTeX2e}
+ \def\x{LaTeX2e}%
\expandafter\endgroup
\ifcase 0\ifx\install y1\fi\expandafter
\ifx\csname processbatchFile\endcsname\relax\else1\fi
@@ -66,7 +66,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: pdfcrypt 2006/02/20 v0.8 Setting pdf encryption (HO)}
+\Msg{* Package: pdfcrypt 2007/04/11 v0.9 Setting pdf encryption (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -126,16 +126,16 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{pdfcrypt.drv}%
- [2006/02/20 v0.8 Setting pdf encryption (HO)]
+ [2007/04/11 v0.9 Setting pdf encryption (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}
\begin{document}
- \DocInput{pdfcrypt.dtx}
+ \DocInput{pdfcrypt.dtx}%
\end{document}
%</driver>
% \fi
%
-% \CheckSum{730}
+% \CheckSum{731}
%
% \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
@@ -156,7 +156,7 @@ and the derived files
% \GetFileInfo{pdfcrypt.drv}
%
% \title{The \xpackage{pdfcrypt} package}
-% \date{2006/02/20 v0.8}
+% \date{2007/04/11 v0.9}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -244,7 +244,7 @@ and the derived files
% the macro \cs{pdfcryptsetup}, eg:
% \begin{quote}
% |\pdfcryptsetup{user={\{\\Hello\}},print=false}|
-% \end{quote}
+% \end{quote}
% The password here is ``|{\Hello}|''.
% Active characters can be used and are not expanded.
% Macros except for |\{|, |\}|, and |\\| should not be used
@@ -378,7 +378,7 @@ and the derived files
\@ifundefined{ProvidesPackage}{%
\def\ProvidesPackage#1{%
- \@ifnextchar[{\pc@ProvidesPackage{#1}}
+ \@ifnextchar[{\pc@ProvidesPackage{#1}}%
{\pc@ProvidesPackage{#1}[]}%
}%
\def\pc@ProvidesPackage#1[#2]{%
@@ -437,7 +437,7 @@ and the derived files
%
% \begin{macrocode}
\ProvidesPackage{pdfcrypt}%
- [2006/02/20 v0.8 Setting pdf encryption (HO)]
+ [2007/04/11 v0.9 Setting pdf encryption (HO)]%
% \end{macrocode}
%
% \begin{macrocode}
@@ -480,7 +480,7 @@ and the derived files
\pc@endinput
}{%
\gdef\pc@driver{pdftex}%
- }
+ }%
\fi
}%
% VTeX detection
@@ -520,7 +520,7 @@ and the derived files
}{}
\@ifundefined{@namedef}{%
- \def\@namedef#1{\expandafter\def\csname#1\endcsname}
+ \def\@namedef#1{\expandafter\def\csname#1\endcsname}%
}{}
\@ifundefined{@nameuse}{%
@@ -593,9 +593,9 @@ and the derived files
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname RequirePackage\endcsname\relax
- \input keyval.sty
+ \input keyval.sty\relax
\else
- \RequirePackage{keyval}
+ \RequirePackage{keyval}%
\fi
\pc@KeyvalRestore
% \end{macrocode}
@@ -604,8 +604,8 @@ and the derived files
%
% \begin{macrocode}
\@ifundefined{@dblarg}{%
- \long\def\@dblarg#1{\@ifnextchar[{#1}{\@xdblarg{#1}}}
- \long\def\@xdblarg#1#2{#1[{#2}]{#2}}
+ \long\def\@dblarg#1{\@ifnextchar[{#1}{\@xdblarg{#1}}}%
+ \long\def\@xdblarg#1#2{#1[{#2}]{#2}}%
}{}
\newif\ifpc@set
@@ -652,7 +652,7 @@ and the derived files
\else
Encryption is set for `\pc@driver'%
\fi
- }
+ }%
\ifpc@nopdfcrypt
\else
\@ifundefined{pc@set@\pc@driver}{%
@@ -677,11 +677,11 @@ and the derived files
}
\def\pc@set@pdftexold{%
\pdfcrypt{%
- owner "\pc@owner"
- user "\pc@user"
- \ifpc@print \else no\fi print
- \ifpc@copy \else no\fi copy
- \ifpc@edit \else no\fi edit
+ owner "\pc@owner" %
+ user "\pc@user" %
+ \ifpc@print \else no\fi print %
+ \ifpc@copy \else no\fi copy %
+ \ifpc@edit \else no\fi edit %
\ifpc@annotate\else no\fi annotate%
}%
}
@@ -689,9 +689,9 @@ and the derived files
\pdfcrypt
owner{\pc@owner}%
user{\pc@user}%
- \ifpc@print \else no\fi print
- \ifpc@copy \else no\fi copy
- \ifpc@edit \else no\fi edit
+ \ifpc@print \else no\fi print %
+ \ifpc@copy \else no\fi copy %
+ \ifpc@edit \else no\fi edit %
\ifpc@annotate\else no\fi annotate%
\relax
}
@@ -730,7 +730,7 @@ and the derived files
|edef#1{|expandafter|strip@prefix|meaning#1}%
|edef#1{|expandafter|pc@SpaceToOther#1 |@nil}%
|edef#1{|expandafter|pc@EscapeRemove#1|@empty\|@empty|@nil}%
- }
+ }%
|gdef|pc@EscapeRemove#1\#2#3|@nil{%
#1#2%
|ifx|\#3|\%
@@ -739,7 +739,7 @@ and the derived files
|pc@EscapeRemove#3|@nil
}%
|fi
- }
+ }%
|endgroup
\def\pc@SpaceToOther#1 #2\@nil{%
#1%
@@ -767,9 +767,9 @@ and the derived files
\fi
\ifx\pc@temp\relax
\PackageWarning{pdfcrypt}{%
- Unexpected value \string`#3\string' of
+ Unexpected value \string`#3\string' of %
option \string`#2\string'\MessageBreak
- instead of
+ instead of %
\string`true\string' or \string`false\string'%
}%
\else
@@ -852,7 +852,7 @@ and the derived files
}%
\else
\let\pc@ExecuteOptions\ExecuteOptions
- \InputIfFileExists{pdfcrypt.cfg}{}{}
+ \InputIfFileExists{pdfcrypt.cfg}{}{}%
\let\ExecuteOptions\pc@ExecuteOptions
\fi
% \end{macrocode}
@@ -896,13 +896,47 @@ and the derived files
% \end{macrocode}
% \section{Installation}
%
-% \paragraph{CTAN.} This package is available on
+% \subsection{Download}
+%
+% \paragraph{Package.} This package is available on
% CTAN\footnote{\url{ftp://ftp.ctan.org/tex-archive/}}:
% \begin{description}
% \item[\CTAN{macros/latex/contrib/oberdiek/pdfcrypt.dtx}] The source file.
% \item[\CTAN{macros/latex/contrib/oberdiek/pdfcrypt.pdf}] Documentation.
% \end{description}
%
+%
+% \paragraph{Bundle.} All the packages of the bundle `oberdiek'
+% are also available in a TDS compliant ZIP archive. There
+% the packages are already unpacked and the documentation files
+% are generated. The files and directories obey the TDS standard.
+% \begin{description}
+% \item[\CTAN{macros/latex/contrib/oberdiek/oberdiek-tds.zip}]
+% \end{description}
+%
+% \subsection{Bundle installation}
+%
+% \paragraph{Unpacking.} Unpack the \xfile{oberdiek-tds.zip} in the
+% TDS tree (also known as \xfile{texmf} tree) of your choice.
+% Example (linux):
+% \begin{quote}
+% |unzip oberdiek-tds.zip -d ~/texmf|
+% \end{quote}
+%
+% \paragraph{Script installation.}
+% Check the directory \xfile{TDS:scripts/oberdiek/} for
+% scripts that need further installation steps.
+% Package \xpackage{attachfile2} comes with the Perl script
+% \xfile{pdfatfi.pl} that should be installed in such a way
+% that it can be called as \texttt{pdfatfi}.
+% Example (linux):
+% \begin{quote}
+% |chmod +x scripts/oberdiek/pdfatfi.pl|\\
+% |cp scripts/oberdiek/pdfatfi.pl /usr/local/bin/|
+% \end{quote}
+%
+% \subsection{Package installation}
+%
% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
% \docstrip\ archive. The files are extracted by running the
% \xfile{.dtx} through \plainTeX:
@@ -933,8 +967,10 @@ and the derived files
% TDS installing feature, then some files can already be in the right
% place, see the documentation of \docstrip.
%
-% \paragraph{Refresh file databases.} If your \TeX~distribution
-% (\teTeX, \mikTeX, \dots) rely on file databases, you must refresh
+% \subsection{Refresh file name databases}
+%
+% If your \TeX~distribution
+% (\teTeX, \mikTeX, \dots) relies on file name databases, you must refresh
% these. For example, \teTeX\ users run \verb|texhash| or
% \verb|mktexlsr|.
%
@@ -1034,6 +1070,10 @@ and the derived files
% \item
% LPPL 1.3
% \end{Version}
+% \begin{Version}{2007/04/11 v0.9}
+% \item
+% Line ends sanitized.
+% \end{Version}
% \end{History}
%
% \PrintIndex