zoukankan      html  css  js  c++  java
  • bib+windows+word=bibtex4word插件使用方法

    访问官网:http://www.ee.ic.ac.uk/hp/staff/dmb/perl/index.html

    写在前面

    首先需要确定电脑上已经装好texlive, 包含了 bibtex.exe,如:

     然后,装好了word,

    下载bibtex4word

    http://www.ee.ic.ac.uk/hp/staff/dmb/perl/bibtex4word.zip

    即官网的bibtex4word.zip文件。下载后解压在合适的地方,将其中的bibtex4word.dot拷贝到

    C:Users*****AppDataRoamingMicrosoftWordSTARTUP 目录下,where ***** is your user name。

    如果找不到,搜索也行

     添加用户变量

    需要添加两个用户变量   用户变量用户变量用户变量重要的事情说3遍

    变量名BIB_EXE

    变量值D:Program Files (x86)TexliveRoot exlive2020inwin32ibtex.exe  (前面根据你自己机器中的bibtex.exe位置)

    变量名OPENOUT_ANY

    变量值r

    添加完后,关闭word,重新打开,就会发现,在工具栏中点击加载项:

     就有我们想要的工具了!

    在前面解压的bibtex4word.zip文件中,有文件Test4w.doc,内容是官网使用教程。

    获取引文bib

    方法诸多,例在dblp(https://dblp.uni-trier.de/)中,点击文章左侧下载button

     就可以获取很详细的引文信息,如图:

    set bibtex4word style

    还有很重要的一步,定义bibtex4word在word中,使用的风格,即版式。

    Choosing a BibTeX Style:纯英文引用请查看http://www.ee.ic.ac.uk/hp/staff/dmb/perl/index.html说明

    但是很多时候,我们写个中文报告材料什么的,中英混用是很正常的。首先去下载一个国风style。

    增加参考文献样式bst文件。如GBT7714-2005.bst(下载:https://github.com/Haixing-Hu/GBT7714-2005-BibTeX-Style

    下载后,拷入D:Program Files (x86)TexliveRoot exlive2020 exmf-distibtexstgbt7714文件下。

    打开TexLive command-line(在开始程序中即可找到)

     输入texhash则会刷新texlive文件夹

    Microsoft Windows [版本 10.0.18363.1379]
    (c) 2019 Microsoft Corporation。保留所有权利。
    
    C:Usersuser>texhash
    texhash: Updating D:/Program Files (x86)/TexliveRoot/texlive/texmf-local/ls-R...
    texhash: Updated D:/Program Files (x86)/TexliveRoot/texlive/texmf-local/ls-R.
    texhash: Updating D:/Program Files (x86)/TexliveRoot/texlive/2020/texmf-config/ls-R...
    texhash: Updated D:/Program Files (x86)/TexliveRoot/texlive/2020/texmf-config/ls-R.
    texhash: Updating D:/Program Files (x86)/TexliveRoot/texlive/2020/texmf-var/ls-R...
    texhash: Updated D:/Program Files (x86)/TexliveRoot/texlive/2020/texmf-var/ls-R.
    texhash: Updating D:/Program Files (x86)/TexliveRoot/texlive/2020/texmf-dist/ls-R...
    texhash: Updated D:/Program Files (x86)/TexliveRoot/texlive/2020/texmf-dist/ls-R.
    texhash: Done.
    
    C:Usersuser>
    C:Usersuser>

    排版时参考文献样式可选GBT7714-2005/^/nsch

    •   n,表示强制文后文献以数字顺序排列,不管选用的样式文件是著者年还是顺序方式的;
    •   s,表示“sort”,将顺序引用的标记[2,4,1,3]整理为[1,2,3,4];
    •   c,表示“compress”,将顺序引用的标记[1,2,3,4]压缩为[1-4];
    •   h,表示“hyperlink”(如:plain/h;acm/h),将引用标记与文后文献的对应条目之间建立超链接关系,按住“ctrl”键用鼠标左击标记即可跳转至对应的文献条目,返回则是按住“alt”键后按一下方向键中的"left"键即可;
    •   ^,表示上标引用方式,即[4]样式;
    •  [,表示引用标记采用方括号样式,例如[4-9];
    •  (,表示引用标记采用圆括号样式,例如(Smith, 2000);

    使用Bibtex4Word

    导入数据库

    选择导入bib文件,reference.bib

    bib数据库的编码要和选用的bst文件保持一致,若选择的是GBK编码形式的bst文件,则bib数据库也必须是GBK编码的。

    设置bibtex4word版式

    点击图标在输入框中填入

    GBT7714-2005/^/nsch

     添加citation

     在合适的位置,贴入bib文件中的关键词 

    生成文后引文列表

     点击即可

    建议先用一个测试文件熟悉操作  roken

     

  • 相关阅读:
    Logwatch的配置与使用
    Redirect HTTP to HTTPS on Tomcat
    RedHat7搭建yum源服务器
    卸载RedHat7自带的yum,安装并使用网易163源
    15个Linux Yum命令实例--安装/卸载/更新
    GitHub详细教程
    RedHat7 Git 安装使用
    RedHat7 SELinux
    RedHat7配置IdM server
    IIS Shared Configuration
  • 原文地址:https://www.cnblogs.com/PiaYie/p/14457485.html
Copyright © 2011-2022 走看看