Hi,
I bumped into a problem while checking the R bundle.
There's a command which outputs HTML source to display the result within TM's HTML output window.
If I start TM and execute this command everything will be displayed correctly. Then I close the HTML window, I modify some code, and invoke the same command again to come up with an HTML output window I only see the spinning wheel and a blank window. After ~30s the HTML window displays the correct picture.
I was able to narrow down the problem and attached is a test environment (as a tmCommand). The problem is a non-existing CSS resource. If you invoke this command for the very first time, the HTML output window machinery simply ignores the non-existing CSS file and displays the content correctly. Fine. If you re-invoke the same command the HTML output keeps blank for half a minute. If you then delete the 4th "echo"-line containing R.css everything works perfectly.
Here the test code
#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">"
echo "<html><head><title>R: Phonetic algorithms</title>"
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">"
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"R.css\">"
echo "</head><body>"
echo "TEST"
echo "</body><html>"
******************************************************
Hans-Joerg Bibiko
Max Planck Institute for Evolutionary Anthropology
Department of Linguistics
Deutscher Platz 6 phone: +49 (0) 341 3550 341
D-04103 Leipzig fax: +49 (0) 341 3550 333
Germany e-mail: bibiko [at] eva.mpg.de
******************************************************
I noticed something strange while trying to record a simple macro. When replaying the macro, it skips some steps, especially when there is text selected in between.
Steps to reproduce:
- Open a buffer with the following content:
tm foo
tm bar
- Move to the beginning and hit "Start Recording"
- Select the first word with ^w
- Type "textmate" (or anything else, doesn't matter)
- Hit "Stop Recording"
- Move to the beginning of the line
- Hit "Replay Macro"
Result:
On the second line, "tm" is selected, but the text has not changed. If you try to save the macro you see the content of it and will notice that the macro was at least recorded correctly.
Workaround:
Rolling back to the last normal release (2.0-beta.6) fixes it and replaying works again.
When I try to run run these two commands:
LaTeX > Insert > Citation based on current word
TODO > Insert TODO List
I¹m getting a dialogue box with this message:
Failure running ³Citation Based on Current Selection². interpreter failed:
No such file or directory.
Anyone know what the problem is?
Ross Ahmed
Ecologist
07875533906
Twitter: @RossAhmed <https://twitter.com/RossAhmed>
LinkedIn: Ross Ahmed <https://www.linkedin.com/pub/ross-ahmed/2a/775/590>
I occasionally get log output such as that I've posted below. The pdf is
not updated, but both the dvi and ps file are correctly compiled. TeXShop
correctly compiles using pdflatex. Occasionally latexmk will decide to use
pdflatex and everything will work correctly. I don't really know what's
happening with ps2pdf and what it means by "stable files" and I'm not sure
if this error is caused by a bug in latexmk or maybe some error in the
configuration info given to latexmk by textmate.
Does the latex bundle have any control over whether latexmk uses pdflatex
or regular latex?
-Jim
p.s. Here is that log file, with the latexmk messages:
Latexmk: This is Latexmk, John Collins, 11 Nov. 2012, version: 4.35.
Latexmk: applying rule 'latex'...
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013
Processing: Practice Midterm 1 copy.tex
Document Class: exam 2011/05/22 Version 2.4 by Philip Hirschhorn
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
Output written on "Practice Midterm 1 copy.dvi" (6 pages, 17724 bytes).
Complete transcript is in Practice Midterm 1 copy.log
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'dvips'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
Latexmk: Maximum runs of ps2pdf reached without getting stable files
Latexmk: Did not finish processing file 'Practice Midterm 1 copy.tex':
Latexmk: applying rule 'ps2pdf'...
Latexmk: Errors, in force_mode: so I tried finishing targets
Tell Skim to refresh '/Users/Starx/Dropbox/Mathematics/LaTeX
Projects/Math307Win15/Practice Midterm 1 copy.pdf'
Command latexmk -pdfps -f -r /tmp/latexmkrc -r
'/Users/Starx/Library/Application
Support/Avian/Bundles/latex.tmbundle/Support/config/latexmkrc' 'Practice
Midterm 1 copy.tex' exited with status 12
Thanks Allan, the error message when I try to “Show Todo list” is:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- /Users/rramcharan/Library/Application Support/TextMate/Managed/Bundles/TODO.tmbundle/Support/todo.rb (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require’
> On Jan 23, 2015, at 7:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. todo bundle (Rodney Ramcharan)
> 2. Re: todo bundle (Allan Odgaard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 22 Jan 2015 19:19:43 -0500
> From: Rodney Ramcharan <rodney.ramcharan(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] todo bundle
> Message-ID: <BA4D8BF9-C9DA-4FB8-8FAA-DE8466AB6E27(a)gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Sorry to trouble you with this since I know it?s been addressed but I can?t to figure out the answer. My todo bundle no longer works with the upgrade to yosemite,
> and my path variable is defined as "$PATH:/usr/local/bin:/usr/local/bin? in the preferences tab. Is there something else I need to do. Again, many apologies for the silly question.
> Best,
> Rodney
>
Sorry to trouble you with this since I know it’s been addressed but I can’t to figure out the answer. My todo bundle no longer works with the upgrade to yosemite,
and my path variable is defined as "$PATH:/usr/local/bin:/usr/local/bin” in the preferences tab. Is there something else I need to do. Again, many apologies for the silly question.
Best,
Rodney
There is a nice little Show Web Preview function. Problem is as sweet as it is when doing actual development you have to keep re-executing the shortcut to invoke it. This make seance for something like the external browsers refresh feature, but the internal preview should really be synchronized. Ie as changes are make they show in the preview immediately(or ofter a few seconds of inactivity or a save operation maybe for performance reasons.)
Would it be possible to some how combine the diff highlighting with the
highlighting of a source code? I know that it's possible to insert other
grammars in a grammar but I was thinking of a general solution that
doesn't require changing every existing grammar to add diff support.
It would be really cool if it would be possible to recognize each file
(if multiple files in a diff) and highlight it according to the file
extension.
--
/Jacob Carlborg
Hi All,
Thanks so much for textmate. It has been my happy coding home since I
switched to OSX about 8 years ago.
I've been trying out textmate 2, and I really like it with the exception
of two glitches that I haven't been able to figure out.
The first is that I can't get cmd-t to work happily with expandrive.
cmd-t seems not to find files in a given folder until I open that
particular folder in the file browser sidebar. I can option-click the
main folder to get it to open every folder, and this works initially,
but it the files disappear from cmd-t after some period, so I have to
repeat the option-click or manually browse through the file interface to
open the file. I'm a keyboard guy, and I really miss just being to hit
cmd-t and type in a file name to open a file.
Any ideas for how to fix this? I don't mind much something a little
kludgy like having to option-click the parent folder each time I sit
down to a coding session, but having to do so every 20 minutes or,
worse, having to manually navigate the file browser interface for files,
is harshing my happy coding juju.
Secondly, I retain a habit of searching using ctl-s from my previous
long run with emacs. In Textmate 2, ctl-s is difficult to use because
it does not wrap by default. I can just use cmd-f instead, but I mostly
using the find function to navigate around source files, and I
aesthetically dislike popping up the giant find and replace box just to
do basic quick navigation. Is there any way to change ctl-s back to
doing a wrapped search?
Thanks again for a great tool!
-hal
--
Hal Roberts
Fellow
Berkman Center for Internet & Society
Harvard University
>Could you please change `refresh_viewer.scpt` by adding a `display alert`
Ren,
I actually did some checking along those lines before I got your message.
I used a notification instead of a display alert, but the result is that
the "TeXShop" block of code is definitely not being executed. Never the
less, deleting the tell block from that code will still stop TeXShop from
opening. I noticed you had to delete the tell block and not just the code
within the tell block. Some online searching led me to the following which
seems likely to be the root of the problem:
http://stackoverflow.com/questions/12431811/how-to-make-applescript-not-aut…
Apparently the script should be compiled so that Skim and TeXShop are not
both automatically opened. I am not sure why Angelo and I seem to be the
only ones having this issue. If the above is correct then this behavior
should happen to everyone.
-Jim