Andrew Pimlott <[EMAIL PROTECTED]> writes: > On Wed, Mar 08, 2006 at 08:18:46PM -0800, Russ Allbery wrote:
>> I'm a little suspicious of the \*(W fiddling as well, but I'm not sure >> I understand exactly why that's being done. The comment says that it's >> turning \*(-- into an unbreakable dash, but I don't understand why >> that's being done by outputting a Greek capital omega followed by a >> dash and then using .tr to change the omega back to a dash. If anyone >> understands what the motivation might be here, please explain it to me? > To clarify, I only meant to remove the special treatment of the vertical > bar. I had no idea that line was also doing something else, so any > other effect it had was unintentional. Oh, thanks for mentioning this. I took a closer look at your patch and realized that it actually would cause -- handling to leave a Greek omega behind. It may be that we want to move all of that stuff, but if so more lines have to be removed. Brendan, here's what I applied upstream (line numbers will be much different): @@ -1303,11 +1303,11 @@ sub preamble_template { .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left -.\" double quote, and \*(R" will give a right double quote. | will give a -.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to -.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' -.\" expand to `' in nroff, nothing in troff, for use with C<>. -.tr \(*W-|\(bv\*(Tr +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- I don't think the \*(Tr stuff was doing anything; it looked like a way to add other transforms later, but the Tr string was never defined. -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]