Page 1 of 1
keyboard shortcuts to insert special characters
Posted: Wed Jan 17, 2024 9:02 pm
by gszabo
Hello,
Are their keyboard shortcuts for commonly used special characters such as em dashes and en dashes? If not, is there a way to add them?
Re: keyboard shortcuts to insert special characters
Posted: Thu Jan 18, 2024 9:13 am
by Radu
Hi,
Oxygen has a character map in the main menu "Edit->Insert from character map". You can also right click the toolbar area, configure the toolbars and show the "Symbols" toolbar button if you want to easily click to insert the last used symbols.
Other than that there are other ways to do this:
1) Define in the Preferences->"Editor / Content Completion / Code Templates" a code template which inserts any character or group of characters that you want. Give a shortcut to the code template. Code templates are also shown in the Author visual editing mode in the content completion window when pressing ENTER.
2) Define a custom Author action in your DITA framework extension folder and give it a shortcut:
https://blog.oxygenxml.com/topics/custo ... etion.html
There is also this Preferences->"Editor / Edit Modes / Author / AutoCorrect" page which allows you to map a sequence of characters to a replacement sequence of characters so that after you press space, type these characters and then space again they should be converted to the target sequence of character.
Regards,
Radu
Re: keyboard shortcuts to insert special characters
Posted: Thu Jan 18, 2024 7:01 pm
by gszabo
Radu,
Thank you for your help. I used the code template method, exactly what I needed!