Skip to content

Change the way that eprint repository prefixes are processed.#15

Open
nxg wants to merge 2 commits intotimj:masterfrom
nxg:master
Open

Change the way that eprint repository prefixes are processed.#15
nxg wants to merge 2 commits intotimj:masterfrom
nxg:master

Conversation

@nxg
Copy link
Collaborator

@nxg nxg commented Dec 2, 2014

The previous technique was smart, but did not match the stipulations in
http://arxiv.org/help/faq/references -- these require that the specific string
arXiv:yyyy.nnnn, with a leading space, and warn not to have a '{' just before
the 'arXiv:' (who knows...). The previous version did have a close-up '{'.

This technique is slightly clumsier in some ways, but is more straightforward in
the .bst file, and requires no LaTeX magic in the style file.

Incidentally changed the test framework in the test/ directory, to support
multiple independent tests rather than a compendium test-everything one..

The previous technique was smart, but did _not_ match the stipulations in
http://arxiv.org/help/faq/references -- these require that the specific string
arXiv:yyyy.nnnn, with a leading space, and warn not to have a '{' just before
the 'arXiv:' (who knows...).  The previous version did have a close-up '{'.

This technique is slightly clumsier in some ways, but is more straightforward in
the .bst file, and requires no LaTeX magic in the style file.

Incidentally changed the test framework in the test/ directory, to support
multiple independent tests rather than a compendium test-everything one..
@timj
Copy link
Owner

timj commented Dec 2, 2014

That ref is talking about inline arXiv references not those in bib files. You aren't going to be able to insist that the bib entry has a leading space in the eprint field. We really need to be matching ADS common usage here. That's where most astronomers get their bib entries.

@nxg
Copy link
Collaborator Author

nxg commented Dec 2, 2014

Indeed: this is about how the arXiv:yyyy.nnnn appears in the bibliography -- in the .bbl file, not the .bib file. And the point is so that no-one has to insist on anything in the .bib file. And this is written so that if there's no arxiv: prefix in the .bib entry (which is the common case, and in particular the case for references that appear from ADS), then it presumes arXiv.

This is so that authors can in principle indicate different eprint repositories (such as ASCL).

@keithtsmith
Copy link
Collaborator

Hi both

If it works and doesn’t break anything else then there appears to be little harm in following arXiv’s request.

I note that mn2e is already adding \eprint to all of these, which inserts a clickable link already whenever possible.

Keith

From: Norman Gray [mailto:notifications@github.com]
Sent: Tuesday, December 02, 2014 3:14 PM
To: timj/mn2e-bst
Subject: Re: [mn2e-bst] Change the way that eprint repository prefixes are processed. (#15)

Indeed: this is about how the arXiv:yyyy.nnnn appears in the bibliography -- in the .bbl file, not the .bib file. And the point is so that no-one has to insist on anything in the .bib file. And this is written so that if there's no arxiv: prefix in the .bib entry (which is the common case, and in particular the case for references that appear from ADS), then it presumes arXiv.

This is so that authors can in principle indicate different eprint repositories (such as ASCL).


Reply to this email directly or view it on GitHubhttps://github.com//pull/15#issuecomment-65245112.

@timj
Copy link
Owner

timj commented Dec 4, 2014

@keithtsmith the paper I submitted the other day (I see that you are the receiving editor!) uses the current bib style and your latest class file.

@keithtsmith
Copy link
Collaborator

Yes, I noticed! It made me smile, thanks. Good to see it works for a real paper!

Remind me in a week and I’ll send you some further updates.

Keith

From: Tim Jenness [mailto:notifications@github.com]
Sent: Thursday, December 04, 2014 7:10 PM
To: timj/mn2e-bst
Cc: Keith T. Smith
Subject: Re: [mn2e-bst] Change the way that eprint repository prefixes are processed. (#15)

@keithtsmithhttps://github.com/keithtsmith the paper I submitted the other day (I see that you are the receiving editor!) uses the current bib style and your latest class file.


Reply to this email directly or view it on GitHubhttps://github.com//pull/15#issuecomment-65685077.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants