summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/zref-titleref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-09 21:54:51 +0000
committerKarl Berry <karl@freefriends.org>2007-05-09 21:54:51 +0000
commit1b38d8b54a69cadeaa6385690a7c81d829136b57 (patch)
tree04211e793c0561074765e235bccf1e6ccb3ff23b /Master/texmf-dist/tex/latex/oberdiek/zref-titleref.sty
parent64ae38fe6e63257c9c5387838608ac4e8f664446 (diff)
oberdiek update
git-svn-id: svn://tug.org/texlive/trunk@4272 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/zref-titleref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/zref-titleref.sty14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/zref-titleref.sty b/Master/texmf-dist/tex/latex/oberdiek/zref-titleref.sty
index 12825c9eadd..6cc952cb316 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/zref-titleref.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/zref-titleref.sty
@@ -33,8 +33,8 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-titleref}%
- [2007/04/22 v1.8 Module titleref for zref (HO)]%
-\RequirePackage{zref-base}[2007/04/22]
+ [2007/05/06 v2.0 Module titleref for zref (HO)]%
+\RequirePackage{zref-base}[2007/05/06]
\@ifundefined{ZREF@baseok}{\endinput}{}
\RequirePackage{keyval}
\let\zref@titleref@current\@empty
@@ -181,7 +181,15 @@
}%
}%
}{}%
-}%
+ \@ifpackageloaded{longtable}{%
+ \ZREF@patch{LT@c@ption}{%
+ \def\LT@c@ption#1[#2]#3{%
+ \ZREF@org@LT@c@ption{#1}[{#2}]{#3}%
+ \zref@titlesec@setcurrent{#2}%
+ }%
+ }%
+ }{}%
+}
\endinput
%%
%% End of file `zref-titleref.sty'.