Skip to content

FilBot3/groff_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

groff_examples

Some Groff examples for me and anyone else confused as to how to use the typesetting libraries.

I would just use a container via Podman or Docker to run a Linux distro that has GNU Groff available in it with all the other tools.

I had to put this into its own document because the comments were being interpreted literally and causing issues in the end result document. TexLive LaTeX does this better.

References

Usage

I use Fedora, but I install the following packages.

sudo dnf install --assumeyes \
  groff \
  groff-base \
  groff-doc \
  groff-perl \
  perl-IO-Compress \
  ghostscript

Then to build the .ms files, I use the following command.

groff -Tpdf -ms groff_ms_example.ms > groff_ms_example.pdf

About

Some Groff examples for me and anyone else confused as to how to use the typesetting libraries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published