#!/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: