to have footnotes visible in text, such as [fn4]
Hi, Let's say I have this quote, where I would like to use this
footnote style: [fn4]
, but I cannot, so I did it this
cumbersome way:
”The concept of ribáh in Islam is broader than with Aristotle, since it covers not only increment (ziyadah) of the moneylender's capital, but also increases (which were) created in speculative sales of commodities and in usurious commercial transactions and many agricultural practices.” fn4
fn4: [Riba & Investing in Shares, M. Afifi al-Akiti][fn4]
[fn4]: http://www.livingislam.org/maa/riba_e.html (livingislam.org)
PS: with [^fn4]
= [
then
^
and fn4]
nothing special is
rendered!
bw, Omar KN
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by OmarKN on 26 Aug, 2012 07:25 PM
Well I can say this is strange, because in the rendered text above the [ brackets ... ] are omitted!
So may I should use double [ [ ... brackets ?
/ okn
Support Staff 2 Posted by Brett on 26 Aug, 2012 07:53 PM
MultiMarkdown only allows one syntax for creating footnotes. You use
[^marker]
in the body (where marker is any identifier string, and then you create the footnote below the text:None of the other syntax you're using will create a footnote. I'm not sure if that's standard syntax for another processor or not, but Marked requires the above formatting.
3 Posted by Omar KN on 26 Aug, 2012 08:11 PM
Hi & good day,
Please can view this image:
http://www.abc.se/home/m9783/ir/pic/apps/mrkd/
this is what I'mmissing!
Thank you!
bye,
Omar KN
Support Staff 4 Posted by Brett on 26 Aug, 2012 08:25 PM
Please attach a text file with the paragraph shown in the screenshot and I'll test it locally to see if I can find the issue.
5 Posted by Omar KN on 26 Aug, 2012 08:32 PM
Hi & good day,
Here is the sampletext, yes the link from fn4 is ok, and is "in the Marked file", but not visible in the Marked text-file itself ("at the surface" of the doc.)
bw,
Omar KN
Support Staff 6 Posted by Brett on 26 Aug, 2012 08:40 PM
I'm still not certain I understand what behavior you're expecting. The result of the markup in the text file should look like this: http://ckyp.us/guac
The actual "fn4" is replaced by a number representing the footnotes location in the order of the document...
7 Posted by okn on 27 Aug, 2012 09:46 AM
Yes it "should look like this" but it doesn't.
As I showed earlier in the screendump (url abc.se...) not only is the initial footnote marker not raised, but also I cannot see any text for the footnote below.
/ Omar
::: Communication to improve civilisation :::
s_ip
Support Staff 8 Posted by Brett on 27 Aug, 2012 09:50 AM
Ok, so we're going around in circles, for which I apologize.
I can load the text file you uploaded and get exactly the right results. Is there any chance you've installed a custom processor?
9 Posted by OmarKN on 27 Aug, 2012 08:03 PM
Hi Brett,
No custom processor installed.
But something is fishy here, because it's enough for the iMac to got to sleep, then when I want to continue writing, Marked doesn't update anymore (only cmd-R). Then when I log-out--log-in, Marked updates again.
Sorry - don't know if this is related to the above issue (”cannot see any text for the footnote below”), should I call Apple maybe? But what can I tell them is wrong?
bw,
Omar
(I like Marked when it is working on my desktop!)
Support Staff 10 Posted by Brett on 27 Aug, 2012 08:13 PM
I doubt the two issues are related. As far as updating responsiveness, the fix has been to rebuild the Spotlight index. So far, that's worked 100% of the time. You might give that a shot.
Do you happen to have multimarkdown installed on your system outside of Marked? I'd be curious to see what results you got running it directly from the command line…
11 Posted by OmarKN on 27 Aug, 2012 08:21 PM
Well yes - if you have any decent commands to shoot away on the command line!
/ OKN
12 Posted by OmarKN on 27 Aug, 2012 08:34 PM
Update!
I don't even know what a "multimarkdown" is, the only apps I can think of are Espresso and CSSEdit, if they're using one?
bw,
Thank you for your effort!
Omar K N
Support Staff 13 Posted by Brett on 27 Aug, 2012 08:36 PM
If you don't already have it, grab multimarkdown here: https://github.com/fletcher/peg-multimarkdown/downloads
Once it's installed, try running `cat yourtextfile.md | /usr/local/bin/multimarkdown > ~/Desktop/output.html` and see what you get.
14 Posted by OmarKN on 28 Aug, 2012 08:57 AM
Hi, my files has the txt extension, there is no file with a .md !
i3:Textfiles okn$ cat Islamic\ Economics.md | /usr/local/bin/multimarkdown > ~/Desktop/output.html
cat: Islamic Economics.md: No such file or directory
i3:Textfiles okn$ cat Islamic\ Economics.txt | /usr/local/bin/multimarkdown > ~/Desktop/output.html
i3:_Textfiles okn$
Support Staff 15 Posted by Brett on 28 Aug, 2012 01:21 PM
any extension is fine, as long as the contents are markdown. When you ran the second command, did output.html look right?
16 Posted by Omar K Neusser on 28 Aug, 2012 03:00 PM
Yes, output.html is ok with footnotes at the bottom!
But how to proceed from here?
bw,
Omar KN
Support Staff 17 Posted by Brett on 28 Aug, 2012 09:45 PM
Is the Islamic Economics.txt file a private matter, or could you send it to me to see if there's something else in there that Marked is choking on? If you need to keep things private, let me know and I'll send you an email address to send it to.
Support Staff 18 Posted by Brett on 28 Aug, 2012 10:23 PM
Interesting. Can you show me a screenshot of your Behavior settings page?
19 Posted by Omar KN on 29 Aug, 2012 07:38 PM
Hi & good day,
Here it is:
Omar KN
20 Posted by Omar KN on 29 Aug, 2012 07:40 PM
Hi & good day,
No it's not private.
Here i comes:
Omar KN
21 Posted by Omar K N on 29 Aug, 2012 08:37 PM
Hi,
Just to repeat (this email disappeared)
When I tried Marked on another account on the desktop (OS X Lion) the footnote was alright, as it should be;
so my guess it's my computer that is "doing it."
And I've repaired permissions and indexed Spotlight db.
/ bw Omar K N
Support Staff 22 Posted by Brett on 29 Aug, 2012 08:44 PM
I'm honestly stumped, but will get back to you after a bit more testing.
23 Posted by OmarKN on 15 Sep, 2012 02:58 PM
Hi & good day,
Marked vs. 1.4 further observations (with OS 10.7.4)
1.)
On iMac user A account:
Cmd - Save works, but once the Marked doc is minimized to the dock (yellow button) and later brought back, Cmd - Save does not work. The text file has to be closed and reopened in Marked.
Converting footnotes into Marked footnotes does not work on this iMac account.
2.)
On iMac user B account:
Everything (of the above mentioned points) is working smoothly on this account, which is rarely used.
/Some points to think about.
bw, OmarKN
Brett closed this discussion on 24 Sep, 2012 11:53 PM.