Bind footnotes to the preceding word
tags: footnote
Description/Summary
ox-hugo Issue #96 To test the fix for this, increase/decrease the width of the browser window showing this page so that the test lines below start wrapping around, and you will see that the footnote references will never be on their own on a new line. Footnote ref at EOL # Last word, followed by FOOTNOTE PERIOD — Good Case A # As there is no space in-between “word FOOTNOTE PERIOD”, this text will stay unmodified.
Content
ox-hugo
Issue #96
To test the fix for this, increase/decrease the width of the browser window showing this page so that the test lines below start wrapping around, and you will see that the footnote references will never be on their own on a new line.
Footnote ref at EOL #
Last word, followed by FOOTNOTE PERIOD — Good Case A #
- As there is no space in-between “word FOOTNOTE PERIOD”, this text will stay unmodified.
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1.
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1.
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1.
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1.
Last word, followed by FOOTNOTE space PERIOD — Bad Case A1 #
- In this case, the space before the PERIOD at EOL is removed.
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1.
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1.
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1.
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1.
Last word, followed by PERIOD space FOOTNOTE — Bad Case A2 #
- In this case, the space before FOOTNOTE is replaced with
.
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a. 1
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a. 1
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a. 1
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a. 1
Last word, followed by space FOOTNOTE space PERIOD — Bad Case A3 #
- This is a blend of Bad Case A1 and Bad Case A2 above.
- In this case, the space before FOOTNOTE is replaced with
, AND the space before the PERIOD at EOL is removed.
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1.
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1.
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1.
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1.
abcde a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1.
Footnote NOT at EOL #
Word, followed by FOOTNOTE PERIOD — Good Case B #
- As there is no space in-between “word FOOTNOTE PERIOD”, this text will stay unmodified.
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1. B b b.
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1. B b b.
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1. B b b.
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1.
Word, followed by FOOTNOTE space PERIOD — Bad Case B1 #
- In this case, the space before the PERIOD at EOL is removed.
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1. B b b.
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1. B b b.
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1. B b b.
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a1. B b b.
Word, followed by PERIOD space FOOTNOTE — Bad Case B2 #
- In this case, the space before FOOTNOTE is replaced with
.
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a. 1 B b b.
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a. 1 B b b.
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a. 1 B b b.
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a. 1 B b b.
Word, followed by space FOOTNOTE space PERIOD — Bad Case B3 #
- This is a blend of Bad Case B1 and Bad Case B2 above.
- In this case, the space before FOOTNOTE is replaced with
, AND the space before the PERIOD at EOL is removed.
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1. B b b.
ab a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1. B b b.
abc a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1. B b b.
abcd a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1. B b b.
abcde a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1. B b b.
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Bind footnotes to the preceding word" | |
Title | "Bind footnotes to the preceding word" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/posts/footnotes-bind-to-preceding-word/" | |
RelPermalink | "/posts/footnotes-bind-to-preceding-word/" | |
Data |
| |
NextPage | B | |
PrevPage | Blackfriday-specific escaping in equations | |
NextInSection | Auto-detected locale in front-matter | |
PrevInSection | Blackfriday-specific escaping in equations |
Page Params (Debug)
Key | Type | Value |
---|---|---|
aliases | []string | "/posts/footnotes-at-eol" |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2017-11-29 08:04:45 -0500 -0500 |
tags | []string | "footnote" |
title | string | "Bind footnotes to the preceding word" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "ff565bad51adbd4be1926f68ca42e6fd" |
BaseFileName | "footnotes-bind-to-preceding-word" |
TranslationBaseName | "footnotes-bind-to-preceding-word" |
Lang | "en" |
Section | "posts" |
LogicalName | "footnotes-bind-to-preceding-word.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/footnotes-bind-to-preceding-word.md" |