最近学习
bst 采用了堆栈式语言
WinEdt中可以编写这个文件,也可以用其他的
如何制作bst文件
安装了 ctex 套装后, 在目录 custom-bib 下有一个名为 makebst.tex 的文件.
1) 在 WinEdt 窗口打开该文件, 点击 TeX 键编译该文件.
编译过程中, DOS 窗口会出现数十个问题. 比如, 需要您给定文件输出名. 每个文献格式问题都提供了选择项及说明, 您只需一一选择作答即可.
2) 假设文件输出名为 mybib, 上述编译、作答完成后, 得到一个名为 mybib.dbj 的文件.
3) 在 WinEdt 窗口打开 mybib.dbj,
可以看到您所有的选择项答案, 这时您还可以修改您的选项: 改动各问题选项前的注释符号” %” 即可.
4) 在 DOS 窗口用 tex 命令编译 mybib.dbj 文件, 得到文件 mybib.bst, 即为您所需的参考文献格式.
在主文档导言区加入 \bibliographystyle{mybib} 就可以编译使用了.
下面是选项日志,中文部分是直译的,有些翻译感觉不太对,还是以英文为重点。
Command Line: latex.exe --src --interaction=errorstopmode --synctex=1 "makebst.tex"
Startup Folder: C:\Users\tinkle\Desktop\custom-bib\custom-bib
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
(C:\Users\tinkle\Desktop\custom-bib\custom-bib\makebst.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for loaded.
***********************************
* This is Make Bibliography Style *
***********************************
It makes up a docstrip batch job to produce
a customized .bst file for running with BibTeX
Do you want a description of the usage? (NO)
\yn=no
In the interactive dialogue that follows,
you will be presented with a series of menus.
In each case, one answer is the default, marked as (*),
and a mere carriage-return is sufficient to select it.
(If there is no * choice, then the default is the last choice.)
For the other choices, a letter is indicated
in brackets for selecting that option. If you select
a letter not in the list, default is taken.
The final output is a file containing a batch job
which may be (La)TeXed to produce the desired BibTeX
bibliography style file. The batch job may be edited
to make minor changes, rather than running this program
once again.
Enter the name of the MASTER file (default=merlin.mbs)
\mfile=
Name of the final OUTPUT .bst file? (default extension=bst)
\ofile=mybib3
Give a comment line to include in the style file.
Something like for which journals it is applicable.
\ans=
Do you want verbose comments? (NO)
\yn=
(C:\Users\tinkle\Desktop\custom-bib\custom-bib\merlin.mbs
<<< For more information about the meanings of
<<< the various options, see the section on
<<< Menu Information in the .mbs file documentation.
EXTERNAL FILES:
Name of language definition file (default=merlin.mbs)
\cfile=
Name of language file: \cfile=.
Include file(s) for extra journal names? (NO)
\yn=
No included files.
INTERNAL LANGUAGE SUPPORT (if no external language file)
(*) English words used explicitly
(b) Babel (words replaced by commands defined in babelbst.tex)
Select:
\ans=
You have selected: English
1. 引文的风格
STYLE OF CITATIONS:
(*) Numerical as in standard LaTeX 采用数字
(a) Author-year with some non-standard interface
(b) Alpha style, Jon90 or JWB90 for single or multiple authors
(o) Alpha style, Jon90 even for multiple authors
(f) Alpha style, Jones90 (full name of first author)
(c) Cite key (special for listing contents of bib file)
Select:
\ans=
You have selected: Numerical
2. HTML输出
HTML OUTPUT (if non author-year citations)
(*) Normal LaTeX output
(h) Hypertext output, in HTML code, in paragraphs
(n) Hypertext list with sequence numbers
(k) Hypertext with keys for viewing databases
Select:
\ans=
You have selected: Normal LaTeX
3. 语言区域(感觉这样翻译不太对)
LANGUAGE FIELD
(*) No language field
(l) Add language field to switch hyphenation patterns temporarily
Select:
\ans=
You have selected: No language field
4. 附加说明(或者说注释)
ANNOTATIONS:
(*) No annotations will be recognized
(a) Annotations in annote field or in .tex file of citekey name
Select:
\ans=
You have selected: No annotations
5. 排序方式
ORDERING OF REFERENCES (if non-author/year and non-alph)
(*) Alphabetical by all authors 按照英文字母排序
(c) Citation order (unsorted, like unsrt.bst) 按照引用的顺序
(d) Year ordered and then by authors
(r) Reverse year ordered and then by authors
Select:
\ans=c
You have selected: Citation order
6. 如果不是按照引用的排序方式(VON PART)
ORDER ON VON PART (if not citation order)
(*) Sort on von part (de la Maire before Defoe)
(x) Sort without von part (de la Maire after Mahone)
Select:
\ans=
You have selected: Sort on von part VON
7. 作者名字
AUTHOR NAMES:
(*) Full, surname last (John Frederick Smith)
(f) Full, surname first (Smith, John Frederick)
(i) Initials + surname (J. F. Smith)
(r) Surname + initials (Smith, J. F.)
(s) Surname + dotless initials (Smith J F)
(w) Surname + comma + spaceless initials (Smith, J.F.)
(x) Surname + pure initials (Smith JF)
(y) Surname + comma + pure initials (Smith, JF)
(z) Surname + spaceless initials (Smith J.F.)
(a) Only first name reversed, initials (AGU style: Smith, J. F., H. K. Jones)
(b) First name reversed, with full names (Smith, John Fred, Harry Kab Jones)
Select:
\ans=x
You have selected: Surname + pure initials
8. 如果作者姓名颠倒,在数据库中的编辑
EDITOR NAMES IN COLLECTIONS (if author names reversed)
(*) Editor names NOT reversed as edited by JJ Smith
(r) Editor names reversed just like authors'
Select:
\ans=r
You have selected: Editor names reversed
9. 名的位置
POSITION OF JUNIOR (if author names reversed)
(*) Junior comes last as Smith, John, Jr.
(m) Junior between as Smith, Jr., John
Select:
\ans=
You have selected: Junior comes last
10. 作者之间的标点符号
PUNCTUATION BETWEEN AUTHOR NAMES:
(*) Author names separated by commas逗号
(s) Names separated by semi-colon 分号
(h) Names separated by slash / 斜杠
Select:
\ans=
You have selected: Author names separated by commas
11. 作者重名问题
ADJACENT REFERENCES WITH REPEATED NAMES:
(*) Author/editor names always present
(d) Repeated author/editor names replaced by dash
(2) Repeated author/editor names replaced by 2 dashes
(3) Repeated author/editor names replaced by 3 dashes
Select:
\ans=
You have selected: Author/editor names always present
12. 作者的数目
NUMBER OF AUTHORS:
(*) All authors included in listing
(l) Limited authors (et al replaces missing names)
Select:
\ans=
You have selected: All authors
13. 作者的字体格式
TYPEFACE FOR AUTHORS IN LIST OF REFERENCES:
(*) Normal font for author names
(s) Small caps authors (\sc)
(i) Italic authors (\it or \em)
(b) Bold authors (\bf)
(u) User defined author font (\bibnamefont)
Select:
\ans=
You have selected: Normal font for author names
14. 日期的位置
DATE POSITION:
(*) Date at end
(b) Date after authors
(j) Date part of journal spec. (as 1994;45:34-40) else at end
(e) Date at very end after any notes
Select:
\ans=j
You have selected: Date part of journal spec.
15. 日期的格式
DATE FORMAT (if non author-year citations)
(*) Plain month and year without any brackets
(p) Date in parentheses as (May 1993)
(b) Date in brackets as [May 1993]
(c) Date preceded by colon as `: May 1993'
(d) Date preceded by period as `. May 1993'
(m) Date preceded by comma as `, May 1993'
(s) Date preceded by space only, as ` May 1993'
Select:
\ans=m
You have selected: Date preceded by comma
16. 日期的形式
SUPPRESS MONTH:
(*) Date is month and year
(x) Date is year only
Select:
\ans=x
You have selected: Date is year only
17. 如果日期不是在结尾,日期的格式
DATE PUNCTUATION (if date not at end)
(*) Date with standard block punctuation (comma or period)
(c) Colon after date as 1994:
(s) Semi-colon after date as 1994;
(p) Period after date even when blocks use commas
(x) No punct. after date
Select:
\ans=c
You have selected: Colon after date
18. 日期后的空白
BLANK AFTER DATE:
(*) Space after date and punctuation
(x) No space after date as 1994:45
Select:
\ans=x
You have selected: No space after date
19. 日期的字体
DATE FONT:
(*) Date in normal font
(b) Date in bold face
Select:
\ans=
You have selected: Date in normal font
20. 文章的标题
TITLE OF ARTICLE:
(*) Title plain with no special font
(i) Title italic (\em)
(q) Title and punctuation in single quotes (`Title,' ..)
(d) Title and punctuation in double quotes (``Title,'' ..)
(g) Title and punctuation in guillemets (<<Title,>> ..)
(x) Title in single quotes (`Title', ..)
(y) Title in double quotes (``Title'', ..)
(z) Title in guillemets (<<Title>>, ..)
Select:
\ans=
You have selected: Title plain
21. 文章标题的XX化(资本化) T^T实在不知道怎么翻译
CAPITALIZATION OF ARTICLE TITLE:
(*) Sentence style (capitalize first word and those in braces)句子风格(第一个字大写)
(t) Title style (just as in bib entry)标题风格
Select:
\ans=
You have selected: Sentence style
22. 文章标题
ARTICLE TITLE PRESENT:
(*) Article title present in journals and proceedings
(x) No article title
Select:
\ans=
You have selected: Article title present
23. 作者名字
JOURNAL NAMES:
(*) Periods in journal names are retained, as `Phys. Rev.'
(x) Dotless journal names as `Phys Rev'
Select:
\ans=
You have selected: Periods in journal names
24. 作者名字格式
JOURNAL NAME FONT:
(*) Journal name italics
(r) Journal name normal font
Select:
\ans=r
You have selected: Journal name normal
25. 论文题目
THESIS TITLE:
(*) Thesis titles like books
(a) Thesis title like article
(x) No thesis title
Select:
\ans=
You have selected: Thesis titles like books
26. 技术报告标题
TECHNICAL REPORT TITLE:
(*) Tech. report title like articles
(b) Tech. report title like books
Select:
\ans=
You have selected: Tech. report title like articles
27. 技术报告编号
TECHNICAL REPORT NUMBER:
(*) Tech. report and number plain as `Tech. Rep. 123'
(i) Tech. report and number italic as `{\it Tech. Rep. 123'}
Select:
\ans=
You have selected: Tech. report and number plain
28. 日志卷
JOURNAL VOLUME:
(*) Volume plain as vol(num)
(i) Volume italic as {\em vol}(num)
(b) Volume bold as {\bf vol}(num)
(d) Volume and number bold as {\bf vol(num)}
Select:
\ans=
You have selected: Volume plain
29. 卷号(2)
JOURNAL VOL AND NUMBER:
(*) Journal vol(num) as 34(2)
(s) Journal vol (num) as 34 (2)
(c) Journal vol, num as 34, 2
(n) Journal vol, no. num as 34, no. 2
(h) Journal vol, \# number as 34, \#2
(b) Journal vol number as 34 2
(x) Journal vol, without number as 34
Select:
\ans=
You have selected: Journal vol(num)
30. 卷符号
VOLUME PUNCTUATION:
(*) Volume with colon as vol(num):ppp
(s) Volume with colon and space as vol(num): ppp
(h) Volume with semi-colon as vol(num); ppp
(c) Volume with comma as vol(num), ppp
(b) Volume with blank as vol(num) ppp
Select:
\ans=s
You have selected: Volume with colon and space
31. 杂志“年”的技术参数
YEAR IN JOURNAL SPECIFICATION:
(*) Journal year like others as given by date position
(v) Journal vol(year) as 34(1995)
(s) Journal vol (year) as 34 (1995)
(p) Year with pages as 34(2), (1995) 1345--1387
(c) Year, comma, pages as 34(2), (1995), 1345--1387
Select:
\ans=
You have selected: Journal year like others
32. 页码
PAGE NUMBERS:
(*) Start and stop page numbers given
(f) Only start page number
Select:
\ans=
You have selected: Start and stop page numbers
33. 最大页码
LARGE PAGE NUMBERS:
(*) No separators for large page numbers
(c) Comma inserted over 9999 as 11,234
(s) Thin space inserted over 9999 as 11 234
(p) Period inserted over 9999 as 11.234
Select:
\ans=
You have selected: No separators for large page numbers
34. 页码标注方式
WORD `PAGE' IN ARTICLES:
(*) Article pages numbers only as 234-256
(p) Include `page' in articles as pp. 234--256
Select:
\ans=
You have selected: Article pages numbers only
35. 页码位置
POSITION OF PAGES:
(*) Pages given mid text as is normal
(e) Pages at end but before any notes
Select:
\ans=
You have selected: Pages given mid text
36. 文章中卷的显示方式
WORD `VOLUME' IN ARTICLES:
(*) Article volume as number only as 21
(p) Include `volume' in articles as vol. 21
Select:
\ans=
You have selected: Article volume as number only
37. 数和系列类别
NUMBER AND SERIES FOR COLLECTIONS:
(*) Allows number without series and suppresses word "number"
(s) Standard BibTeX as: "number 123 in Total Works"; error if number and no ser
ies
Select:
\ans=
You have selected: Allows number without series
38. 数和系列的位置
POSITION OF NUMBER AND SERIES:
(*) After chapter and pages as in standard BibTeX
(t) Just before publisher or organization
Select:
\ans=
You have selected: After chapter and pages
39. 书/类别的数和系列
VOLUME AND SERIES FOR BOOKS/COLLECTIONS:
(*) Vol. 23 of Series as in standard BibTeX
(s) Series, vol. 23
Select:
\ans=s
You have selected: Series, vol. 23
40. ••••的位置
POSITION OF VOLUME AND SERIES FOR INCOLLECTIONS:
(*) Series and volume after the editors
(e) Series and volume after booktitle and before editors
Select:
\ans=
You have selected: Series and volume after the editors
41. 期刊名称符号
JOURNAL NAME PUNCTUATION:
(*) Comma after journal name
(x) Space after journal name
Select:
\ans=
You have selected: Comma after journal
42. 书的标题
BOOK TITLE:
(*) Book title italic (\em)
(p) Book title plain (no font command)
Select:
\ans=p
You have selected: Book title plain
43. 书的页码
PAGES IN BOOKS:
(*) Pages in book plain as pp. 50-55
(p) Pages in book in parentheses as (pp. 50-55)
(x) Pages in book bare as 50-55
Select:
\ans=x
You have selected: Pages in book bare
44. 书的全部页码
TOTAL PAGES OF A BOOK:
(*) Total book pages not printed
(p) For book: 345 pages or pp.
(a) Total book pages before publisher
Select:
\ans=
You have selected: Total book pages not printed
45. 出版地址
PUBLISHER ADDRESS:
(*) Publisher, address as Harcourt, New York
(a) Address: Publisher as New York: Harcourt
Select:
\ans=a
You have selected: Address: Publisher
46. 出版商的括号
PUBLISHER IN PARENTHESES:
(*) Publisher as normal block without parentheses
(p) Publisher in parentheses
(d) Publisher and date in parentheses (Oxford, 1994)
(c) Publisher and date in parentheses, no comma (Oxford 1994)
(f) Publisher and date without parentheses Oxford, 1994
(k) Publisher and date, no parentheses, no comma Oxford 1994
Select:
\ans=
You have selected: Publisher as normal block
47. 出版商的位置
PUBLISHER POSITION:
(*) Publisher after chapter, pages
(p) Publisher before chapter, pages
(e) Publisher after edition
Select:
\ans=p
You have selected: Publisher before chapter, pages
48. 国际标准书号
ISBN NUMBER:
(*) Include ISBN for books, booklets, etc.
(x) No ISBN
Select:
\ans=x
You have selected: No ISBN
49. 国际标准刊号
ISSN NUMBER:
(*) Include ISSN for periodicals
(x) No ISSN
Select:
\ans=x
You have selected: No ISSN
50. 数字对象唯一标识符
DOI NUMBER:
(*) Include DOI as "doi: number"
(a) Insert DOI AGU style as part of page number
(x) No DOI
Select:
\ans=x
You have selected: No DOI
51. EDITOR 后面的名称
`EDITOR' AFTER NAMES (EDITED BOOKS WITHOUT AUTHORS):
(*) Word `editor' after name
(a) `Name (editor),' in parentheses, after name, comma after
(b) `Name (Editor),' as above, editor upper case
(c) `Name, (editor)' in parentheses, after name, comma between
(d) `Name, (Editor)' as above, editor upper case
(e) `Name (editor)' in parentheses, after name, no commas
(f) `Name (Editor)' as above, editor upper case
Select:
\ans=
You have selected: Word `editor' after name
52. 关于EDITOR的编辑
EDITOR IN COLLECTIONS:
(*) Same as for edited book (names before booktitle)
(b) In booktitle, edited by .. (where .. is names)
(p) In booktitle (edited by ..)
(c) In booktitle, (edited by ..)
(e) In booktitle, editor ..
(f) In booktitle, (editor) ..
(k) In booktitle (editor..)
(g) In booktitle, (editor..)
(j) In booktitle, .., editor
(m) In booktitle (.., editor)
Select:
\ans=
You have selected: Same as for edited book
53. 标点符号的切换
PUNCTUATION BETWEEN SECTIONS (BLOCKS):
(*) \newblock after blocks (periods or new lines with openbib option)
(c) Comma between blocks
(s) Semi-colon between blocks
(b) Blanks between blocks
(t) Period after titles of articles, books, etc else commas
(u) Colon after titles of articles, books, etc else commas
(a) Period after titles of articles else commas
(d) Colon after titles of articles else commas
Select:
\ans=
You have selected: \newblock after blocks
54. 作者之后的标点符号
PUNCTUATION AFTER AUTHORS:
(*) Author block normal with regular block punctuation
(c) Author block with colon
Select:
\ans=
You have selected: Author block normal
55. 在IN后面的标点符号
PUNCTUATION AFTER `IN':
(*) Space after `in' for incollection or inproceedings
(c) Colon after `in' (as `In: ...')
(i) Italic `in' and space
(d) Italic `in' and colon
(x) No word `in' for edited works
Select:
\ans=x
You have selected: No word `in'
56. 最后的标点符号
FINAL PUNCTUATION:
(*) Period at very end of the listed reference
(x) No period at end
Select:
\ans=
You have selected: Period at very end
57. 网页的缩写
ABBREVIATE WORD `PAGES' (if not using external language file)
(*) `Page(s)' (no abbreviation)
(a) `Page' abbreviated as p. or pp.
(x) `Page' omitted
Select:
\ans=
You have selected: `Page(s)'
58. 编辑的缩写
ABBREVIATE WORD `EDITORS':
(*) `Editor(s)' (no abbreviation)
(a) `Editor' abbreviated as ed. or eds.
Select:
\ans=
You have selected: `Editor(s)'
59. 其他的缩写
OTHER ABBREVIATIONS:
(*) No abbreviations of volume, edition, chapter, etc
(a) Abbreviations of such words
Select:
\ans=
You have selected: No abbreviations
60. 版本号
EDITION NUMBERS:
(*) Editions as in database saving much processing memory
(w) Write out editions as first, second, third, etc
(n) Numerical editions as 1st, 2nd, 3rd, etc
Select:
\ans=
You have selected: Editions as in database
Reading external language file \cfile=
61. 存储的杂志名字
STORED JOURNAL NAMES:
(*) Full journal names for prestored journals
(a) Abbreviated journal names
(s) Abbreviated with astronomy shorthands like ApJ and AJ
Select:
\ans=
You have selected: Full journal names
62. (63,和AND的排版有关)
AMPERSAND:
(*) Use word `and' in author lists
(a) Use ampersand in place of `and'
(v) Use \BIBand in place of `and'
Select:
\ans=
You have selected: Use word `and'
63.
COMMA BEFORE `AND':
(*) Comma before `and' as `Tom, Dick, and Harry'
(n) No comma before `and' as `Tom, Dick and Harry'
(c) Comma even with 2 authors as `Tom, and Harry'
Select:
\ans=
You have selected: Comma before `and'
64.
NO `AND' IN REFERENCE LIST:
(*) With `and' before last author in reference list
(x) No `and' as `Tom, Dick, Harry'
Select:
\ans=x
You have selected: No `and'
65.
COMMA BEFORE `ET AL':
(*) Comma before `et al' in reference list
(x) No comma before `et al'
Select:
\ans=
You have selected: Comma before `et al'
66.
FONT OF `ET AL':
(*) Plain et al
(i) Italic et al
(r) Roman et al even when authors something else
Select:
\ans=
You have selected: Plain et al
67.
ADDITIONAL REVTeX DATA FIELDS:
(*) No additional fields for REVTeX
(r) Include REVTeX data fields collaboration, eid, eprint, archive, numpages, u
rl
Select:
\ans=
You have selected: No additional fields
68.
E-PRINT DATA FIELD: (without REVTeX fields)
(*) Do not include eprint field
(e) Include eprint and archive fields for electronic publications
Select:
\ans=
You have selected: Do not include eprint field
69. URL地址
URL ADDRESS: (without REVTeX fields)
(*) No URL for electronic (Internet) documents
(u) Include URL as regular item block
(n) URL as note
(l) URL on new line after rest of reference
Select:
\ans=
You have selected: No URL
70. 参考部分标签
REFERENCE COMPONENT TAGS:
(*) No reference component tags in the \bibitem entries
(b) Reference component tags like \bibinfo in the content of \bibitem
Select:
\ans=
You have selected: No reference component tags
71. 强调
EMPHASIS: (affects all so-called italics)
(*) Use emphasis ie, \em, allows font switching
(i) Use true italics ie, \it, absolute italics
(x) No italics at all
(u) Underlining in place of italics, best with ulem package
Select:
\ans=x
You have selected: No italics
72. 兼容性问题
COMPATIBILITY WITH PLAIN TEX:
(*) Use LaTeX commands which may not work with Plain TeX
(t) Use only Plain TeX commands for fonts and testing
Select:
\ans=
You have selected: Use LaTeX commands
)
Finished!!
Batch job written to file `mybib3.dbj'
Shall I now run this batch job? (NO)
\yn=