Textile tutorial
Martin Bazley (331) 379 posts |
Seeing as the Textile website is down and obviously isn’t coming back, can somebody who knows anything about these forums produce a document on the wiki giving the full format specification? (I see there’s an as yet unused section for ‘Forums’...) I’m starting from zero here, and can’t get help. |
Trevor Johnson (329) 1645 posts |
I’ve found use of this Textile testing/conversion thing to be pretty helpful. Edit: This table plugin documentation also came up via a search engine but I can’t get row/col span working like that! However, this reference manual teaches tables with more success! |
Andrew Hodgkinson (6) 465 posts |
The quick reference page moved. It’s now here: http://redcloth.org/hobix.com/textile/quick.html I keep meaning to update the templates with the new link… |
Martin Bazley (331) 379 posts |
Which now seems to have been done. Thank you! |
Andrew Hodgkinson (6) 465 posts |
Blimey. You noticed that quick. I haven’t even checked it in yet… It’s a dodgy modification to the relevant part of the live site without real testing, but it should be safe – it’s just a change of URLs in various places. Hopefully I didn’t make any mistakes during editing! Some pages in some parts of the site may be cached and might not show the new URL until the server restart at 5:00am GMT. |
Andrew Hodgkinson (6) 465 posts |
In addition – sorry for not doing this sooner; I’ve known about the URL change for ages but just didn’t get my finger out. It’s only taken a few minutes now I finally sat down and got on with it. |
Andrew Hodgkinson (6) 465 posts |
OK, for those that care, the overall small set of changes is listed here: https://www.riscosopen.org/tracker/repository/changesets/272 ...with the source downloads updated here: https://www.riscosopen.org/content/downloads/web-site-tarballs |
John WILLIAMS (8368) 495 posts |
Wondering why many users seem to avoid superscript¹ for notes references, I’m just posting to this thread to see if the superscript referencing does work. ¹ Or is it a 7-bit, 8-bit thing! Well, it does seem to work, so why don’t people use it. After all, we all have Chars at least! It seems to work here with Sargasso and with NetSurf! |
Steve Pampling (1551) 8172 posts |
The footnote superscript is from [ 1 ] – without the spaces of course. and then down there1 you tag with a meaningful fn1 dot, fn2 dot etc 1 And this is the “down there” :) |
Rick Murray (539) 13850 posts |
Or rather than relying on specific things which may or may not exist in the available character set…. ….realise instead that there is an HTML tag to do superscript! 1 1 Unless you mean to have numbered footnotes, that is. |
John WILLIAMS (8368) 495 posts |
What I should have done 1 was to read the Textile notes 2. 1 Where how to do it is described using up arrows
Now how to get the initial reference directly after the word with no space! |
Stuart Painting (5389) 714 posts |
According to the Textile 4 manual, you surround the superscript construct with square brackets. So instead of example^1^ you would use example[^1^] Like this: example1 |
Steve Pampling (1551) 8172 posts |
??? Are you trying to do linked footnote1 tagging or superscript? Edit: Basically, it accepts various HTML tags so obscure Textile stuff is often redundant. 1 Linked footnote, click on the bit up there and you end up looking down here. |
Steve Fryatt (216) 2105 posts |
Why not actually do it the correct way, so that you get a link as well?
and then
which results in: This is some text with a footnote1 after it. 1 And this is the footnote. |
Steve Fryatt (216) 2105 posts |
But that’s not necessary to do footnotes. The |
Steve Fryatt (216) 2105 posts |
I’ve added details to the Forum guide. |
Steve Pampling (1551) 8172 posts |
Indeed so, and more to the point it’s an actual link to the footnote rather than some random text in superscript that you need to manually scroll down to rather than the express single mouse click action. Oh, and clicking on the fn1 derived tag in the footnote takes you back – a service that isn’t there with the “random superscript”. |
John WILLIAMS (8368) 495 posts |
For me, that’s a step too far. I’d rather have a recognisable superscript number and look down the page myself than a spurious full size number with a few dots under it which looks like a typo and (unless of course it was a HeyRick massive post) leaps about! I have a mouse that scrolls nicely in NetSurf anyway! |
Steve Fryatt (216) 2105 posts |
I don’t know what you’re doing, by the numbers produced by the two approaches are identical. They are both superscript, but using footnotes results in the additional link bit, too. |
Steve Pampling (1551) 8172 posts |
Detecting bugs and deficiencies in NetSurf apparently.
Not quite identical. NetSurf renders the code delivered from the server for the link as a number in line instead of superscript and instead of jumping to the link point “fn1” it re-renders hence his comments about
Fix required for NetSurf, not the forum. So, if John would care to carefully describe what should be rendered and what is actually rendered for the NetSurf developer(s) it may get fixed. NB. That would be by sending the data to the developers not here. I think I may test the ability of Otter in that respect. |
John WILLIAMS (8368) 495 posts |
Now I understand the nature of the problem, I could do that, where it not for the fact that I have no idea what magic incantations you are using which produce the wrong effect in NetSurf. I think that this might better be done by someone like you! It seems that you have access to NetSurf even though you do not use it for the ROOL forums. All I see is the full-size number 1 with some dots under it! How you produce it remains a mystery! |
Alan Adams (2486) 1149 posts |
This is the magic (found by pressing F8 to view the page source, and doing a search for “with a footnote”)
|
John WILLIAMS (8368) 495 posts |
Validating the whole page as delivered to NetSurf gives 11 errors, a number (3 or 4) of which are to do with the section you quote. And, of course, what you quote is the result of the Textile interpretation – it still gives me no clues at all as to what that original stuff was that was typed in, the magic itself! As I’m posting anyway, I just want to check Stuart’s contribution: According to the Textile 4 manual, you surround the superscript construct with square brackets.
example1 followed by example2 So, thank you Stuart. Works a treat! |
Alan Adams (2486) 1149 posts |
|
Steve Fryatt (216) 2105 posts |
That’s totally irrelevant, however. The issue is what NetSurf is doing with the markup that Alan quoted.
…but doesn’t give footnotes. |