You are not logged in.

#1 2023-06-01 15:46:18

gi1242
Member
Registered: 2022-07-07
Posts: 37

[solved] texlive-doc doesn't find any documentation

Hi ALl,

I just installed texlive-doc (which looks like it was added recently to arch). It installs 3GB of docuemntation; however, when I run `texdoc` it says no documentation found:

>texdoc symbols-a4                                                            ~
You don't appear to have any local documentation installed.

There may be online documentation available for "symbols-a4" at
    https://texdoc.org/serve/symbols-a4/0
This documentation may be for a different version than you have installed.

Would you like to search online? (y/N) 

The documentation is installed at /usr/share/doc/texlive/latex/comprehensive/symbols-a4.pdf as part of the texlive-doc package. If I run with debug info, then I see:

> texdoc -D symbols-a4                                                         ~
texdoc debug-version: /usr/share/texmf-dist/scripts/texdoc/texdoclib.tlu v4.0.1
texdoc debug-config: Setting "debug_list=all" from command-line option "-D".
texdoc debug-config: Setting "lang=en" from environment variable "LANG".
texdoc debug-config: Setting "viewer_pdf=zathura" from environment variable "PDFVIEWER".
texdoc debug-config: Setting "viewer_ps=zathura" from environment variable "PSVIEWER".
texdoc debug-config: Setting "viewer_dvi=xdvi" from environment variable "DVIVIEWER".
texdoc debug-config: Setting "viewer_html=w3m" from environment variable "BROWSER".
texdoc debug-config: Setting "viewer_txt=less -iRFX" from environment variable "PAGER".
texdoc debug-config: Setting "suffix_list=doc, -doc, _doc, .doc, /doc, manual, /manual, -manual, userguide, /user_guide, -guide, -user, man, -man, -documentation, notes, -info, ref" in file "/usr/share/texmf-dist/texdoc/texdoc.cnf" on line 90.
texdoc debug-config: Setting "lastfile_switch=true" in file "/usr/share/texmf-dist/texdoc/texdoc.cnf" on line 568.
texdoc debug-config: Setting "online_url=https://texdoc.org/serve/PKGNAME/0" from built-in defaults.
texdoc debug-config: Setting "interact_switch=true" from built-in defaults.
texdoc debug-config: Setting "machine_switch=false" from built-in defaults.
texdoc debug-config: Setting "verbosity_level=2" from built-in defaults.
texdoc debug-config: Setting "fuzzy_level=3" from built-in defaults.
texdoc debug-config: Setting "mode=view" from built-in defaults.
texdoc debug-config: Setting "ext_list=pdf, htm, html, txt, dat, md, ps, dvi, " from built-in defaults.
texdoc debug-config: Setting "basename_list=readme, 00readme" from built-in defaults.
texdoc debug-config: Setting "badext_list=txt, dat, " from built-in defaults.
texdoc debug-config: Setting "badbasename_list=readme, 00readme" from built-in defaults.
texdoc debug-config: Setting "max_lines=20" from built-in defaults.
texdoc debug-config: Setting "rm_file=rm -f" from built-in defaults.
texdoc debug-config: Setting "zipext_list=" from built-in defaults.
texdoc debug-config: Setting "rm_dir=rmdir" from built-in defaults.
texdoc debug-files: Configuration file(s):
texdoc debug-files: not found   /home/gautam/.texlive/texmf-config/texdoc/texdoc-bin.cnf
texdoc debug-files: not found   /home/gautam/.texlive/texmf-config/texdoc/texdoc.cnf
texdoc debug-files: not found   /home/gautam/.texlive/texmf-config/texdoc/texdoc-dist.cnf
texdoc debug-files: not found   /home/gautam/.texlive/texmf-var/texdoc/texdoc-bin.cnf
texdoc debug-files: not found   /home/gautam/.texlive/texmf-var/texdoc/texdoc.cnf
texdoc debug-files: not found   /home/gautam/.texlive/texmf-var/texdoc/texdoc-dist.cnf
texdoc debug-files: not found   /home/gautam/texmf/texdoc/texdoc-bin.cnf
texdoc debug-files: not found   /home/gautam/texmf/texdoc/texdoc.cnf
texdoc debug-files: not found   /home/gautam/texmf/texdoc/texdoc-dist.cnf
texdoc debug-files: not found   /usr/local/share/texmf/texdoc/texdoc-bin.cnf
texdoc debug-files: not found   /usr/local/share/texmf/texdoc/texdoc.cnf
texdoc debug-files: not found   /usr/local/share/texmf/texdoc/texdoc-dist.cnf
texdoc debug-files: not found   /usr/share/texmf/texdoc/texdoc-bin.cnf
texdoc debug-files: not found   /usr/share/texmf/texdoc/texdoc.cnf
texdoc debug-files: not found   /usr/share/texmf/texdoc/texdoc-dist.cnf
texdoc debug-files: not found   /etc/texmf/texdoc/texdoc-bin.cnf
texdoc debug-files: not found   /etc/texmf/texdoc/texdoc.cnf
texdoc debug-files: not found   /etc/texmf/texdoc/texdoc-dist.cnf
texdoc debug-files: not found   /var/lib/texmf/texdoc/texdoc-bin.cnf
texdoc debug-files: not found   /var/lib/texmf/texdoc/texdoc.cnf
texdoc debug-files: not found   /var/lib/texmf/texdoc/texdoc-dist.cnf
texdoc debug-files: not found   /usr/share/texmf-dist/texdoc/texdoc-bin.cnf
texdoc debug-files: active      /usr/share/texmf-dist/texdoc/texdoc.cnf
texdoc debug-files: not found   /usr/share/texmf-dist/texdoc/texdoc-dist.cnf
texdoc debug-texdocs: texdocs[8] = /home/gautam/.texlive/texmf-config/doc (index_mandatory=false, recursion_allowed=true)
texdoc debug-texdocs: texdocs[7] = /home/gautam/.texlive/texmf-var/doc (index_mandatory=false, recursion_allowed=true)
texdoc debug-texdocs: texdocs[6] = /home/gautam/texmf/doc (index_mandatory=false, recursion_allowed=true)
texdoc debug-texdocs: texdocs[6] using filesystem search
texdoc debug-texdocs: texdocs[5] = /usr/local/share/texmf/doc (index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[4] = /usr/share/texmf/doc (index_mandatory=false, recursion_allowed=true)
texdoc debug-texdocs: texdocs[3] = /etc/texmf/doc (index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[2] = /var/lib/texmf/doc (index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[1] = /usr/share/texmf-dist/doc (index_mandatory=true, recursion_allowed=true)
texdoc debug-texdocs: texdocs[1] using index: /usr/share/texmf-dist (shift=doc/)
texdoc debug-tlpdb: Using cached data from /home/gautam/.texlive/texmf-var/texdoc/cache-tlpdb.lua
texdoc debug-search: Searching documents for pattern "symbols-a4"
texdoc debug-search: Fuzzy search result: qsymbols
texdoc debug-search: Levenshtein distance: 4
texdoc debug-search: Searching documents for pattern "kpathsea"
texdoc debug-search: File /usr/share/texmf-dist/doc/info/dir not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/kpathsea/NEWS not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/kpathsea/kpathsea.html not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/kpathsea/kpathsea.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/man/man1/kpseaccess.man1.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/man/man1/kpsereadlink.man1.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/man/man1/kpsestat.man1.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/man/man1/kpsewhich.man1.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/web2c/NEWS not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/web2c/web2c.html not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/web2c/web2c.pdf not found.  Skipping.
texdoc info: Fuzzy search result: kpathsea
texdoc debug-search: Levenshtein distance: 0
texdoc debug-search: File /usr/share/texmf-dist/doc/info/dir not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/kpathsea/NEWS not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/kpathsea/kpathsea.html not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/kpathsea/kpathsea.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/man/man1/kpseaccess.man1.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/man/man1/kpsereadlink.man1.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/man/man1/kpsestat.man1.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/man/man1/kpsewhich.man1.pdf not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/web2c/NEWS not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/web2c/web2c.html not found.  Skipping.
texdoc debug-search: File /usr/share/texmf-dist/doc/web2c/web2c.pdf not found.  Skipping.
You don't appear to have any local documentation installed.

There may be online documentation available for "symbols-a4" at
    https://texdoc.org/serve/symbols-a4/0
This documentation may be for a different version than you have installed.

Would you like to search online? (y/N)

The index file web2c.html is installed by texlive-doc in a different location:

/usr/share/doc/texlive/web2c/web2c.html

Is there something I need to do to get texdoc to find the documentation?

Thanks in advance

Last edited by gi1242 (2023-06-02 14:31:56)

Offline

#2 2023-06-01 20:23:36

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

Re: [solved] texlive-doc doesn't find any documentation

Fixed in 2023.66594-4

Offline

#3 2023-06-02 01:18:42

gi1242
Member
Registered: 2022-07-07
Posts: 37

Re: [solved] texlive-doc doesn't find any documentation

Thanks so much, it works now.

PS: If you have texlive-doc installed, to upgrade you have to first install texlive-bin and then to a full upgrade (otherwise you get existing file errors)

Offline

#4 2023-06-02 08:14:29

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

Re: [solved] texlive-doc doesn't find any documentation

gi1242 wrote:

PS: If you have texlive-doc installed, to upgrade you have to first install texlive-bin and then to a full upgrade (otherwise you get existing file errors)

Partial upgrades, as usual, are unsupported.

Offline

#5 2023-06-02 14:31:36

gi1242
Member
Registered: 2022-07-07
Posts: 37

Re: [solved] texlive-doc doesn't find any documentation

Maybe I didn't explain myself properly: If texlive-doc-2023.66594-3 is installed, a full system upgrade will fail (because of existing files). You have to first upgrade texlive-bin to 2023.66984-4, and then run a full system upgrade.

Offline

#6 2023-06-07 18:30:26

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

Re: [solved] texlive-doc doesn't find any documentation

I recall a problem like that.
I think I amended that one problematic file's name (texlive.tlpbd) with .bak and then ran the whole update again.

gi1242 wrote:

You have to first upgrade texlive-bin to 2023.66984-4, and then run a full system upgrade.

If that hadn't worked, you would have been stuck with a problem after a partial update. Just saying.

Offline

Board footer

Powered by FluxBB