holzschu / a-shell

A terminal for iOS, with multiple windows
BSD 3-Clause "New" or "Revised" License
2.74k stars 117 forks source link

`latexmk: command not found` in version 1.8.0 #329

Open thebluepotato opened 3 years ago

thebluepotato commented 3 years ago

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?

holzschu commented 3 years ago

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.

thebluepotato commented 3 years ago

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.

holzschu commented 3 years ago

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 commented 3 years ago

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.

FMuro commented 1 year ago

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.

holzschu commented 1 year ago

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.

FMuro commented 1 year ago

Great! I'll stay tuned :)

hpfmn commented 6 months ago

Any luck on biber?

hpfmn commented 6 months ago

I did something that is maybe a bit crazy but does actually work. I mount the ashell directory in iSH there I installed biber to get the perl stuff and then build biber from git source to get a more recent version.