[TxMt] Re: Error with LaTeX Documentation for Package command

René Schwaiger sanssecours at me.com
Sat Sep 16 15:04:11 UTC 2017


Hi Tim,

> On 15 Sep 2017, at 16:54 , Tim Bates <timothy.c.bates at gmail.com> wrote:
> 
> 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

thank you for reporting the problem. I fixed the issue in commit [eb1b4318][].

[eb1b4318]: https://github.com/textmate/latex.tmbundle/commit/eb1b4318

Kind regards,
  René


More information about the textmate mailing list