Dead key + Apostrophe

12 views
Skip to first unread message

Guillermo Urbina Valdés

unread,
Sep 4, 2024, 4:07:07 PM9/4/24
to Ukelele Users
Hello everyone,

I'm hoping you can help me with this. I currently use a custom layout to type in English, Spanish and French (physical keyboard is US). I've been using it for a while and I absolutely love it. My main use is the apostrophe as a dead key for accent marks. I'll explain it below:

The way it works is:
'  followed by a vowel = accented vowel (e.g. é)
' followed by a consonant or the space bar = apostrophe (e.g. words like don't)

However, unlike in the US or UK layouts that come with the system, it doesn't replace it with typographical apostrophes when I type in some programs. Specifically, I would like it to type "don’t" instead of "don't". Is there a way to achieve this?

Thank you!

Sorin Paliga

unread,
Sep 4, 2024, 4:28:16 PM9/4/24
to ukelel...@googlegroups.com
AFAIK, this is achieved by the settings within the app, i.e. to replace straight quotes by a typographic, or smart, quote. This is usually located in the area ‘auto-correct’. 
You may also use WordService in the Services area as attached.
As I abhor such auto-corrections, sometimes they are not useful, I have simply created a custom keylayout with ‘ and ’ at the option and option-shift-level. I may thus insert typographic (or smart) quotes manually.


On 4 Sep 2024, at 16:23, Guillermo Urbina Valdés <gurb...@gmail.com> wrote:

Hello everyone,Screenshot 2024-09-04 at 23.21.03.png
--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ukelele-users/c6660e95-1b90-49ae-a8cf-a67a429636ffn%40googlegroups.com.

Gé van Gasteren

unread,
Sep 5, 2024, 4:26:30 AM9/5/24
to ukelel...@googlegroups.com
Hi Guillermo,

Maybe the ‘smart quotes routine’ in certain apps doesn’t work for this kind of use – Tom may know more about that.
Could you mention which applications?

If I understand your situation properly, you can make the behavior app-independent by changing the "terminator" for your dead-key definition.
Right-click on the apostrophe/quote key to get the following drop-down menu and choose Change Terminator:
image.png
In the following dialog box, enter the typographic version: ’

Obviously, now you’ll need to put the "dumb quote" version ' somewhere on your keyboard.
Because, how else are you going to type ‘opening quotes’, the minutes in geographical coordinates, etc.
I have put that ' on the backslash key (U.S. layout) as I never use that, but that’s just my solution.

Let us know how you fare!

David J. Perry

unread,
Sep 5, 2024, 4:05:35 PM9/5/24
to ukelel...@googlegroups.com

I believe that Sorin is right that it's the app, not the OS, that handles smart quotes.

That said, you could set your custom keyboard to output a right-facing curly quote, rather than a straight apostrophe, since it has a Unicode value (U+2019 in the General Punctuation range).  The only issue would be that single quotes are occasionally used at the beginning of a word: e.g., 'smith' originally referred to a blacksmith.  As long as that's not an issue for you, you should be OK. 

Sorin Paliga

unread,
Sep 5, 2024, 4:11:06 PM9/5/24
to ukelel...@googlegroups.com
To add that the smart quotes may be replaced later via Word Service, and vice-versa: smart quotes by straight quotes.

On 4 Sep 2024, at 23:47, 'David J. Perry' via Ukelele Users <ukelel...@googlegroups.com> wrote:

I believe that Sorin is right that it's the app, not the OS, that handles smart quotes.

That said, you could set your custom keyboard to output a right-facing curly quote, rather than a straight apostrophe, since it has a Unicode value (U+2019 in the General Punctuation range).  The only issue would be that single quotes are occasionally used at the beginning of a word: e.g., 'smith' originally referred to a blacksmith.  As long as that's not an issue for you, you should be OK. 


On 9/4/2024 4:27 PM, Sorin Paliga wrote:
AFAIK, this is achieved by the settings within the app, i.e. to replace straight quotes by a typographic, or smart, quote. This is usually located in the area ‘auto-correct’. 
You may also use WordService in the Services area as attached.
As I abhor such auto-corrections, sometimes they are not useful, I have simply created a custom keylayout with ‘ and ’ at the option and option-shift-level. I may thus insert typographic (or smart) quotes manually.
On 4 Sep 2024, at 16:23, Guillermo Urbina Valdés <gurb...@gmail.com> wrote:

Hello everyone,<Screenshot 2024-09-04 at 23.21.03.png>

I'm hoping you can help me with this. I currently use a custom layout to type in English, Spanish and French (physical keyboard is US). I've been using it for a while and I absolutely love it. My main use is the apostrophe as a dead key for accent marks. I'll explain it below:

The way it works is:
'  followed by a vowel = accented vowel (e.g. é)
' followed by a consonant or the space bar = apostrophe (e.g. words like don't)

However, unlike in the US or UK layouts that come with the system, it doesn't replace it with typographical apostrophes when I type in some programs. Specifically, I would like it to type "don’t" instead of "don't". Is there a way to achieve this?

Thank you!

--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ukelele-users/c6660e95-1b90-49ae-a8cf-a67a429636ffn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ukelele-users/13DE1B2F-B679-4971-9C27-1D9FB521A006%40gmail.com.

--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages