From 4bf6d40e1871037aeeadbc08a3aaadf63bd5afc6 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 21 Aug 2011 23:25:38 +0000
Subject: caption (21aug11 and earlier)

git-svn-id: svn://tug.org/texlive/trunk@23635 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/caption/ltcaption.dtx | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/source/latex/caption/ltcaption.dtx')

diff --git a/Master/texmf-dist/source/latex/caption/ltcaption.dtx b/Master/texmf-dist/source/latex/caption/ltcaption.dtx
index 4973327f210..6dae5f9edf0 100644
--- a/Master/texmf-dist/source/latex/caption/ltcaption.dtx
+++ b/Master/texmf-dist/source/latex/caption/ltcaption.dtx
@@ -25,7 +25,7 @@
 % caption-eng.tex, and caption-rus.tex.
 % 
 % \fi
-% \CheckSum{341}
+% \CheckSum{343}
 %
 % \iffalse
 %<*driver>
@@ -435,7 +435,7 @@
 %
 % \setlength{\parskip}{0pt plus 1pt}
 % \changes{v1.0}{2007/04/15}{First release}
-% \changes{v1.1}{2007/07/06}{Support of |\LTcaptype| added}
+% \changes{v1.1}{2007/07/06}{Support of \cs{LTcaptype} added}
 %
 % \iffalse
 % --------------------------------------------------------------------------- %
@@ -454,6 +454,11 @@
 \ProvidesPackage{ltcaption}[2011/01/01 v1.2a longtable captions (AR)]
 %    \end{macrocode}
 %
+%    \begin{macrocode}
+\@ifpackageloaded{longtable}{}{%
+  \PackageError{ltcaption}{longtable package not loaded, aborting}{RTFM}}
+%    \end{macrocode}
+%
 % \subsection{User interface}
 %
 % \begin{macro}{\LTcaptype}
-- 
cgit v1.2.3

