Commit Graph

6 Commits

Author SHA1 Message Date
Jeremy Sowden c76aa53156 man: fix formatting of `NAME` sections
The command names are formatted inconsistently, e.g.:

    * NAME

    ~mu add~ - add one or more messages to the database

versus:

    * NAME

    *mu cfind* is the *mu* command to find contacts in the *mu* database and export them

versus:

    * NAME

    mu server - the mu backend for the mu4e e-mail client

and the format, with a space between "mu" and the subcommand, is not compatible
with mandb(8).  Use formatting which is consistent and replace the spaces with
hyphens.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
2024-03-06 21:12:32 +00:00
Jeremy Sowden f56530d96a man: fix rendering of form-feed in mu-view.1
ox-man exports the string:

  \\f (=form-feed=)

as:

  $\(\fIform\-feed\fP)

Troff then complains:

  troff:tmp/usr/share/man/man1/mu-view.1:28: warning: special character '\f' not defined

and renders it as:

  $Iform-feed)

Insert a zero-width space character (U+200B) between the \\ and the f.
This causes the string to be exported as:

   \\​f (\fIform\-feed\fP)

which troff renders correctly.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2023-08-19 12:31:43 +01:00
Dirk-Jan C. Binnema 3337c9babb mu-view: add --format=html
Support showing the HTML body (if any) instead of the default plain-text
body.

Update manpage.
2023-07-23 21:04:26 +03:00
Dirk-Jan C. Binnema 9544473e35 mu extract/view/verify: allow reading message from stdin
Fixes #1463.
2023-04-30 10:35:28 +03:00
Dirk-Jan C. Binnema 4b00ea0635 man: update man pages
Explicitly mention PCRE where appropriate.

Include section headers (through MAN_CLASS_OPTIONS)

Fix mu-easy manpage

Make date dynamic
2022-12-30 11:15:03 +02:00
Dirk-Jan C. Binnema a259ae4162 man: generate manpages from .org files
Generate the manpages from org-documents which makes it a bit easier to
keep them update to date since I find org-syntax easier than troff, and
we can use include files.
2022-12-29 10:41:16 +02:00