the following code, which I'm trying to run through TeX4HT
and biber
in order to create an .odt file, results in a »missing \begin{document}« error, pointing to the aux file. Something about the citation in the footnote seems to cause trouble. No trouble occurs when
- I'm creating a pdf using ordinary
pdflatex
orlualatex,
or - [which is the most interesting part] a
biblatex
style other than ›authoryear‹, like ›numeric‹, or - I remove the citation from the footnote
Unfortunately, I can't do without any of these three in this case, so I'd appreciate any thoughts on this issue. Thanks a lot! It might have to do with the biblatex adaption of tex4ht, so maybe what'S required here is a manual definition of a missing command, similar to what Ulrike replied to a different but related question.
PS: same problem occurs with \footcite{BoS99}; it also occurs when creating an .html rather than an .odt (option xhlatex
).
PPS: I'm using
mk4ht oolatex [filename]
biber [filename]
mk4ht oolatex [filename]
\begin{filecontents}{testbib.bib}
@BOOK{BoS99,
author = {Bowker, Geoffrey and Star, Susan Leigh},
year = {1999},
title = {Sorting Things Out: Classification and its Consequences},
address = {Cambridge, MA},
publisher = {MIT Press}
}
\end{filecontents}
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber,style=authoryear]{biblatex}
\bibliography{testbib.bib}
\begin{document}
hat einer und gemacht zu werden%
\footnote{um von Buch wollen \cite{BoS99}}
\end{document}
error message:
! LaTeX Error: Missing \begin{document} in `'.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 \abx@aux@fnpage{1}{1}
contents of the aux file:
\relax
\ifx\rEfLiNK\UnDef\gdef \rEfLiNK#1#2{#2}\fi
\abx@aux@fnpage{1}{1}
mk4ht
after you have done the normallatex, biber, latex
run.) Relevant files:biblatex.sty 2011/11/13 v1.7
,biber version: 0.9.9
, and thetex4ht
release from CTAN. You can use the\listfiles
command in your preamble to check which versions you are using.biblatex.sty 2011/11/13 v1.7
|biber version: 0.9.9
|tex4ht.sty 2008-10-27-17:23
|t4ht.c (2010-12-16-08:47 kpathsea)
I tried the workaround you suggested,latex biber latex mk4ht
instead ofmk4ht biber mk4ht
. The problem persists, the only difference is that there's no error message in the first of the three runs invoked by the last mk4ht -- probably because that first run finds a correct aux file produced by the precedinglatex
run.t4ht.c
file on my system..?). Hopefully someone else can replicate and solve your problem.t4ht.c (2010-12-16-08:47 kpathsea)
is simply what shows up when I runtex4ht
without any options or wrappers...tex4ht.c (2009-01-31-07:33 kpathsea)
, but nott4ht.c
. That might be worth investigating further.