Page 1 of 1

Defining new entities for characters

Posted: Fri Nov 05, 2010 6:25 am
by burbles
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.

Re: Defining new entities for characters

Posted: Thu Nov 11, 2010 6:31 am
by burbles
Does anyone need further explanation to answer this question?
Thanks

Re: Defining new entities for characters

Posted: Thu Nov 11, 2010 6:26 pm
by adrian
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

Re: Defining new entities for characters

Posted: Sat Nov 13, 2010 3:41 pm
by burbles
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

Re: Defining new entities for characters

Posted: Mon Nov 22, 2010 6:42 pm
by adrian
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.

Code: Select all

I'm testing an apostrophe.
In the transformation result it will end up as:

Code: Select all

I'm testing an apostrophe.
Regards,
Adrian