summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/texdoc/texdoc.tlu
blob: b8598682364395215d0e783f681a758e39b57276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env texlua

-- texdoc.tlu: the main program of texdoc
--
-- The TeX Live Team, GPLv3, see texdoclib.tlu for details

-- Note: we keep this file small as much as possible so that make it easier
--       to install a new version of texdoc in TEXMFHOME.

-- setup the kpse library and load texdoclib
kpse.set_program_name(arg[-1], 'texdoc')
local texdoc = require('texdoclib')

-- execute
texdoc.cli.exec()

-- vim: ft=lua: