Skip to content

Commit

Permalink
man: fix rendering of form-feed in mu-view.1
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
a3a3el committed Aug 19, 2023
1 parent 0763d5d commit f56530d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/mu-view.1.org
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ instead of displaying the full message, output a summary based upon the first
=<number>= lines of the message.

** --terminate
terminate messages with \\f (=form-feed=) characters when displaying them. This is
terminate messages with \\f (=form-feed=) characters when displaying them. This is
useful when you want to further process them.

** --decrypt
Expand Down

0 comments on commit f56530d

Please sign in to comment.