latex3 / tagpdf

Tagging support code for LaTeX
59 stars 7 forks source link

File 'tagpdf-parent-child.csv' not found. #60

Closed air-kyi closed 1 year ago

air-kyi commented 1 year ago
! LaTeX Error: File 'tagpdf-parent-child.csv' not found.

Error: LaTeX failed to compile

Our annual project using the tagpdf package was working last week, but this week an error appeared. Not sure if this is a bug or something else wrong. I can't find anything else related to this issue. We are using this via tinytex in R/RStudio on Windows.

u-fischer commented 1 year ago

hm, right. texlive didn't install the csv-files correctly. There are in doc/latex/tagpdf. I will notify texlive, so the next update should correct it, for now you can copy them from the doc folder to a place where latex can find them.

air-kyi commented 1 year ago

Thank you! Do you mean the csvs are in /doc in this repo or in texlive? I am having trouble finding /latex/tagpdf or any files with .csv extension in this repo or in texlive-source

u-fischer commented 1 year ago

they are in texlive/texmf-dist/doc/latex/tagpdf.

air-kyi commented 1 year ago

can you specify whether texlive is a repo or the installation on my computer? I can't find doc/ inside texmf-dist in the installation on my computer or in a new download of texlive.

image image image

anyway, I was able to find what seems like a copy of the .csv from a TUG commit but I'm not sure where to put it. putting it in the tagpdf folder did not seem to work.

image

sorry, I am not a very advanced user of latex. is there a chance you could provide a screenshot of (1) where to find the .csv and (2) where to put it? I could also put this on stack overflow if that is a better place.

u-fischer commented 1 year ago

tiny installations are sometimes quite a pain. Obviously your tinytex doesn't install documentation.

The location is basically ok, but you will have to update the file name database by calling mktexlsr.

Or copy the file in the folder of your document for now. That should always work. Tomorrow or friday there should be an update that repairs this.

air-kyi commented 1 year ago

oh I didn't realize the update would be so fast. in that case I'll just wait for the update. thank you, I really appreciate the help you have given. have a great week!

u-fischer commented 1 year ago

texlive has updated tagpdf and the files are correctly installed.