BibTeX, biblatex and biberExtra blank Line after long URL in Database Entry

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
scheydec
Posts: 9
Joined: Sat Oct 16, 2010 10:43 pm

Extra blank Line after long URL in Database Entry

Post by scheydec »

Hi all,

I have a weird problem where an extra blank line is appearing in my Bibliography after a "misc" item that has a long URL in the "howpublished" field.

For example

Code: Select all

@misc{usnews_2011,
	title = {National University Rankings},
	author = {{U. S. News \& World Report}},
	month = sep,
	year = {2011},
	howpublished = {Retrieved from http://colleges.usnews.rankingsandreviews.com/best-colleges/rankings/national-universities}
},
always shows up in my Bibliography with a spurious blank line after the entry.

But

Code: Select all

@misc{usnews_2011,
	title = {National University Rankings},
	author = {{U. S. News \& World Report}},
	month = sep,
	year = {2011},
	howpublished = {Retrieved from http://colleges.usnews.rankingsandreviews.com/best-colleges/rankings}
},
does not have the extra blank line.

I'm using TeXshop 2.43 with BibTeX and

relevant headers:

Code: Select all

\usepackage[notocbib]{apacite} 
\newcommand{\bibnodot}[1]{} 
and the following to create the Bibliography, near the end of the main .tex file:

Code: Select all

\bibliographystyle{apacite}
\bibliography{dissrefs}
Let me know if there is anything else you need to help answer this, or if you have any ideas for brute-force workarounds, because I have to submit my dissertation next week, and I'm getting desperate!

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
justdeath
Posts: 69
Joined: Mon Sep 05, 2011 10:27 am

Re: Extra blank Line after long URL in Database Entry

Post by justdeath »

Since you are desperate, I'll have to help ;)

The apacite style does not work for me, but \bibliographystyle{plain} is OK.

1. You can close the link in \href{http://example.com}{linkname}. Requires hyperref package in the preamble.

2. You can use \href{http://example.com}{http://example.com}, if you need this to be readable when printed.

3. Best way is: \url{http://example.com}, it will use monospaced font. Requires the url package in the preamble. Looks almost perfect this way.

4. You should give a minimum working example, because the biggest problem are your page margins, meaning what class are you using, and whether you use geometry or some other thing to mess with the margins.

Because I compile on article, and everything looks fine.

See this, it might help:
http://latex-community.org/forum/viewto ... 50&t=18407
http://www.minimalbeispiel.de/mini-en.html#x1-50003.1

Nikolay
Post Reply