generated from pddg/latex-template-ja
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathbibliography.bbx
86 lines (73 loc) · 2.38 KB
/
bibliography.bbx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
\ProvidesFile{bibliography.bbx}
\RequireBibliographyStyle{numeric}
% 参考文献リストの番号の後ろにスペースを入れる
\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}\hspace{.5\jlreq@zw}}
% maxnamesとminnamesの設定を追加
\ExecuteBibliographyOptions{maxnames=99, minnames=1}
% In.の削除
\renewbibmacro*{in:}{}
\DeclareFieldFormat[article,book,booklet,inbook,inproceedings,incollection,manual,mastersthesis,misc,phdthesis,proceedings,techreport,unpublished,online]{title}{#1}
\DeclareFieldFormat{journaltitle}{#1}
% % yearとpageの表示順を入れ替え
% % yearの表示を削除
% \renewbibmacro*{journal+issuetitle}{%
% \usebibmacro{journal}%
% \setunit*{\addspace}%
% \iffieldundef{series}
% {}
% {\newunit
% \printfield{series}%
% \setunit{\addspace}}%
% \usebibmacro{volume+number+eid}%
% \setunit{\addspace}%
% \usebibmacro{issue}%
% \newunit}
% % note+pagesにissue+dateを追加し、yearの表示を追加
% \renewbibmacro*{note+pages}{%
% \printfield{note}%
% \setunit{\bibpagespunct}%
% \printfield{pages}%
% \setunit{\addcomma\space}%
% \usebibmacro{issue+date}%
% \setunit{\addspace}% ここで区切りを変更
% }
% visited onをaccessed onに変更
\DeclareFieldFormat{urldate}{(accessed on #1)}
% mastersthesisのMA thesisを修士論文に変更
% phdthesisのPhD thesisを博士論文に変更
\DefineBibliographyStrings{english}{
mathesis = {修士論文},
phdthesis = {博士論文},
}
% \DeclareBibliographyDriver{mastersthesis}{%
% \usebibmacro{bibindex}%
% \usebibmacro{begentry}%
% \usebibmacro{author}%
% \setunit{\labelnamepunct}\newblock
% \usebibmacro{title}%
% \newunit
% \printfield{type}%
% \newunit
% \usebibmacro{institution+location+date}%
% \newunit\newblock
% \usebibmacro{chapter+pages}%
% \newunit
% \printfield{pagetotal}%
% \newunit\newblock
% \usebibmacro{doi+eprint+url}%
% \newunit\newblock
% \usebibmacro{addendum+pubstate}%
% \setunit{\bibpagerefpunct}\newblock
% \usebibmacro{pageref}%
% \newunit\newblock
% \usebibmacro{related}%
% \usebibmacro{finentry}}
% % mastersthesisとphdthesis専用の日付表示マクロ
% \renewbibmacro*{institution+location+date}{%
% \printlist{institution}%
% \newunit
% \printlist{location}%
% \newunit
% \printtext[parens]{\printfield{year}}%
% \newunit}
\endinput