Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Conflict between tex4ht and biblatex?

34 views
Skip to first unread message

Till A. Heilmann

unread,
Dec 17, 2009, 10:52:24 AM12/17/09
to
Is it possible that current versions of tex4ht and biblatex (TeXLive
2009) don't go well together?

Minimal example:

\begin{filecontents}{bibfile.bib}
@book{bibkey,Author={Author},Title={Title},Year=2009}
\end{filecontents}
\documentclass{article}
\usepackage{biblatex}
\bibliography{bibfile}
\begin{document}
\cite{bibkey}
\end{document}

Log:

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
entering extended mode
LaTeX2e <2009/09/24>
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, ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal,
nynorsk, po
lish, portuguese, romanian, russian, sanskrit, serbian, slovak,
slovenian, span
ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh,
loaded.
(./test.tex

LaTeX Warning: File `bibfile.bib' already exists on the system.
Not generating it from this source.

(/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h 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)
(/Users/heilmann/Dropbox/texmf/tex/latex/biblatex/biblatex.sty
(/Users/heilmann/Dropbox/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)
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/ltxmisc/url.sty)
(/Users/heilmann/Dropbox/texmf/tex/latex/biblatex/biblatex.def)
(/Users/heilmann/Dropbox/texmf/tex/latex/biblatex/bbx/numeric.bbx
(/Users/heilmann/Dropbox/texmf/tex/latex/biblatex/bbx/standard.bbx))
(/Users/heilmann/Dropbox/texmf/tex/latex/biblatex/cbx/numeric.cbx)
(/Users/heilmann/Dropbox/texmf/tex/latex/biblatex/biblatex.cfg))
(/Users/heilmann/Dropbox/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)
l.1437 --- TeX4ht warning --- No file test.xref ---
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/latex.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.
4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/fontmath.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.
4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/article.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.
4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/biblatex.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.
4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ifthen.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.
4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/url.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.
4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/english.4ht
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.
4ht))
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/html4-math.
4ht))
(./test.aux) (./test.bbl)
! Undefined control sequence.
\blx@begunit ...blx@postpunct \blx@resetpuncthook
\iftoggle
{blx@tempa} {} {...
l.9 \cite{bibkey}

?
! Undefined control sequence.
\blx@begunit ...lx@leavevmode \blx@csq@ifkernmark
{} {\penalty \@M
\hskip -\...
l.9 \cite{bibkey}

?
! Undefined control sequence.
\blx@begunit ...blx@postpunct \blx@resetpuncthook
\iftoggle
{blx@tempa} {} {...
l.9 \cite{bibkey}

?
! Undefined control sequence.
\blx@begunit ...lx@leavevmode \blx@csq@ifkernmark
{} {\penalty \@M
\hskip -\...
l.9 \cite{bibkey}

?
[1] (./test.aux)

*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
tex4ht.sty
biblatex.sty 2009/09/20 v0.8i programmable bibliographies
etoolbox.sty 2009/08/06 v1.8 e-TeX tools for LaTeX
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
biblatex.def 2009/09/20 v0.8i biblatex generic definitions
biblatex.def 2009/09/20 v0.8i biblatex generic definitions
numeric.bbx 2009/07/04 v0.8e biblatex bibliography style
standard.bbx 2009/07/04 v0.8e biblatex bibliography style
standard.bbx 2009/07/04 v0.8e biblatex bibliography style
numeric.bbx 2009/07/04 v0.8e biblatex bibliography style
numeric.cbx 2009/07/04 v0.8e biblatex citation style
numeric.cbx 2009/07/04 v0.8e biblatex citation style
biblatex.cfg
biblatex.cfg
english.lbx 2009/07/04 v0.8e biblatex localization
english.lbx 2009/07/04 v0.8e biblatex localization
test.bbl
***********

)
Output written on test.dvi (1 page, 9692 bytes).
Transcript written on test.log.

Philip A. Viton

unread,
Dec 18, 2009, 2:26:06 PM12/18/09
to
In article <9925aaf0-c1d7-49e4-b1a5-53bc2abc0c83
@m25g2000yqc.googlegroups.com>, ma...@tillheilmann.info says...

> Is it possible that current versions of tex4ht and biblatex (TeXLive
> 2009) don't go well together?
>

I take it that this works OK without tex4ht?

Can you figure out just which control sequence is
unrecognized? I did a search in biblatex.4ht for
some of the ones mentioned in the error messages
and they seem to be there. Bit I'm far from being an expert
here.


--


Phil Viton
Ohio State University

Till A. Heilmann

unread,
Dec 23, 2009, 5:24:01 AM12/23/09
to
On 18 Dez., 20:26, Philip A. Viton <vito...@osu.edu> wrote:

> I take it that this works OK without tex4ht?

Yes, it does.

> Can you figure out just which control sequence is
> unrecognized?

Unfortunately not. I can point at some code from biblatex.4ht which
seems to be involved in the error but nothing more.

\def\blx@begunit{%
\toggletrue{blx@tempa}%
\iftoggle{blx@insert}%
{\iftoggle{blx@unit}%
{\begingroup
\let\blx@begunit\@empty
\let\blx@endunit\@empty
\blx@unitpunct\blx@postpunct
\endgroup
\global\togglefalse{blx@unit}%
\togglefalse{blx@tempa}}%
{\blx@postpunct}%
\iftoggle{blx@block}%
{\begingroup
\let\blx@begunit\@empty
\let\blx@endunit\@empty
\newblockpunct
\endgroup
\global\togglefalse{blx@block}%
\togglefalse{blx@tempa}}%
{}}
{}%
\blx@postpunct
\blx@resetpuncthook
\iftoggle{blx@tempa}%
{}%
{\global\togglefalse{blx@insert}}%
\csname a:blx@unit\endcsname
\blx@leavevmode
\blx@csq@ifkernmark
{}%
{\penalty\@M
\hskip-\blx@unitmark\relax
\hskip\blx@unitmark\relax}%
\begingroup
\Configure{blx@unit}{}{}%
}

0 new messages