Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make manpage compatible with mandoc #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

kappa
Copy link

@kappa kappa commented Dec 25, 2024

& is a dummy character that is not rendered.

Without it mandoc thinks .- is a macro which it does not support.

mandoc is the default manpage renderer on BSD systems.

Without this change on a fresh FreeBSD:

# man work/tdl-1.6pre2/tdl.1
This manpage needs groff(1) to be rendered
First install groff(1): 
pkg install groff

With this change the manpage renders perfectly. Rendering with groff is identical with and without.

\& is a dummy character that is not rendered.

Without it mandoc thinks \.\- is a macro which it does not support.
Make manpage compatible with mandoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant