inserting a em-dash?

Questions about XML that are not covered by the other forums should go here.
daz
Posts: 13
Joined: Wed Nov 17, 2010 8:44 am

inserting a em-dash?

Post by daz »

How do I insert a em-dash in a dita xml document?
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: inserting a em-dash?

Post by adrian »

Hello,

In the main menu go to Edit -> Insert from Character Map. In the Character Map dialog type in the Character code field the code for em-dash:
- decimal: 8212
or
- hexadecimal: 2014

Then you can insert it as either:
- Character
or
- Character entity (decimal/hexadecimal)

I'd suggest inserting it as a character entity to avoid issues with font representation.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
daz
Posts: 13
Joined: Wed Nov 17, 2010 8:44 am

Re: inserting a em-dash?

Post by daz »

Thanks Adrian I'll give it a go.
Post Reply