| Author: | Ollie Rutherfurd |
|---|---|
| Date: | 2004-05-15 |
| Version: | 1.3 |
Accents enables one to enter non-ascii characters using abbreviations. Accents converts the abbreviations to the characters they represent, as you type. For example, if you enter "a, Accents converts it to ä when you type the "a" character.
However, with this convenience comes a cost. If you actually wanted to enter 'a, not á, you must enter ' a, which Accents will convert to 'a (it removes the space).
NOTE: At present, Accents assumes one is using the ISO-8859-1 character encoding (also known as Latin-1).
The default set of characters and abbreviations:
| Character | Abbreviation |
|---|---|
| À | `A |
| Á | 'A |
| Â | ^A |
| Ä | "A |
| Ã | ~A |
| Å | /A |
| Æ | /E |
| Ç | ~C |
| Ð | ~D |
| È | `E |
| É | 'E |
| Ê | ^E |
| Ë | "E |
| Ì | `I |
| Í | 'I |
| Î | ^I |
| Ï | "I |
| Ñ | ~N |
| Ò | `O |
| Ó | 'O |
| Ô | ^O |
| Ö | "O |
| Ø | /O |
| Õ | ~O |
| Þ | ~T |
| Ú | 'U |
| Ù | `U |
| Û | ^U |
| Ü | "U |
| Ý | 'Y |
| à | `a |
| á | 'a |
| â | ^a |
| ä | "a |
| ã | ~a |
| å | /a |
| æ | /e |
| ç | ~c |
| ð | ~d |
| è | `e |
| é | 'e |
| ê | ^e |
| ë | "e |
| ì | `i |
| í | 'i |
| î | ^i |
| ï | "i |
| ñ | ~n |
| ò | `o |
| ó | 'o |
| ô | ^o |
| ö | "o |
| ø | /o |
| õ | ~o |
| ß | "s |
| þ | ~t |
| ù | `u |
| ú | 'u |
| û | ^u |
| ü | "u |
| ý | 'y |
| ÿ | "y |
| × | ~* |
| ÷ | ~/ |
| ¶ | /P |
| § | /S |
| © | /C |
| ® | /R |
| ° | /d |
| º | /T |
| ± | +- |
| ¹ | ^1 |
| ² | ^2 |
| ³ | ^3 |
| ´ | ~' |
| ¼ | /4 |
| ½ | /2 |
| ¾ | /3 |
| « | ~< |
| » | ~> |
| ¡ | ~! |
| ¿ | ~? |
| ¢ | /c |
| £ | ~L |
| ¥ | ~Y |
Accents menu items:
Character abbreviations are stored in ~/.jedit/accents.txt. Edit accents.txt to add or remove abbreviations.
accents.txt is a tab-delimited text file with the character in the first field and the 2-character abbreviation in the second field. Blank lines are ignored and lines beginning with # are comments.
The CharacterMap plugin may be useful for inserting characters.
Bug reports, comments, and suggestions regarding Accents may be sent to Ollie Rutherfurd at oliver@jedit.org or posted on the jedit-users mailing list jedit-users@lists.sourceforge.net (membership is required).
I'd appreciate feedback on what works, what doesn't, and how to it more useful. I don't use the plugin, as I don't have a need for it.
Accents is inspired by iso-accents-mode in Emacs.
Accent abbreviations were provided by David Bourguignon who originally requested the functionality.