That's what I eventually wound up doing, using a very obscure Unicode 
character:

# Ellipses
# Make "..." replace itself with the Unicode character "Notched Left 
Semicircle
# with Three Dots"; we'll leverage that to do the rest of the replacements.
(?<!\\)\.\.\.=&#x1f543;
# Handle "...." and "!..."
&#x1f543;[.]=.&nbsp;.&nbsp;.&nbsp;.
[!]&#x1f543;=!&nbsp;.&nbsp;.&nbsp;.
# Handle "?...", with slight kern to adjust for width of "?"
[?]&#x1f543;=<span style="letter-spacing: 
-0.1em;">></span>&nbsp;.&nbsp;.&nbsp;.
# Anything else becomes normal ellipses again.
(?<!\\)&#x1f543;=.&nbsp;.&nbsp;.
# Escaped ellipses.
\\\.\.\.=...


It's a shame that there's no way to actually delete a replacement from the 
list order, but I can see that being an advantage in some circumstances.

Thanks, Lex; I found a solution independently, but you were spot on.

—Ken

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to