[Top][All Lists]

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

[bug #62642] MORE.STUFF: add material about "groff-utf8"

From: G. Branden Robinson
Subject: [bug #62642] MORE.STUFF: add material about "groff-utf8"
Date: Fri, 17 Jun 2022 00:31:03 -0400 (EDT)

Update of bug #62642 (project groff):

                Severity:              3 - Normal => 1 - Wish               
                  Status:                    None => Wont Fix               
             Assigned to:                    None => gbranden               
             Open/Closed:                    Open => Closed                 


Follow-up Comment #1:

[comment #0 original submission:]
> Subject: MORE.STUFF: add material about "groff-utf8"
> www.haible.de/bruno/packages-groff-utf8.html (year 2005)
>   From "groff-utf8":
> # Displays an UTF-8 encoded man page on an UTF-8 text terminal.
> # Like "groff", except that it also works for UTF-8 encoded man pages and
> # supports a wide range of Unicode characters.
> # Prerequisites:
> #   - Requires groff-1.18.1 or newer.
> # Limitations:
> #   - The only supported output devices are "utf8" and "html".
> #   - For CJK languages, groff outputs lots of "Can't break line" error
> #     messages. This is because groff breaks only at spaces, and Chinese,
> #     Japanese, Korean, Thai etc. are written mostly without spaces.
> #   - No bidi for Hebrew, Arabic and Farsi is done.
> #   - No rendering for Indic languages is done.
> # Notes:
> #   - For Vietnamese: When using 'less'-381 for viewing, make your terminal
> #     window wider than 80 columns. Otherwise 'less' will break lines too
> #     early (apparently because it considers many zero-width characters as
> #     being of width 1).
> #   - For Vietnamese: In xterm, characters with 2 accents are rendered as a
> #     hollow box when bold. As a workaround, you can use rxvt, which uses
> #     inverse instead of bold.

I think this effort was completely superseded by groff 1.20 (January 2009). 
>From the _NEWS_ file...



o Some options have been added to control a new preprocessor,
  `preconv' (see below): `-k' activates it, `-K' sets the input
  encoding, and `-D' sets the default encoding.

o A new environment variable `GROFF_ENCODING' sets the encoding of input
  files; it implies command option `-k'.


o This is a new preprocessor to convert various input encodings to
  something groff understands (this is, ASCII and \[uXXXX] entities,
  with `XXXX' a hexadecimal number with 4 to 6 digits, representing a
  Unicode input code).  Normally, preconv should be invoked with options
  `-k' and `-K' of groff.  See the preconv man page for details.


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]