Use of @xnext doesn't match its definition
davidvandebunte opened this issue · 2 comments
With a build using Ubuntu 22.04's texlive, I was running into floats - Error when inserting figure ! Use of @xnext doesn't match its definition - TeX - LaTeX Stack Exchange. As suggested there, the solution was just to upgrade, in my case by using texlive/texlive Tags | Docker Hub. That is, with something along the lines of:
docker run -u 1000:1000 --rm -it -v $(pwd):/workdir texlive/texlive make
See also xu-cheng/latex-action: GitHub Action to compile LaTeX documents, used in Fix typos (#350) · OpenLogicProject/OpenLogic@4da084f.
I'm just documenting this here in case someone else runs into it.
Yeah, with very complex projects we sometimes run into TeXlive compatibility issues. The github action we use to test if something compiles is still working, so I assume I am fine?
Yep you're fine. I assume Ubuntu 22.04 is a relatively common operating system, and I always search closed GitHub/GitLab issues for hints with build problems, so I was just trying to help someone similar.