bugGNU roff - Bugs: bug #62642, MORE.STUFF: add material about...

 
 

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

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Fri 17 Jun 2022 01:35:59 AM UTC
   
 
Category:  General Severity:  1 - Wish
Item Group:  Documentation Status:  Rejected
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 17 Jun 2022 04:31:03 AM UTC, comment #1: 

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...


VERSION 1.20
============

Groff
-----

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'.

Preconv
-------

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.


G. Branden Robinson <gbranden>
Group administrator
Fri 17 Jun 2022 01:35:59 AM UTC, 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.

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-17 gbranden Severity3 - Normal 1 - Wish
        StatusNone Rejected
        Assigned toNone gbranden
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code