Skip to content
This repository was archived by the owner on Mar 9, 2020. It is now read-only.

Commit b213cf4

Browse files
committed
clarifying behavior of FootnoteMeta; fixing typos
1 parent a8e9605 commit b213cf4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.markdown

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ with extended markdown.
55

66
The original script inserts footnotes that look like this:
77

8-
[vimfootnotes]: http://www.vim.org/scripts/script.php?script_id=431
9-
108
~~~
119
Here is some text.[1]
1210
@@ -23,7 +21,7 @@ Here is some text.[^1]
2321
~~~
2422

2523
The original script inserts footnotes at the end of the file **or**
26-
before your email sig line. The new script inserts all footnotes at the
24+
before an email sig line, if any. The new script inserts all footnotes at the
2725
end of the file.
2826

2927
The script defines two mappings,
@@ -69,7 +67,7 @@ setting `b:vimfootnotetype`:
6967
`ReturnFromFootnote`
7068
: closes the split window and returns to the text in proper place.
7169

72-
These are mapped to ``<Leader>f` and `<Leader>r` respectively.
70+
These are mapped to `<Leader>f` and `<Leader>r` respectively.
7371

7472
`FootnoteNumber`
7573
: Change the current footnote number (one obligatory argument)
@@ -85,9 +83,10 @@ These are mapped to ``<Leader>f` and `<Leader>r` respectively.
8583
: Change type of the footnotes and restart counter (1, a, A, i, I, *)
8684

8785
The `<footnotetype>` argument is optional. If omitted, and your previous
88-
footnote type was alpha, Alpha, roman, Roman or star, the new type will
89-
be arabic; if your previous footnote type was arabic, new type will be
90-
alpha.
86+
footnote type was not `arabic`, the new type will be `arabic`; if it was
87+
arabic, the new type will be `alpha`. If the new type is the same as the
88+
previous type, then the counter will not be restarted.
89+
9190

9291
`FootnoteRestore`
9392
: Restore previous footnote type and counter.
@@ -100,3 +99,5 @@ alpha.
10099
implemented. I suspect there are ways in which it could be
101100
refactored and streamlined.
102101

102+
103+
[vimfootnotes]: http://www.vim.org/scripts/script.php?script_id=431

0 commit comments

Comments
 (0)