Re: [patch], iso_8859-*.7: Explanation of SOFT HYPHEN and the code for it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bjarni,

On Fri, May 11, 2012 at 7:42 AM, Bjarni Ingi Gislason
<bjarniig@xxxxxxxxx> wrote:
> Package: man-pages
> Version: 3.40
> Severity: minor
> Tags: patch
>
>  From "groff -ww ...":
>
> <groff: iso_8859-2.7>:89: warning: can't find special character `shc'
>
>  This is the only "iso_8859-*.7" file that has this (now)
> undefined character.  The code in column four in "iso_8859-1.7" is
> "0x2D" ("HYPHEN, MINUS SIGN" or "HYPHEN-MINUS") instead of "0xAD".
> See Debian bug 156154 (or package "manpages").
>
>  There should be an explanation for this graphic character and the
> code should be 0xAD in iso_8859-1.7 (as in all others), even though
> "[gn]roff" does not display a "HYPHEN" in that position of the table.
>
>  The line with "SOFT HYPHEN" gets a footnote and a short
> explanation.  The footnote is from the official ISO standard.
>
>  Suggested patch for one of the files:

Is there any reason that the explanation should be added to only one
of the files? I'm somewhat inclined just to change the character, and
not add the explanation (so that this page is similar to the others).

Cheers,

Michael



> --- iso_8859-1.7        2012-04-26 22:58:39.000000000 +0000
> +++ iso_8859-1.7.new    2012-05-10 16:01:39.000000000 +0000
> @@ -71,7 +71,7 @@
>  The fourth column will only show the proper glyphs
>  in an environment configured for ISO 8859-1.
>  .TS
> -l l l c lp-1.
> +l2 l2 l2 c2 lp-1.
>  Oct    Dec     Hex     Char    Description
>  _
>  240    160     A0              NO-BREAK SPACE
> @@ -87,7 +87,7 @@
>  252    170     AA      ª       FEMININE ORDINAL INDICATOR
>  253    171     AB      «       LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
>  254    172     AC      ¬       NOT SIGN
> -255    173     AD      -       SOFT HYPHEN
> +255    173     AD      ­       SOFT HYPHEN (shown as a hyphen at line breaks)¹
>  256    174     AE      ®       REGISTERED SIGN
>  257    175     AF      ¯       MACRON
>  260    176     B0      °       DEGREE SIGN
> @@ -171,6 +171,11 @@
>  376    254     FE      þ       LATIN SMALL LETTER THORN
>  377    255     FF      ÿ       LATIN SMALL LETTER Y WITH DIAERESIS
>  .TE
> +  ¹ A graphic character that is imaged by a graphic symbol
> +identical with, or similar to, that representing HYPHEN, for use
> +when a line break has been established wihin a word.
> +.BR "ISO 8859-1:1987" ,
> +paragraph 6.3.3.
>  .SH "SEE ALSO"
>  .BR ascii (7),
>  .BR iso_8859-15 (7)
>
> --
> Bjarni I. Gislason



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux