Defining new entities for characters
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 37
- Joined: Wed Dec 23, 2009 6:13 am
Defining new entities for characters
I need to redefine or remap the apostrophe character in Editor and Author mode, from a 'prime' character symbol to a proper apostrophe character (’) so that the correct character appears after FO transformations. So, how can I redefine the entity character for apostrophe, or how can I add this new character (in hex code) in the entities pallette? I presume this is how I can add characters?
Thanks.
Thanks.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Defining new entities for characters
Hello,
If what you want is to redefine the ' entity then I'm afraid this isn't possible in Oxygen.
Maybe we can find some other way to obtain this. Maybe define another entity and use that instead. Or do you simply want to remap all apostrophe characters to some other character?
Not sure if the FO processor can remap characters during the PDF generation. Some investigation is required.
Regards,
Adrian
If what you want is to redefine the ' entity then I'm afraid this isn't possible in Oxygen.
Maybe we can find some other way to obtain this. Maybe define another entity and use that instead. Or do you simply want to remap all apostrophe characters to some other character?
Not sure if the FO processor can remap characters during the PDF generation. Some investigation is required.
Regards,
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: 37
- Joined: Wed Dec 23, 2009 6:13 am
Re: Defining new entities for characters
Adrian,
I want to remap all apostrophe characters to another character. In my case, the apostrophe when typed in an XML file is a 'prime' symbol. I want this to become a proper apostrophe (i.e. the 'curly' type).
Can I add an entity for this new apostrophe in XML Editor so that it turns out correctly in an FO transformation? Are there other quick workaround solutions? Obviously I could the correct symbol from "Insert from character map", but this is a little laborious for wuick editing - are there any keyboard shortcuts that can be created for this, for example?
Many thanks
I want to remap all apostrophe characters to another character. In my case, the apostrophe when typed in an XML file is a 'prime' symbol. I want this to become a proper apostrophe (i.e. the 'curly' type).
Can I add an entity for this new apostrophe in XML Editor so that it turns out correctly in an FO transformation? Are there other quick workaround solutions? Obviously I could the correct symbol from "Insert from character map", but this is a little laborious for wuick editing - are there any keyboard shortcuts that can be created for this, for example?
Many thanks
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Defining new entities for characters
I find this to be more of a keyboard input problem.
Are you using the correct keyboard layout for you keyboard? Or that's precisely the problem, your keyboard layout is different and has the quote(apostrophe) characters mixed up.
You can declare an entity in the XML document or in a DTD that's associated with the document but ' is already defined and should do the same job just as good.
e.g.
In the transformation result it will end up as:
Regards,
Adrian
Are you using the correct keyboard layout for you keyboard? Or that's precisely the problem, your keyboard layout is different and has the quote(apostrophe) characters mixed up.
You can declare an entity in the XML document or in a DTD that's associated with the document but ' is already defined and should do the same job just as good.
e.g.
Code: Select all
I'm testing an apostrophe.
Code: Select all
I'm testing an apostrophe.
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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