Skip to content

edeemer/fb2ms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fb2ms is a program for converting e-books from FictionBook 2 format
(fb2) to troff -ms macros. Produced output could be fed e. g. to
nroff(1) to produce pretty formatted text file:

	fb2ms <book.fb2 | nroff -ms >book.txt

or to troff(1) for printable documents:

	fb2ms <book.fb2 | troff -ms | dpost >book.ps

The style could be changed easily by changing -ms macro files. But due
to the lack of some fb2 features in -ms macros (such as poems and
epigraphs), fb2ms produces pure troff instructions for those cases.

General usage:

	fb2ms [-l] [file ...]

If option -l is specified, then fb2ms will emit link and anchor escape
sequences, which are extensions of Heirloom version of troff for PDF
documents.

Fb2ms does NOT support these essential features:
	1. graphical images
	2. tables
	3. references at footnotes

To compile a program you need to have Expat library. Then execute

	make

in this directory. For installation run

	make install

About

Converter from FictionBook fb2 to troff/nroff -ms macros

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •