Closed skyfrk closed 3 years ago
Yes, a fresh official rebuild would be nice. Latest tag 2.9.6990
has some issues, like:
ERROR - Error: Found biblatex control file version 3.6, expected version 3.5.
This means that your biber (2.12) and biblatex (3.13a) versions are incompatible.
See compat matrix in biblatex or biber PDF documentation.
I built an unofficial one, which might help: https://hub.docker.com/r/nanmu42/miktex-docker .
@nanmu42 Have you tested your unofficial version? Because your version gives the same error, but with different versions:
ERROR - Error: Found biblatex control file version 3.6, expected version 3.7.
This means that your biber (2.14) and biblatex (3.13a) versions are incompatible.
See compat matrix in biblatex or biber PDF documentation.
Could you provide a minimal example to reproduce this error?
After performing a clean reinstall, cleaning all auxiliary files, and some debugging, I managed to get both Docker images to work. Because TeX packages are constantly changing and MiKTeX downloads them on demand, one always has to update MiKTeX repositories before using any image.
The solution is to use the official Docker image miktex/miktex
like that:
$ sudo docker run -it -v $(pwd):/miktex/work miktex/miktex bash
$ mpm --admin --update
$ latexmk example.tex
Consider adding mpm --admin --update
to documentation. Cleaning /miktex/.miktex
and all auxiliary files is also a good troubleshooting step.
If anyone is interested in a trivial example that uses XeLaTeX and Biber to compile to PDF:
% example.tex
\documentclass[a4paper,english]{article}
\RequirePackage{biblatex}
\addbibresource{example.bib}
\begin{document}
This is some text.
\cite{Foo2019}
\end{document}
% example.bib
@misc{Foo2019,
author = {Foo, Bar},
title = {{Learning to foo the bar}},
year = {2019}
}
# .latexmkrc
$bibtex_fudge=0;
# use xelatex - xdv -> pdf - not working due to bugs in 4.61
$pdf_mode=5;
&alt_tex_cmds;
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bumping for visibility: An update of the official build on dockerhub is very appreciated
Yep, the docker hub image is outdated since August!
Hello there! Could you please release a fresh image to the Docker Hub?
I tried to use the docker hub image to build my document using:
docker run --rm -ti -v C:\some\path:/miktex/work miktex/miktex pdflatex root.tex
But it failed while downloading some packages:
I think that this is the problem because building the document just worked fine when I built the docker image on my own.
Building the docker image on my own resulted in MiKTeX
v2.9.7050
living inside the container instead ofv2.9.6980
.Have a nice day! 😃