Hi guys, I did a TeX Live Utility “Update all packages”, as is my habit, opened up TextMate and sat down to work. Everything seems fine (no trouble producing PDF) except that ctrl-shift-h from the LaTeX bundle produces "Failure running “Tidy”” "Tidy: line 11: latexindent: command not found”. No harm done, so far as I can see, but the Tidy command is clearly not working for me. The bundles tab in preferences tells me that my LaTex bundle is 11h old, which would seem to indicate I’m working with the latest release…
As a “normal" (i.e kinda dumb) user, Is there something more I should be doing to care for my LaTeX bundle?
Robert
On 11 Feb 2015, at 13:01, René Schwaiger sanssecours@f-m.fm wrote:
Hi Allan,
On 11 Feb 2015, at 10:56 , Allan Odgaard mailinglist@textmate.org wrote:
On 11 Feb 2015, at 15:38, René Schwaiger wrote:
Can't locate YAML/Tiny.pm in @INC […]
[…] You need to install PYAML for the command to work.
Is it possible to place the YAML library in the bundle’s support folder and add that to perl’s include path?
I just did that in the latest commit [GitHub]. Thanks for the helpful suggestion.
I would like to remove the library code from the bundle sometimes in the future tough. Is there a nice way to install external dependencies via TextMate? The code I came up with:
{ # Try to run `latexindent` latexindent -c=/tmp "${TM_FILENAME}" } || { # `latexindent` failed. Most likely this was caused by `Tiny::YAML` not # being installed osascript -e "do shell script \"cpan App::cpanminus && cpanm YAML::Tiny\"\ with administrator privileges" > /dev/null || { exit_show_tool_tip "Could not install YAML::Tiny" } latexindent -c=/tmp "${TM_FILENAME}" }
has the problem, that there is no feedback for the installation process. Comments would be appreciated.
Kind regards,
René
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate