diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/picture.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/picture.dtx | 82 |
1 files changed, 61 insertions, 21 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/picture.dtx b/Master/texmf-dist/source/latex/oberdiek/picture.dtx index 03f77e8ffce..e5f2d0f65af 100644 --- a/Master/texmf-dist/source/latex/oberdiek/picture.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/picture.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +% Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -57,7 +57,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 @@ -68,7 +68,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: picture 2006/08/26 v1.0 Dimens for picture macros (HO)} +\Msg{* Package: picture 2007/04/11 v1.1 Dimens for picture macros (HO)} \Msg{************************************************************************} \keepsilent @@ -78,7 +78,7 @@ This is a generated file. -Copyright (C) 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either @@ -131,11 +131,11 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{picture.drv}% - [2006/08/26 v1.0 Dimens for picture macros (HO)] + [2007/04/11 v1.1 Dimens for picture macros (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc} \begin{document} - \DocInput{picture.dtx} + \DocInput{picture.dtx}% \end{document} %</driver> % \fi @@ -161,7 +161,7 @@ and the derived files % \GetFileInfo{picture.drv} % % \title{The \xpackage{picture} package} -% \date{2006/08/26 v1.0} +% \date{2007/04/11 v1.1} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -217,14 +217,14 @@ and the derived files \setlength{\unitlength}{1pt} \begin{picture}(\widthof{Hello World}, 10mm) - \put(0, 0){\makebox(0,0)[lb]{Hello World}} + \put(0, 0){\makebox(0,0)[lb]{Hello World}}% \put(0, \heightof{Hello World} + \fboxsep){% \line(1, 0){\widthof{Hello World}}% - } + }% \put(\widthof{Hello World}, 10mm){% \line(0, -1){10mm}% - } -\end{picture}% + }% +\end{picture} \end{document} %</example> @@ -257,7 +257,7 @@ and the derived files %<*package> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{picture}% - [2006/08/26 v1.0 Dimens for picture macros (HO)] + [2007/04/11 v1.1 Dimens for picture macros (HO)]% % \end{macrocode} % % \subsection{Options} @@ -303,7 +303,7 @@ and the derived files \ProcessOptions* \begingroup \let\on@line\@empty - \PackageInfo{picture}{Calculation method: \Pc@method} + \PackageInfo{picture}{Calculation method: \Pc@method}% \endgroup % \end{macrocode} % @@ -510,12 +510,12 @@ and the derived files % by adding an optional argument. % \begin{macrocode} \@ifpackageloaded{pspicture}{% - \picture@redefine\@oval{[&1](&2,&3)} - \picture@redefine\Line{(&1,&2)} - \picture@redefine\Curve{(&1,&2)} - \picture@redefine\Vector{(&1,&2)} + \picture@redefine\@oval{[&1](&2,&3)}% + \picture@redefine\Line{(&1,&2)}% + \picture@redefine\Curve{(&1,&2)}% + \picture@redefine\Vector{(&1,&2)}% }{ - \picture@redefine\@oval{(&1,&2)} + \picture@redefine\@oval{(&1,&2)}% } % \end{macrocode} % \begin{macrocode} @@ -523,13 +523,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/picture.dtx}] The source file. % \item[\CTAN{macros/latex/contrib/oberdiek/picture.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: @@ -561,8 +595,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|. % @@ -618,6 +654,10 @@ and the derived files % \item % First released version. (First start of the project was June/July 2002.) % \end{Version} +% \begin{Version}{2007/04/11 v1.1} +% \item +% Line ends sanitized. +% \end{Version} % \end{History} % % \PrintIndex |