![bibtex4word를 사용하여 MS Word로 참조 내보내기](https://rvso.com/image/348638/bibtex4word%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20MS%20Word%EB%A1%9C%20%EC%B0%B8%EC%A1%B0%20%EB%82%B4%EB%B3%B4%EB%82%B4%EA%B8%B0.png)
LaTeX를 처음 접했고 MS Word에서는 좋지 않았습니다. 이것이 이 포럼의 첫 번째 질문입니다.
JabRef와 함께 BibLaTeX를 사용하여 LaTeX로 원고를 작성했는데 이제 MS Word로 내보내는 것 외에는 다른 옵션이 없습니다. 본문의 경우 LaTeX2RTF가 작동하지만 인용을 처리할 수 없고 참고문헌을 생략했습니다. bibtex4word를 다운로드하여 설치했습니다. 내 질문은 인용 스타일에 관한 것입니다. 원본 LaTeX 파일의 헤더에서 참조 스타일을 수정하기 위해 상당한 노력을 기울였습니다. bibtex4word로 어떻게 할 수 있나요? LaTeX의 원래 헤더
\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage[authordate-trad, giveninits, uniquename=mininit, maxcitenames=2, url=false, backend=biber]{biblatex-chicago}
\renewrobustcmd*{\bibinitdelim}{\,}
\AtEveryBibitem{%
\ifentrytype{online}
{}
{\clearfield{urlyear}\clearfield{urlmonth}\clearfield{urlday}}}
\AtEveryBibitem{\clearfield{issn}}
\AtEveryCitekey{\clearfield{issn}}
\AtEveryBibitem{\clearfield{month}}
\AtEveryCitekey{\clearfield{month}}
\DeclareSourcemap{
\maps[datatype=biblatex]{
\map{
\step[fieldsource=issue, match=\regexp{\A(\d+)\Z}, final]
\step[fieldset=number, fieldvalue={$1$}]
\step[fieldset=issue, null]
}
}
}
\makeatletter
\renewbibmacro*{journal+issue+year+pages}{%
\iftoggle{cms@numbermonth}{}{\clearfield{month}}%
\usebibmacro{cjournal+ser+vol+num}%
\setunit{\,}%
\ifthenelse{\iffieldundef{issue}\AND\iffieldundef{month}
\AND\iffieldundef{number}}%
{\setunit{\addcolon\,}}%<--- no conditional any more here
{\printtext[parens]{% Perhaps if it's wrong use magazine subtype?
\iffieldundef{issue}
{\usebibmacro{date}%
\printfield{number}}%
{\printfield{issue}%
\setunit{\,}%
\usebibmacro{cmsyear}}}%
\setunit{\addcolon\,}}
\printfield{pages}}
\renewbibmacro*{periodical+issue+year+pages}{%
\iftoggle{cms@numbermonth}{}{\clearfield{month}}%
\usebibmacro{cperiodical+ser+vol+num}%
\setunit{\,}%
\ifthenelse{\iffieldundef{issue}\AND\iffieldundef{month}
\AND\iffieldundef{number}}%
{\setunit{\addcolon\,}}%<--- no conditional any more here
{\printtext[parens]{%
\iffieldundef{issue}
{\usebibmacro{date}%
\printfield{number}}%
{\printfield{issue}%
\setunit{\,}%
\usebibmacro{cmsyear}}}%
\setunit{\addcolon\,}}
\printfield{pages}}
\makeatother
\usepackage{gensymb}
\usepackage{mathtools}
\usepackage{tabularx}
\usepackage{array}
\usepackage{booktabs, caption}
\usepackage{threeparttable}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{textcomp}
\usepackage{color}
\usepackage{setspace}
\usepackage{wasysym}
\usepackage{caption}
\usepackage[displaymath, mathlines]{lineno}
\usepackage{authblk}
\usepackage{titlesec}
\usepackage[margin=1.0in]{geometry}
\providecommand{\keywords}[1]{\textbf{\textit{Keywords: }} #1}
\addbibresource{_mysources_.bib}
%opening
\title{My nice title}
\author[1]{Me I}
\author[2]{Someone Else}
\author[1]{Third Author}
\affil[1]{University of Somewhere, Department of Something}
\affil[2]{Other University}
\date{} %% if you don't need date to appear
\setcounter{Maxaffil}{0}
\renewcommand\Affilfont{\itshape\small}
\setcounter{secnumdepth}{0}
\titleformat*{\section}{\bfseries\center\uppercase}
\titleformat*{\subsection}{\bfseries}{}
\titleformat*{\subsubsection}{\bfseries} % Do not use this layer for Some Journal
\titleformat*{\paragraph}{\bfseries}
\titleformat*{\subparagraph}{\bfseries} % Do not use this layer for Some Journal
\begin{document}
%\linenumbers %Comment out to use LaTeX2RTF
\maketitle
\begin{doublespace}
%\begin{abstract} %TODO Complete the formatting for abstract or use abstract as a section unto itself
%Abstract goes here
%\end{abstract}
\section{Abstract}
My abstract text goes here.
\keywords{keyword1, keyword2}
\section{Introduction}
Some introduction \parencite{example2017}.
\section{Conclusions}
Some smart ending.
\printbibliography
\end{doublespace}
\end{document}
항목이 포함된 JabRef 데이터베이스가 있다고 가정합니다.
@Article{example2017,
author = {First Last1 and Second Last2 and Third Last3},
title = {How to do something useful with word – A systems study},
year = {2017},
volume = {35},
number = {1},
pages = {679 - 689},
issn = {iiss-ssnn},
doi = {vv.xxxx/j.biombioe.2017.01.xxx},
url = {http://www.pseudoscience.com/science/article/yyy/xxxxx},
file = {:C\:\\Users\\username\\Documents\\example2017.pdf:PDF},
journal = {Name of Journal},
keywords = {keyword1, keyword2, keyword3, keyword4, keyword5, keyword6 },
review = {},
}
답변1
이미 JabRef를 사용하고 있으므로 Office 2007 xml 형식(Microsoft에서 참고문헌 정보를 저장하는 형식)에 대해 내장된 내보내기 기능을 간단히 사용할 수 있습니다.
- JabRef에서 (선택한) 항목을 내보내고 Office 2007 xml 형식을 선택합니다.
- Word를 열고 참조 탭을 클릭하십시오.
- 소스 관리 -> 찾아보기 -> 내보낸 XML 파일 열기를 클릭합니다(또는 찾아보기 아래 위치에 직접 복사하는 것이 좋습니다).
- 모든 항목은 MS 참고문헌 데이터베이스에서 사용할 수 있습니다.
내보내기를 위한 bibtex/biblatex와 MS-Office 간의 모든 필드 매핑 목록은 여기 JabRef에 나열되어 있습니다.Bibtex-MSOffice 필드 매핑
내보내기의 유일한 문제는 작성자가 "회사"인 경우일 수 있습니다. 이는 회사 필드가 아닌 작성자로 간단히 내보내집니다. 문제가 발생하면 알려주시기 바랍니다. 얼마 전에 저는 내보내기 기능을 담당했기 때문입니다.