summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/texdoc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-11 16:15:39 +0000
committerKarl Berry <karl@freefriends.org>2017-05-11 16:15:39 +0000
commite37eefe7f19eb9756b8c1dca37ff149e3b24b785 (patch)
tree8d411842c8f6a4abcee24e3089adc152f8fdf64b /Master/texmf-dist/scripts/texdoc
parentcd9ebbf57d37629407813619d6311d3b7210a998 (diff)
typo in texdoc warning
git-svn-id: svn://tug.org/texlive/trunk@44292 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/texdoc')
-rw-r--r--Master/texmf-dist/scripts/texdoc/config.tlu9
-rw-r--r--Master/texmf-dist/scripts/texdoc/view.tlu12
2 files changed, 11 insertions, 10 deletions
diff --git a/Master/texmf-dist/scripts/texdoc/config.tlu b/Master/texmf-dist/scripts/texdoc/config.tlu
index bc5e95ed025..e7a7c369e4f 100644
--- a/Master/texmf-dist/scripts/texdoc/config.tlu
+++ b/Master/texmf-dist/scripts/texdoc/config.tlu
@@ -1,8 +1,9 @@
+-- $Id: config.tlu 6 2017-05-11 15:43:32Z karl $
-- config.tlu: configuration handling for texdoc
--
--- Manuel Pégourié-Gonnard, GPLv3, see texdoclib.tlu for details
+-- Manuel Pégourié-Gonnard, GPLv3+, see texdoclib.tlu for details
--------------------------- hide the config table ---------------------------
+-------------------------- hide the config table --------------------------
-- config is read-only (but not "deep" read-only)
function set_read_only(table, name)
@@ -20,7 +21,7 @@ end
real_set_config = set_read_only(config, 'config')
-------------------------- general config functions -------------------------
+------------------------- general config functions ------------------------
-- set a config parameter, but don't overwrite it if already set
-- three special types: *_list (list), *_switch (boolean), *_level (number)
@@ -124,7 +125,7 @@ function set_config_list (conf, context)
end
end
------------------------- options from command line -------------------------
+------------------------ options from command line ------------------------
-- set config from the command line
-- Please make sure to update C.usage_msg accordingly
diff --git a/Master/texmf-dist/scripts/texdoc/view.tlu b/Master/texmf-dist/scripts/texdoc/view.tlu
index 6f120beba1e..477645adbb2 100644
--- a/Master/texmf-dist/scripts/texdoc/view.tlu
+++ b/Master/texmf-dist/scripts/texdoc/view.tlu
@@ -1,9 +1,9 @@
-- $Id$
-- view.tlu view a document and/or display the list of results in texdoc
--
--- Manuel Pégourié-Gonnard, GPLv3, see texdoclib.tlu for details
+-- Manuel Pégourié-Gonnard, GPLv3+, see texdoclib.tlu for details
------------------------------ view a document ------------------------------
+----------------------------- view a document -----------------------------
-- view a document
-- see search.tlu for the structure of the argument
@@ -85,9 +85,9 @@ function try_viewing (view_command, viewer_replacement)
if os.type == 'unix' and not (os.name == 'macosx')
and os.getenv('DISPLAY') == nil then
err_print('warning',
- "DISPLAY is not set. Things may go wrong with you viewer.")
+ "DISPLAY is not set; your viewer will likely have problems.")
err_print('warning',
- "Try --list if you want results to be listed, not displayed.")
+ "Try --list to list results instead of displaying them.")
end
err_print('info', 'View command: '..view_command)
if not os.execute(view_command) then
@@ -97,7 +97,7 @@ function try_viewing (view_command, viewer_replacement)
return true
end
------------------------------ display results ------------------------------
+----------------------------- display results -----------------------------
-- print a list of docfile objects (see search.tlu) as a menu
-- if showall is false, stop as soon as a bad result is encountered
@@ -151,7 +151,7 @@ function print_menu(name, doclist, showall)
end
end
------------------------ deliver results base on mode -----------------------
+----------------------- deliver results base on mode ----------------------
function deliver_results(name, doclist, many)
-- ensure that results were found or apologize