From aa1776c78dfdb456e2228fbceaa886e64e36174c Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 2 May 2012 21:50:45 +0000
Subject: oberdiek (1may12)

git-svn-id: svn://tug.org/texlive/trunk@26177 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/source/latex/oberdiek/settobox.dtx  | 79 +++++++++++++++++-----
 1 file changed, 63 insertions(+), 16 deletions(-)

(limited to 'Master/texmf-dist/source/latex/oberdiek/settobox.dtx')

diff --git a/Master/texmf-dist/source/latex/oberdiek/settobox.dtx b/Master/texmf-dist/source/latex/oberdiek/settobox.dtx
index b9d0e45c021..b9360fa3bf7 100644
--- a/Master/texmf-dist/source/latex/oberdiek/settobox.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/settobox.dtx
@@ -1,11 +1,12 @@
 % \iffalse meta-comment
-% 
+%
 % File: settobox.dtx
 % Version: 2008/08/11 v1.4
-% 
+% Info: Assign box dimensions to length registers
+%
 % Copyright (C) 2000, 2006-2008 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,20 +16,20 @@
 %    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.
-% 
+%
 % This work consists of the main source file settobox.dtx
 % and the derived files
 %    settobox.sty, settobox.pdf, settobox.ins, settobox.drv,
 %    settobox-example.tex.
-% 
+%
 % Distribution:
 %    CTAN:macros/latex/contrib/oberdiek/settobox.dtx
 %    CTAN:macros/latex/contrib/oberdiek/settobox.pdf
-% 
+%
 % Unpacking:
 %    (a) If settobox.ins is present:
 %           tex settobox.ins
@@ -37,7 +38,7 @@
 %    (c) If you insist on using LaTeX
 %           latex \let\install=y\input{settobox.dtx}
 %        (quote the arguments according to the demands of your shell)
-% 
+%
 % Documentation:
 %    (a) If settobox.drv is present:
 %           latex settobox.drv
@@ -47,14 +48,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 settobox.dtx
 %       makeindex -s gind.ist settobox.idx
 %       pdflatex settobox.dtx
 %       makeindex -s gind.ist settobox.idx
 %       pdflatex settobox.dtx
-% 
+%
 % Installation:
 %    TDS:tex/latex/oberdiek/settobox.sty
 %    TDS:doc/latex/oberdiek/settobox.pdf
@@ -76,7 +77,7 @@
 \input docstrip.tex
 \Msg{************************************************************************}
 \Msg{* Installation}
-\Msg{* Package: settobox 2008/08/11 v1.4 Getting box sizes (HO)}
+\Msg{* Package: settobox 2008/08/11 v1.4 Assign box dimensions to length registers (HO)}
 \Msg{************************************************************************}
 
 \keepsilent
@@ -122,6 +123,10 @@ and the derived files
   \file{settobox.sty}{\from{settobox.dtx}{package}}%
   \usedir{doc/latex/oberdiek}%
   \file{settobox-example.tex}{\from{settobox.dtx}{example}}%
+  \nopreamble
+  \nopostamble
+  \usedir{source/latex/oberdiek/catalogue}%
+  \file{settobox.xml}{\from{settobox.dtx}{catalogue}}%
 }
 
 \catcode32=13\relax% active space
@@ -148,9 +153,9 @@ and the derived files
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{settobox.drv}%
-  [2008/08/11 v1.4 Getting box sizes (HO)]%
+  [2008/08/11 v1.4 Assign box dimensions to length registers (HO)]%
 \documentclass{ltxdoc}
-\usepackage{holtxdoc}[2011/02/04]
+\usepackage{holtxdoc}[2011/11/22]
 \usepackage{calc}
 \usepackage{settobox}
 \begin{document}
@@ -159,7 +164,7 @@ and the derived files
 %</driver>
 % \fi
 %
-% \CheckSum{97}
+% \CheckSum{109}
 %
 % \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
@@ -414,7 +419,7 @@ and the derived files
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{settobox}%
-  [2008/08/11 v1.4 Getting box sizes (HO)]
+  [2008/08/11 v1.4 Assign box dimensions to length registers (HO)]
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -715,6 +720,48 @@ 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{settobox.xml}.
+%    \begin{macrocode}
+%<*catalogue>
+<?xml version='1.0' encoding='us-ascii'?>
+<!DOCTYPE entry SYSTEM 'catalogue.dtd'>
+<entry datestamp='$Date$' modifier='$Author$' id='settobox'>
+  <name>settobox</name>
+  <caption>Assigning dimensions of a box to a length register.</caption>
+  <authorref id='auth:oberdiek'/>
+  <copyright owner='Heiko Oberdiek' year='2000,2006-2008'/>
+  <license type='lppl1.3'/>
+  <version number='1.4'/>
+  <description>
+    Commands to assist the reuse of boxes (set up by <tt>\sbox</tt> or
+    by the <tt>lrbox</tt> environment); the <tt>\settobox...</tt>
+    commands behave similarly to the <tt>\settowidth</tt> (etc.)
+    commands.  For example:
+    <pre>
+      \newsavebox{\mybox}
+      \newlength{\mylength}
+      \sbox{\mybox}{Hello World}
+      \settoboxwidth{\mylength}{\mybox}
+    </pre>
+    <p/>
+    The package is part of the <xref refid='oberdiek'>oberdiek</xref> bundle.
+  </description>
+  <documentation details='Package documentation'
+      href='ctan:/macros/latex/contrib/oberdiek/settobox.pdf'/>
+  <ctan file='true' path='/macros/latex/contrib/oberdiek/settobox.dtx'/>
+  <miktex location='oberdiek'/>
+  <texlive location='oberdiek'/>
+  <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/>
+</entry>
+%</catalogue>
+%    \end{macrocode}
+%
 % \begin{History}
 %   \begin{Version}{2000/02/11 v1.0}
 %   \item
-- 
cgit v1.2.3

