texlive[44292] Master/texmf-dist/scripts/texdoc: typo in texdoc

commits+karl at tug.org commits+karl at tug.org
Thu May 11 18:15:40 CEST 2017


Revision: 44292
          http://tug.org/svn/texlive?view=revision&revision=44292
Author:   karl
Date:     2017-05-11 18:15:39 +0200 (Thu, 11 May 2017)
Log Message:
-----------
typo in texdoc warning

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/texdoc/config.tlu
    trunk/Master/texmf-dist/scripts/texdoc/view.tlu

Modified: trunk/Master/texmf-dist/scripts/texdoc/config.tlu
===================================================================
--- trunk/Master/texmf-dist/scripts/texdoc/config.tlu	2017-05-11 15:46:15 UTC (rev 44291)
+++ trunk/Master/texmf-dist/scripts/texdoc/config.tlu	2017-05-11 16:15:39 UTC (rev 44292)
@@ -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 @@
 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 @@
     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

Modified: trunk/Master/texmf-dist/scripts/texdoc/view.tlu
===================================================================
--- trunk/Master/texmf-dist/scripts/texdoc/view.tlu	2017-05-11 15:46:15 UTC (rev 44291)
+++ trunk/Master/texmf-dist/scripts/texdoc/view.tlu	2017-05-11 16:15:39 UTC (rev 44292)
@@ -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 @@
     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 @@
     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 @@
     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



More information about the tex-live-commits mailing list