【Mendeley】自定义文献引用格式(cite style)并保存
Latex是論文寫作格式化的很好的工具,但是有時候論文是用word寫的,這個時候就要用Mendeley來設置參考文獻的引用格式。不同期刊有不同的參考文獻引用格式,有時已有的參考文獻引用格式并不適用當前的期刊,所以需要自適應的去設計與修改這個引用格式。
自定義參考文獻的引用格式的過程還是稍微有些復雜的,我大概花了一個晚上加一個上午的時間才搞的比較熟悉,所以這里記錄一下,備忘并與大家共享。
第一步:打開mendeley
第二步:“View”-->“Citation Style”-->“More Styles...”-->"About"-->"CSL Editor"
得到以下界面:
?在搜索框中搜索相關的citation style 模板,如輸入IEEE,得到以下搜索列表:
?這里選擇IEEE/ACM為模板進行編輯,點擊“Edit”,彈出以下對話框,點擊“確定”
進入以下界面:
?選擇“info”-->"Title"命名自己的模板,我這里命名為“IEEE-wzg”.
界面功能介紹:
1. 選擇示例參考文獻,點擊右上角選擇示例參考文獻,包括書籍的示例,期刊的示例等,只能選擇三個。
2. 當前的參考文獻模板引用文獻時在正文中的表現。
3. 當前參考文獻模板在正文參考文獻章節中的表現效果。
?4. 是主要的編輯區域,與3具有對應關系,通過在3中點擊相關區域,在4中會彈出對應的編輯區域
?
?編輯作者的名字:先姓后名還是先名后姓,在如下區域進行編輯。有三個選項
- 空白:所有作者的名稱是先名后姓。常用這個設置。
- first:只有第一個作者的名稱是先姓后名,其余作者的名稱是先名后姓。
- all:所有作者的名稱都是先姓后名
?5. 我們主要修改的是左側的BIBLIOGRAPHY部分。
說明:一下畫紅線的部分是不同的參考文獻類型,如期刊,會議,書籍等等。不同的參考文獻類型的引用模板需要單獨編輯。其中常用的參考文獻類型就是期刊,會議,書籍,在下圖中已經使用黃色熒光筆標出。
具體修改的內容是“Group”下面的內容:
- title: 文章標題
- container-title:期刊名稱
- locators:應該是volume??梢灾脫Q
- page:文章在期刊中的頁數
- issue:
選中“Group”,點擊右上角的“+”號,可以得到下圖所示對話框,添加更多條目,如日期等等。拖動條目,可以調整不同條目之間的順序。
6. 點擊左側的條目在右側進行格式設置,此處略過。
7. 保存citation style:
左上角:style-->Save Style 或者 Save Style as...
此時會打開:
?
?點擊標紅區域即可。后續操作不再贅述。
8. 把citation style保存為csl文件,用于以后加載
Step1:點擊“code editor”
?Step2:ctrl +A選中所有代碼,復制代碼
?step3:新建一個腳本文件(比如我是用notepad++新建的腳本文件),粘貼以上代碼,然后保存,并把后綴改成“.csl”即可。
step4:加載“.csl”參考文獻模板
“Visual Editor”-->左上角"style"--》“load style”加載該csl文件即可。
注:我沒有找到其他的保存參考文件模板為“csl”文件的方式,在界面上沒有找到對應的按鈕,所以只能使用這個笨辦法。
PPPS:為什么要保存為csl文件到本地,因為,在mendeley中右鍵編輯引用模板時,
?會出現以下錯誤:
修改作者個數:
設置:
(1)'et-al-min' (set to 6),?et-al-use-first (set to 1),?
(2)et-al-subsequent-min (set to 3) and?et-al-subsequent-use-first (set to 1).
意思分別是:
(1)如果少于5個作者,全顯示;如果六個或以上作者,顯示第一個加et al。
(1)如果少于3個作者,全顯示;如果4個或以上作者,顯示姓氏加et al。
以下轉自:【Mendeley】參考文獻中et al 的格式修改_小白兔de窩-CSDN博客?
?
--------------------------------------------------------
04. Example - modifying 'et al' usage
The use of 'et al' in citations and bibliographies is a practice which varies from style to style, and there are a number of conditional arguments which can be applied to its use.
An example of this type of logic would be to say 'if a reference has three or fewer authors, display all of the author names in full. If a reference has four or more authors, display the first author and add 'et al' to reflect the additional authors'.
The threshold?that triggers this behaviour can be modified by editing the style using the CSL Editor - and you can find step-by-step instructions on how to modify this behaviour below.
For this example, we'll be using the American Psychological Association (APA) (6th edition) style and we'll be modifying how 'et al' is used in in-line citations.
Back to top
1. Firstly, we need to open the APA style for editing using the CSL Editor. You can find the steps for this in the first section of this guide -?an overview of the CSL Editor.
2. Once the style has been opened for editing, we need to identify the element that we want to update. In this instance, we know we want to modify the in-line citations, so we can find those in the Example Panel.
3. From the example citations that are provided, we can see that 'et al' is already being used for in-line citations. Assuming we want to modify this behaviour, we need to modify the settings associated with In-line citations. Click on the 'In-line Citations' heading in the Style Overview panel to display the settings for this item.
4. With In-line citations selected, we can see a number of settings that control the use of 'et al'. In this instance, the relevant fields are 'et-al-min' (set to 6),?et-al-use-first (set to 1),?et-al-subsequent-min (set to 3) and?et-al-subsequent-use-first (set to 1).
In lay terms, this can be read as follows:
If a reference has five or fewer authors, display all the author names in the citation.?If a?reference has six or more authors, display the first name followed by 'et al' in the citation.
If a reference has three or more authors, display all three authors in the first citation, but for any subsequent citations use the first name, followed by 'et al'.
4. If we want to modify this behaviour, we just need to alter the values set here. As an example, let's look at how to cause the style to display the first three names before displaying 'et al'. To achieve this, we just need to modify the setting for 'et-al-use-first' to be '3' instead of '1'.
5. As soon as this value is changed, you should see the change take place in the example panel, with three names being displayed (followed by et al) instead of one.
6. However, note that the rules which apply to subsequent citations will still apply, so any citations of a reference with three or more authors - other than the very first - will use the first name followed by 'et al'. We can either modify 'et-al-subsequent-use-first' to be '3' to bring it into line with 'et-al-use-first' (modified in step 4), or we can remove the instructions for 'subsequent citations entirely by settings both the relevant values to be blank. This will mean that all citations are subject to the same rules, without considering if they're the first or a subsequent instance.
The style has now been modified as intended. To start using it in your working documents, see the section on?saving and installing your modified style.
?更多參考:
【Mendeley】解決mendeley無法自動安裝cite style的問題_小白兔de窩-CSDN博客
【Mendeley】參考文獻中et al 的格式修改_小白兔de窩-CSDN博客
Mendeley下載安裝,導出參考文獻以及自定義參考文獻_Eonekne的博客-CSDN博客
mendeley參考文獻格式設置大全(參考GB T 7714 - 2015)(步驟超級詳細,CSL編輯器無法使用、格式設置等多類問題匯總)_EstrangedZ的博客-CSDN博客
總結
以上是生活随笔為你收集整理的【Mendeley】自定义文献引用格式(cite style)并保存的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java使用百度翻译接口实现前后端翻译功
- 下一篇: 关于2020年美赛F奖的经验贴