[texhax] biblatex and tex4ht

Nicholas Cole nicholas.cole at gmail.com
Tue Jul 14 12:23:03 CEST 2009


Dear Texhax,

I've posted this question elsewhere, but having discovered this list,
I hope that this would be an appropriate place to ask it.

Has anyone managed to get tex4ht to work with biblatex?  Matthias Damm
says he has done, but I haven't been able to successfully re-create
his setup yet.  I currently have the texlive pretesting files
installed, so I hope that I have the latest versions of everything,
and I've pasted minimal example files at the end of this email.  I've
also pasted the error messages that htlatex produces on my system.

I've used tex4ht / htlatex very successfully with other packages.
Does anyone have any suggestions for making it work with biblatex?

Best wishes,

Nicholas

== test.tex

\documentclass{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=verbose]{biblatex}
\bibliography{MyBibliography}
\begin{document}
  Hello \(\alpha\) \footcite{Pole1966}
\end{document}

== MyBibliography.bib

@book{Pole1966,
	Address = {New York, NY},
	Author = {Pole, J. R.},
	Booktitle = {Political Representation in England and the Origins of
the American Republic},
	Date-Added = {2009-07-09 18:18:20 +0100},
	Date-Modified = {2009-07-09 18:18:20 +0100},
	Publisher = {MacMillan},
	Title = {Political Representation in England and the Origins of the
American Republic},
	Year = {1966}}


== Error messages ==

$ mk4ht oolatex test

mk4ht (2008-06-28-19:09)
htlatex test "xhtml,ooffice" "ooffice/! -cmozhtf" "-cooxtpipes -coo"
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, la
tin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish, port
uguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedi
sh, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(./test.tex (/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/tex4ht.sty)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/usepackage.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/english.ldf
(/usr/local/texlive/2009/texmf-dist/tex/generic/babel/babel.def)))
(/Users/nicholas/texmf/tex/latex/csquotes/csquotes.sty
(/Users/nicholas/texmf/tex/latex/etoolbox/etoolbox.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/keyval.sty)
(/Users/nicholas/texmf/tex/latex/csquotes/csquotes.def)
(/Users/nicholas/texmf/tex/latex/csquotes/csquotes.cfg))
(/Users/nicholas/texmf/tex/latex/biblatex/biblatex.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/ltxmisc/url.sty)
(/Users/nicholas/texmf/tex/latex/biblatex/biblatex.def)
(/Users/nicholas/texmf/tex/latex/biblatex/bbx/verbose.bbx
(/Users/nicholas/texmf/tex/latex/biblatex/bbx/authortitle.bbx
(/Users/nicholas/texmf/tex/latex/biblatex/bbx/standard.bbx)))
(/Users/nicholas/texmf/tex/latex/biblatex/cbx/verbose.cbx)
(/Users/nicholas/texmf/tex/latex/biblatex/biblatex.cfg))
(/Users/nicholas/texmf/tex/latex/biblatex/lbx/american.lbx
(/Users/nicholas/texmf/tex/latex/biblatex/lbx/english.lbx))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/tex4ht.4ht
::::::::::::::::::::::::::::::::::::::::::
 TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/tex4ht.sty
--- needs --- tex4ht test ---
(./test.tmp) (./test.xref)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/latex.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/fontmath.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht [1
\@writefile{toc}{\defcounter{refsection}{0}}
\@writefile{toc}{\boolfalse{citerequest}\boolfalse{citetracker}\boolfalse{paget
racker}}
\@writefile{lof}{\defcounter{refsection}{0}}
\@writefile{lof}{\boolfalse{citerequest}\boolfalse{citetracker}\boolfalse{paget
racker}}
\@writefile{lot}{\defcounter{refsection}{0}}
\@writefile{lot}{\boolfalse{citerequest}\boolfalse{citetracker}\boolfalse{paget
racker}}
] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]
[18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32]
[33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47]
[48] [49] [50] [51] [52] [53])
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/article.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/babel.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/english.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/biblatex.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ifthen.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/url.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht))
(./test.aux) (./test.bbl) [1]
! Undefined control sequence.
\blx at begunit ...lx at leavevmode \blx at csq@ifkernmark
                                                  {} {\penalty \@M \hskip -\...
l.7   Hello \(\alpha\) \footcite{Pole1966}

?


More information about the texhax mailing list