Skip to content
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

自定义会议缩写json文件有模板吗? #31

Open
EASYMMMM opened this issue Aug 5, 2024 · 1 comment
Open

自定义会议缩写json文件有模板吗? #31

EASYMMMM opened this issue Aug 5, 2024 · 1 comment

Comments

@EASYMMMM
Copy link

EASYMMMM commented Aug 5, 2024

请教,会议缩写自定义json文件有模板吗?
我自己尝试写了一个json模板,但好像并不起作用

{
    "2014 IEEE International Conference on Robotics and Automation (ICRA)":"2014 ICRA",
    "2015 IEEE International Conference on Robotics and Automation (ICRA)":"2015 ICRA",
    "2016 IEEE International Conference on Robotics and Automation (ICRA)":"2016 ICRA",
    "2017 IEEE International Conference on Robotics and Automation (ICRA)":"2017 ICRA",
    "2018 IEEE International Conference on Robotics and Automation (ICRA)":"2018 ICRA",
    "2019 IEEE International Conference on Robotics and Automation (ICRA)":"2019 ICRA",
    "2020 IEEE International Conference on Robotics and Automation (ICRA)":"2020 ICRA"
}

看起来是我写错了期刊名?我是直接从zotero上复制的,请赐教

@EASYMMMM EASYMMMM changed the title 自定义json文件有模板吗? 自定义会议缩写json文件有模板吗? Aug 5, 2024
@zoushucai
Copy link
Owner

zoushucai commented Oct 30, 2024

我没有对会议论文进行专门研究,不过您可以采用下面的正则表达式进行替换, 注意路径和写法(有可能会改变zotero内部的数据,小心使用)

路径:

PixPin_2024-10-30_13-59-29

文件的内容:

[  
 {
    "itemType": "conferencePaper",
    "searchField": "conferenceName",
    "replaceField": "conferenceName",
    "methodName": "replace",
    "searchType": "regex",
    "searchString": "/(\\d{4})\\s+IEEE\\s+International\\s+Conference\\s+on\\s+Robotics\\s+and\\s+Automation\\s+\\((\\w+)\\)/i",
    "replaceType": "regex",
    "replaceString": "$1 $2"
  }
]

具体的写法参考: introduce

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

No branches or pull requests

2 participants