Unicode input methods
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 5
- Joined: Mon Nov 18, 2019 11:43 am
Unicode input methods
I want to type characters like 𝕌 and ↪ in my XML documents all of which are about mathematics. Because there are many such characters in the text, cutting and pasting or the character map method are not options for me. The only way seems to be to install a Java input method, and activate it in Oxygen XML editor. Are there any suggestions about where I can find a suitable input method jar, and how to tell Oxygen XML editor to use that?
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Unicode input methods
Hi,
We can't really recommend a custom input method just for a few characters. If you have only a handful of special characters, you could use the workaround proposed here via code templates:
Insert character shortcut
Adrian
We can't really recommend a custom input method just for a few characters. If you have only a handful of special characters, you could use the workaround proposed here via code templates:
Insert character shortcut
Regards,- to define code templates (Options > Preferences, Editor > Templates > Code Templates) for each special character. Since v17.0 they also have shortcuts and are also easily accessible by pressing Ctrl+Space (shows the list of available code templates).
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Mon Nov 18, 2019 11:43 am
Re: Unicode input methods
No I am not talking about a few characters or a handful of characters. As I'd mentioned, my documents use many of these characters. Here is an example: http://www.retrotexts.net/agda/ (The text there were typed in Emacs using the Agda input method for Emacs). Here is a partial list of some of the characters used in texts about the mathematics I am dealing with: https://people.inf.elte.hu/divip/AgdaTu ... mbols.html
I don't think I want to create templates for so many characters. Without the ability to easily type a large number of mathematical characters, the usability of the editor is considerably reduced for me.
I don't think I want to create templates for so many characters. Without the ability to easily type a large number of mathematical characters, the usability of the editor is considerably reduced for me.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Unicode input methods
Hi,
I cannot find references on the web of any Java input method that does this.
On what platform/OS are you editing with Oxygen (Windows, macOS, Linux)?
One solution would be to find/create an OS input method (or custom keyboard layout) that supports mathematical symbols.
How to Create APL or Math Symbols Keyboard Layout
What type of XML documents are you editing (DocBook, DITA, TEI, other)?
Since we are discussing XML editing, have you considered using character entity references for those mathematical symbols?
https://wikiowl.com/en/wiki/List_of_XML ... references
https://www.w3.org/TR/xml-entity-names/
Entities are harder to read in Text mode, but you can always switch to Author mode to see the actual character they reference.
You can see the full list of named character references in the Entities view, or after typing '&' the list gets filtered as you type the name.
e.g. XHTML + MathML
Text mode:
Author mode:
Adrian
I cannot find references on the web of any Java input method that does this.
On what platform/OS are you editing with Oxygen (Windows, macOS, Linux)?
One solution would be to find/create an OS input method (or custom keyboard layout) that supports mathematical symbols.
How to Create APL or Math Symbols Keyboard Layout
What type of XML documents are you editing (DocBook, DITA, TEI, other)?
Since we are discussing XML editing, have you considered using character entity references for those mathematical symbols?
https://wikiowl.com/en/wiki/List_of_XML ... references
https://www.w3.org/TR/xml-entity-names/
Entities are harder to read in Text mode, but you can always switch to Author mode to see the actual character they reference.
You can see the full list of named character references in the Entities view, or after typing '&' the list gets filtered as you type the name.
e.g. XHTML + MathML
Text mode:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Sample</title>
</head>
<body>
<p>𝕌</p>
<p>↪</p>
</body>
</html>
Regards,Sample
𝕌
↪
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Mon Nov 18, 2019 11:43 am
Re: Unicode input methods
My OS is Linux, and I am using a local extension of DocBook 5.1 to accommodate some mathematical elements. The keyboard layout solution isn't workable for me, will think about using character entities. Thanks for your help.
Return to “Common Problems”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service