Sorry for the delayed response.
I use Typeset & View so the changes I made to latex_watch.pl must then be
irrelevant. Fyi, I never thought there was ever a problem with the
refresh_viewer script. I always thought that the problem was that the
script was being called from elsewhere with the wrong viewer supplied as a
parameter. I could not track down where it's called from (I know very
little about bundles) so my workaround was to just rewrite the script to
open Skim regardless of what viewer it's given as a parameter. I mentioned
this only because it pinpoints the code that is opening TeXShop, and hence
might have been helpful information for debugging the issue, though that
may now be unnecessary:
As suggested I reset to defaults and then installed the LaTeX bundle
again. The Bundles -> LaTeX -> Preferences... command stopped functioning
but TeXShop no longer opens when type setting. After several restarts the
Preferences command has resumed functioning and the TeXShop issue remains
fixed. This means that currently all my issues have been resolved. Thanks!
> On Jan 7, 2015, at 3:22 AM, textmate-request(a)lists.macromates.com wrote:
> Date: Wed, 7 Jan 2015 09:21:10 +0100
> From: Carsten Hoever <hoever(a)gmx.de <mailto:email@example.com>>
>> This is a from a file from Strava generated on an iPhone.
>> Is there a way to convert it to gpx?
> I don't think you will get any useful answers here, as this is not a Textmate specific problem. But since I am at it: have you considered simply exporting the activity from Strava as GPX? There are even automatic services for doing that (tapiriik) if you don't want to do it manually. In case you have more questions I suggest you reply to my e-mail address and not the TxMt list.
Oops, senior moment. Wrong group. But thank you for the suggestions, I’ll look at tapriniik. I guess my search was too narrow. I didn’t see how to export from Strava. I thought it should do it, but wasn’t seeing it. Will look harder. I just got the paid membership to see how it handled heart rate data, although have had a little used free account for some time.
This is a from a file from Strava generated on an iPhone.
Is there a way to convert it to gpx?
I put in the beginning of the file when heart rate, hr, was 60, then later one once I was moving, and the end of the file. Obviously hr is sprinkled in from time to time. Often very close to every second, but then it drifts. The file just ends as shown here. paus is presumably pause which the program requires before stopping. I imagine if you paused and restarted it would have another strt.
I’m not yet requesting that this be added to GPSBabel, but Strava is popular. But don’t know how many people are digging out this file and want to work with it.
I would like to load it into Ascent, a good, but long unsupported program. Ascent handles gpx, but don’t know what it expects for heart rate.
hr: v:60.000000; t:1420581270.674859;
wp: lat:33.823775; long:-118.368278; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.911244; dt:1420581270.916915, dist:0.000000
wp: lat:33.824481; long:-118.367274; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.966093; dt:1420581270.971293, dist:0.000000
wp: lat:33.824835; long:-118.366772; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.974278; dt:1420581270.980752, dist:0.000000
wp: lat:33.825011; long:-118.366521; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.980927; dt:1420581270.986745, dist:0.000000
hr: v:60.000000; t:1420581271.674313;
wp: lat:33.812261; long:-118.383594; hacc:50.000000; vacc:96.000000; alt:56.578022; speed:0.000000; course:-1.000000; t:1420581272.162422; dt:1420581272.183868, dist:0.000000
hr: v:110.000000; t:1420581503.774007;
wp: lat:33.809755; long:-118.384701; hacc:5.000000; vacc:4.000000; alt:62.196552; speed:1.670000; course:165.937500; t:1420581504.230349; dt:1420581504.245299, dist:363.185229
hr: v:110.000000; t:1420581504.774005;
wp: lat:33.809738; long:-118.384692; hacc:5.000000; vacc:4.000000; alt:62.610554; speed:2.170000; course:161.718750; t:1420581505.294441; dt:1420581505.306045, dist:366.836077
hr: v:110.000000; t:1420581505.773943;
wp: lat:33.809721; long:-118.384684; hacc:5.000000; vacc:4.000000; alt:64.164448; speed:1.970000; course:161.718750; t:1420581506.280267; dt:1420581506.303622, dist:366.836077
hr: v:110.000000; t:1420581506.773943;
wp: lat:33.809707; long:-118.384677; hacc:5.000000; vacc:4.000000; alt:63.869831; speed:1.850000; course:159.960938; t:1420581507.223398; dt:1420581507.237045, dist:370.564706
hr: v:110.000000; t:1420581507.774318;
wp: lat:33.809692; long:-118.384670; hacc:5.000000; vacc:4.000000; alt:63.272663; speed:1.910000; course:159.960938; t:1420581508.217323; dt:1420581508.229643, dist:370.564706
hr: v:110.000000; t:1420581508.774003;
wp: lat:33.809677; long:-118.384664; hacc:5.000000; vacc:4.000000; alt:63.689411; speed:1.770000; course:164.531250; t:1420581509.230239; dt:1420581509.242228, dist:374.098707
wp: lat:33.812128; long:-118.383533; hacc:5.000000; vacc:4.000000; alt:55.949909; speed:0.000000; course:351.210938; t:1420584602.268403; dt:1420584602.334073, dist:11365.188420
wp: lat:33.812123; long:-118.383530; hacc:5.000000; vacc:4.000000; alt:55.499897; speed:0.190000; course:351.210938; t:1420584603.257177; dt:1420584603.260663, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:55.349751; speed:0.190000; course:351.210938; t:1420584604.268731; dt:1420584604.274758, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.506855; speed:0.000000; course:351.210938; t:1420584605.225173; dt:1420584605.229791, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.519428; speed:0.000000; course:351.210938; t:1420584606.223511; dt:1420584606.228382, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.269184; speed:0.000000; course:351.210938; t:1420584607.233396; dt:1420584607.237641, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.149799; speed:0.000000; course:351.210938; t:1420584608.406772; dt:1420584608.410853, dist:11365.188420
paus: type:0 t:442277409.220280
Dear Allan Odgaard, dear list!
I'm coming here with perhaps a strange request: I'm trying to sidestep one
"feature" of NSTextView and the only application which seems to implement
similar behavior is TextMate so I was hoping you would be so kind to share
The thing is, when a window with NSTextView contains lots of text and the
users scrolls to, say, 1/4 of text's height, places the text cursor
somewhere, say, at the top of the window and then resizes the window, the
textview does scroll so that the cursor appears the middle of the textview.
In other words, by default, the window resize triggers NSTextView scroll
which puts the cursor in the middle of the view. Which is what I'm trying
to avoid, i.e. I want the cursor to stay where it was (if possible due to
I tried to ask at cocoadev  and StackOverflow  but got no answer so
far. I tried Dux and Fragaria editors but they seem to auto-scroll as well.
The only editor which I can resize the window of and which keeps the cursor
at the same position is TextMate. I tried to search through its source code
but I could not find the piece of code responsible for it.
Please, could you, or someone else, help me out with this? What did you do
to avoid the default behavior?
Thanks a lot in advance!
I'm running TextMate version 2.0-beta.6 on OSX 10.9.5. Skim is my
preferred viewer but every time I render a latex file I get not only the
normal operation of Skim either opening or refreshing but also TeXShop
opens and displays a blank new file. I'm not sure why this happens, Skim
is the default in my preferences and I tried editing the default viewer in
latex_watch.pl but the behavior continues. One workaround that does stop
this from happening is to just delete the TeXShop commands from
refresh_viewer.scpt. Unfortunately this is only a temporary fix, that
script keeps reverting to it's original version and then the behavior
resumes. Maybe textmate keeps updating the latex bundle after I change
it? I'm not sure.
Does anyone know what the issue is here? Or can anyone suggest a more