<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
Personally I'm not aware of such a plugin, but I think that one
can indeed be implemented (and sounds like a nice idea).<br>
<br>
As current workarounds, other than the already mentioned code
templates, I can also think of:<br>
- the "Insert from Character Map..." dialog. The action is
available in the Edit menu. You can use it to insert the needed
"dash" elements. There is also a "Symbols" toolbar that presents
the recently used characters. So the "dash" characters will be
just one click away (maybe two).<br>
- in the Author page (if this editing mode is an option), you can
define author actions, each one inserting a specific "dash". You
can associate shortcuts to these actions of add them in the
toolbar, menu etc. <br>
<pre class="moz-signature" cols="72">Best regards,
Alex
--
Alex Jitianu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
On 10/1/2014 8:39 PM, Cwiklowski, Don wrote:<br>
</div>
<blockquote
cite="mid:94FEC356AF298D4BBD3727E92B936AA86A545BC9@STLMSXP06.corp.mastercard.org"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial","sans-serif"">I
use the standard keyboard shortcut of Alt+0151, but I’d love
to see en-dashes and em-dashes added to the Entities tab.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial","sans-serif"">I
also tried added them in the code templates, and while it
does work, it gives them the appearance of being actual
elements, rather than character entities.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial","sans-serif"">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial","sans-serif"">DC<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoPlainText">Message: 1<o:p></o:p></p>
<p class="MsoPlainText">Date: Wed, 01 Oct 2014 18:12:27 +0200<o:p></o:p></p>
<p class="MsoPlainText">From: Jirka Kosek <<a
moz-do-not-send="true" href="mailto:jirka@kosek.cz">jirka@kosek.cz</a>><o:p></o:p></p>
<p class="MsoPlainText">To: <a moz-do-not-send="true"
href="mailto:oxygen-user@oxygenxml.com">oxygen-user@oxygenxml.com</a><o:p></o:p></p>
<p class="MsoPlainText">Subject: [oXygen-user] Easy insertion of
en/em-dash<o:p></o:p></p>
<p class="MsoPlainText">Message-ID: <<a
moz-do-not-send="true"
href="mailto:542C27EB.3080601@kosek.cz">542C27EB.3080601@kosek.cz</a>><o:p></o:p></p>
<p class="MsoPlainText">Content-Type: text/plain;
charset="utf-8"<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">good text content should properly use
en-dash and em-dash characters.<o:p></o:p></p>
<p class="MsoPlainText">Easy way to type them would be similar
to how auto-correction work in some editors:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Typed characters => output<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">- => -<o:p></o:p></p>
<p class="MsoPlainText">-- => ? (en-dash)<o:p></o:p></p>
<p class="MsoPlainText">--- => ? (em-dash)<o:p></o:p></p>
<p class="MsoPlainText">---- => - (cycle back to hyphen and
so on)<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Has already someone implemented this as
a pluging? Or would it be possible to provide this feature
directly in oXygen, probably as a part of existing
auto-corrections?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">If answer is no, I will do it myself,
but I thought that I would ask first :-)<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">TIA,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">
Jirka<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText">------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoPlainText"> Jirka Kosek e-mail: <a
moz-do-not-send="true" href="mailto:jirka@kosek.cz">
jirka@kosek.cz</a> <a moz-do-not-send="true"
href="http://xmlguru.cz">http://xmlguru.cz</a><o:p></o:p></p>
<p class="MsoPlainText">------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoPlainText"> Professional XML consulting and
training services<o:p></o:p></p>
<p class="MsoPlainText"> DocBook customization, custom
XSLT/XSL-FO document processing<o:p></o:p></p>
<p class="MsoPlainText">------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoPlainText">OASIS DocBook TC member, W3C Invited
Expert, ISO JTC1/SC34 rep.<o:p></o:p></p>
<p class="MsoPlainText">------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoPlainText"> Bringing you XML Prague
conference <a moz-do-not-send="true"
href="http://xmlprague.cz">
http://xmlprague.cz</a><o:p></o:p></p>
<p class="MsoPlainText">------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:9.5pt;color:#333333">Don Cwiklowski, Jr.</span></b><span
style="font-size:9.0pt;color:#333333"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#333333">Senior
Technical Communicator<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#333333">Customer
Technical Communications</span><span
style="font-size:9.0pt;color:red"> |
</span><span style="font-size:9.0pt;color:#333333">Operations
and Technology<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#333333"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#333333">MasterCard<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#333333">2200
MasterCard Blvd</span><span
style="font-size:9.0pt;color:red"> |
</span><span style="font-size:9.0pt;color:#333333">O'Fallon,
MO 63366<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#333333"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#333333">tel
636-722-6802<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#333333"><a
moz-do-not-send="true"
href="mailto:don_cwiklowski@mastercard.com"><span
style="color:red">don_cwiklowski@mastercard.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><a moz-do-not-send="true"
href="www.mastercard.com" title="mastercard.com"><span
style="font-size:9.0pt;color:#333333;text-decoration:none"><img
id="Picture_x0020_1"
src="cid:part8.07060601.08050504@sync.ro" border="0"
height="74" width="87"></span></a><span
style="font-size:9.0pt;color:#333333"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span
style="font-size:9.0pt;color:#333333"><o:p> </o:p></span></i></p>
<p class="MsoNormal"><i><span
style="font-size:9.0pt;color:#333333">Please think of the
environment before printing this email.</span></i><span
style="font-size:9.0pt;color:#333333"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
CONFIDENTIALITY NOTICE This e-mail message and any attachments are
only for the use of the intended recipient and may contain
information that is privileged, confidential or exempt from
disclosure under applicable law. If you are not the intended
recipient, any disclosure, distribution or other use of this
e-mail message or attachments is prohibited. If you have received
this e-mail message in error, please delete and notify the sender
immediately. Thank you.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
</body>
</html>