From 634256d7a975e133a9775672b37dbaf3b2895b53 Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Thu, 25 Jul 2019 21:56:18 +0200 Subject: Make doc --- doc/ranger.1 | 13 +++++++------ doc/ranger.pod | 8 ++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/doc/ranger.1 b/doc/ranger.1 index 7d90fff4..10a5e765 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.2" "2019-06-18" "ranger manual" +.TH RANGER 1 "ranger-1.9.2" "25/07/19" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -433,12 +433,13 @@ the end of the line automatically. .PP To write a literal %, you need to escape it by writing %%. .PP -For adding a space character after a chained command, you also need to escape % by -writing %% instead: +For adding a space character after a chained command, you also need to escape +% by writing %% instead: chain command1 %%space; command2 +.PP This is because the chain command is a macro-expanding command itself. In the -previous example, chain expands %%space to %space, which is then expanded to the -space character by command1. +previous example, chain expands %%space to \f(CW%space\fR, which is then expanded to +the space character by command1. .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 fadd4cba..fc385334 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -328,6 +328,14 @@ the end of the line automatically. To write a literal %, you need to escape it by writing %%. +For adding a space character after a chained command, you also need to escape +% by writing %% instead: + chain command1 %%space; command2 + +This is because the chain command is a macro-expanding command itself. In the +previous example, chain expands %%space to %space, which is then expanded to +the space character by command1. + =head2 BOOKMARKS Type B> to bookmark the current directory. You can re-enter this -- cgit 1.4.1-2-gfad0