summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/caption/caption-thesis.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-07-29 03:00:48 +0000
committerNorbert Preining <norbert@preining.info>2023-07-29 03:00:48 +0000
commit68c7c6f998e30e40017dae0faded16f93773c786 (patch)
tree66ad2c81e1296e370bd968ff224a5f3e70e956bc /macros/latex/contrib/caption/caption-thesis.dtx
parent1e45d661b659c3025746d3a41119300ab90d1dcd (diff)
CTAN sync 202307290300
Diffstat (limited to 'macros/latex/contrib/caption/caption-thesis.dtx')
-rw-r--r--macros/latex/contrib/caption/caption-thesis.dtx44
1 files changed, 8 insertions, 36 deletions
diff --git a/macros/latex/contrib/caption/caption-thesis.dtx b/macros/latex/contrib/caption/caption-thesis.dtx
index dbc094f66a..116f7affbe 100644
--- a/macros/latex/contrib/caption/caption-thesis.dtx
+++ b/macros/latex/contrib/caption/caption-thesis.dtx
@@ -2,7 +2,7 @@
%
% This is file `caption-thesis.dtx'.
%
-% Copyright (C) 2008-2022 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm)
+% Copyright (C) 2008-2023 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm)
%
% --------------------------------------------------------------------------
%
@@ -36,29 +36,11 @@
% \iffalse
%<*driver>
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesFile{caption-thesis.drv}[2022/12/27 v2.0 Implementation of the caption-thesis package]
-\hbadness=9999 \newcount\hbadness \hfuzz=100pt % Make TeX shut up.
+\ProvidesFile{caption-thesis.drv}[2023/07/10 v2.0 Implementation of the caption-thesis package]
%\errorcontextlines=3
%
-\documentclass{ltxdoc}
-\setlength\parindent{0pt}
-\setlength\parskip{\smallskipamount}
-%
-\makeatletter % make room for subsections like 2.16.14 in the TOC
-%\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
-\renewcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.7em}}
-\makeatother
-%
-\usepackage{ifpdf}
-\ifpdf
- \usepackage{mathptmx,courier}
- \usepackage[scaled=0.90]{helvet}
- \addtolength\marginparwidth{15pt}
-\fi
-%
-\usepackage{hypdoc}
-\ifpdf\usepackage{hypdestopt}\fi
-\hypersetup{pdfkeywords={LaTeX, package, caption},pdfstartpage={},pdfstartview={}}
+\documentclass{captiondoc}
+\hypersetup{pdfkeywords={LaTeX, package, caption-thesis}}
%
\begin{document}
\DocInput{caption-thesis.dtx}
@@ -66,23 +48,13 @@
%</driver>
% \fi
%
-% \newcommand*\purerm[1]{\texorpdfstring{{\upshape\mdseries\rmfamily #1}}{#1}}
-% \newcommand*\puresf[1]{\texorpdfstring{{\upshape\mdseries\sffamily #1}}{#1}}
-% \newcommand*\purett[1]{\texorpdfstring{{\upshape\mdseries\ttfamily #1}}{#1}}
-% \let\class\puresf \let\package\puresf
-% \let\env\purett \let\opt\purett
-%
-% \newcommand*\csmarg[1]{\texttt{\char`\{#1\char`\}}}
-% \newcommand*\csoarg[1]{\texttt{\char`\[#1\char`\]}}
-% \newcommand*\version[2][]{v$#2$}
-%
% \GetFileInfo{caption-thesis.drv}
% \let\docdate\filedate
% \let\docversion\fileversion
% \GetFileInfo{caption-thesis.sto}
%
% \title{\texorpdfstring
-% {The adaption of the \package{caption} package to the \class{thesis} document class\thanks{%^^A
+% {The adaption of the \pkg{caption} package to the \cls{thesis} document class\thanks{%^^A
% This adaption has version number \docversion.}}%^^A
% {The adaption of the caption package to the thesis document class}}
% \author{Axel Sommerfeldt\\
@@ -91,7 +63,7 @@
% \maketitle
%
% \begin{abstract}
-% This package adapts the \package{caption} package to the thesis document class.
+% This package adapts the \pkg{caption} package to the thesis document class.
% \end{abstract}
%
% \section*{User manual}
@@ -168,7 +140,7 @@
%
% \changes{v1.2a}{2008/01/31}{thesis class support added}
% \changes{v1.2e}{2009/11/15}{Bugfix 09-11-14: thesis class support revised}
-% \changes{v2.0}{2020/08/01}{thesis class support adapted to \package{caption3}~\version{2.0}}
+% \changes{v2.0}{2020/08/01}{thesis class support adapted to \pkg{caption3}~\version{2.0}}
%
% \iffalse
% --------------------------------------------------------------------------- %
@@ -196,7 +168,7 @@
%
% \section{Fonts}
%
-% The `default' fonts map to \cs{cph@font} resp. \cs{cpb@font}.
+% The `default' fonts map to \cs{cph@font} or \cs{cpb@font}.
% \begin{macrocode}
\DeclareCaptionFont{cph@font}{\cph@font}
\DeclareCaptionFont{cpb@font}{\cpb@font}