diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-04-14 17:48:52 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-04-14 17:48:52 +0000 |
commit | 2f62a5fe6f4a15971e376276ff7a5abaf17fccbf (patch) | |
tree | ef85719e2980179699434be62219dd7ddef51153 | |
parent | 1104034c3a0a12a725c09a396336328112179b55 (diff) |
texdoc update
git-svn-id: svn://tug.org/texlive/trunk@17867 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf/doc/texdoc/texdoc.pdf | bin | 206108 -> 206111 bytes | |||
-rw-r--r-- | Master/texmf/scripts/texdoc/score.tlu | 11 | ||||
-rw-r--r-- | Master/texmf/texdoc/texdoc.cnf | 24 |
3 files changed, 17 insertions, 18 deletions
diff --git a/Master/texmf/doc/texdoc/texdoc.pdf b/Master/texmf/doc/texdoc/texdoc.pdf Binary files differindex 6a5ace22009..50c4a6c11a5 100644 --- a/Master/texmf/doc/texdoc/texdoc.pdf +++ b/Master/texmf/doc/texdoc/texdoc.pdf diff --git a/Master/texmf/scripts/texdoc/score.tlu b/Master/texmf/scripts/texdoc/score.tlu index 0a566610903..a902392876c 100644 --- a/Master/texmf/scripts/texdoc/score.tlu +++ b/Master/texmf/scripts/texdoc/score.tlu @@ -82,9 +82,12 @@ function set_score(df, original_kw) if score == -10 and df.tlptodoc then score = -2 end if score == -10 and df.runtodoc then score = -6 end -- bonus for metadata - if df.details and - not string.find(string.lower(df.details), 'readme') then - score = score + 3 + if df.details then + if string.find(string.lower(df.details), 'readme') then + score = score + 0.1 + else + score = score + 2.5 + end end -- adjust from keyword-specific tables if df.tree > -1 and spec_adjscore[original_kw] then @@ -100,7 +103,7 @@ function set_score(df, original_kw) if df.tree > -1 then for pat, val in pairs(global_adjscore) do if val and is_subword('/'..name, pat) then - if score > 0 or val < 0 then score = score + val end + if score > -10 or val < 0 then score = score + val end deb_print('score', string.format( "Adjust by '%d' from global pattern '%s'", val, pat)) end diff --git a/Master/texmf/texdoc/texdoc.cnf b/Master/texmf/texdoc/texdoc.cnf index 353fdfea5e5..e67e28005fe 100644 --- a/Master/texmf/texdoc/texdoc.cnf +++ b/Master/texmf/texdoc/texdoc.cnf @@ -103,6 +103,10 @@ adjscore test = -3 adjscore example = -3 adjscore sample = -3 +# readme's usually deserve a negative score because they have a bad extension, +# but they're still slightly better than other results with negative scores... +adjscore readme = 0.1 + # Uncomment this to make the man pages have a greater priority #adjscore .man1. = 5 #adjscore .man5. = 5 @@ -130,6 +134,7 @@ adjscore(latex) test_latex = -10 adjscore(beamer) beamer-tut-pt = -10 adjscore(beamer) beamer-tut-pt/tutorialbeamer = +10 adjscore(beamer) presentations = -10 +adjscore(beamer) beamer-FUBerlin = -3 # it is also possible to set the score directly in alias directives # eg, fontinstallationguide is related to fontinst: @@ -257,7 +262,6 @@ alias caption = caption-eng alias caption-dev = caption.pdf # misc -alias beamer = beameruserguide alias hyperref = hyperref/manual.pdf alias hyperref-dev = hyperref.pdf alias bibtex = btxdoc @@ -274,11 +278,14 @@ alias vntex = vntex # umbrella document (manual comes first due to catalogue) alias asymptote = asymptote # not mentioned in the catalogue currently alias nonfloat = nonfloat-en alias nonfloat-de = nonfloat -alias showkeys = showkeys # avoid dlfltxbmarkup-showkeys alias subdocs = bezos alias dotlessi = bezos alias checkend = bezos alias arabicfont = bezos +alias cm-super = cm-super/README +alias cmsuper = cm-super/README +alias(5) cmsuper = cm-super/FAQ +alias cyrillic = cyrillic/00readme.txt ## a few easy patterns @@ -308,20 +315,13 @@ alias lehman = fontinstallationguide alias uktugfaq = newfaq alias datenumber-de = datenumber/docgerman alias index = ind -alias genfont1 = fntguide alias psnfss = psnfss2e -alias cmsuper = cm-super/README alias euro = eurosamp alias lmfonts = lm-info -alias t1enc1 = fontsmpl -alias yfonts = yfonts/readme -alias mfpic1 = mfpguide alias dutch = rapdoc alias montex = mlsquick alias(60) akademia = tex-virtual-academy-pl/index.html -alias cyrillic = cyrillic/00readme.txt alias otibet = otibet/unidoc -alias texsis = texsis/base/README alias startex = startex/base/guide alias overpic = opic-rel alias apmgraph = pmgraph @@ -335,9 +335,7 @@ alias natbib2 = natnotes alias tangles = t-angles/t-manual alias mathenv = mdwtab alias gnlogic = gn-logic14 -alias footnote1 = mdwtools/footnote -alias footnote2 = yafoot/yafoot-man -alias labels1 = envlab/elguide +alias labels(1) = envlab/elguide alias lineno = ulineno alias akletter = akletter/lettereng alias mltex = mltex/mltex.txt @@ -345,9 +343,7 @@ alias flcards = flashcards alias tex4ht = tex4ht/mn.html alias ppower4 = ppower4/report alias latex3 = ltx3info -alias latex3p = expl3/expl3 alias musictex = musicdoc -alias ieee = IEEEtran_HOWTO alias kluwer = kluwer/usrman alias cv = curve/curve alias preprint = preprint/00readme.txt |