Skip to content

Comments

Enhance TeXdoc dialog#3259

Merged
sunderme merged 1 commit intotexstudio-org:masterfrom
octaeder:packages
Aug 17, 2023
Merged

Enhance TeXdoc dialog#3259
sunderme merged 1 commit intotexstudio-org:masterfrom
octaeder:packages

Conversation

@octaeder
Copy link
Contributor

  • use package list from CTAN
  • show package list as a table
  • regExp search filter for package names
  • add a button which opens CTAN package doc
  • fix enabled open button while testing whether texdoc is available

- use package list from CTAN
- show package list as a table
- regExp search filter for package names
- add a button which opens CTAN package doc
- fix enabled open button while testing whether texdoc is available
@dbitouze
Copy link
Contributor

dbitouze commented Aug 17, 2023

  • regExp search filter for package names

I didn't follow the discussion and have no much time right now but why not regExp search on packages descriptions as well?

Anyway, many thanks for such a great improvement!

@octaeder
Copy link
Contributor Author

@dbitouze Thanks for the compliment. Yes, currently the regExp is applied to the name column only. I already thought about searching the caption (this is the ctan notation they use for the headline, the package description is more text). But this needs some more design decisions. When you apply the expr. to both columns you may need to type more until you find your package. Adding a new search field for the caption might look a bit too much for the ui, and you may need options telling how to combine the results (and/or). Or use only one option telling which column you want to search (this could include a third case for "both columns". And this is still not all I need to know.
You may have a look at the lower end of #2848 for an image.

@dbitouze
Copy link
Contributor

Or use only one option telling which column you want to search (this could include a third case for "both columns".

@octaeder Would be nice, IMO.

@sunderme
Copy link
Member

thanks

@sunderme sunderme merged commit 6fef85a into texstudio-org:master Aug 17, 2023
@octaeder octaeder deleted the packages branch August 17, 2023 17:14
@octaeder
Copy link
Contributor Author

Or use only one option telling which column you want to search (this could include a third case for "both columns".

@octaeder Would be nice, IMO.

I can create a PR for this:

grafik

@sunderme
Copy link
Member

the text should search title and description, no options

@sunderme
Copy link
Member

you can play around with the result order

@octaeder
Copy link
Contributor Author

even so I already explained it you give an ambiguous specification.

@sunderme
Copy link
Member

Yes

@octaeder
Copy link
Contributor Author

I will not guess what you want

@sunderme
Copy link
Member

alright

@octaeder
Copy link
Contributor Author

so it's OR

@octaeder
Copy link
Contributor Author

You need to update the tooltip.
Since you always search the description case insensitive, it makes no sense to enter upper case letters in the search field, because the name field searched in fact is the key, which is always in lower case. So a distinction of foundLevel 2 and 3 is useless (s. 26d0ede).

@octaeder
Copy link
Contributor Author

changing the checkbox doesn't give the appropriate result for the search term (inconsistent)

@tmelorc
Copy link
Contributor

tmelorc commented Jul 29, 2024

I'm using TeXstudio 4.8.2 (git 4.7.1-420-g6872e90d1).
I'd suggest to use smaller window's height.
When I open the Packages Help on my laptop, the window is too tall so that buttons are almost out of screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants