diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2011-12-09 16:53:31 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2011-12-09 16:53:31 +0000 |
commit | 1b996f0d25ebcc2a1f326602ab207b0cce78dc72 (patch) | |
tree | 8db80cc9faaae1dff436b6560688ea5663bd5de5 /Master | |
parent | 827bf2408eafc749531ade38dcbe49429a1ddd01 (diff) |
texdoc 0.83 (adjustments to the scoring system)
git-svn-id: svn://tug.org/texlive/trunk@24804 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/texdoc/texdoc.cnf | 2 | ||||
-rw-r--r-- | Master/texmf/doc/man/man1/texdoc.1 | 2 | ||||
-rw-r--r-- | Master/texmf/doc/man/man1/texdoc.man1.pdf | bin | 5980 -> 5997 bytes | |||
-rw-r--r-- | Master/texmf/scripts/texdoc/constants.tlu | 2 | ||||
-rw-r--r-- | Master/texmf/scripts/texdoc/score.tlu | 10 |
5 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/texdoc/texdoc.cnf b/Master/texmf-dist/texdoc/texdoc.cnf index ff1a17e85a9..e1d950fac1d 100644 --- a/Master/texmf-dist/texdoc/texdoc.cnf +++ b/Master/texmf-dist/texdoc/texdoc.cnf @@ -86,7 +86,7 @@ # badbasename_list = readme, 00readme # Known suffixes for documentation -suffix_list = doc, -doc, _doc, .doc, /doc, manual, /manual, -manual, userguide, /user_guide, -guide, -user, -man, notes +suffix_list = doc, -doc, _doc, .doc, /doc, manual, /manual, -manual, userguide, /user_guide, -guide, -user, -man, notes, -info # Score adjustments diff --git a/Master/texmf/doc/man/man1/texdoc.1 b/Master/texmf/doc/man/man1/texdoc.1 index 4ef927c2e1a..3bd2737e7af 100644 --- a/Master/texmf/doc/man/man1/texdoc.1 +++ b/Master/texmf/doc/man/man1/texdoc.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. -.TH TEXDOC "1" "October 2011" "texdoc 0.82" "User Commands" +.TH TEXDOC "1" "December 2011" "texdoc 0.83" "User Commands" .SH NAME texdoc \- find & view documentation in TeX Live .SH SYNOPSIS diff --git a/Master/texmf/doc/man/man1/texdoc.man1.pdf b/Master/texmf/doc/man/man1/texdoc.man1.pdf Binary files differindex 62c4cdd80ed..d929cf3c72c 100644 --- a/Master/texmf/doc/man/man1/texdoc.man1.pdf +++ b/Master/texmf/doc/man/man1/texdoc.man1.pdf diff --git a/Master/texmf/scripts/texdoc/constants.tlu b/Master/texmf/scripts/texdoc/constants.tlu index 8ff2e96d686..2aa2a16c9f1 100644 --- a/Master/texmf/scripts/texdoc/constants.tlu +++ b/Master/texmf/scripts/texdoc/constants.tlu @@ -14,7 +14,7 @@ setfenv(1, constants) -- progname and version fullname = kpse.find_file('texdoc/texdoclib', 'lua') progname = 'texdoc' -version = '0.82' +version = '0.83' -- make sure to update setup_config_from_cl() accordingly -- and set a default value in setup_config_from_defaults() if relevant diff --git a/Master/texmf/scripts/texdoc/score.tlu b/Master/texmf/scripts/texdoc/score.tlu index 697f0cf1b2a..ed5a31ebb60 100644 --- a/Master/texmf/scripts/texdoc/score.tlu +++ b/Master/texmf/scripts/texdoc/score.tlu @@ -74,11 +74,11 @@ function set_score(df, original_kw) deb_print('score', 'Max pattern score: '..tostring(score)) -- get score from tlp associations if score == -10 and df.tlptodoc then - score = -2 + score = -1 deb_print('score', 'New score: -2 from package name association') end if score == -10 and df.runtodoc then - score = -6 + score = -5 deb_print('score', 'New score: -6 from sty/cls association') end -- bonus for metadata @@ -87,8 +87,8 @@ function set_score(df, original_kw) score = score + 0.1 deb_print('score', 'Catalogue "readme" bonus: +0.1') else - score = score + 2.5 - deb_print('score', 'Catalogue details bonus: +2.5') + score = score + 1.5 + deb_print('score', 'Catalogue details bonus: +1.5') end end -- adjust from keyword-specific tables @@ -158,7 +158,7 @@ function heuristic_score(file, pat) end -- bonus for being in the right directory if string.find('/'..file, '/'..pat..'/', 1, true) and not slash then - upscore(score + 0.5, 'directory bonus') + upscore(score + 1.5, 'directory bonus') end -- done deb_print('score', 'Final heuristic score: '..tostring(score)) |