summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/texdoc/constants.tlu
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/texdoc/constants.tlu')
-rw-r--r--Master/texmf-dist/scripts/texdoc/constants.tlu38
1 files changed, 16 insertions, 22 deletions
diff --git a/Master/texmf-dist/scripts/texdoc/constants.tlu b/Master/texmf-dist/scripts/texdoc/constants.tlu
index 8b1dff224b5..51d059196cd 100644
--- a/Master/texmf-dist/scripts/texdoc/constants.tlu
+++ b/Master/texmf-dist/scripts/texdoc/constants.tlu
@@ -1,7 +1,7 @@
--- $Id: constants.tlu 24 2017-11-18 23:00:18Z karl $
-- constants.tlu: global "constants" for texdoc.
--
--- Manuel Pégourié-Gonnard, GPLv3+, see texdoclib.tlu for details
+-- Manuel Pégourié-Gonnard and the TeX Live team, GPLv3,
+-- see texdoclib.tlu for details
-- use an empty environment that will become texdoc_env.C (see EOF)
local constants = {}
@@ -19,21 +19,19 @@ end
-- BEGIN constants
-- progname and version
-fullname = kpse.find_file('texdoc/texdoclib', 'lua')
-progname = 'texdoc'
-version = '2.0171'
+fullname = kpse.find_file('texdoc/texdoclib', 'lua')
+progname = 'Texdoc'
+version = '3.0'
-- make sure to update setup_config_from_cl() accordingly
-- and set a default value in setup_config_from_defaults() if relevant
usage_msg = [[
-Usage: texdoc [OPTION]... NAME...
+Usage: texdoc [OPTION...] NAME...
or: texdoc ACTION
Try to find appropriate TeX documentation for the specified NAME(s).
Alternatively, perform the given ACTION and exit.
-Current settings:
-
Actions:
Options:
-w, --view Use view mode: start a viewer. (default)
@@ -47,33 +45,26 @@ Options:
-q, --quiet Suppress warnings and most error messages.
-v, --verbose Print additional information (eg, viewer command).
- -d, --debug[=LIST] Activate debug output (restricted to LIST).
+ -D, --debug Activate all debug output (equal to "--debug=all").
+ -dLIST, --debug=LIST Activate debug output restricted to LIST.
Environment variables: PAGER, BROWSER, PDFVIEWER, PSVIEWER, DVIVIEWER,
-and texdoc_* of each.
+and *_texdoc of each.
Files: <TEXMF>/texdoc/texdoc.cnf; see output of the --files option.
Full manual available via `texdoc texdoc'.
-texdoc home page: <https://tug.org/texdoc/>
-Please email bugs to <texdoc@tug.org>.
-]]
+Website: <https://tug.org/texdoc/>
+Repository: <https://github.com/TeX-Live/texdoc>
+Please email bugs to <texdoc@tug.org>.]]
copyright_msg = [[
-Copyright 2008-2017 Manuel P'egouri'e-Gonnard.
+Copyright 2018 Manuel Pégourié-Gonnard, Takuto Asakura, Karl Berry, and Norbert Preining.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.]]
actions_ph = 'Actions:\n'
-usage_settings_ph = 'Current settings:' -- keep ../doc/texdoc wrapper in sync!
-usage_settings = {
- { name = 'mode', view = '--view', mixed = '--mixed', list = '--list',
- showall = '--showall' },
- { name = 'interact_switch',
- [true] = '--interact', [false] = '--nointeract' },
-}
-
known_options = {
'viewer_.*',
'mode',
@@ -93,6 +84,7 @@ known_options = {
'zipext_list',
'max_lines',
'lang',
+ 'fuzzy_level',
}
error_msg = [[
@@ -149,3 +141,5 @@ setmetatable(C, {
error('Internal error: attempt to modify a constant.')
end
})
+
+-- vim: ft=lua: