Sorry if I'm missing something, but can't you simply put

\XeTeXdashbreakstate 1

at the start of your document? That tells XeTeX that line-breaks are permitted after dashes.


John

----- Original Message ----- From: "Arthur Reutenauer" <arthur.reutena...@normalesup.org>
To: "Unicode-based TeX for Mac OS X and other platforms" <xetex@tug.org>
Sent: 13 January 2011 14:55
Subject: Re: [XeTeX] Unicode-named macros in XeTeX


I anticipate the problem of having to actually generate the em-dash
character instead of recursively calling the em-dash macro inside the
macro, so please mention this if you have a solution for me, but I’m
already stumped at the “how to call a macro ‘—’” part.

 You need to make the em-dash character active:

\catcode`\—=13

and then define the macro:

\def—{\char"2014\discretionary{}{}{}}


 Note that the macro is not called recursively; “\char"2014” simply
inserts the character in the current font.

Arthur


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex




--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to