-
Notifications
You must be signed in to change notification settings - Fork 5
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
Handle presence/absence of eprint prefix #7
Comments
Addresses issue #7, but I'd like some discussion before closing it. This makes minimal changes to the .bst file, but replaces \eprint by a two-argument version, and \doi by a version with an optional first argument. These two macros are removed from the .bbl output, and replaced with same-name ones in the preamble of mn2e-example.tex; these should be considered for migration to mn2e.cls. These appear to work, but they do mean that the mn2e.bst output would be usable _only_ with mn2e.cls. I've implemented support for archivePrefix="dblp", not because I think very many people will want to use a CS bibliography archive, but to illustrate how support for other archives is provided. Ie, it's not 'arXiv or bust'.
This addresses issue #7, but I'd like Keith to comment before closing it. I don't think this functionality can be provided entirely within bst-language (well it might be possible, but it would count as extravagantly arcane if done there). Keith: if you think this is done, feel free to close. |
@keithtsmith , if you think this is done, can you close the issue? |
I hope this is okay, I can't believe the number of MNRAS papers I see where the reference just says "arXiv preprint" and does not include the actual arXiv identifier (making it useless -- I am assuming all these get caught in the final production stage as I generally see the preprints). |
Downloaded, tested, didn't work. None of the eprint fields showed up. I'm probably doing something stupid or have the wrong things inserted into the .cls . I would attach the minimal working example, but github only seems to allow image attachments. I'll email you both. |
Before 78ff943 eprint identifiers were explicitly hidden in Journal mode in commit 3b36609. The clickable links take you to the DOI or whatever. Conference proceedings now look like A&C though in that arXiv and DOI identifiers show up. The good news is that ASCL entries from ADS show up correctly with |
The BibTeX 'eprint' field may or may not include an 'arXiv:' prefix, and there may or may not be an 'archivePrefix' field.
Proposed solution:
It's probably infeasible to do the string matching in bst-language, so this might be a case for another macro in
mn2e.cls
The text was updated successfully, but these errors were encountered: