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

Try to improve overall manual page typesetting #2728

Merged
merged 11 commits into from
Jul 25, 2024
Merged

Conversation

Tristan02d
Copy link

I tried to make the typesetting of the numerous manual pages more consistent and
more compliant to the standards described in man-pages(7). There are quite a lot
of changes I think, hence I tried to scatter them in different commits to make
it easier to figure out what is going on and to allow picking only certain
changes, in case some of them are not wanted.

There is one major thing to notice. In order to get the proper output for
manual pages references, and synopses, I used zero width spaces which I
learned about here.
This is admittedly a little hacky, there might be a better way to get the same
outputs. It renders fine in standard manual pages, but if you plan to export the
Org sources to other formats, I do not know what it may look like.

Tristan Riehs added 11 commits July 16, 2024 14:11
Make occurences of "mu", small commands such as "mu init", and
command-line arguments bold.
Try to stick to the man-pages(7) standard.
Make the emphasis more consistent, and do it using underscores in
Org documents, since verbatim is rendered as underlined anyway.
Use underlining only, do not use <>, as it is the most often done.
@djcb djcb merged commit c1da456 into djcb:master Jul 25, 2024
2 checks passed
@djcb
Copy link
Owner

djcb commented Jul 25, 2024

Thank you, nice work! I'm merging this, thanks about the note re: zero-width-space, I'll keep that in mind!

@Tristan02d
Copy link
Author

Nice, thank you ! Apart from synopses, the only zero-width space is in the man-link macro, so you can easily replace it if needed.

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.

2 participants