Den 16 april 2012 22:36 skrev Séamas Ó Brógáin <[email protected]>: > 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: [email protected] > Problems? > http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette > List archive: http://listarchives.libreoffice.org/global/users/ > All messages sent to this list will be publicly archived and cannot be deleted -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
