texdoc icon indicating copy to clipboard operation
texdoc copied to clipboard

display them all -> allow number

Open kberry opened this issue 2 years ago • 2 comments

texdoc -l bibtex says 142 results. Display them all? (y/N). That's fine, but when I previously saw the whole list, I often already know which number I want. Thus it would be nice to allow typing a number to that question, not just y/n. Just a suggestion.

kberry avatar Oct 10 '23 16:10 kberry

Seems it's controlled by goodness of each item in the list and config max_lines (default 20). https://github.com/TeX-Live/texdoc/blob/f2fb792397a375a2f287fc0ef6e49c11e7a5702e/script/texdoclib-view.tlu#L164-L179

Similarly, once I wanted sth like texdoc --number 2 bibtex which will directly open the second result of texdoc -l bibtex.

muzimuzhi avatar Oct 10 '23 18:10 muzimuzhi

For your information, we have another related plan #97.

wtsnjp avatar Oct 11 '23 01:10 wtsnjp