TeX - LaTeX Asked on July 19, 2021
What is the preferred way of using bibliographies with Tex4ebook? I have tried using bibtex and biblatex but cannot get the bibliography to show on the epub.
I tried the method in In which order execute htlatex and bibtex?, but it doesn’t produce any references?
I’m using the latest Miktex if that’s relevant.
Thank you.
@Michal.21
The log file is at https://1drv.ms/u/s!AuihY7Zd3CrNdgot943134AzNDc
Thank you.
Update 2:
Miktex has an old file: biblatex.4ht (2015-02-04-14:23).
I replaced it with your version and now the sequence make4ht – biber – make4ht gives a proper html file with hyperlinks for the reference. A single make4ht gives the reference without the links. Tex4ebook still doesn’t work.
Thank you.
You can use the make4ht
build file to call biber
or bibtex
directly in the tex4ebook
run. Save the following file as mybuild.mk4
:
Make:add("biber","biber ${input}")
Make:htlatex {}
Make:biber {}
Make:htlatex {}
You can select the build file using -e
option (alternatively, you can name it as your TeX file, but with .mk4
extension)
tex4ebook -e mybuild.mk4 filename.tex
The following sample file
documentclass{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[czech]{babel}
usepackage{biblatex}
addbibresource{xampl.bib}
title{Základní dokument v češtině}
author{Michal Hoftich}
begin{document}
maketitle
tableofcontents
section{Úvod}
Příliš žluťoučký kůň textit{úpěl} textbf{ďábelské ódy} parencite{article-full}
printbibliography
end{document}
Is displayed in this way:
Correct answer by michal.h21 on July 19, 2021
Save the following as mybuild.mk4
and run with tex4ebook -e mybuild.mk4 filename.tex
, notice the extra htlatex
to complete the cycle. It worked for me.
Make:add("biber","biber ${input}")
Make:htlatex {}
Make:biber {}
Make:htlatex {}
Make:htlatex {}
Answered by sogrekci on July 19, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP