Unroff

Jul 20, 2023

Programmable troff translator with backend for HTML

Unroff is a Scheme-based, programmable, extensible troff translator with a back-end for the Hypertext Markup Language.

Unroff reads and parses UNIX troff documents and translates the embedded markup into a different format. Neither the actual output format nor any knowledge about particular troff macro sets -man, -ms, etc. are hard-wired into unroff. Instead, the translation process is controlled by a set of user-supplied procedures written in the Scheme programming language.

Translation rules for new output formats and troff macro packages can be added easily by providing a corresponding set of Scheme procedures a back-end'. Version 1.0 of unroff includes back-ends for translating documents using the man’ and `ms’ macros into the Hypertext Markup Language HTML version 2.0. Additional requests facilitate use of arbitrary hypertext links in troff documents.



Checkout these related ports:
  • Zxing-cpp - ZXing C++ Library for QR code recognition
  • Zu-hunspell - Zulu hunspell dictionaries
  • Zu-aspell - Aspell Zulu dictionary
  • Zq - Easier and faster alternative to jq
  • Zorba - General purpose C++ XQuery processor
  • Zenxml - Simple C++ XML Processing
  • Zed - Command-line tool to manage and query Zed data lakes
  • Yq - Command-line YAML and XML processor, jq wrapper for YAML/XML documents
  • Yould - Pronounceable word generator
  • Yodl - Easy to use but powerful document formatting/preparation language
  • Yi-hunspell - Yiddish hunspell dictionaries
  • Yi-aspell - Aspell Yiddish dictionary
  • Yelp-xsl - DocBook XSLT stylesheets for yelp
  • Yelp-tools - Utilities to help manage documentation for Yelp and the web
  • Ydiff - Diff readability enhancer for color terminals