Blank Footnotes

This topic was already covered in a previous post and I am so, so sorry for the redundancy, but I’m at my wits end with this and am hoping that there might be someone willing to walk through a problem that I’m having with converting footnotes to LaTeX. I’m currently dragging and dropping BibDesk citations into my scrivener file. When I try to compile my draft, though, they disappear.

When I compile my draft in scrivener my footnotes in the resulting tex document look like this… \footnote{} When I uncheck the “parse footnotes to mmd syntax” box the citations reappear, but there are no footnotes and I get something that looks like this… \cite{Ashburner:1976zv} In my ideal world, I’d get something like… \footnote{\cite{Ashburner:1976zv}}

I’ve downloaded the most recent version of mmd and placed the folder in ~/Library/Application Support. I’ve read the questions on the google group and did not understand a single word.

Is there anyone who might be able to help me with this (using really simple language :slight_smile: )? I’m in the process of finishing up my dissertation and I’m looking at 250+ pages of text that I’ll have to sort through and footnote manually if I can’t figure it out (I did it for some individual chapters and it drove me bonkers).

[Just as a warning, I’m about as programming illiterate as they come. That I can use LaTeX is nothing short of a miracle.]

Let’s make sure your MMD installation is actually being used by Scrivener. In the Finder, go to “Library/Application Support/MultiMarkdown/bin” and open the file named “mmd2XHTML.pl” in a plain-text editor (TextEdit will do).

You should see a bunch of lines starting with “#”. Scroll down until you find the first blank line in the file and type in this on that blank line: “die;”

Save it (but don’t close it!), and now try compiling MMD->HTML from Scrivener. If you get an error, that’s good, it means Scrivener is using this file and getting confused over why it died so fast. Go ahead and undo the text you added and resave it.

If that happened, we’ll try to debug it further. But if it compiled an HTML file as if nothing was wrong, then you aren’t actually using the updated MMD code for some reason. We’ll try to figure out why that is.

Thank you so very much!!

I followed your instructions the first time and nothing happened. I had the MMD folder in [martini]\Library\Application Support and thought I might have placed it in the wrong folder so I moved it to Hard Drive\Library\Application Support. I then followed your instructions again and every time I compiled MMD–>HTML from Scrivener the Scrivener application closed without warning! Woo hoo!!

I can’t begin to say how much I appreciate your help. I’m 100% ready for the next step.

You’re welcome!

That’s interesting. It should actually work from your user folder as well as the system folder, Scrivener checks both locations. Well, whatever the case now that you have it working, might as well not touch anything! :slight_smile:

I have no idea what happened, but I just ran the footnotes and they’re working perfectly with the citations. The problem has been completely solved! This is one of those miracles of programming that I’ll leave it up to smarter people than me to figure out.

Again, thank you so very much!

Glad to hear it; and good luck on your dissertation defence.

I too had difficulty with this, did something random, and suddenly got the footnotes working again.
And I note how pretty the output is.
I used to write with lyx on linux, and I’m inclined to start using the pretty latex output of scrivener for documents not going to publishers, e.g. class notes.

But I notice, not surprised, that the placeholder bookends references I have used are not scanned and therefore not given the final formatting I would like.

I don’t suppose there is a way of scanning the mmd or latex output from scrivener in order to get footnotes put back in?
(not exactly a scrivener question, I know, but maybe somebody has tried and managed to do this some way).

Declan

I’m not terribly familiar with industrial grade footnotes and citations, but found some instructions here for using Bookends with LaTeX. You’ll probably need to integrate with BibTeX, but that is just a guess.

I’m having the same issue; (upgraded to Snow Leopard with a clean install lastnight.)

On reinstall of scrivener, I was having the same issues. My best guess is that MMD isn’t installed at all. I can’t remember whether Scrivener was supposed to install that itself, or whether I manually installed MMD a few months ago.

UPDATE: Installed MMD into ~Library/App*/Multimarkdown and /Library*/Multimarkdown.

Still no luck. I can’t figure out what’s going on with Scrivener.

Fixed it!

I went into applications directory and opened up the Srivener application’s package file and replaced the default MMD install with a fresh one from Fletcher’s website.

That took care of the footnotes.

But, unfortunately, my HTML output and my RTF output is wonky. The HTML doesn’t wrap in the browser and the RTF comes out all black.

Oh well, as long as LaTeX export works I’m happy.

I am puzzled by these recent reports of external MMD installations not getting picked up by Scrivener. I have put it on my list of things to investigate. I think whatever is happening will be fixed by 2.0.

The wrapping issue in HTML might be CSS related. Debugging that is unfortunately a little difficult because there are so many variables involved. If you have no idea what I’m talking about then you are probably using the built-in Scrivener generated CSS, and that is somewhat at the mercy of your formatting settings in the third tab, though I am not aware of any condition there that could cause the page width to increase, or paragraphs to change their wrapping model.

The black RTF thing is a known issue. I believe it started in one of the more recent Snow Leopard updates. I only noticed it recently though, so it is hard to know for sure. What I do know is that it is simply a cosmetic problem which can be fixed by changing the text background colour back to white.