> > U+23A2 LEFT SQUARE BRACKET EXTENSION
> > U+23A5 RIGHT SQUARE BRACKET EXTENSION
>
> W00t! I googled for that and I think I found matches for *all* of
> them nearby, here:
Yep. I think I have all of them in groff_char.
> .if '\*[.T]'dvi' \{\
> . ftr CB CW
> .\}
> .
> .de SY
> .nh
> .ad l
> .HP \w'\fB\\$1\ 'u
> .B \\$1
> ..
> .de YS
> .in
> .ad \na
> .hy 1
> ..
You've forgotten to store something in register `a'.
.de SY
. nh
. nr a \n(.j
. ad l
. nr i \n(.i
.
. HP \w'\fB\\$1\fP 'u
. B \\$1
..
> .de OP
> .ie \\n(.$-1 .RI "[\fB\\$1\fP" " \\$2" "]"
> .el .RB "[" "\\$1" "]"
> ..
I prefer that the argument of a flag is tied to the flag itself.
.de OP
. ie \\n(.$-1 \
. RI "[\fB\\$1\fP" "\ \\$2" "]"
. el \
. RB "[" "\\$1" "]"
..
What about faking an italic correction (this is, inserting `\|') right
before the closing bracket?
Werner
_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff