[texhax] biblatex and tex4ht

Eric Abrahamsen eric at ericabrahamsen.net
Sun Jun 20 11:02:24 CEST 2010


(sorry, might have sent a half-completed version of this by accident)

I know this question has been asked plenty of times before (because I've
been googling all day), but I've followed all the instructions I could
find, and I still can't get tex4ht to work with biblatex—it always tells
me that biblatex's commands are undefined.

I'm using TeX Live 2009/Debian on Ubuntu, with the newest version of
biblatex and an installation of tex4ht that I've patched according to
instructions here:

http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes2.html

But still oolatex (I'm trying to get an odt file out of this) tells me
that citation commands (even something as simple as \cite) are
undefined.

Using a test file called test.tex:

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{biblatex}

\bibliography{test}

\begin{document}
Hello, I want to \cite[p. 50]{jolly_contributions} right here.
\end{document}
--8<---------------cut here---------------end--------------->8---

and a test.bib file:

--8<---------------cut here---------------start------------->8---
@Book{jolly_contributions,
    author    = {Richard Jolly, et al.},
    title     = {UN Contributions to Development Thinking and Practice},
    year      = {2004},
    publisher = {Indiana University Press},
}
--8<---------------cut here---------------end--------------->8---

and running:
mk4ht oolatex test.tex

I get the following error:


--8<---------------cut here---------------start------------->8---
…
(/usr/share/texmf/tex/generic/tex4ht/ooffice-mml.4ht)) (./test.aux) (./test.bbl
)
! Undefined control sequence.
\blx at begunit ...blx at postpunct \blx at resetpuncthook 
                                                  \iftoggle {blx at tempa} {} {...
l.7 ... want to \cite[p. 50]{jolly_contributions} 
                                                  right here.
--8<---------------cut here---------------end--------------->8---

And there it dies.

I've got log files galore, and would be happy to provide any more
details if anyone thought they might have a solution to this…

Thanks!
Eric



More information about the texhax mailing list