summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts/texdoc
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-09 04:14:55 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-09 04:14:55 +0000
commitbfbe81796df41ce30c05a1dc88bb3147f28837b5 (patch)
treed338db8742787ed9af8137a6959744afc5828d87 /Master/texmf/scripts/texdoc
parent8e63c701619069796c0ff9f29d462db905585e41 (diff)
texdoc update (aliases and minor things)
git-svn-id: svn://tug.org/texlive/trunk@15950 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/scripts/texdoc')
-rwxr-xr-xMaster/texmf/scripts/texdoc/texdoc.tlu7
1 files changed, 1 insertions, 6 deletions
diff --git a/Master/texmf/scripts/texdoc/texdoc.tlu b/Master/texmf/scripts/texdoc/texdoc.tlu
index db494d3696f..e0a1e7d497c 100755
--- a/Master/texmf/scripts/texdoc/texdoc.tlu
+++ b/Master/texmf/scripts/texdoc/texdoc.tlu
@@ -1,5 +1,4 @@
#!/usr/bin/env texlua
--- $Id$ -*-Lua-*-
--[[
Copyright 2008, 2009 Manuel Pégourié-Gonnard.
@@ -30,10 +29,6 @@ Previous work in the public domain:
-- progname and version
progname = 'texdoc'
version = '0.47'
-if string.sub(version, -1) == '+' then
- local svnrev = string.match('$Rev$', '%$Rev:%s*(%d*)%s*%$');
- version = svnrev and version..' svn r'..svnrev or version..' git'
-end
-- make sure to update setup_config_from_cl() accordingly
-- and set a default value in setup_config_from_defaults() if relevant
@@ -852,7 +847,7 @@ function how_to_view (filename)
viewext = string.match(filename,'.*%.(.*)$') or 'txt'
if not config['viewer_'..viewext] then
err_print ("cannot determine type of file\n\t"
- ..filename.."Assuming text. Set the `viewer_"..viewext..
+ ..filename.."\nAssuming text. Set the `viewer_"..viewext..
"' variable in texdoc.cnf to avoid this.", "warning")
viewext = 'txt'
if not config['viewer_'..viewext] then