CTAN update: texdoc

CTAN Announcements ctan-ann at ctan.org
Thu Jun 7 18:18:34 CEST 2018


Takuto Asakura submitted an update to the

                texdoc

package.

Version number: 3.0
License type: gpl

Summary description: Documentation access for TeX Live

Announcement text:
----------------------------------------------------------------------

This is a big update for Texdoc since 2012!
There are two big features in Texdoc 3.0.


1. New option parser

Now, you can specify multiple options like:

	$ texdoc -vsl foo

(this is equivalent to specifying "-v -s -l")

Please note that the behavior of the short option "-d" have
been changed. It *requires* an argument without "=", e.g.:

	$ texdoc -d score bar

(this is equivalent to specifying "--debug=score")

We added a new option "-D" as a short version of "--debug=all".
Please see the help text for more details.


2. Fuzzy search

When the normal search can't find any document in TeX Live,
Texdoc will execute fuzzy search on the list of package names
without user-interactions. The results of fuzzy search are
shown by "info" message.
(you can see that with the command line option "-v")

The default allowance of Levenshtein distance is 5.
You can change this default value by specifying "fuzzy_level"
in your texdoc.cnf:

	fuzzy_level = 3

If "fuzzy_level" set to 0, the feature will be disabled.


This update also contains several small bug fixes and improvements.

For the quick understanding of the new functions, the slide I used
for a talk in BachoTeX 2018 is available from Speaker Deck:

	https://speakerdeck.com/wtsnjp/texdoc3


One more thing (IMPORTANT for distributors): from v3.0, we won't
include Data.tlpdb.lua (the pseudo cache file) in our repository.
If your distribution do not ship the tlpdb, you have to pre-generate
the pseudo cache file to make Texdoc workable.

For further information, please visit our GitHub repository:

  https://github.com/TeX-Live/texdoc

----------------------------------------------------------------------

This package is located at 
   http://mirror.ctan.org/support/texdoc

More information is at
   https://www.ctan.org/pkg/texdoc


------------------------------------------------------------------------

   Thanks for the upload.

     For the CTAN Team
    Manfred Lotz



We are supported by the TeX user groups.
Please join a users group; see http://www.tug.org/usergroups.html .



More information about the Ctan-ann mailing list