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
On 7 Feb 2008, at 22:17, Mojca Miklavec wrote:
[...] 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?
Yes, see http://lists.macromates.com/pipermail/textmate/2007-August/021961.html for how to set it up.
On Feb 11, 2008 2:42 AM, Allan Odgaard wrote:
On 7 Feb 2008, at 22:17, Mojca Miklavec wrote:
[...] 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?
Yes, see http://lists.macromates.com/pipermail/textmate/2007-August/021961.html for how to set it up.
Wow! Thanks a lot. It worked
(Is there any place besides the mailing list archive to put this hint on?)
Mojca
On 11 Feb 2008, at 08:14, Mojca Miklavec wrote:
[...] Yes, see http://lists.macromates.com/pipermail/textmate/2007-August/021961.html for how to set it up.
Wow! Thanks a lot. It worked
(Is there any place besides the mailing list archive to put this hint on?)
It should probably be added to the manual, as 1.x is unlikely to see a GUI setting for the option.