MRLookup

Extract BibTeX data automatically and modify BibTeX Key to AUTHOR_YEAR_TITLE.

目前為 2025-06-07 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Abel Van
評價
0 0 0
版本
3.0.0
建立日期
2017-11-14
更新日期
2025-06-07
尺寸
20.2 KB
授權條款
OSI-SPDX-Short-Identifier
腳本執行於

MRLookup

Extract BibTeX data automatically and modify BibTeX Key to AUTHOR_YEAR_TITLE/JOURNAL

Introduction

This script will acts on mrlookup and mathscinet, which will change the bibtex key to AuthorsNames+Year+JournalAbbrev/FirstWordofTitle. With the following features:

  • Toggle between journal abbreviation and title word mode
  • Smart journal abbreviation:
    • For single word journals: use first three letters (e.g., "Topology" -> "TOP")
    • For multi-word journals: use capital letters (e.g., "Journal of Differential Geometry" -> "JDG")
  • You can set ignore words for the title, the current setting is:
var IgnoreStringInTitle = [
  'a',
  'an',
  'on',
  'the',
  'another'
];
  • You can copy the bibitem to clipboard by simply click on it
  • Visual indicator showing current mode (Journal/Title)

How to install?

Just follow the guide at Greasy Fork

How to feedback?

If you have any suggestion, you can contact me at van141.abel(at)gmail.com. Also, you can initial an issue

Update Log

Version 3.0.0

  • Version bump to 3.0.0.
  • Improved BibTeX parsing: now handles missing matches and converts field names to lowercase for consistency.
  • Added debug mode with test data support.
  • Added a Standardize BibTeX button for manual standardization.
  • Added a debug toggle button to enable/disable debug mode.
  • Added a test data button to fill the dialog with test data when debug mode is on.
  • Added a debug result display to show standardized BibTeX in a popup instead of copying to clipboard when in debug mode.
  • Fixed the mode indicator overlap issue: only one indicator is shown at a time, even after toggling modes.

Version 2.0.1

  • Fixed compound surname handling to correctly extract the last part of compound surnames
  • Improved author name extraction for cases like "Mundet i Riera" to use "Riera" instead of "Mundet"

Version 2.0.0

  • Added journal abbreviation mode as an alternative to title mode
  • Implemented smart journal abbreviation system
  • Added user interface for mode switching
  • Added visual mode indicator
  • Improved author name handling to include all authors
  • Enhanced error handling and logging

Version 1.5.5

  • Improved author name handling to include all authors' last names
  • Enhanced title word processing with better capitalization
  • Improved year extraction to handle complex formats
  • Added better error handling and logging
  • Fixed URL checking logic

Version 1.5.4

  • Fix data clean in author field

Version 1.5.3

  • Modify the rule for active url
  • Add automatical select bibtex item for site with mrlookup in url

Version 1.5.2

  • Fix the first word ignore rule, change \s* to \s+

Version 1.5.1

Version 1.5

Version 1.4

  • Fix the wrong regular expression for extracting the first word of title

Version 1.3

  • Add rule to clean international character in title and author

Version 1.2

  • Add rule to filter ' and " in Title

Version 1.1

  • Add clean rule of title
  • Recursively remove ignore words in title

Version 1.0

  • the initial version