jmclawson / biblatex-mla

MLA-style citations and bibliographies using Biblatex
23 stars 9 forks source link

Missing space between author name and page number #8

Closed padde closed 10 years ago

padde commented 10 years ago

Hi @jmclawson,

if i cite a work in the form \autocite[123]{someauthor} i am left with

(Someauthor123)

instead of

(Someauthor 123)

I have posted a more detailed question regaring this issue on TeX.sx: http://tex.stackexchange.com/questions/127923/missing-space-between-author-and-page-with-biblatex-mla

I was wondering if maybe you could have a look into this or give a hint where this issue could originate? Unfortunately, i have not yet found out the exact versions of bibtex, biblatex and biblatex-mla that are running on ShareLaTeX, where i am trying to compile my document, but i have contacted them and asked for the version numbers. I have tried to compile the document locally, though and got the same faulty result.

Thank you very much in advance!

Best regards Patrick

jmclawson commented 10 years ago

Hi Patrick, I need to do a little more digging to see how to answer your question, but there ought to be some easy redefinition a you can add to your preamble if your document to accommodate ShareLaTeX's out if date installation.

Incidentally, they're using TeXLive 2011: http://www.sharelatex.com/help/kb/latex-editor/available-packages

Until I can get to it, you might search through the Tex StackExchange, as folks were having these same troubles until I updated the package, and some helpful people posted the same corrective snippet you'll need to add to your preamble. I have a feeling it has something to do with an errant \unspace command in the definition of \parencite.

Best, James

padde commented 10 years ago

Hi James,

thanks for your quick reply.

On my local machine i am running TeXLive 2012, the problem seems to be there, too. Someone on TeX.sx mentioned that he does get the correct results with TeXLive 2013 so i'll try that out first (still downloading).

In the meanwhile, I will keep looking for the "golden snippet" and post it here when i find it ;-)

Best regards Patrick

jmclawson commented 10 years ago

Hi Patrick, I can't find the snippet on StackExchange, so I must have been dreaming it this morning. Do you know what version of biblatex-mla you have installed on your local machine?

Either on your local machine or on ShareLaTeX, can you add the following line to your preamble and let me know if you have a space on either side of the word "platypus" in your typeset document?

\renewcommand*{\postnotedelim}{platypus\addspace}%

We will get to the bottom of this… James

jmclawson commented 10 years ago

I think I've solved it, though I've not had a chance to test it on my system (which has TexLive 2013 on it). Add the following line to your preamble and let me know how it goes:

\DeclareFieldFormat{ibidpostnote}{#1}%

(Delete that earlier \postnotedelim renewing I suggested in the previous note.)

padde commented 10 years ago

This was exactly the cause. thanks again!

padde commented 10 years ago

It is probably a good idea to add this line as well if one is using footnote citations:

\DeclareFieldFormat{footpostnote}{#1}%
jmclawson commented 10 years ago

With the advent of more recent editions of the MLA handbook (which restyle everything while omitting the earlier appendix on footnote citations), I've largely neglected anything to do with footnotes. I left all the machinery still in place in the files, but there is assuredly much "bit rot" there. I may in time go back and bring things up to date, but it's not on the docket for the near future.

padde commented 10 years ago

Good to know, although i do not plan on using footnote citations at all. Again, thanks for all the effort you put into this; it is really great to see a package author who cares about the users!