&gt; x-scaling the em-dash which is often two wide<br><br>I don&#39;t think the m-dash is &quot;often too wide&quot;: it is defined by the length of &quot;m&quot; in the particular font. I think you wanted to say that you don&#39;t like the size of an m-dash and want an in-between-n-and-m-dash (now that&#39;s something for hyphenation :-)). I&#39;m not sure if this is good typographical practice, though.<br>

<br>Rembrandt<br><br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 7:14 AM, Vadim Radionov <span dir="ltr">&lt;<a href="mailto:vadim.radionov@gmail.com">vadim.radionov@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Thank you, Jonathan,<br>
<br>
That was my obvious typo -- i mixed up these two token lists.  This<br>
way it works<br>
fine!<br>
<br>
Yours,<br>
<br>
Vadim<br>
<br>
PS.  Another problem I&#39;ve tried to solve with  \XeTeXinterchartoks is<br>
x-scaling the em-dash which is often two wide (and copyright sometimes<br>
prohibits changing the font itself).   So I can put<br>
<br>
\newXeTeXintercharclass\cyrdash<br>
\XeTeXcharclass `\—\cyrdash<br>
\XeTeXinterchartoks 0 \cyrdash = {\nobreak\hskip.125em\scalebox{.75}[1]}<br>
\XeTeXinterchartoks \cyrdash 0 = {\hskip.125em}<br>
<br>
leaving no spaces around the dash. But unfortunately this does not<br>
work in the very beinning of the paragraph.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Tue, Oct 6, 2009 at 3:47 PM, Jonathan Kew &lt;<a href="mailto:jfkthame@googlemail.com">jfkthame@googlemail.com</a>&gt; wrote:<br>
&gt; On 6 Oct 2009, at 00:11, Vadim Radionov wrote:<br>
&gt;<br>
&gt;&gt; Dear all,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m missing this important detail in the manuals: what is the natural<br>
&gt;&gt; way to get words with hyphen hyphenated in other places than that<br>
&gt;&gt; hyphen?<br>
&gt;&gt;<br>
&gt;&gt; I tried<br>
&gt;&gt;<br>
&gt;&gt; \XeTeXinterchartokenstate 1<br>
&gt;&gt;<br>
&gt;&gt; \XeTeXcharclass `\- 150<br>
&gt;&gt; \XeTeXinterchartoks 150 0 = {\nobreak\hskip0pt}<br>
&gt;&gt; \XeTeXinterchartoks 0 150 = {\hskip0pt}<br>
&gt;&gt;<br>
&gt;&gt; and it works almost well -- except for, surprisingly, allowing a break<br>
&gt;&gt; *before* the hyphen.<br>
&gt;<br>
&gt; That&#39;s not surprising: before the hyphen (class transition from 0-&gt;150), you<br>
&gt; have an \hskip. After it (150-&gt;0), you have \nobreak\hskip, so you won&#39;t get<br>
&gt; a break there -- though you might get one anyway because of the<br>
&gt; discretionary node that&#39;s automatically inserted after the hyphen.<br>
&gt;<br>
&gt; I think you want<br>
&gt;<br>
&gt;&gt; \XeTeXinterchartoks 0 150 = {\nobreak\hskip0pt}<br>
&gt;<br>
&gt; to ensure that the \hskip before the hyphen is never taken as a possible<br>
&gt; breakpoint.<br>
&gt;<br>
&gt; (BTW, it would be better to use \newXeTeXintercharclass rather than picking<br>
&gt; an arbitrary number...)<br>
&gt;<br>
&gt; JK<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>