From 7a7b3966758a01f36dc576653bd4cbaf995614ee Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 3 Sep 2016 00:16:48 +0200 Subject: manpage: Document how to escape macros --- doc/ranger.1 | 6 ++++-- doc/ranger.pod | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/ranger.1 b/doc/ranger.1 index b2ba1aac..4e1e60eb 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29) +.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.7.2" "16/05/16" "ranger manual" +.TH RANGER 1 "ranger-1.7.2" "09/03/2016" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -337,6 +337,8 @@ can use it for something like this command: The macro \f(CW%space\fR expands to a space character. You can use it to add spaces to the end of a command when needed, while preventing editors to strip spaces off the end of the line automatically. +.PP +To write a literal %, you need to escape it by writing %%. .SS "\s-1BOOKMARKS\s0" .IX Subsection "BOOKMARKS" Type \fBm\fR to bookmark the current directory. You can re-enter this diff --git a/doc/ranger.pod b/doc/ranger.pod index 6b0752bd..e8252dcb 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -234,6 +234,8 @@ The macro %space expands to a space character. You can use it to add spaces to the end of a command when needed, while preventing editors to strip spaces off the end of the line automatically. +To write a literal %, you need to escape it by writing %%. + =head2 BOOKMARKS Type B> to bookmark the current directory. You can re-enter this -- cgit 1.4.1-2-gfad0