summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/caption/caption-ntg.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-ntg.dtx
parent1e45d661b659c3025746d3a41119300ab90d1dcd (diff)
CTAN sync 202307290300
Diffstat (limited to 'macros/latex/contrib/caption/caption-ntg.dtx')
-rw-r--r--macros/latex/contrib/caption/caption-ntg.dtx46
1 files changed, 8 insertions, 38 deletions
diff --git a/macros/latex/contrib/caption/caption-ntg.dtx b/macros/latex/contrib/caption/caption-ntg.dtx
index f32a3f2c4c..359c233054 100644
--- a/macros/latex/contrib/caption/caption-ntg.dtx
+++ b/macros/latex/contrib/caption/caption-ntg.dtx
@@ -2,7 +2,7 @@
%
% This is file `caption-ntg.dtx'.
%
-% Copyright (C) 2007-2022 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm)
+% Copyright (C) 2007-2023 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm)
%
% --------------------------------------------------------------------------
%
@@ -36,31 +36,11 @@
% \iffalse
%<*driver>
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesFile{caption-ntg.drv}[2022/12/27 v2.0 Implementation of the caption-ntg package]
-\hbadness=9999 \newcount\hbadness \hfuzz=100pt % Make TeX shut up.
+\ProvidesFile{caption-ntg.drv}[2023/07/10 v2.0 Implementation of the caption-ntg 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={}}
-%
-\DeclareRobustCommand*\NTG{NTG}
+\documentclass{captiondoc}
+\hypersetup{pdfkeywords={LaTeX, package, caption-ntg}}
%
\begin{document}
\DocInput{caption-ntg.dtx}
@@ -68,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-ntg.drv}
% \let\docdate\filedate
% \let\docversion\fileversion
% \GetFileInfo{caption-ntg.sto}
%
% \title{\texorpdfstring
-% {The adaption of the \package{caption} package to the \NTG\ document classes\thanks{%^^A
+% {The adaption of the \pkg{caption} package to the \NTG\ document classes\thanks{%^^A
% This adaption has version number \docversion.}}%^^A
% {The adaption of the caption package to the NTG document classes}}
% \author{Axel Sommerfeldt\\
@@ -93,7 +63,7 @@
% \maketitle
%
% \begin{abstract}
-% This package adapts the \package{caption} package to the \NTG\ document classes.
+% This package adapts the \pkg{caption} package to the \NTG\ document classes.
% \end{abstract}
%
% \section*{User manual}
@@ -169,7 +139,7 @@
% \newcommand*\Note[2][Note]{\par{\small\emph{#1:} #2}\par}
%
% \changes{v1.1}{2007/04/06}{\NTG\ class support added}
-% \changes{v2.0}{2020/08/01}{\NTG\ class support adapted to \package{caption3}~\version{2.0}}
+% \changes{v2.0}{2020/08/01}{\NTG\ class support adapted to \pkg{caption3}~\version{2.0}}
%
% \iffalse
% --------------------------------------------------------------------------- %
@@ -190,7 +160,7 @@
%
% \section{Fonts}
%
-% The `default' fonts map to \cs{CaptionLabelFont} resp. \cs{CaptionTextFont}.
+% The `default' fonts map to \cs{CaptionLabelFont} or \cs{CaptionTextFont}.
% \begin{macrocode}
\DeclareCaptionFont{ntg@labelfont}{\CaptionLabelFont}
\DeclareCaptionFont{ntg@textfont}{\CaptionTextFont}