Hello,
I'm using a ConTeXt bundle (similar to LaTeX) from http://wiki.contextgarden.net/TextMate http://dl.contextgarden.net/support/context-tmbundle.dmg
When "building" with ⌘+R an extra window with "html" content opens with a long log of the run. My question is: is it possible to scroll down to the bottom of that window automatically as the log is written to it?
The command which creates that window looks approximately like that:
############################################## #!/usr/bin/env ruby
$:.unshift "#{ENV['TM_SUPPORT_PATH']}/lib" $:.unshift File.join(File.dirname(__FILE__), "..", "lib")
require 'scriptmate' require "parse_texexec_output"
@file=File.basename(ENV['TM_FILEPATH']) @dir=File.dirname(ENV['TM_FILEPATH']) $cmd="texmfstart texexec #{xetex} --pass=\'-halt-on-error -file-line-error\' #{@file}"
class CommandMate def emit_header puts html_head(:window_title=>"texexec", :page_title=>"typeset" , :sub_title=>"#{$cmd}") puts "<pre>" end end
cmd_mate($cmd) ##############################################
Thanks a lot, Mojca