-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MikTeX Portable] Can't add local texmf directory #66
Comments
Thank you. I can reproduce this bug. A workaround exists:
|
Great! Thanks for the workaround! |
Thank you, this has been fixed. |
I've installed Portable Edition 2.9.6621 on Windows 10 Pro (build 16299.371) on a hard disk drive in E:\Essentials\LaTeX-Environment\LaTeX\MiKTeX. I've still got the problem that I can't add a custom texmf directory permanently. I can add it in the console just fine without any issues and the path shows up in the list as E:/Essentials/LaTeX-Environment/LaTeX/mytexmf), but it's gone as soon as I restart the console. Packages inside the custom texmf path can't be found when compiling a LaTeX document. The file \mytexmf\miktex\data\le\texmf.fndb shows up in the directory, though. The workaraound doesn't work, because miktexstartup.ini is already in the right place (texmfs\install\miktex\config\miktexstartup.ini). |
@Quantasom Yeah, it seems not completely fixed for new installations. However, I've got it to work: copy miktexstartup.ini from texmfs\install\miktex\config\ to \texmfs\config\miktex\config\ (i.e. the opposite way compared to the workaround), then try again to add your custom directory and check if there are differences between the two miktexstartup.ini files. After that, try again to apply the workaround (overwriting the updated file that hopefully contains your custom directory to the original file). |
@benplm Thank you! It worked. |
This issue persists for me, even though I have a fully updated installation: I installed miktex-portable-2.9.6621.exe and added my local directories - as soon as I closed the console and opened it again, the directory entries would be lost. I had to find and install an old copy of
|
This has been fixed. Please get the latest updates. |
I installed latest portable build (2.9.6615-x64) on Windows 10 (user only install), run the update wizard and tried to add my local texmf directory using either MikTeX Console GUI or
initexmf --register-root=path-to-texmf
with no results, i.e. the changes in the directory list are not stored and disappear after closing and re-opening MikTeX Console.Therefore, I'm not able to use my custom packages when compiling.
It worked fine with previous portable build (same custom texmf directory, same PC).
The text was updated successfully, but these errors were encountered: