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 » Thu Nov 18, 2010 8:27 am

How do I insert a em-dash in a dita xml document?

adrian
Posts: 2594
Joined: Tue May 17, 2005 4:01 pm

Re: inserting a em-dash?

Post by adrian » Thu Nov 18, 2010 11:27 am

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 » Wed Nov 24, 2010 1:23 am

Thanks Adrian I'll give it a go.

Post Reply