diff options
author | Karl Berry <karl@freefriends.org> | 2012-10-26 21:31:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-10-26 21:31:04 +0000 |
commit | 72a3c141966579d533651df02a1dc7ed0859c0d9 (patch) | |
tree | 535b5340b2732134804c6cc2c2c843eb2c9d7ffe /Master/texmf-dist | |
parent | effd22637d8ee3d67c2ad86c64ac942f24fef362 (diff) |
new biblatex.4ht from cvr, tex4ht r97
git-svn-id: svn://tug.org/texlive/trunk@28089 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht b/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht index c0e6280c64e..65b13685f69 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/biblatex.4ht @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% biblatex.4ht 2012-10-25-14:56 % +% biblatex.4ht 2012-10-26-14:30 % % Copyright (C) 2007--2009 Eitan M. Gurari % % 2009--2012 TeX Users Group % % % @@ -25,7 +25,7 @@ % tex4ht@tug.org % % http://www.tug.org/tex4ht % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2012-10-25-14:56} +\immediate\write-1{version 2012-10-26-14:30} % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -416,24 +416,39 @@ \let\blx@ifhyperref\@firstoftwo -%\def\hyper:natanchorstart#1{\Link{}{#1}\EndLink}% -%\def\hyper:natlinkstart#1{\Link{#1}{}}% - -\def\hyper:natanchorstart#1{% +% Oleg Domanov odomanov@yandex.ru reports: +% tex4ht ends with an error when compiles biblatex files. I'm on +% Windows, texlive 2012. I put here a minimal example and files +% generated with the command latexmk test && mk4ht oolatex test +% +% https://www.dropbox.com/s/hn1zm40htqs13mf/t4htlink.zip +% +% There is a superfluous \relax in the file test.tmp, line 65 which +% seems to cause the error. +% +% Changes to cope with biblatex upgrade caused this problem. It is now +% fixed. --CVR 2012/10/26 +% +\:CheckOption{ooffice}\if:Option + \def\hyper:natanchorstart#1{\Link{}{#1}\EndLink}% + \def\hyper:natlinkstart#1{\Link{#1}{}}% +\else + \def\hyper:natanchorstart#1{% \expandafter\ifx\csname QXpage.\thepage\endcsname\relax% \Tag{)Qpage.\thepage}{\file:id}% \HCode{<a id="page.\thepage"></a>}% \expandafter\xdef\csname QXpage.\thepage\endcsname{0}% \fi \Link[\csname BibFileName\therefsection\endcsname]{}{#1}\EndLink} -\def\hyper:natanchorend{} -\def\hyper:natlinkstart#1{% + \def\hyper:natlinkstart#1{% \expandafter\ifx\csname QXpage.\thepage\endcsname\relax% \Tag{)Qpage.\thepage}{\file:id}% \HCode{<a id="page.\thepage"></a>}% \expandafter\xdef\csname QXpage.\thepage\endcsname{0}% \fi \Link[\csname BibFileName\therefsection\endcsname]{#1}{}} +\fi +\def\hyper:natanchorend{} \def\hyper:natlinkend{\EndLink} \def\writeCiteLink#1{\immediate\write\@mainaux{% \string\@namedef{#1.\thepage}{\FileName}}} |