-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOIs on multiple lines are split up #14
Comments
Possible solution:
I don't know if this is compatible with the way refextract and bibrank talk to each other |
I stand corrected, tex does insert line breaks in dois when necessary in most circumstances |
@michamos, was the case we were looking today on arXiv? In that case we can look-up the sources and better understand the circumstances. |
@kaplun yes, we were looking at an arXiv paper with this problem the other day. I don't really understand your remark though |
Nevermind: I misread @tsgit's "I stand corrected"... I.e. we all agree that LaTeX can indeed break on newline DOIs. |
We noticed with @kaplun that a DOI is sometimes broken up by TeX and appears on multiple lines. This is default behavior of the
url
LaTeX package (which is often used to typeset URLs and used internally by thehyperref
package), contrarily to what @tsgit said earlier. In that case, only the part of the DOI on the first line is taken as a DOI, which is of course wrong.The default behavior (in the
\UrlBreaks
and\UrlBigBreaks
macros in url.sty) is to allow line breaks after:. @ \ / ! _ | ; > ] ) , ? & ' + = # :
and also after-
if the [hyphens] option is passed to the package.The text was updated successfully, but these errors were encountered: