You are not logged in.

#1 2018-10-06 10:50:11

jones
Member
Registered: 2013-03-14
Posts: 276

[SOLVED] Problems with the Tex Live documentation utility texdoc

Edit
For whatever reason, I have to thank duckduckgo before I made this post because just now I found that a bug report had been filed about 4 weeks prior to my post (2018-09-11). https://bugs.archlinux.org/task/60013
This renders this thread kind of irrelevant.

@Mods: Please do not delete the thread, as there might be problems because of manual intervention. Also, maybe others followed the same advice.

-----------------
I installed all texlive packages from the official repos about a month ago. After running `texdoc comment` a few days ago and getting an error message, which was roughly equal to:

[... ]
/texmf-dist/scripts/texdoc/search.t..."]:569: assertion failed!
[...]

, I started googling today.
A user on github ran into the same issue (on Slackware) and marked his problem as solved: https://github.com/TeX-Live/texdoc/issues/20
Hence I used the following code (except that the folder in /root wasn't called texlive2018, only texlive), that he had linked on linuxquestions.org and declared as ok and working:

mkdir /tlpkg
wget -O /tlpkg/texlive.tlpdb http://tug.ctan.org/systems/texlive/tlnet/tlpkg/texlive.tlpdb
texdoc -DlM texlive-en |& grep cache-tlpdb.lua
mv /root/.texlive2018/texmf-var/texdoc/cache-tlpdb.lua  /usr/share/texmf-dist/scripts/texdoc/Data.tlpdb.lua
mktexlsr
rm -rf /tlpkg

I must admit that I wouldn't have been able to come up with that code on my own, but reading through it I suppose it seems ok, unless the paths & files that are handled aren't platform-agnostic.
Now I am at:

$ texdoc comment
Sorry, no documentation found for comment.pdf.
If you are unsure about the name, try searching CTAN's TeX catalogue at
http://ctan.org/search.html#byDescription.

Would anyone happen to have any advice on how to get texdoc to work?

Last edited by jones (2018-11-10 09:54:38)

Offline

#2 2018-11-09 20:52:17

benneti
Member
Registered: 2014-05-04
Posts: 24

Re: [SOLVED] Problems with the Tex Live documentation utility texdoc

Hi, first of thanks for the fix you suggest it worked for me, do you havethe aur package https://aur.archlinux.org/packages/texlive-most-doc/ installed, because else yo won't have the necessary docs.

Offline

#3 2018-11-09 22:50:13

jones
Member
Registered: 2013-03-14
Posts: 276

Re: [SOLVED] Problems with the Tex Live documentation utility texdoc

benneti wrote:

Hi, first of thanks for the fix you suggest it worked for me, do you havethe aur package https://aur.archlinux.org/packages/texlive-most-doc/ installed, because else yo won't have the necessary docs.

Oh, thanks for the tip!
But somehow trizen fails to install it:

xz: (stdout): Write error: No space left on device
bsdtar: Write error

But then

 $ df -h
File system    Size Used Available Used% Mounted at
/dev/sda6        39G     18G   20G   49% /
tmpfs           3,8G    3,8G     0  100% /tmp

I don't get it.

Offline

#4 2018-11-09 23:15:54

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Problems with the Tex Live documentation utility texdoc

I presume that trizen is building in /tmp which is limited to half the size of your RAM - 3.8GB in your case.

Build it somewhere else with more free space.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2018-11-10 09:54:19

jones
Member
Registered: 2013-03-14
Posts: 276

Re: [SOLVED] Problems with the Tex Live documentation utility texdoc

Slithery wrote:

I presume that trizen is building in /tmp which is limited to half the size of your RAM - 3.8GB in your case.

Build it somewhere else with more free space.

That was it, thanks.
I used this code (found here, but with a higher value, as the content of /tmp grew to 3.9G)

# mount -o remount,size=5000M /tmp

Btw that installation completely froze my machine for 10 minutes during the compression of the package. What a crazy experience, I had not experienced that before.

=> SOLVED

Last edited by jones (2019-01-05 22:19:19)

Offline

Board footer

Powered by FluxBB