From: Felix W. <Fel...@gm...> - 2004-11-10 18:10:11
|
David Goodger wrote: > Felix Wiemann wrote: > >> .. |--| unicode:: U+2013 >> .. en-dash, trimming only hyphens, not spaces >> :trim: - > > Potentially useful. Great. > The "trim" attributes would have to match the context for the > substitution to be applied. Why? Given the definition above, I can insert an en-dash with spaces around |--| like this |--| and I can insert an en-dash without spaces-|--|-by surrounding it with hyphens (which is sometimes needed, too). This is very handy, so in fact I'd rather want the "trim" attribute *not* to have to match the context of the substitution reference. Supporting multiple substitution definitions only differing in their trim-attributes would add a lot of unnecessary complexity, and I'm not convinced at all that we are ever going to need it. So I think we rather shouldn't make substitutions context-sensitive. -- Felix Wiemann -- http://www.ososo.de/ |