diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/hypcap.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/hypcap.dtx | 78 |
1 files changed, 62 insertions, 16 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/hypcap.dtx b/Master/texmf-dist/source/latex/oberdiek/hypcap.dtx index 327ba0b69fd..a49d63c6195 100644 --- a/Master/texmf-dist/source/latex/oberdiek/hypcap.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/hypcap.dtx @@ -1,11 +1,12 @@ % \iffalse meta-comment -% +% % File: hypcap.dtx % Version: 2011/02/16 v1.11 -% +% Info: Adjusting the anchors of captions +% % Copyright (C) 1999-2001, 2006-2008, 2011 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,19 +16,19 @@ % 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 hypcap.dtx % and the derived files % hypcap.sty, hypcap.pdf, hypcap.ins, hypcap.drv. -% +% % Distribution: % CTAN:macros/latex/contrib/oberdiek/hypcap.dtx % CTAN:macros/latex/contrib/oberdiek/hypcap.pdf -% +% % Unpacking: % (a) If hypcap.ins is present: % tex hypcap.ins @@ -36,7 +37,7 @@ % (c) If you insist on using LaTeX % latex \let\install=y\input{hypcap.dtx} % (quote the arguments according to the demands of your shell) -% +% % Documentation: % (a) If hypcap.drv is present: % latex hypcap.drv @@ -46,14 +47,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 hypcap.dtx % makeindex -s gind.ist hypcap.idx % pdflatex hypcap.dtx % makeindex -s gind.ist hypcap.idx % pdflatex hypcap.dtx -% +% % Installation: % TDS:tex/latex/oberdiek/hypcap.sty % TDS:doc/latex/oberdiek/hypcap.pdf @@ -74,7 +75,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: hypcap 2011/02/16 v1.11 Adjusting anchors of captions (HO)} +\Msg{* Package: hypcap 2011/02/16 v1.11 Adjusting the anchors of captions (HO)} \Msg{************************************************************************} \keepsilent @@ -117,6 +118,10 @@ and the derived files \file{hypcap.drv}{\from{hypcap.dtx}{driver}}% \usedir{tex/latex/oberdiek}% \file{hypcap.sty}{\from{hypcap.dtx}{package}}% + \nopreamble + \nopostamble + \usedir{source/latex/oberdiek/catalogue}% + \file{hypcap.xml}{\from{hypcap.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -143,16 +148,16 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{hypcap.drv}% - [2011/02/16 v1.11 Adjusting anchors of captions (HO)]% + [2011/02/16 v1.11 Adjusting the anchors of captions (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/02/04] +\usepackage{holtxdoc}[2011/11/22] \begin{document} \DocInput{hypcap.dtx}% \end{document} %</driver> % \fi % -% \CheckSum{170} +% \CheckSum{174} % % \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 @@ -307,7 +312,7 @@ and the derived files % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hypcap}% - [2011/02/16 v1.11 Adjusting anchors of captions (HO)] + [2011/02/16 v1.11 Adjusting the anchors of captions (HO)] % \end{macrocode} % % For unique command names this package uses |hc@| as prefix @@ -677,6 +682,47 @@ 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{hypcap.xml}. +% \begin{macrocode} +%<*catalogue> +<?xml version='1.0' encoding='us-ascii'?> +<!DOCTYPE entry SYSTEM 'catalogue.dtd'> +<entry datestamp='$Date$' modifier='$Author$' id='hypcap'> + <name>hypcap</name> + <caption>Adjusting the anchors of captions.</caption> + <authorref id='auth:oberdiek'/> + <copyright owner='Heiko Oberdiek' year='1999-2001,2006-2008,2011'/> + <license type='lppl1.3'/> + <version number='1.11'/> + <description> + The package offers a solution to the problem that when you link to + a float using <xref refid='hyperref'>hyperref</xref>, the link + anchors to below the float's caption, rather than the beginning of + the float. + <p/> + Hypcap defines a separate \capstart command, which you put where + you want links to end; you should have a \capstart command for each + \caption command. Package options can be used to auto-insert a + \capstart at the start of a float environment. + <p/> + The package is part of the <xref refid='oberdiek'>oberdiek</xref> bundle. + </description> + <documentation details='Package documentation' + href='ctan:/macros/latex/contrib/oberdiek/hypcap.pdf'/> + <ctan file='true' path='/macros/latex/contrib/oberdiek/hypcap.dtx'/> + <miktex location='oberdiek'/> + <texlive location='oberdiek'/> + <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/> +</entry> +%</catalogue> +% \end{macrocode} +% % \begin{History} % \begin{Version}{1999/02/13 v1.0} % \item |