![bibtex4word で参照を MS Word にエクスポートする](https://rvso.com/image/348638/bibtex4word%20%E3%81%A7%E5%8F%82%E7%85%A7%E3%82%92%20MS%20Word%20%E3%81%AB%E3%82%A8%E3%82%AF%E3%82%B9%E3%83%9D%E3%83%BC%E3%83%88%E3%81%99%E3%82%8B.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 を使用している場合は、Microsoft が参考文献情報を保存する形式である Office 2007 xml 形式の組み込みエクスポート機能を使用するだけで済みます。
- JabRef で (選択した) エントリをエクスポートし、Office 2007 xml 形式を選択します。
- Wordを開き、「参照」タブをクリックします。
- ソースの管理 -> 参照 -> エクスポートされた XML ファイルを開く (または参照の下の場所に直接コピーする) をクリックします。
- すべてのエントリはMS書誌データベースで利用可能になります
エクスポート用の bibtex/biblatex と MS-Office 間のすべてのフィールド マッピングのリストは、JabRef にリストされています。Bibtex-MSOffice フィールド マッピング
エクスポートで問題が発生する可能性があるのは、著者として「会社」を指定した場合だけです。この場合、会社フィールドではなく、著者としてエクスポートされます。問題が発生した場合は、お知らせください。以前、エクスポート機能に取り組んだことがあります。