plover icon indicating copy to clipboard operation
plover copied to clipboard

Request: retrospective title case meta

Open gdwaynewarner opened this issue 8 years ago • 7 comments

Classification: Bug

Reproducibility: Always

Summary

I have a stroke for "burden of proof." I wanted to write it as "Burden of Proof," so after stroking the outline, I then stroked the Cap Last stroke, and nothing happened.

Steps to Reproduce

1. I stroke a phrase that I want the last word to be capitalized 2. I then stroke the Cap Last outline

Expected Results

  1. "Burden of proof" should have become "Burden of Proof."

Actual Results

  1. Instead, this happens. :(

I ended up with "Burden of proof."

If helpful, submit screenshots of the issue to help debug. Your plover.log or strokes.log may also be useful.

Version

Plover version Plover 4.0.0.dev2+28.g37c65eb (Mac OS X)

If the problem is known to be present in more than one version, please list all of those.

I've never tried to do that before, so I don't know if the same thing happens in other versions. Installed via: ** Download from openstenoproject.org**

Notes

Working on a transcript ... no time to troubleshoot, but I don't think that's anything I would have control over.

If you've found a workaround, provide it here. No workarounds found

Configuration

OS: Mac OS X 10.10.5

gdwaynewarner avatar Sep 25 '17 12:09 gdwaynewarner

With #807 the retro-last-word command will actually operate on the last word, not the last stroke.

panathea avatar Sep 25 '17 14:09 panathea

#807 will not change anything in this case, the last word is ., so proof will be unchanged.

benoit-pierre avatar Sep 25 '17 14:09 benoit-pierre

Right, if the stroke is burden of proof. and not burden of proof then it won't work as expected. It's unclear from the issue whether the quote punctuation was literal or not.

panathea avatar Sep 25 '17 14:09 panathea

The stroke for "burden of proof" I'm using is PW*-URP. The punctuation in the original post wasn't part of the stroke ... so I stroked the Cap Next stroke (KP-PB), then the stroke for "burden of proof," -- and again, the quotes and comma were NOT included at the time -- PW*-URP, and finally, the Cap Last stroke, which gave me "Burden of proof" instead of the desired "Burden of Proof."

gdwaynewarner avatar Sep 25 '17 18:09 gdwaynewarner

Perhaps a retroactive "Title Mode" might be in order for what I'm looking for here.

... and speaking of title mode, little words like "of," "and," "to," etc. are not capitalized in a title, generally -- unless they're the first word in the title, that is.

gdwaynewarner avatar Nov 02 '17 05:11 gdwaynewarner

Any updates on this one?

gdwaynewarner avatar Mar 24 '22 23:03 gdwaynewarner

I guess someone making a (macro) plugin is possible but there isn't too many people interested...

For now, a workaround is to define custom outlines for each one. (or make Python dictionary to generate them)

user202729 avatar Mar 25 '22 02:03 user202729

Implemented with plover-retro-text-transform

greenwyrt avatar Sep 30 '23 09:09 greenwyrt