Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

On Wed, 18 Apr 2012 18:10:18 +0200
Johnny Rosenberg <> wrote:

Den 17 april 2012 22:32 skrev Thomas Taylor <>:
On Tue, 17 Apr 2012 18:09:31 +0200
Johnny Rosenberg <> wrote:

Den 16 april 2012 22:36 skrev Séamas Ó Brógáin <>:
Regina wrote:

They are usually written via AutoCorrect. The simple hyphen is replaced
with the en-dash or em-dash when the following word is finished . . .

That is _not_ a good idea. The hyphen, en rule and em rule (dash) are
distinct characters with distinct uses in conventional typography and
typesetting. Their correct use cannot be predicted by context, nor are
they interchangeable.

You need to find out where these characters are in the character set you
are using. This depends on your operating system, your language, and
your keyboard layout.

As Johnny pointed out, they can be entered with the compose key. If you
use them so often that even this is too cumbersome you can customise
your keyboard layout,

That's actually what I did (called ”Sweden Johnny Rosenberg”,
available on my computers only…), but I didn't mention it because I
thought it could be a bit tricky…
I have the en-dash at AltGr+- and the em-dash at AltGr+Shift+-. I also
did a lot of other modification, like removed all my numbers from the
first row (I already have them on the num pad to the right – why have
them at more than one place?) and moved some Shift+number combinations
so I don't need Shift for characters like ”!#%&/” and so on. I even
made labels to put on my keys, but most of them was worn out after a
couple of weeks of typing…

To change the layout (or rather add a new one in this case), you need
to fiddle with three files (at least in Ubuntu):
/usr/share/X11/xkb/rules/evdev.lst, /usr/share/X11/xkb/rules/evdev.xml
and /usr/share/X11/xkb/symbols/<the file representing your language>,
more on that another time…

Ok, this was a bit off topic…

Kind regards

Johnny Rosenberg

so that (for example) compose-hyphen gets you the
en rule and shift-compose-hyphen gets you the dash (em rule). If you
want to do this I will help you (but only if you use GNU/Linux!).

You could, as Johnny suggests, create your own auto-correct sequences,
but personally I would avoid all such contrivances. Auto-correct is
_not_ your friend.

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive: All
messages sent to this list will be publicly archived and cannot be

Hi Johnny;
Out of curiosity, what is AltGr+ ? Alt is of course the "Alt" key on the
keyboard but which key is Gr?  My keyboard (an old IBM windows model)
doesn't have such a key.

Thanks, Tom

I saw that someone already answered, but I'll reply anyway.
The ”+” does only mean that the key is hold. So Alt+Shift+x means that
Alt, Shift and x is pressed simultaneously, or at least that no key is
released before the other keys is pressed.
The compose key doesn't work that way, therefore no ”+” sign: ”Compose
--.” means ”hit the Compose key, release it, then type --.”.

<<<<< snip >>>>>

Hi Johnny ;)
The problem with the above is that in openSuSE  the compose key only allows two
(2) keystroke combinations, not three (3).  "Compose -./--" do not insert
anything.  To me, this is just a point of education as I don't use dash m/n in
my writing.  Just trying to learn a bit.

Thanks for any further explanation. 


Tom Taylor - retired penguin
openSUSE 12.1x86_64     openSUSE 12.2x86_64
KDE 4.6.00, FF 7.0      KDE 4.7.2, FF 11.0
claws-mail 3.8.0
registered linux user 263467

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.