[TxMt] Error with LaTeX Documentation for Package command

Tim Bates timothy.c.bates at gmail.com
Fri Sep 15 14:54:22 UTC 2017


I'm getting the following error from the LaTeX documentation command:

Traceback (most recent call last):
  File "/Users/tim/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texdoc.py", line 223, in <module>
    shell=True).strip()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'texdoc %' returned non-zero exit status 1


The command source  code is:

#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && \
    . "${TM_SUPPORT_PATH}/lib/bash_init.sh"

. "${TM_SUPPORT_PATH}/lib/webpreview.sh"

html_header 'Package Documentation'
echo '<p><small>Hint: Cursor on package name shows doc for package.
                Otherwise show package doc browser.</small></p>'
texdoc.py



My environment is
OS high Sierra beta


More information about the textmate mailing list