Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete texdoc cache file #118

Open
solonovamax opened this issue Oct 20, 2024 · 1 comment
Open

Incomplete texdoc cache file #118

solonovamax opened this issue Oct 20, 2024 · 1 comment
Labels
change Changing program's behavior search Searching

Comments

@solonovamax
Copy link

I'm having an issue with an incomplete texdoc file:

$ texdoc texdoc
/home/solonovamax/.texlive/texmf-var/texdoc/cache-tlpdb.lua:7397: unfinished string near '"details'

Here is the contents of the last two lines of that file:

  ["latex/xcolor/xcolor2.pdf"] = {["details"] = "Examples of usage with pstricks", },
  ["latex/xcookybooky/README"] = {["details

so, the file here is just broken. I believe that this may perhaps have been caused by me running out of disk space, so not an issue with texdoc.

However, I cannot for the life of me figure out how to regenerate that file. It would be nice if texdoc automatically regenerated the file if it cannot parse it.

@wtsnjp
Copy link
Member

wtsnjp commented Oct 21, 2024

I cannot for the life of me figure out how to regenerate that file.

Texdoc will generate the cache file when it can't find a cache. So, you can remove cache-tlpdb.lua in your texmf-var and then it should work out (you have to prepare enough disk space, of course).

It would be nice if texdoc automatically regenerated the file if it cannot parse it.

Indeed. I'll look into if we can change the behavior of Texdoc.

@wtsnjp wtsnjp added change Changing program's behavior search Searching labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Changing program's behavior search Searching
Projects
None yet
Development

No branches or pull requests

2 participants