a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

`latexmk: command not found` in version 1.8.0

Open thebluepotato opened this issue 2 years ago • 4 comments

Hi! I'm a big fan of a-Shell for all things TeX. I've update a-Shell from the App Store and although the release notes mention that latexmk is installed, I always get latexmk: command not found whenever I try invoking it. I've tried installing it via tlmgr but it says the package is already installed.

How should I proceed?

thebluepotato avatar Oct 19 '21 08:10 thebluepotato

latexmk is installed as part of the TeX install process. If you see "command not found", it means the TeX install process is not complete. a-Shell is probably downloading the new TeX install. Then again, if tlmgr says the package is present, most of the install has been done. This is puzzling.

If installed, latexmk should be in ~/Library/bin/, with a symbolic link to ~/Library/texlive/2021/texmf-dist/scripts/latexmk/latexmk.pl, which should exist.

holzschu avatar Oct 19 '21 08:10 holzschu

For context, I tried this on my previous install of a-Shell and then on a clean install. Since both latex and lualatex run, I assume the corresponding downloads are complete. The latexmk.pl does exist in the correct folder but, very surprisingly, ~/Library/bin does not exist at all. Maybe that's also why I've been having biber: command not found errors.

thebluepotato avatar Oct 19 '21 08:10 thebluepotato

biber is, unfortunately, not available at the moment (I tried, but it's just too complicated to cross-compile for now).

It is possible that the code that creates the links fails because ~/Library/bin does not exist, in which case it's a bug, but it's a bug I should fix. Can you try installing again with ~/Library/bin created?

Update: Yes, I assumed (wrongly) that ~/Library/bin would exist. It will be fixed in the next release.

holzschu avatar Oct 19 '21 09:10 holzschu

Hi, this should be fixed with build 203 currently on TestFlight ( https://testflight.apple.com/join/WUdKe3f4 ). If you can confirm that it works for you, I will release it for everyone.

holzschu avatar Oct 21 '21 18:10 holzschu

Hi @holzschu ! First, thanks a lot for making a-Shell! Now, biber, still not working. The package is installed according to tlmgr (it says it was already installed, not that I installed it with this) but latexmk still spits biber command not found.

FMuro avatar Feb 17 '23 13:02 FMuro

biber is one of the commands I would really like to have for myself. It depends on a lot of Perl modules, and these are tricky to cross-compile. I have tried and failed to include it twice already. I will make a third attempt with texlive 2023.

holzschu avatar Feb 17 '23 15:02 holzschu

Great! I'll stay tuned :)

FMuro avatar Feb 17 '23 15:02 FMuro