You are not logged in.

#1 2023-08-01 08:26:42

fistrosan
Member
Registered: 2020-04-01
Posts: 171

problems installing new ctan packages with tlmgr

Hi all,

Long time latex user here. Used to employ AUR texlive-localmanager-git to install ctan packages without any issues. The new latex reformatting of packages has caused me quite some headaches but I have managed to solve most of them. The one that I have not yet figured out is how to install new ctan packages using "tlmgr". Let us say for instance that I want to install arial.sty that is in principle provided by https://www.ctan.org/pkg/urw-arial.

So, now if I do:

sudo tlmgr info urw-arial | grep collection
sudo tlmgr info arial | grep collection

I get nothing, no output at all.

Reading tlmgr documentaion I figure that I should probably add ctan in the repo, which I try with:

sudo tlmgr option repository ctan

and this is met with:

tlmgr: setting default package repository to https://mirror.ctan.org/systems/texlive/tlnet
tlmgr: updating /usr/share/tlpkg/texlive.tlpdb
tlmgr: Cannot save 00texlive.installation to /usr/share/tlpkg/tlpobj/00texlive.installation.tlpobj
tlmgr: action option returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.

Now, if I go /usr/share/tlpkg I see that directory tlpobj does not exist, so it is no wonder the command fails.

So, at this point I am out of ideas.

Note: texlive-fontsextra and texlive-fontsrecommended are both installed, but it seems to me neither of them provide arial fonts.

Thanks for your help !

Offline

#2 2023-08-03 19:22:09

fistrosan
Member
Registered: 2020-04-01
Posts: 171

Re: problems installing new ctan packages with tlmgr

Update: I have solved the problem my manually installing the ctan package, unzipping in the right location, move files in the correct directories inside /usr/share/texmf-dist/ and running texhash. For the moment it works but something might fail next time a pacman tries to upgrade a latex package.

The current situation is far from ideal. I find the current status of the latex packages to be a regression with respect to the previous situation. texlive-localmanager-git used to work flawlessly and tmlgr just does not get the job done. I apologize for the criticism, but that is the way I see it, really.

Offline

#3 2023-08-04 07:25:56

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,290

Re: problems installing new ctan packages with tlmgr

tlmgr is not meant to work with a pacman-installed texlive. Either use repo packages or install everything locally and manage it with tlmgr, but you can't have it both ways.

Offline

#4 2023-08-04 18:20:23

fistrosan
Member
Registered: 2020-04-01
Posts: 171

Re: problems installing new ctan packages with tlmgr

That might be the case, but really, the wiki clearly misleads people in this regard. For instance: 1.1 live install; 1.2 arch package install (my case); 1.2.2 installation of ctan packages using tlmgr .... since 1.2.2 is a \subsubsection of \section 1.2 it absolutely makes one think that what you say is not possible, actually IS possible.

Offline

Board footer

Powered by FluxBB