gxditview

displays groff output in an X11 window

TLDR

View groff document
$ gxditview [file.roff]
Specify page size
$ gxditview -page [a4] [file.roff]
View from stdin
$ groff -X [file.roff]
View with specific resolution
$ gxditview -resolution [100] [file.roff]

SYNOPSIS

gxditview [options] [file]

DESCRIPTION

gxditview displays groff output in an X11 window. It provides on-screen preview of formatted documents without printing.The tool reads groff's intermediate output format and renders it graphically. It's invoked by groff -X or can read ditroff output directly.

PARAMETERS

FILE

Groff intermediate output.
-page SIZE
Page size (a4, letter).
-resolution DPI
Display resolution.
-backingStore
Use backing store.
-help
Display help information.

INSTALL

sudo apt install groff
sudo dnf install groff
sudo pacman -S groff
sudo zypper install groff
brew install groff
nix profile install nixpkgs#groff

CAVEATS

Part of groff package. Requires X11. Dated interface. May have font issues.

HISTORY

gxditview was developed as part of GNU groff as an X11 previewer, derived from xditview from X11.

SEE ALSO

groff(1), groffer(1)