diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/natbib.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/natbib.4ht | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/natbib.4ht b/Master/texmf-dist/tex/generic/tex4ht/natbib.4ht index 2c3f34a9ad8..567fe13f00f 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/natbib.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/natbib.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% natbib.4ht 2005-10-23-04:19 % -% Copyright (C) 1999--2005 Eitan M. Gurari % +% natbib.4ht 2006-12-01-16:02 % +% Copyright (C) 1999--2006 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % % conditions of the LaTeX Project Public License, either % @@ -24,7 +24,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2005-10-23-04:19} +\immediate\write-1{version 2006-12-01-16:02} \HRestore\@lbibitem @@ -71,17 +71,20 @@ \ifnum\NAT@nm=\@tempcnta \ifx\NAT@last@yr\relax \edef\NAT@last@yr{\@citea - \mbox{\csname nb:link\endcsname\NAT@num}}% + \o:mbox:{\csname nb:link\endcsname +\NAT@num}}% \else \edef\NAT@last@yr{--\penalty - \@m\mbox{\csname nb:link\endcsname\NAT@num}}% + \@m\o:mbox:{\csname nb:link\endcsname +\NAT@num}}% \fi \else - \NAT@last@yr \@citea \mbox{\csname nb:link\endcsname\NAT@num}% + \NAT@last@yr \@citea \o:mbox:{\csname nb:link\endcsname +\NAT@num}% \let\NAT@last@yr\relax \fi \else - \@citea \mbox{\hyper@natlinkstart{\@citeb\@extra@b@citeb}\NAT@num + \@citea \o:mbox:{\hyper@natlinkstart{\@citeb\@extra@b@citeb}\NAT@num \hyper@natlinkend}% \fi \fi @@ -135,6 +138,14 @@ \def\hyper@natanchorstart#1{\Link{}{X#1}\EndLink} \fi + \let\o:NAT@citexnum:\NAT@citexnum +\def\NAT@citexnum[#1][#2]#3{% + \let\sv:mbox\mbox + \let\mbox\o:mbox: + \o:NAT@citexnum:[#1][#2]{#3}% + \let\mbox\sv:mbox +} + \fi \Hinput{natbib} \endinput |