[TxMt] Latex command fail following new security update

Geoff Vallis gkvallis at gmail.com
Mon Mar 23 20:02:01 UTC 2015


Hello,

I have just installed the latest security update on my Mac (10.10.2) and some commands in my latex bundle were broken by it. For example, I have a script (below) that opens a terminal window and typesets the master file, but after the security update the command no longer tries to typeset the master file, but the subfile, and hence typesetting fails.  I am sure is is the Mac OS security update that led to the failure, because I tried on two Macs with the same behaviour.

Thanks for any help you may offer

Geoff 

--------

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

TM_LATEX_MASTER=`${TM_RUBY:-ruby} <<"RUBY"
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape.rb"
require "#{ENV['TM_BUNDLE_SUPPORT']}/lib/LaTeXUtils.rb"

master = LaTeX.master(ENV['TM_LATEX_MASTER'] || ENV['TM_FILEPATH'])
puts master
RUBY`

FILE=${TM_LATEX_MASTER:-$TM_FILEPATH}
cd ${TM_DIRECTORY}

open -a iterm

/Users/gkv/scripts/iterm "time /usr/texbin/pdflatex -synctex=1 ${FILE%.tex}"

--------




More information about the textmate mailing list