Ask Your Question

:---: (weird problem with em dash shortcut that stops working)

asked 2019-12-02 07:41:29 +0100

vixvix gravatar image

Hi, so I have been using Libreoffice Writer for a couple of years, but I'm not tech savvy so one of the issues I have is using em dash, meaning this: —

I often just copy/paste, but someone said a shortcut works where if you type in :---: then it automatically creates an em dash.

My problem is that this shortcut works then stops working. The way I get it to work again is by going to Tools/Language/For All Text/English (USA). When I do this, it usually begins working again. I don't understand why choosing language should have anything to do with the shortcut working.

edit retag flag offensive close merge delete


This is how it is designed: when you create an autoreplacement entry, it is language-specific by default. If you want it to work for all languages, choose, respectively, [All] in the language selector in the AutoCorrect dialog.

gabix gravatar imagegabix ( 2019-12-02 07:55:41 +0100 )edit

What @gabix says. Automatic replacement needs to be language-specific. E.g., it makes sense to automatically replace standalone "i" with "I" for English flavors, but not for other languages. Note that Autocorrect replacement entry is not a shortcut, but a text you type to the document which appears on the page, then analyzed and replaced (e.g. to fix common typos, or provide convenience like with :---:).

Mike Kaganski gravatar imageMike Kaganski ( 2019-12-02 08:05:13 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-12-02 08:06:27 +0100

keme gravatar image

updated 2019-12-02 09:01:05 +0100

Your shortcut is an autocorrect entry. Autocorrection entries connect to language settings.

For stuff you need to use in all languages (I would say, for all "shorthand" purposes), use autotext instead.

Note that at the time of writing, this online help entry (click "autotext" above) may be a bit dated. The "fn" and "dt" defaults mentioned there are not "preloaded" in all versions of the suite.

edit flag offensive delete link more


both fn and dt work e.g. in and current master (and I use at least the latter every day) ...

Mike Kaganski gravatar imageMike Kaganski ( 2019-12-02 08:34:55 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-12-02 07:41:29 +0100

Seen: 23 times

Last updated: Dec 02