summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/settobox.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/settobox.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/settobox.dtx88
1 files changed, 65 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/settobox.dtx b/Master/texmf-dist/source/latex/oberdiek/settobox.dtx
index 095633e8cef..5230e0ce22c 100644
--- a/Master/texmf-dist/source/latex/oberdiek/settobox.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/settobox.dtx
@@ -1,6 +1,7 @@
% \iffalse meta-comment
%
-% Copyright (C) 2000, 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+% Copyright (C) 2000, 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 +58,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 +69,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: settobox 2006/02/20 v1.2 Getting box sizes (HO)}
+\Msg{* Package: settobox 2007/04/11 v1.3 Getting box sizes (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -78,7 +79,8 @@
This is a generated file.
-Copyright (C) 2000, 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+Copyright (C) 2000, 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,13 +133,13 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{settobox.drv}%
- [2006/02/20 v1.2 Getting box sizes (HO)]
+ [2007/04/11 v1.3 Getting box sizes (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}
\usepackage{calc}
\usepackage{settobox}
\begin{document}
- \DocInput{settobox.dtx}
+ \DocInput{settobox.dtx}%
\end{document}
%</driver>
% \fi
@@ -163,7 +165,7 @@ and the derived files
% \GetFileInfo{settobox.drv}
%
% \title{The \xpackage{settobox} package}
-% \date{2006/02/20 v1.2}
+% \date{2007/04/11 v1.3}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -276,21 +278,21 @@ and the derived files
\par
\begingroup
\raggedright
- \edef\x{\detokenize{#1}}
+ \edef\x{\detokenize{#1}}%
\let\do\@makeother
\dospecials
\catcode`\~\active
\catcode`\ =10\relax
\def~{\\}%
\noindent
- \texttt{\scantokens\expandafter{\x}}
+ \texttt{\scantokens\expandafter{\x}}%
\par
\endgroup
\begingroup
\let~\relax
- \sbox{\mybox}{The cracy fox.}
+ \sbox{\mybox}{The cracy fox.}%
#1%
- A---\fbox{\usebox\mybox}---B
+ A---\fbox{\usebox\mybox}---B%
\endgroup
\par
}
@@ -301,22 +303,22 @@ and the derived files
\test{\setboxwidth{\mybox}{1.25\width}}
\test{\setboxheight{\mybox}{0pt}}
\test{\setboxheight{\mybox}{2\height}}
-\test{\setboxdepth{\mybox}{\height}}
-\test{\setboxmoveleft{\mybox}{5pt}}
+\test{\setboxdepth{\mybox}{\height}}
+\test{\setboxmoveleft{\mybox}{5pt}}
\test{%
\setboxmoveleft{\mybox}{5pt}~%
\setboxwidth{\mybox}{\width + 5pt}%
}
\test{\setboxmoveright{\mybox}{0.5\width}}
\test{\setboxlower{\mybox}{\height}}
-\test{\setboxraise{\mybox}{\depth}}
+\test{\setboxraise{\mybox}{\depth}}
\test{%
\setboxmoveright{\mybox}{5pt}~%
\setboxwidth{\mybox}{\width + 5pt}~%
\setboxheight{\mybox}{\height + 5pt}~%
- \setboxdepth{\mybox}{\depth + 5pt}%
+ \setboxdepth{\mybox}{\depth + 5pt}%
}
-
+
\end{document}
%</example>
% \end{macrocode}
@@ -362,15 +364,15 @@ and the derived files
% \test{\setboxwidth{\mybox}{1.25\width}}
% \test{\setboxheight{\mybox}{0pt}}
% \test{\setboxheight{\mybox}{2\height}}
-% \test{\setboxdepth{\mybox}{\height}}
-% \test{\setboxmoveleft{\mybox}{5pt}}
+% \test{\setboxdepth{\mybox}{\height}}
+% \test{\setboxmoveleft{\mybox}{5pt}}
% \test{^^A
% \setboxmoveleft{\mybox}{5pt}~^^A
% \setboxwidth{\mybox}{\width + 5pt}^^A
% }
% \test{\setboxmoveright{\mybox}{0.5\width}}
% \test{\setboxlower{\mybox}{\height}}
-% \test{\setboxraise{\mybox}{\depth}}
+% \test{\setboxraise{\mybox}{\depth}}
% \test{^^A
% \setboxmoveright{\mybox}{5pt}~^^A
% \setboxwidth{\mybox}{\width + 5pt}~^^A
@@ -395,7 +397,7 @@ and the derived files
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{settobox}%
- [2006/02/20 v1.2 Getting box sizes (HO)]
+ [2007/04/11 v1.3 Getting box sizes (HO)]
% \end{macrocode}
%
% \begin{macrocode}
@@ -515,13 +517,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/settobox.dtx}] The source file.
% \item[\CTAN{macros/latex/contrib/oberdiek/settobox.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:
@@ -553,8 +589,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|.
%
@@ -628,6 +666,10 @@ and the derived files
% \item
% LPPL 1.3
% \end{Version}
+% \begin{Version}{2007/04/11 v1.3}
+% \item
+% Line ends sanitized.
+% \end{Version}
% \end{History}
%
% \PrintIndex