> Does anyone see a difference between \[sqrt] and \(sr ?
`sr' is the text version, `sqrt' a mathematical symbol.
> groff_char.man has this:
>
> (N/A) \[sr] radical u221A square root +
> (N/A) \[sqrt] radical u221A ***
Ah, I've just committed an explanation for the `***' marker (it
denotes a glyph for mathematical purposes; its glyph metrics makes it
not usable within normal text).
> +++ groff-20060217/font/devdvi/S
> @@ -132,6 +132,7 @@
> \ "
> u2240 291272,728178,203888 3 0157
> sqrt 873816,41942,1006634 1 0160
> +sr "
This is wrong. The square root symbol from cmsy10 can't be used in
normal text! tcrm1000 actually does contain a text version, but this
isn't covered in the EC stuff in devdvi (an omission, basically).
> +++ groff-20060217/src/libs/libgroff/glyphuni.cpp
> @@ -398,7 +398,8 @@
> { "mi", "2212" },
> { "-+", "2213" },
> { "**", "2217" },
> -//{ "sqrt", "221A" },
> + // \[sqrt] and \(sr are the same.
> + { "sqrt", "221A" },
> { "sr", "221A" },
> { "pt", "221D" },
> { "if", "221E" },
This is wrong too. In glyphuni.cpp, a former entry with the same
Unicode value is overwritten by the latter one. With other words, the
entry for `sqrt' would never be visible.
Werner
_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff