Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.text Frequently Asked Questions
Section - TR12. How do I preview my troff on my screen?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Counties ]


Top Document: comp.text Frequently Asked Questions
Previous Document: TR11. What are: pic, eqn, tbl, grap, refer?
Next Document: TR13. I need makedev, but my DWB doesn't come with it.
See reader questions & answers on this topic! - Help others by sharing your knowledge

    a) X windows: xditview and xtroff (X11R5 contrib directory, xtroff
       also from ftp.cs.toronto.edu) and gxditview (from groff) will
       preview ditroff format (groff requires gxditview), including
       psroff 3.0's ditroff output from CAT troff.
    b) Display PostScript (ie: AIX 3 & DEC dpsexec, NeXT,
       Sun Pageview, Ultrascript, Ghostview plus GhostScript): any
       PostScript generating troff.  (Theoretically at least.  May need
       a teensy bit of PostScript hacking to get a reasonable pager
       (psroff3.0 has this built in).  Pageview and Ultrascript have some
       limitations so may not work with a specific PostScript
       generator).  Pageview gets very confused about page boundaries
       unless the PostScript is DSC compliant and has "%%Page:" comments
       in it.
    c) Others: You can probably find a PBM converter for it,
       so use a Laserjet-generating troff configuration plus hp2pbm.
       (eg: Sun rasters, 3b1 screens, EGA, VGA, GIFF, TIFF etc.)
       I preview on X by generating PCL with psroff, converting
       to PBM with hp2pbm, then display with pbm2Xd (part of hp2pbm)
       and xwud (part of X windows).
    d) Others: You may be able to find a DVI driver for it,
       so use a DVI-generating troff configuration (namely,
       groff's ditdvi) and use the appropriate dvi2<whatever> filter.
    e) AIX 3.2 has a good AIXwindows 1.2 and Motif1.1 based
       previewer called "xpreview".

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: comp.text Frequently Asked Questions
Previous Document: TR11. What are: pic, eqn, tbl, grap, refer?
Next Document: TR13. I need makedev, but my DWB doesn't come with it.

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
textfaq@ferret.ocunix.on.ca (Text FAQ commentary reception)





Last Update March 27 2014 @ 02:12 PM