summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/custom.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-07-26 18:12:09 +0000
committerKarl Berry <karl@freefriends.org>2007-07-26 18:12:09 +0000
commitbc4a246d8757e9c6e1a938ce98b78841e5114935 (patch)
tree8ed27c0d3abf240c503f1152b757a16f602dfde0 /Master/texmf-dist/source/latex/disser/custom.dtx
parenteb5be484f99eaae05ca8b88b93c5a4b5faa981e8 (diff)
disser update (23jul07)
git-svn-id: svn://tug.org/texlive/trunk@4658 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/disser/custom.dtx')
-rw-r--r--Master/texmf-dist/source/latex/disser/custom.dtx26
1 files changed, 9 insertions, 17 deletions
diff --git a/Master/texmf-dist/source/latex/disser/custom.dtx b/Master/texmf-dist/source/latex/disser/custom.dtx
index b5595a2e0d0..072fe00fa2d 100644
--- a/Master/texmf-dist/source/latex/disser/custom.dtx
+++ b/Master/texmf-dist/source/latex/disser/custom.dtx
@@ -84,7 +84,9 @@
\pdfcompresslevel = 9
\fi
\usepackage[pdftex]{graphicx}
- \usepackage{cmap}
+ \IfFileExists{cmap.sty}{%
+ \usepackage{cmap}
+ }{}
\else
% \end{macrocode}
% \item для \LaTeX{}
@@ -102,28 +104,18 @@
% \begin{macrocode}
\usepackage[rflt]{floatflt}
% \end{macrocode}
-% Пакет для вложенной нумерации объектов (например, 1.а)
+% \paragraph{Пакет для вложенной нумерации плавающих объектов}
% \begin{macrocode}
\ifsubf
- \usepackage[normalsize]{subfigure}
+ \usepackage[config,font=small,labelsep=period]{caption,subfig}
% \end{macrocode}
-% Формат постоянной части подписи для плавающих объектов с вложенной
-% нумерацией.
+% Формат счетчика.
% \begin{macrocode}
- \renewcommand*\@thesubfigure{\small\textit{\asbuk{subfigure}})}
+ \def\thesubfigure{\textit{\asbuk{subfigure}}}
% \end{macrocode}
-% Формат ссылки (через |\subref|).
+% Формат ссылки через |\ref|.
% \begin{macrocode}
- \renewcommand*\@@thesubfigure{\textit{\asbuk{subfigure}})}
-% \end{macrocode}
-% Формат ссылки (через |\ref|).
-% \begin{macrocode}
- \renewcommand*\thesubfigure{,~\textit{\asbuk{subfigure}}}
-% \end{macrocode}
-% Еще раз формат метки (нужно указать два раза из-за странной ошибки в пакете
-% |subfigure|).
-% \begin{macrocode}
- \renewcommand*\@thesubfigure{\small\textit{\asbuk{subfigure}})}
+ \def\p@subfigure{\thefigure, }
\fi
% \end{macrocode}