How to use biber and biblatex in TeXmacs?

@pireddag @jeroen @re4zuaFe I did some more experiments on the biber issue. This is just to inform you what I did, what the results were and what I think where the problems are.

Actions taken

  1. I did the entire pdfLaTeX/bliblatex/biber cycle on a LaTeX file. This file contains exactly the same bibliographic cites as the .tm file

  2. I copied the created .bcf file as temp.bcf into .TeXmacs/system/bib

  3. From TeXlive I copied all biblatex-chicago files into .TeXmacs/system/bib` as the original LaTex document uses biblatex-chicago i.e. \usepackage[notes,backend=biber,autolang=other,bibencoding=inputenc]{biblatex-chicago}

  4. In TeXmacs, I activated biber and in the bibliography section of the .tm file inserted the bibliography macro specifying bliblatex-chicago as the style file.

Results

  • Updating all (shift-⌘-r on macOS) started biber and as the temp.bcf was present, the process did not abort.

  • However, the update cycle created an empty bibliography, and in the .tm file(s) cites were not expanded.

  • a temp.aux file is created. It contains everything as expected:

\bibstyle{biblatex-chicago.sty}
\citation{Calvo:2018:SPM}
\citation{Calvo:2018:SPM}
\citation{Urroz:2009:MSE}
\citation{Ziegenbalg:2016:AHG}
\citation{Ziegenbalg:2016:AHG}
\bibdata{jref-tur}

  • the temp.blg file created by the TeXmacs run is basically identical to the one created by the LaTeX run.

  • a temp.log file is created but its absolutely empty: file size 0 byte.

  • the temp.bbl created by the TeXmacs run looks like this:

% biblatex auxiliary file
% biblatex bbl format version 3.2
% Do not modify the above lines!
%
% This is an auxiliary file used by the ‘biblatex’ package.
% This file may safely be deleted. It will be recreated by
% biber as required.
%
\begingroup
\makeatletter
@ifundefined{ver@biblatex.sty}
{@latex@error
{Missing ‘biblatex’ package}
{The bibliography requires the ‘biblatex’ package.}
\aftergroup\endinput}
{}
\endgroup

\endinput

  • The .bbl file created by the LaTeX run in the relevant parts looks like this:

\begingroup
\makeatletter
@ifundefined{ver@biblatex.sty}
{@latex@error
{Missing ‘biblatex’ package}
{The bibliography requires the ‘biblatex’ package.}
\aftergroup\endinput}
{}
\endgroup

\refsection{0}
\datalist[entry]{cms/global//global/global}
\entry{Calvo:2018:SPM}{book}{}
\name{author}{1}{}{%
{{un=0,uniquepart=base,hash=6bef87ea86dda022f38f363a553b2779}{%
family={Calvo},
familyi={C\bibinitperiod},
given={Jorge\bibnamedelima Alberto},
giveni={J\bibinitperiod\bibinitdelim A\bibinitperiod},
givenun=0}}%
}
\list{location}{1}{%
{Newcastle upon Tyne}%
}
\list{publisher}{1}{%
{Cambridge Scholars Publishing}%
}
\strng{namehash}{6bef87ea86dda022f38f363a553b2779}
\strng{fullhash}{6bef87ea86dda022f38f363a553b2779}
\strng{bibnamehash}{6bef87ea86dda022f38f363a553b2779}
\strng{authorbibnamehash}{6bef87ea86dda022f38f363a553b2779}
\strng{authornamehash}{6bef87ea86dda022f38f363a553b2779}
\strng{authorfullhash}{6bef87ea86dda022f38f363a553b2779}
\field{sortinit}{C}
\field{sortinithash}{4d103a86280481745c9c897c925753c0}
\field{labelnamesource}{author}
\field{labeltitlesource}{shorttitle}
\field{langid}{american}
\field{shorttitle}{Scientific Programming with Maxima}
\field{title}{Scientific Programming: Numeric, Symbolic, and Graphical Computing with Maxima}
\field{year}{2018}
\keyw{computing; programming,Maxima}
\endentry
\entry{Urroz:2009:MSE}{book}{}
\name{author}{1}{}{%
{{un=0,uniquepart=base,hash=f717d09a51eeaa01246e6817a5932a44}{%
family={Urroz},
familyi={U\bibinitperiod},
given={Gilberto\bibnamedelima E.},
giveni={G\bibinitperiod\bibinitdelim E\bibinitperiod},
givenun=0}}%
}
\list{publisher}{1}{%
{Internet publication}%
}
\strng{namehash}{f717d09a51eeaa01246e6817a5932a44}
\strng{fullhash}{f717d09a51eeaa01246e6817a5932a44}
\strng{bibnamehash}{f717d09a51eeaa01246e6817a5932a44}
\strng{authorbibnamehash}{f717d09a51eeaa01246e6817a5932a44}
\strng{authornamehash}{f717d09a51eeaa01246e6817a5932a44}
\strng{authorfullhash}{f717d09a51eeaa01246e6817a5932a44}
\field{sortinit}{U}
\field{sortinithash}{6901a00e45705986ee5e7ca9fd39adca}
\field{labelnamesource}{author}
\field{labeltitlesource}{shorttitle}
\field{abstract}{Last access: 2022-08-20}
\field{langid}{american}
\field{shorttitle}{The MaximaBook}
\field{title}{Maxima: Science and Engineering Applications}
\field{year}{2009}
\verb{urlraw}
\verb https://web.archive.org/web/20171118051313/http://math.stanford.edu:80/~paquin/MaximaBook.pdf
\endverb
\verb{url}
\verb https://web.archive.org/web/20171118051313/http://math.stanford.edu:80/~paquin/MaximaBook.pdf
\endverb
\keyw{computing; programming,Maxima}
\endentry
\entry{Ziegenbalg:2016:AHG}{book}{}
\name{author}{3}{}{%
{{un=0,uniquepart=base,hash=13d90efd86289f3de7e231828f4366d3}{%
family={Ziegenbalg},
familyi={Z\bibinitperiod},
given={Jochen},
giveni={J\bibinitperiod},
givenun=0}}%
{{un=0,uniquepart=base,hash=4bd99c836685628d443e9a10c56f24e4}{%
family={Ziegenbalg},
familyi={Z\bibinitperiod},
given={Oliver},
giveni={O\bibinitperiod},
givenun=0}}%
{{un=0,uniquepart=base,hash=363c80e0310e192246dd0edbe23b9c11}{%
family={Ziegenbalg},
familyi={Z\bibinitperiod},
given={Bernd},
giveni={B\bibinitperiod},
givenun=0}}%
}
\list{location}{1}{%
{Heidelberg}%
}
\list{publisher}{1}{%
{Springer-Verlag}%
}
\strng{namehash}{c7a1caa351d820fb1d9df82397e7b408}
\strng{fullhash}{c7a1caa351d820fb1d9df82397e7b408}
\strng{bibnamehash}{c7a1caa351d820fb1d9df82397e7b408}
\strng{authorbibnamehash}{c7a1caa351d820fb1d9df82397e7b408}
\strng{authornamehash}{c7a1caa351d820fb1d9df82397e7b408}
\strng{authorfullhash}{c7a1caa351d820fb1d9df82397e7b408}
\field{sortinit}{Z}
\field{sortinithash}{96892c0b0a36bb8557c40c49813d48b3}
\field{labelnamesource}{author}
\field{labeltitlesource}{shorttitle}
\field{abstract}{??}
\field{edition}{4}
\field{langid}{german}
\field{shorttitle}{Algorithmen von Hammurapi bis Gödel}
\field{title}{Algorithmen von Hammurapi bis Gödel,: Mit Beispielen aus den Computeralgebrasystemen Mathematica und Maxima}
\field{year}{2016}
\keyw{maths; algorithms,Maxima}
\endentry
\enddatalist
\endrefsection
\endinput

The issue

  • the temp.bbl created by TeXmacs does not contain any thing between

          \refsection{0} 
              \datalist[entry]{cms/global//global/global} 
    

and

          \enddatalist
      \endrefsection
  • Why is this bibliographic information, i.e. the entire datalist not created?

  • What needs to be done to get this accomplished?

Hope this helps somehow.

Cheers,
Tilda