Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-04-07 06:45:16
- erissiva
- Member
- Registered: 2006-03-30
- Posts: 18
[issue] Footnote Issues
Hmmm…cannot seem to find the answer to this. This is definately a PEBCAC problem, I just cannot find the solution.
Now, how in the hell can I get my footnotes to work?
This is what I’m typing:
<notextile>
<code>
fn1. This is the first footnote
fn2. This is the other one
</code>
</notextile>
Now…Both of the footnote links display correctly. Also, the first footnote is also displaying correctly. However, the second is just showing the unformatted text ‘fn2.’ before the second footnote.
The only way I have been able to get it to work is by putting 2 linebreaks in…like so:
<notextile>
<code>
fn1. This is the first footnote
fn2. This is the other one
</code>
</notextile>
But this doesn’t give me what I want. I just want 1 linebreak in. And using the <br />
tag doesn’t work with it.
Secondly, and related – is there any way to force a linebreak other than using <br />
?
zan.thri.a – personal political/philosophical blog
Offline
#2 2006-05-23 23:02:06
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [issue] Footnote Issues
Some of those posts suggest that a fix is coming? Is it really?
You tell me. Do you have a patch?
Regarding line breaks: the “fn1. “ syntax is block style, meaning there must be a blank line separating it from other blocks. If you don’t like the appearance, use CSS to change it.
Alex
Offline
#3 2006-05-24 19:05:22
- erissiva
- Member
- Registered: 2006-03-30
- Posts: 18
Re: [issue] Footnote Issues
zem – Appreciate you clearing up the line-break issue. Thanks.
I’ve managed to work around it, but the random nature of when footnotes work or not is rather bothersome – although I realize that’s more Textile’s fault.
The same goes for the acronym function – eeewww.
zan.thri.a – personal political/philosophical blog
Offline
#4 2006-05-24 22:44:22
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [issue] Footnote Issues
The next best thing to a patch, is a clear bug report: steps to reproduce, expected output, actual output.
Alex
Offline
#5 2006-05-25 03:28:21
- erissiva
- Member
- Registered: 2006-03-30
- Posts: 18
Re: [issue] Footnote Issues
Well, since I’m not a programmer of that fashion (mostly just HTML/CSS and graphics), the most I can do is bug report. But let me clarify first.
Let me clarify my understanding of the function after numerous tests. The footnote function only works after an alphebetical or numeretical character? After any symbols it goes kaput.
And the acronym funtion only works for acronyms only 3 letters or longer, correct?
zan.thri.a – personal political/philosophical blog
Offline
#6 2006-05-25 04:09:35
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [issue] Footnote Issues
Let me clarify my understanding of the function after numerous tests. The footnote function only works after an alphebetical or numeretical character? After any symbols it goes kaput.
And the acronym funtion only works for acronyms only 3 letters or longer, correct?
That sounds likely, but you tell me – you probably know more about it than I do.
Alex
Offline
#7 2006-05-25 05:12:10
- erissiva
- Member
- Registered: 2006-03-30
- Posts: 18
Re: [issue] Footnote Issues
Not sure about that, but it seems to be. I thought it was just an annoying error, but seems to be the built in function. I can’t be really sure – in-depth Textile documentation is far and few between. And I cannot gather too much from the Textile parsing code, seeing as how I don’t program in PHP.
2 slightly irritating functions, but I guess I could stop being lazy and just type out the words “Secret Service” and stop trying to cut corners. ;-)
Last edited by erissiva (2006-05-25 05:13:09)
zan.thri.a – personal political/philosophical blog
Offline
#8 2006-05-25 08:57:18
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [issue] Footnote Issues
I just checked the Textile shipped with 4.0.3, and:
- Acronym after 3 or more uppercase letters or numbers.
- Footnote works after any number of numbers, but within word boundaries, which basically means it is really damn picky.
To make footnote references by hand, but still with Textile (click on “Edit” to see the Textile):
Donne compares man to “a lump, where all beasts kneaded be; / Wisdom makes him the ark where all agree” (200, ll. 1-2).1
Works all her Folly up, and casts it outward
To the World’s open View— (IV.53, p. 335)^4^
“Can Wisdom be put in a silver rod? / Or Love in a golden bowl?“7
Offline
#9 2006-05-25 17:50:14
- erissiva
- Member
- Registered: 2006-03-30
- Posts: 18
Re: [issue] Footnote Issues
Mary – Thanks for the clarification.
zan.thri.a – personal political/philosophical blog
Offline
#10 2006-05-25 22:51:04
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [issue] Footnote Issues
Actually, hard-coding footnote links like that won’t work. Since about txp 4.0.2, Textile generates random link anchors like “#fn14207970654476349f132fc”, to avoid clashes when more than one article is displayed on a page.
Again: we could use a bug report: some clear examples of what works and what doesn’t.
Last edited by zem (2006-05-25 22:52:13)
Alex
Offline
Pages: 1