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

Prefixes of Docfile.name are inconsistent #113

Open
wtsnjp opened this issue Aug 17, 2024 · 0 comments
Open

Prefixes of Docfile.name are inconsistent #113

wtsnjp opened this issue Aug 17, 2024 · 0 comments
Labels
change Changing program's behavior search Searching

Comments

@wtsnjp
Copy link
Member

wtsnjp commented Aug 17, 2024

Docfile.name is a name of doc file only used for scoring. Their prefixes are inconsistent and probably depend on the sources of a docfile information (i.e., either from tlpdb or texdocs).

  • Case 1: the name starts from texmf-dist

let(:test_res_name) { "texmf-dist/doc/man/man1/dvipdfmx.man1.pdf" }

  • Case 2: the name starts from the dirname under the texmf-dist/doc tree

let(:test_res_name) { "latex/babel/babel.pdf" }

The inconsistency is harmless for the function right now, but is slightly troublesome for testing and debugging.

@wtsnjp wtsnjp added change Changing program's behavior search Searching labels Aug 17, 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

1 participant