Closed octaeder closed 1 month ago
Have you updated both in 'user' and admin modes? This looks like a mismatched file issue - if you an provide a .log
that would be useful.
I started miktex as normal user, now I selected Run as Admin, but miktex says there are no updates available. Should I run Update file name database?
your xfrac version is too old. I have on miktex Package: xfrac 2024-06-04. Check in the package manager. You could for example deinstall it (as user and admin if needed) and reinstall it.
Here is my log for the example with current MiKTeX.
this is random, I looked for packages in miktex and found xfrac not being installed. Don't know how I was able to compile my project all the days...
I let miktex install the package as admin (be aware of the small change in size), but didn't help.
I see in the log:
Package: xtemplate 2024-08-16 L3 Experimental prototype document functions
)
Package: xfrac 2023-10-10 L3 Experimental split-level fractions
Do you have xfrac.sty
in the directory with your source?
The file exists twice:
C:\Users\xxx\AppData\Local\Programs\MiKTeX\tex\latex\xfrac
\ProvidesExplPackage{xfrac}{2024-06-04}{}
C:\Users\xxx\AppData\Local\Programs\MiKTeX\tex\latex\l3packages\xfrac
\ProvidesExplPackage{xfrac}{2023-10-10}{}
Why this?
The file exists twice:
C:\Users\xxx\AppData\Local\Programs\MiKTeX\tex\latex\xfrac \ProvidesExplPackage{xfrac}{2024-06-04}{} C:\Users\xxx\AppData\Local\Programs\MiKTeX\tex\latex\l3packages\xfrac \ProvidesExplPackage{xfrac}{2023-10-10}{}
Why this?
You have an older l3packages
installed - we moved where xfrac
is located. You need to update your l3packages
.
well it can happen that you install twice. That is why I suggested that you deinstalled first.
I'm only able to remove the package by using miktex app. In miktex I can see it only once. From the images above I would say it was removed. Everything worked fine until I updated miktex. Maybe I need more details about uninstalling the package.
Why this?
You have an older
l3packages
installed - we moved wherexfrac
is located. You need to update yourl3packages
.
I expect miktex to always update everything ?
Remove and reinstall l3packages
I expect miktex to always update everything ?
In theory yes, in practice not always!
as admin?
@octaeder Looks like you've installed it just for your account
I started miktex as admin and removed, then installed l3packages
:
But in the compile log I still see '(C:\Users\xxx\AppData\Local\Programs\MiKTeX\tex/latex/l3packages/xfrac\xfrac.sty`
miktex recommends installing for your own.
But in the compile log I still see '(C:\Users\xxx\AppData\Local\Programs\MiKTeX\tex/latex/l3packages/xfrac\xfrac.sty`
That's definitely installed just for your user
Again I removed and added package xfrac
(thought this could be necessary after updating l3packages
), but this didn't help either. Even so I think this is not the way how to proceed, I renamed
C:\Users\xxx\AppData\Local\Programs\MiKTeX\tex\latex\l3packages\xfrac\xfrac~.sty
.
Now it works. But this leaves me behind with the question what the correct update or fixing procedure would be?
Thanks to all for the quick support.
removing l3packages
doesn't remove the folder xfrac
and its files. I think there is something missing in the cleanup process.
Problems returned somehow. So I reinstalled miktex. That's it.
I updated my miktex (Win10) packages including xfrac. When compiling (pdflatex, lualatex) with txs I get following messages:
338: Undefined control sequence. \DeclareCollectionInstance 338: Missing \begin{document}. \DeclareCollectionInstance { p 342: Illegal unit of measure (pt inserted). sc