diff options
author | Karl Berry <karl@freefriends.org> | 2013-06-28 21:46:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-06-28 21:46:39 +0000 |
commit | 840656b2292320a3bd7d85c0b950cfbe8041bb65 (patch) | |
tree | 8ea73b241c9a779f7025e48c340e925eb639ac11 /Master/texmf-dist/tex/generic | |
parent | 18a4ea508b440ebd61e95a0614f082e7b16b83ea (diff) |
nameref.4ht from cvr, for http://puszcza.gnu.org.ua/bugs/?185 and 186
git-svn-id: svn://tug.org/texlive/trunk@31005 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/nameref.4ht | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht b/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht index a0c5885a5b7..87a7682d14d 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/nameref.4ht @@ -1,7 +1,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% nameref.4ht 2012-10-14-11:06 % +% nameref.4ht 2013-06-28-15:01 % % Copyright (C) 2005--2009 Eitan M. Gurari % -% 2009--2012 TeX Users Group % +% 2009--2013 TeX Users Group % % % % This work may be distributed and/or modified under the % % conditions of the LaTeX Project Public License, either % @@ -25,31 +25,17 @@ % tex4ht@tug.org % % http://www.tug.org/tex4ht % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2012-10-14-11:06} -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either -% version 1.3c of this license or (at your option) any -% later version. The latest version of this license is in -% http://www.latex-project.org/lppl.txt -% and version 1.3c or later is part of all distributions -% of LaTeX version 2005/12/01 or later. -% -% This work has the LPPL maintenance status "maintained". -% -% The Current Maintainer of this work -% is the TeX4ht Project <http://tug.org/tex4ht>. -% -% If you modify this program, changing the -% version identification would be appreciated. - \let\ltx@label\label +\immediate\write-1{version 2013-06-28-15:01} + + \let\NR:Type\relax +\let\ltx@label\label \def\prf:label{{\ifx \NR:Title\:UnDef \else \NR:Title\fi}% {\ifx \NR:Type\:UnDef \else \NR:Type .1\fi}{}}% \let\NR:StartSec\:StartSec \let\NR:no@sect\no@sect \def\no@sect#1#2#3#4#5#6[#7]#8{\gdef\NR:Title{\a:newlabel{#7}}% \gdef\NR:Type{#1}% - \NR:no@sect{#1}{#2}{#3}{#4}{#5}{#6}[#7]{#8}} + \NR:no@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}} \def\:StartSec#1#2#3{% \gdef\NR:Title{\a:newlabel{#3}}% \gdef\NR:Type{#1}% @@ -59,7 +45,7 @@ \def\:tempc#1#2#3#4#5#6[#7]#8{% \gdef\NR:Title{\a:newlabel{#7}}% \gdef\NR:Type{#1}% - \o:NR@sect:{#1}{#2}{#3}{#4}{#5}{#6}[#7]{#8}} + \o:NR@sect:{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}} \HLet\NR@sect\:tempc \def\:tempc#1#2#3#4#5{% @@ -84,7 +70,7 @@ \def\:tempc[#1]#2{% \gdef\NR:Title{\a:newlabel{#1}}% \gdef\NR:Type{chapter}% - \o:NR@chapter:[#1]{#2}} + \o:NR@chapter:[{#1}]{#2}} \HLet\NR@chapter\:tempc \def\:tempc#1{% |