text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2005,numerical}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> @patent{2005:4.5.2:1, author = {}, title = {}, address = {}, number = {88105607.3}, date = {1980-07-26}, } %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/option-2005-numerical.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
309
```unknown \begin{thebibliography}{185} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(1998)]{10.2.4:3} , 1998. \newblock : \allowbreak[J]. \newblock \allowbreak (5): 38-39. \bibitem[(1996)]{9.1:3} , 1996. \newblock \allowbreak[M]. \newblock , , . \newblock : . \bibitem[(1981)]{10.2.4:4} , 1981. \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : : 2-10. \bibitem[(1997)]{9.1:4} , 1997. \newblock \allowbreak[M]. \newblock : : 16. \bibitem[\ (2010{\natexlab{a}}), , and ]{10.2.3:1a} , , , 2010{\natexlab{a}}. \newblock \allowbreak[J]. \newblock (), 37\allowbreak (4): 147. \bibitem[(2010{\natexlab{b}})]{10.2.3:1b} , 2010{\natexlab{b}}. \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : : 138. \bibitem[(1996)]{9.1:5} , 1996. \newblock \allowbreak[J]. \newblock \allowbreak (2): 24-29. \bibitem[ch9({\natexlab{a}})]{ch9-20} . \newblock \allowbreak[Z]. \bibitem[ch9({\natexlab{b}})]{ch9-22} . \newblock \allowbreak[Z]. \bibitem[ch9({\natexlab{c}})]{ch9-25} . \newblock 2020-\allowbreak[Z]. \bibitem[ch9({\natexlab{d}})]{ch9-26} . \newblock \allowbreak[Z]. \bibitem[ch9({\natexlab{e}})]{ch9-27} . \newblock \allowbreak[Z]. \bibitem[ch9({\natexlab{f}})]{ch9-28} . \newblock 216\allowbreak[Z]. \bibitem[ch9({\natexlab{g}})]{ch9-31} . \newblock 216F\allowbreak[Z]. \bibitem[ch9({\natexlab{h}})]{ch9-32} . \newblock +=\allowbreak[Z]. \bibitem[ch9({\natexlab{i}})]{ch9-36} . \newblock AF-L100 \allowbreak[Z]. \bibitem[ch9({\natexlab{j}})]{ch9-7} . \newblock \allowbreak[Z]. \bibitem[A.1(1962)]{A.1:5} , 1962. \newblock : : \allowbreak[M]. \newblock . \newblock : : 50. \bibitem[A.7(1977)]{A.7:5} , 1977. \newblock : \allowbreak[M]//\allowbreak : 1 . \newblock : : 49. \bibitem[A.7(1988)]{A.7:1} , 1988. \newblock 39 \allowbreak[M]//\allowbreak : . \newblock : : 590. \bibitem[4.2(2011)]{4.2.2:1} , 2011. \newblock : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : : 1109. \bibitem[(1997)]{10.2.4:1} , 1997. \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : : 33-34. \bibitem[(1996)]{10.2.4:2} , 1996. \newblock \allowbreak[M]. \newblock . \newblock : . \bibitem[(2000)]{A.9:1} , 2000. \newblock \allowbreak[N]. \newblock \allowbreak (15). \bibitem[(2013)]{A.3:1} , 2013. \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} , 1984. \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : . \bibitem[(2012)]{4.6.2:1} , 2012. \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[\ (2013), , and ]{A.1:8} , , , 2013. \newblock : \allowbreak[M]. \newblock : . \bibitem[(1957/1990)]{4.3.2:2} , 1957/1990. \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : . \bibitem[(2012)]{A.2:2} , 2012. \newblock \allowbreak[C]. \newblock : . \bibitem[\ (2001) and ]{4.1.2:9} , , 2001. \newblock \allowbreak[A]. \newblock : . \bibitem[(1985)]{A.2:1} , 1985. \newblock \allowbreak[G]. \newblock : . \bibitem[(2003)]{4.1.2:13} , 2003. \newblock : 2003\allowbreak[M/OL]. \newblock : \allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , , 2012. \newblock \allowbreak[J]. \newblock (), 52\allowbreak (11): 1518-1523. \bibitem[(2013)]{4.4.2:2} , 2013. \newblock : \allowbreak[N/OL]. \newblock \allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.1:11} , 2010. \newblock : \allowbreak[M/OL]. \newblock : : 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[\ (2000), , and ]{A.9:3} , , , 2000. \newblock \allowbreak[N/OL]. \newblock \allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[(2010{\natexlab{a}})]{4.1.2:4} , 2010{\natexlab{a}}. \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : : 2-3. \bibitem[(2010{\natexlab{b}})]{A.6:1} , 2010{\natexlab{b}}. \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : : 3. \bibitem[(2007)]{A.6:2} , 2007. \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : : 1. \bibitem[(2018)]{ch9-57} , 2018. \newblock \allowbreak[M]. \newblock : 337-337. \bibitem[(2000)]{8.7:1} , 2000. \newblock \allowbreak[D/OL]. \newblock : : 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[(2019)]{ch9-52} , 2019. \newblock \allowbreak[J]. \newblock . \bibitem[\ (2013), , , et~al.]{A.9:4} , , , , 2013. \newblock , ?\allowbreak[N/OL]. \newblock \allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} , 2005. \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[\ (2012) and ]{4.1.2:3} , , 2012. \newblock \allowbreak[M]. \newblock : : 112. \bibitem[(2011)]{4.1.2:12} , 2011. \newblock \allowbreak[M/OL]. \newblock : : 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} , 2003. \newblock \allowbreak[D/OL]. \newblock : \allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.1.2:2} , 2012. \newblock \allowbreak[M]. \newblock , . \newblock : : 235-236. \bibitem[(1988)]{A.7:4} , 1988. \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : : 59-92. \bibitem[(1996)]{A.6:3} , 1996. \newblock : GB 156161995\allowbreak[S/OL]. \newblock : : 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.1:10} , 2012. \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : . \bibitem[\ (2020), , and ]{ch9-53} , , , 2020. \newblock \allowbreak[J]. \newblock \allowbreak (16): 1. \bibitem[(2002)]{A.1:1} , 2002. \newblock \allowbreak[M]. \newblock : : 288. \bibitem[(2012)]{A.5:1} , 2012. \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2000)]{A.9:2} , 2000. \newblock DNA \allowbreak[N]. \newblock \allowbreak (7). \bibitem[\ (2010) and ]{4.1.2:5} , , 2010. \newblock \allowbreak[M]. \newblock : . \bibitem[\ (2010) and ]{4.4.2:4} , , 2010. \newblock : \allowbreak[J/OL]. \newblock (), 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} , 2012. \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[(2008{\natexlab{a}})]{4.4.2:3} , 2008{\natexlab{a}}. \newblock \allowbreak[J/OL]. \newblock , 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[(2008{\natexlab{b}})]{A.8:2} , 2008{\natexlab{b}}. \newblock \allowbreak[J]. \newblock , 52\allowbreak (6): 6-21. \bibitem[\ (2021), , , , and ]{ch9-33} , , , , 2021. \newblock \allowbreak[J]. \newblock , 48\allowbreak (4): 63-64. \bibitem[(2012)]{4.1.2:10} , 2012. \newblock \allowbreak[D/OL]. \newblock : \allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2013)]{A.8:1} , 2013. \newblock \allowbreak[J]. \newblock \allowbreak (1): 56-75. \bibitem[\ (2011) and ]{A.7:6} , , 2011. \newblock \allowbreak[M/OL]//\allowbreak . \newblock . \newblock : : 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , , 2008. \newblock \allowbreak[J/OL]. \newblock , 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , , 2013. \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[(2002)]{A.7:3} , 2002. \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : : 22-25. \bibitem[(1881)]{A.1:6} , 1881. \newblock : \allowbreak[M]. \newblock . \newblock : . \bibitem[(2001)]{A.5:2} , 2001. \newblock : 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[\ (2012), , and ]{4.1.2:8} , , , 2012. \newblock \allowbreak[C]. \newblock : . \bibitem[(1865())]{4.1.2:7} , 1865(). \newblock \allowbreak[M]. \newblock . \newblock : . \bibitem[(1998)]{A.7:2} , 1998. \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : : 146-163. \bibitem[(2009)]{A.1:2} , 2009. \newblock : 4 \allowbreak[M]. \newblock : : 155. \bibitem[(1999)]{4.2.2:2} , 1999. \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : : 32-36. \bibitem[(2009)]{A.1:9} , 2009. \newblock \allowbreak[M]. \newblock , , , . \newblock : . \bibitem[(2011)]{10.1.3:3} , 2011. \newblock : \allowbreak[M]. \newblock , , , . \newblock : : 15-16. \bibitem[(2010)]{A.1:4} , 2010. \newblock \allowbreak[M]. \newblock , , . \newblock : : 38-39. \bibitem[\ (2010), , and ]{A.1:3} , , , 2010. \newblock : \allowbreak[M]. \newblock : : 112. \bibitem[(2019)]{ch9-51} , 2019. \newblock \allowbreak[J/OL]. \newblock : 4. \newblock DOI: \doi{10.27307/d.cnki.gsjtu.2019.001909}. \bibitem[(2001)]{A.10:1} , 2001. \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , , 1998. \newblock \allowbreak[M]. \newblock : . \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , , 2012. \newblock : \allowbreak[J]. \newblock , 57\allowbreak (34): 3219. \bibitem[(2002)]{4.5.2:2} , 2002. \newblock : 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[\ (2011) and ]{4.2.2:5} , , 2011. \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : : 45-52. \bibitem[(2001)]{4.1.2:11} , 2001. \newblock \allowbreak[M/OL]. \newblock : \allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2006)]{4.5.2:1} , 2006. \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2010)]{A.8:4} , 2010. \newblock \allowbreak[J/OL]. \newblock , 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[(2011)]{A.2:4} , 2011. \newblock : \allowbreak[C/OL]. \newblock : \allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , , 1980. \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : : 56-114. \bibitem[(2000{\natexlab{a}})]{10.1.3:4} , 2000{\natexlab{a}}. \newblock : 1 \allowbreak[M]. \newblock : : 29. \bibitem[(2000{\natexlab{b}})]{4.1.2:1} , 2000{\natexlab{b}}. \newblock : 1 \allowbreak[M]. \newblock : : 29. \bibitem[(2012)]{A.2:3} , 2012. \newblock : \allowbreak[C]. \newblock : . \bibitem[(1992)]{4.1.2:6} , 1992. \newblock : \allowbreak[M]. \newblock : . \bibitem[(2013)]{4.2.2:4} , 2013. \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : : 302. \bibitem[(2011)]{A.4:1} , 2011. \newblock \allowbreak[D/OL]. \newblock : : 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}, 1883. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science. \bibitem[8.1(1981)]{8.1.3} Anon, 1981. \newblock Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 283\allowbreak (6292): 628. \bibitem[ch9({\natexlab{k}})]{ch9-1} Anon. \newblock Elios 2\allowbreak[Z]. \bibitem[ch9({\natexlab{l}})]{ch9-10} Anon. \newblock Cw-10\allowbreak[Z]. \bibitem[ch9({\natexlab{m}})]{ch9-11} Anon. \newblock Jouav\allowbreak[Z]. \bibitem[ch9({\natexlab{n}})]{ch9-12} Anon. \newblock X-hawk\allowbreak[Z]. \bibitem[ch9({\natexlab{o}})]{ch9-13} Anon. \newblock Quantix recon\allowbreak[Z]. \bibitem[ch9({\natexlab{p}})]{ch9-15} Anon. \newblock Vertikul 2\allowbreak[Z]. \bibitem[ch9({\natexlab{q}})]{ch9-16} Anon. \newblock Falcon\allowbreak[Z]. \bibitem[ch9({\natexlab{r}})]{ch9-17} Anon. \newblock v40\allowbreak[Z]. \bibitem[ch9({\natexlab{s}})]{ch9-18} Anon. \newblock Pegasus\allowbreak[Z]. \bibitem[ch9({\natexlab{t}})]{ch9-19} Anon. \newblock The hexh2o\allowbreak[Z]. \bibitem[ch9({\natexlab{u}})]{ch9-21} Anon. \newblock Drones\allowbreak[Z]. \bibitem[ch9({\natexlab{v}})]{ch9-23} Anon. \newblock Tando\allowbreak[Z]. \bibitem[ch9({\natexlab{w}})]{ch9-24} Anon. \newblock Ring\allowbreak[Z]. \bibitem[ch9({\natexlab{x}})]{ch9-29} Anon. \newblock Volocity\allowbreak[Z]. \bibitem[ch9({\natexlab{y}})]{ch9-30} Anon. \newblock Joby\allowbreak[Z]. \bibitem[ch9({\natexlab{z}})]{ch9-34} Anon. \newblock Exynaero\allowbreak[Z]. \bibitem[ch9({\natexlab{aa}})]{ch9-35} Anon. \newblock Gpr+drone integrated system\allowbreak[Z]. \bibitem[ch9({\natexlab{ab}})]{ch9-37} Anon. \newblock Bug\allowbreak[Z]. \bibitem[ch9({\natexlab{ac}})]{ch9-38} Anon. \newblock Songar\allowbreak[Z]. \bibitem[ch9({\natexlab{ad}})]{ch9-39} Anon. \newblock Lmadis\allowbreak[Z]. \bibitem[ch9({\natexlab{ae}})]{ch9-4} Anon. \newblock Flying autonomous robots\allowbreak[Z]. \bibitem[ch9({\natexlab{af}})]{ch9-40} Anon. \newblock Sapsan-bekas\allowbreak[Z]. \bibitem[ch9({\natexlab{ag}})]{ch9-41} Anon. \newblock Dronekiller\allowbreak[Z]. \bibitem[ch9({\natexlab{ah}})]{ch9-42} Anon. \newblock Athena\allowbreak[Z]. \bibitem[ch9({\natexlab{ai}})]{ch9-43} Anon. \newblock Clws\allowbreak[Z]. \bibitem[ch9({\natexlab{aj}})]{ch9-44} Anon. \newblock High-energy lasers\allowbreak[Z]. \bibitem[ch9({\natexlab{ak}})]{ch9-45} Anon. \newblock Auds\allowbreak[Z]. \bibitem[ch9({\natexlab{al}})]{ch9-46} Anon. \newblock Dronebullet\allowbreak[Z]. \bibitem[ch9({\natexlab{am}})]{ch9-47} Anon. \newblock Leonidas\allowbreak[Z]. \bibitem[ch9({\natexlab{an}})]{ch9-48} Anon. \newblock Dronehunter\allowbreak[Z]. \bibitem[ch9({\natexlab{ao}})]{ch9-49} Anon. \newblock Flying squad amazing moment golden eagle tackles drone in mid-air as military chiefs train birds of prey to keep skies safe\allowbreak[Z]. \bibitem[ch9({\natexlab{ap}})]{ch9-5} Anon. \newblock Skyty\allowbreak[Z]. \bibitem[ch9({\natexlab{aq}})]{ch9-58} Anon. \newblock Cityairbus\allowbreak[Z]. \bibitem[ch9({\natexlab{ar}})]{ch9-6} Anon. \newblock Mk destiny\allowbreak[Z]. \bibitem[ch9({\natexlab{as}})]{ch9-8} Anon. \newblock The fotokite sigma\allowbreak[Z]. \bibitem[ch9({\natexlab{at}})]{ch9-9} Anon. \newblock Cw-30\allowbreak[Z]. \bibitem[A.6(2009)]{A.6:4} Anon, 2009. \newblock Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Anon, 2012. \newblock Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al., 2014. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E, 1995. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P, 2011. \newblock Developing early childhood services: Past, present and future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D, 2008. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R, c1980. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America: 117-211. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M, 2011. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 8-9. \bibitem[Calms(1965)]{A.4:3} CALMS R~B, 1965. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P, 1993. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 4\allowbreak (2): 61-66. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E, 1982. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}, [2013]. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[Crane(1972)]{10.2.1:1} CRANE D, 1972. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M, 1995. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al., 1992. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 359: 605-609. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D, 2013. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Ding et~al.(2018)Ding, Han, Xiang, Ge, and Zhang]{ch9-50} DING D, HAN Q~L, XIANG Y, et~al., 2018. \newblock A survey on security control and attack detection for industrial cyber-physical systems\allowbreak[J/OL]. \newblock Neurocomputing, 48: 1674-1683. \newblock DOI: \doi{10.1016/j.neucom.2017.10.009}. \bibitem[Dowler(1995)]{9.1:6} DOWLER L, 1995. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 21\allowbreak (1/2): 5-26. \bibitem[Falanga et~al.(2019)Falanga, Kleber, Mintchev, Floreano, and Scaramuzza]{ch9-2} FALANGA D, KLEBER K, MINTCHEV S, et~al., 2019. \newblock The foldable drone: A morphing quadrotor that can squeeze and fly\allowbreak[J/OL]. \newblock IEEE Robotics and Automation Letters, 4\allowbreak (2): 209-216. \newblock DOI: \doi{10.1109/LRA.2018.2885575}. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H, 2013. \newblock Food irradiation research and technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E, c1971. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME: 17-38. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al., 2013. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J/OL]. \newblock ACS Chemical Biology, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B, 2013. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock Biology, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A, 2009. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}, 1977. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC. \bibitem[Kamel et~al.(2018)Kamel, Verling, Elkhatib, Sprecher, Wulkop, Taylor, Siegwart, and Gilitschenski]{ch9-3} KAMEL M~S, VERLING S, ELKHATIB O, et~al., 2018. \newblock Voliro: An omnidirectional hexacopter with tiltable rotors\allowbreak[J/OL]. \newblock IEEE Robotics and Automation Magazine, abs/18/01,04581\allowbreak (4): 33-34. \newblock DOI: \doi{10.1109/MRA.2018.2866758}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H, 1998. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 279\allowbreak (5359): 2063. \bibitem[Kennedy et~al.(1975{\natexlab{a}})Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E, 1975{\natexlab{a}}. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 22: 311. \bibitem[Kennedy et~al.(1975{\natexlab{b}})Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E, 1975{\natexlab{b}}. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 8: 339. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A, 2012. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al., 2002. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I, 2010. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al., 2014. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock Nature, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A, 1994. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}, [2012]. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y, 2010. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr, 2001. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A, 2011. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc.: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[Quan et~al.()Quan, Li, and Fu]{ch9-56} QUAN Q, LI M, FU R. \newblock Sky highway design for dense traffic\allowbreak[J/OL]. \newblock IFAC Symposium on Control in Transportation Systems. \newblock DOI: \doi{10.1016/j.ifacol.2021.06.019}. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G, 2011. \newblock Drinking water standards, regulations and goals\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K, 2006. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 57\allowbreak (5/6): 169-176. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F, 1981. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 42\allowbreak (6): 549-560. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R, 1996. \newblock Social norms and social roles\allowbreak[J/OL]. \newblock Columbia law review, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al., 2005. \newblock Electronic watermarking method and system: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}, 1990. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E, 2013. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock Biology, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N, 1974. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders: 745-772. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}, 1970. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO. \bibitem[Xiao et~al.(2021)Xiao, Meng, Dai, Zhang, and Quan]{ch9-14} XIAO K, MENG Y, DAI X, et~al., 2021. \newblock A lifting wing fixed on multirotor uavs for long flight ranges\allowbreak[J]. \newblock 2021 International Conference on Unmanned Aircraft Systems. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A, 2000. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema. \bibitem[Zhang et~al.(2021)Zhang, Song, and Quan]{ch9-55} ZHANG H, SONG Z, QUAN Q, 2021. \newblock Performance evaluation and design method of lifting-wing multicopters\allowbreak[J/OL]. \newblock IEEE/ASME Transactions on Mechatronics: 1-1. \newblock DOI: \doi{10.1109/TMECH.2021.3090667}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/year-suffix-overflow.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
11,315
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D]. \newblock : , 2012. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M]. \newblock : , 2001. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M]. \newblock : , 2011: 5-6. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M]. \newblock : , 2003. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M]. \newblock Rotterdam: Open University Press, 2011: 105. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N]. \newblock , 2013-01-12\allowbreak (2). \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-12. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J]. \newblock (), 2010, 4\allowbreak (3): 225-228. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J/OL]. \newblock , 2008, 33\allowbreak (5): 8-9. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 378-398. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock Nature, 2014, 510: 356-362. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P]. \newblock 2002-03-06. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P]. \newblock 2005-07-05. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R]. \newblock 2012. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A]. \newblock 2005. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D/OL]. \newblock : , 2000: 17-18. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22. \newblock DOI: \doi{10.1002/9781444305036.ch2}. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J]. \newblock Columbia law review, 1996, 96: 903. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M]. \newblock : , 2010: 119. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M]. \newblock Cambridge, Mass.: MIT Press, 2012: 50. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C]. \newblock : , 2011. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R]. \newblock 2013. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R]. \newblock 2013. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D]. \newblock : , 2011: 27. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D]. \newblock : , 2003. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P]. \newblock 2001-10-24. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P]. \newblock 2002-05-25. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S]. \newblock : , 1996: 2-3. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S]. \newblock 2009. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 2011: 011-012. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J/OL]. \newblock , 2010, 7\allowbreak (10): 93. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 399-418. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \allowbreak[N]. \newblock , 2000-01-12. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N]. \newblock , 2013-01-12. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-no-url.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
7,708
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2015,numerical,no-slash}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/option-no-slash.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
258
```unknown \begin{thebibliography}{128} \providecommand{\biband}{} \providecommand{\bibetal}{} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[{\biband}(2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[{\biband}(2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ {\bibetal}(2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[{\biband}(2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D/OL]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M/OL]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M/OL]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M/OL]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan{\biband}Sommers(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ {\bibetal}(1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[{\biband}(2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein{\biband}Swertz(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson{\biband}Burneson(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ {\bibetal}(2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J/OL]. \newblock , 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[{\biband}(2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J/OL]. \newblock (), 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ {\bibetal}(2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J/OL]. \newblock , 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese {\bibetal}(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg {\bibetal}(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock Nature, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana {\bibetal}(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D/OL]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell{\biband}Igler(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker{\biband}Jackson(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J/OL]. \newblock Columbia law review, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ {\bibetal}(2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy{\biband}Garrison(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy{\biband}Garrison(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ {\bibetal}(2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ {\bibetal}(1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ {\bibetal}(2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M/OL]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford{\biband}Gorman(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C/OL]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu {\bibetal}(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ {\bibetal}(2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin {\bibetal}(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D/OL]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D/OL]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki {\bibetal}(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S/OL]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S/OL]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[{\biband}(2011) and ]{A.7:6} , . \newblock \allowbreak[M/OL]//\allowbreak . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck {\bibetal}(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ {\bibetal}(2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J/OL]. \newblock , 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais {\bibetal}(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito{\biband}Miyazaki(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls {\bibetal}(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz {\bibetal}(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J/OL]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park{\biband}Tosaka(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ {\bibetal}(2000), , and ]{A.9:3} , , . \newblock \allowbreak[N/OL]. \newblock , 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ {\bibetal}(2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/ucas-numerical.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,749
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D/OL]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M/OL]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M/OL]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M/OL]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N/OL]. \newblock \href{path_to_url}{}, 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J/OL]. \newblock \href{path_to_url}{}, 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J/OL]. \newblock \href{path_to_url}{()}, 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J/OL]. \newblock \href{path_to_url}{}, 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock \href{path_to_url}{Biology}, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock \href{path_to_url}{Nature}, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D/OL]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J/OL]. \newblock \href{path_to_url}{Columbia law review}, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M/OL]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C/OL]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D/OL]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D/OL]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S/OL]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S/OL]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \allowbreak[M/OL]//\allowbreak . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J/OL]. \newblock \href{path_to_url}{}, 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock \href{path_to_url}{Biology}, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J/OL]. \newblock \href{path_to_url}{ACS Chemical Biology}, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J/OL]. \newblock \href{path_to_url}{Cataloging \& classification quarterly}, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \allowbreak[N/OL]. \newblock \href{path_to_url}{}, 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N/OL]. \newblock \href{path_to_url}{}, 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-link-jounal.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,766
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{ucas,2015,numerical}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/ucas-numerical.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
257
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2015,numerical}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> @preprint{kingma2014adam, title = {Adam: A Method for Stochastic Optimization}, shorttitle = {Adam}, author = {Kingma, Diederik P. and Ba, Jimmy}, year = {2014}, month = dec, eprint = {1412.6980}, eprinttype = {arxiv}, url = {path_to_url}, urldate = {2017-04-19}, archiveprefix = {arXiv}, } @article{finn2017modelagnostic, title = {Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks}, author = {Finn, Chelsea and Abbeel, Pieter and Levine, Sergey}, date = {2017-07-17}, month = jul, journal = {arXiv:1703.03400 [cs]}, eprint = {1703.03400}, eprinttype = {arxiv}, primaryclass = {cs}, url = {path_to_url}, urldate = {2018-04-08}, archiveprefix = {arXiv}, } %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/option-preprint.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
524
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{ustc,2015,numerical}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> 2.14 2.14.1 2 (1) @book{2.14.1.2.1:1, editor = {}, title = {19992010}, address = {}, publisher = {}, year = {2016}, pages = {222}, } @book{2.14.1.2.1:2, author = {}, title = {}, edition = {2}, address = {}, publisher = {}, year = {2016}, pages = {61}, } @book{2.14.1.2.1:3, author = {}, title = {}, address = {}, publisher = {}, year = {2014}, } @book{2.14.1.2.1:4, author = {Crawford, Walt and Gorman, Michael}, title = {Future Libraries: Dreams, Madness, \& Reality}, address = {Chicago}, publisher = {American Library Association}, year = {1995}, } @book{2.14.1.2.1:5, author = {{International Federation of Library Association and Institutions}}, title = {Names of Persons: National Usage for Entry in Catalogues}, edition = {3}, address = {London}, publisher = {IFLA Internation Office for UBC}, year = {1977}, } (2) @incollection{2.14.1.2.2:1, author = {}, title = {1998}, editor = { and }, booktitle = {}, address = {}, publisher = {}, year = {1999}, pages = {26--32}, } @incollection{2.14.1.2.2:2, author = { and and and and }, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {1980}, pages = {56--114}, } @incollection{2.14.1.2.2:3, title = {Subsolidus Phenomena in Pyroxenes}, author = {Buseck, Peter R and Nord, Jr., Gordon L and Veblen, David R}, editor = {Charles T. Prewitt}, booktitle = {Pyroxenes}, address = {Washington, D.C.}, publisher = {Mineralogical Society of America}, year = {1980}, pages = {117--211}, } @inproceedings{2.14.1.2.2:4, author = {Fourney, M E}, title = {Advances in Holographic Photoelasticity}, booktitle = {American Society of Mechanical EngineersApplied Mechanics DivisionSymposium on Applications of Holography in Mechanics, August 23-25,1971,University of Southern California, Los Angeles, California}, address = {New York}, publisher = {ASME}, year = {1971}, pages = {17--38}, } (3) @article{2.14.1.2.3:1, author = { and and }, title = {}, journal = {}, year = {2015}, volume = {26}, number = {10}, pages = {1100--1103}, } @article{2.14.1.2.3:2, author = {}, title = {}, journal = {}, year = {2013}, number = {1}, pages = {56--75}, } @article{2.14.1.2.3:3, author = { and and and others}, title = {}, journal = {()}, year = {2012}, volume = {52}, number = {11}, pages = {1518--1521}, } @article{2.14.1.2.3:4, author = {Des Marais, David J and Strauss, H and Summons, R E and others}, title = {Carbon Isotope Evidence for the Stepwise Oxidation of the Proterozoic Environment}, journal = {Nature}, year = {1992}, volume = {359}, pages = {605--609}, } @article{2.14.1.2.3:5, title = {Technical Services in 1983}, author = {HEWITT, Joe A}, journal = {Library Resource Services}, year = {1984}, } (4) @newspaper{2.14.1.2.4:1, author = {}, title = {}, journal = {}, year = {2000}, date = {2000-11-20}, number = {15}, } (5) @patent{2.14.1.2.5:1, author = {}, title = {}, address = {}, number = {88105607.3}, year = {1989}, date = {1989-07-26}, } (6) @database{2.14.1.2.6:1, author = {}, title = {1983--1993}, medium = {CD}, address = {}, publisher = {}, year = {1996}, } @article{2.14.1.2.6:2, author = {Mlot, Christine}, title = {Plant Physiology: Plant Biology in the {Genome Era}}, journal = {Science}, year = {1998}, volume = {281}, pages = {331--332}, urldate = {1998-09-23}, } (7) @phdthesis{2.14.1.2.7:1, author = {}, title = {}, address = {}, school = {}, year = {2000}, } @phdthesis{2.14.1.2.7:2, author = {Cairns, Bruce Richard}, title = {Infrared Spectroscopic Studies of Solid Oxygen}, address = {Berkeley}, school = {Univ. of California}, date = {1965}, } (8) @proceedings{2.14.1.2.8:1, editor = {}, title = { 3 }, address = {}, year = {1990}, } @proceedings{2.14.1.2.8:2, editor = {Rosenthall, Edward M}, title = {Proceedings of the Fifth Canadian Mathematical Congress, University of Montreal, 1961}, address = {Toronto}, publisher = {University of Toronto Press}, year = {1963}, } %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/ustc-numerical.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
1,853
```unknown \begin{thebibliography}{7} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(1997)]{10-2:1} , 1997. \newblock \allowbreak[M]. \newblock : : 16. \bibitem[(1996)]{10-2:2} , 1996. \newblock \allowbreak[J]. \newblock \allowbreak (2): 24-29. \bibitem[Baker et~al.(1995)Baker and Jackson]{10-2:3} Baker S~K, Jackson M~E, 1995. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press. \bibitem[Crane(1972)]{10-2:4} Crane D, 1972. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press. \bibitem[Jha et~al.(2004)Jha, Gassman, Secchi, Gu, and Arnold]{10-2:5} Jha M, Gassman P~W, Secchi S, et~al., 2004. \newblock Effect of watershed subdivision on {SWAT} flow, sediment, and nutrient predictions\allowbreak[J]. \newblock Journal of the American Water Resources Association, 40\allowbreak (3): 811-825. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10-2:6} Kennedy W~L, Garrison R~E, 1975. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 22: 311. \bibitem[Stieg(1981)]{10-2:7} Stieg M~F, 1981. \newblock The information needs of historians\allowbreak[J]. \newblock College and Research Libraries, 42\allowbreak (6): 549-560. \end{thebibliography} ```
/content/code_sandbox/test/testbst/thu-author-year.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
596
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D/OL]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M/OL]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M/OL]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M/OL]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J/OL]. \newblock , 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J/OL]. \newblock (), 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J/OL]. \newblock , 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock Nature, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D/OL]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J/OL]. \newblock Columbia law review, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M/OL]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C/OL]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock [S.l.: s.n.], 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D/OL]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D/OL]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S/OL]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S/OL]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \allowbreak[M/OL]//\allowbreak . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J/OL]. \newblock , 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J/OL]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \allowbreak[N/OL]. \newblock , 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-sl-sn.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,649
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(1998)]{10.2.4:3} . 1998. \newblock : \allowbreak[J]. \newblock \allowbreak (5): 38-39. \bibitem[(1996)]{9.1:3} . 1996. \newblock \allowbreak[M]. \newblock , , . \newblock : . \bibitem[(1981)]{10.2.4:4} . 1981. \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : : 2-10. \bibitem[(1997)]{9.1:4} . 1997. \newblock \allowbreak[M]. \newblock : : 16. \bibitem[\ (2010{\natexlab{a}}), , and ]{10.2.3:1a} , , . 2010{\natexlab{a}}. \newblock \allowbreak[J]. \newblock (), 37\allowbreak (4): 147. \bibitem[(2010{\natexlab{b}})]{10.2.3:1b} . 2010{\natexlab{b}}. \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : : 138. \bibitem[(1996)]{9.1:5} . 1996. \newblock \allowbreak[J]. \newblock \allowbreak (2): 24-29. \bibitem[A.1(1962)]{A.1:5} . 1962. \newblock : : \allowbreak[M]. \newblock . \newblock : : 50. \bibitem[A.7(1977)]{A.7:5} . 1977. \newblock : \allowbreak[M]//\allowbreak : 1 . \newblock : : 49. \bibitem[A.7(1988)]{A.7:1} . 1988. \newblock 39 \allowbreak[M]//\allowbreak : . \newblock : : 590. \bibitem[4.2(2011)]{4.2.2:1} . 2011. \newblock : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : : 1109. \bibitem[(1997)]{10.2.4:1} . 1997. \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : : 33-34. \bibitem[(1996)]{10.2.4:2} . 1996. \newblock \allowbreak[M]. \newblock . \newblock : . \bibitem[(2000)]{A.9:1} . 2000. \newblock \allowbreak[N]. \newblock \allowbreak (15). \bibitem[(2013)]{A.3:1} . 2013. \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . 1984. \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : . \bibitem[(2012)]{4.6.2:1} . 2012. \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[\ (2013), , and ]{A.1:8} , , . 2013. \newblock : \allowbreak[M]. \newblock : . \bibitem[(1957/1990)]{4.3.2:2} . 1957/1990. \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : . \bibitem[(2012)]{A.2:2} . 2012. \newblock \allowbreak[C]. \newblock : . \bibitem[\ (2001) and ]{4.1.2:9} , . 2001. \newblock \allowbreak[A]. \newblock : . \bibitem[(1985)]{A.2:1} . 1985. \newblock \allowbreak[G]. \newblock : . \bibitem[(2003)]{4.1.2:13} . 2003. \newblock : 2003\allowbreak[M/OL]. \newblock : \allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . 2012. \newblock \allowbreak[J]. \newblock (), 52\allowbreak (11): 1518-1523. \bibitem[(2013)]{4.4.2:2} . 2013. \newblock : \allowbreak[N/OL]. \newblock \allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.1:11} . 2010. \newblock : \allowbreak[M/OL]. \newblock : : 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[\ (2000), , and ]{A.9:3} , , . 2000. \newblock \allowbreak[N/OL]. \newblock \allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[(2010{\natexlab{a}})]{4.1.2:4} . 2010{\natexlab{a}}. \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : : 2-3. \bibitem[(2010{\natexlab{b}})]{A.6:1} . 2010{\natexlab{b}}. \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : : 3. \bibitem[(2007)]{A.6:2} . 2007. \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : : 1. \bibitem[(2000)]{8.7:1} . 2000. \newblock \allowbreak[D/OL]. \newblock : : 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . 2013. \newblock , ?\allowbreak[N/OL]. \newblock \allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . 2005. \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[\ (2012) and ]{4.1.2:3} , . 2012. \newblock \allowbreak[M]. \newblock : : 112. \bibitem[(2011)]{4.1.2:12} . 2011. \newblock \allowbreak[M/OL]. \newblock : : 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . 2003. \newblock \allowbreak[D/OL]. \newblock : \allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.1.2:2} . 2012. \newblock \allowbreak[M]. \newblock , . \newblock : : 235-236. \bibitem[(1988)]{A.7:4} . 1988. \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : : 59-92. \bibitem[(1996)]{A.6:3} . 1996. \newblock : GB 156161995\allowbreak[S/OL]. \newblock : : 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.1:10} . 2012. \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : . \bibitem[(2002)]{A.1:1} . 2002. \newblock \allowbreak[M]. \newblock : : 288. \bibitem[(2012)]{A.5:1} . 2012. \newblock : , 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2000)]{A.9:2} . 2000. \newblock DNA \allowbreak[N]. \newblock \allowbreak (7). \bibitem[\ (2010) and ]{4.1.2:5} , . 2010. \newblock \allowbreak[M]. \newblock : . \bibitem[\ (2010) and ]{4.4.2:4} , . 2010. \newblock : \allowbreak[J/OL]. \newblock (), 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . 2012. \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[(2008{\natexlab{a}})]{4.4.2:3} . 2008{\natexlab{a}}. \newblock \allowbreak[J/OL]. \newblock , 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[(2008{\natexlab{b}})]{A.8:2} . 2008{\natexlab{b}}. \newblock \allowbreak[J]. \newblock , 52\allowbreak (6): 6-21. \bibitem[(2012)]{4.1.2:10} . 2012. \newblock \allowbreak[D/OL]. \newblock : \allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2013)]{A.8:1} . 2013. \newblock \allowbreak[J]. \newblock \allowbreak (1): 56-75. \bibitem[\ (2011) and ]{A.7:6} , . 2011. \newblock \allowbreak[M/OL]//\allowbreak . \newblock . \newblock : : 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . 2008. \newblock \allowbreak[J/OL]. \newblock , 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . 2013. \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[(2002)]{A.7:3} . 2002. \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : : 22-25. \bibitem[(1881)]{A.1:6} . 1881. \newblock : \allowbreak[M]. \newblock . \newblock : . \bibitem[(2001)]{A.5:2} . 2001. \newblock : , 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[\ (2012), , and ]{4.1.2:8} , , . 2012. \newblock \allowbreak[C]. \newblock : . \bibitem[(1865())]{4.1.2:7} . 1865(). \newblock \allowbreak[M]. \newblock . \newblock : . \bibitem[(1998)]{A.7:2} . 1998. \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : : 146-163. \bibitem[(2009)]{A.1:2} . 2009. \newblock : 4 \allowbreak[M]. \newblock : : 155. \bibitem[(1999)]{4.2.2:2} . 1999. \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : : 32-36. \bibitem[(2009)]{A.1:9} . 2009. \newblock \allowbreak[M]. \newblock , , , . \newblock : . \bibitem[(2011)]{10.1.3:3} . 2011. \newblock : \allowbreak[M]. \newblock , , , . \newblock : : 15-16. \bibitem[(2010)]{A.1:4} . 2010. \newblock \allowbreak[M]. \newblock , , . \newblock : : 38-39. \bibitem[\ (2010), , and ]{A.1:3} , , . 2010. \newblock : \allowbreak[M]. \newblock : : 112. \bibitem[(2001)]{A.10:1} . 2001. \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . 1998. \newblock \allowbreak[M]. \newblock : . \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . 2012. \newblock : \allowbreak[J]. \newblock , 57\allowbreak (34): 3219. \bibitem[(2002)]{4.5.2:2} . 2002. \newblock : , 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[\ (2011) and ]{4.2.2:5} , . 2011. \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : : 45-52. \bibitem[(2001)]{4.1.2:11} . 2001. \newblock \allowbreak[M/OL]. \newblock : \allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2006)]{4.5.2:1} . 2006. \newblock : , 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2010)]{A.8:4} . 2010. \newblock \allowbreak[J/OL]. \newblock , 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2011)]{A.2:4} . 2011. \newblock : \allowbreak[C/OL]. \newblock : \allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . 1980. \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : : 56-114. \bibitem[(2000{\natexlab{a}})]{10.1.3:4} . 2000{\natexlab{a}}. \newblock : 1 \allowbreak[M]. \newblock : : 29. \bibitem[(2000{\natexlab{b}})]{4.1.2:1} . 2000{\natexlab{b}}. \newblock : 1 \allowbreak[M]. \newblock : : 29. \bibitem[(2012)]{A.2:3} . 2012. \newblock : \allowbreak[C]. \newblock : . \bibitem[(1992)]{4.1.2:6} . 1992. \newblock : \allowbreak[M]. \newblock : . \bibitem[(2013)]{4.2.2:4} . 2013. \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : : 302. \bibitem[(2011)]{A.4:1} . 2011. \newblock \allowbreak[D/OL]. \newblock : : 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. 1883. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science. \bibitem[8.1(1981)]{8.1.3} Anon. 1981. \newblock Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 283\allowbreak (6292): 628. \bibitem[A.6(2009)]{A.6:4} Anon. 2009. \newblock Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Anon. 2012. \newblock Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. 2014. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. 1995. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. 2011. \newblock Developing early childhood services: Past, present and future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. 2008. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. c1980. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America: 117-211. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. 2011. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 8-9. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. 1965. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. 1993. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 4\allowbreak (2): 61-66. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. 1982. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. [2013]. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. 1972. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. 1995. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. 1992. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 359: 605-609. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. 2013. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. 1995. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 21\allowbreak (1/2): 5-26. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. 2013. \newblock Food irradiation research and technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. c1971. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME: 17-38. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. 2013. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J/OL]. \newblock ACS Chemical Biology, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. 2013. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock Biology, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. 2009. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. 1977. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. 1998. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 279\allowbreak (5359): 2063. \bibitem[Kennedy et~al.(1975{\natexlab{a}})Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. 1975{\natexlab{a}}. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 22: 311. \bibitem[Kennedy et~al.(1975{\natexlab{b}})Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. 1975{\natexlab{b}}. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 8: 339. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. 2012. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. 2002. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. 2010. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. 2014. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock Nature, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. 1994. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. [2012]. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. 2010. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. 2001. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. 2011. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc.: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. 2011. \newblock Drinking water standards, regulations and goals\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. 2006. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 57\allowbreak (5/6): 169-176. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. 1981. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 42\allowbreak (6): 549-560. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. 1996. \newblock Social norms and social roles\allowbreak[J/OL]. \newblock Columbia law review, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. 2005. \newblock Electronic watermarking method and system: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. 1990. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. 2013. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock Biology, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. 1974. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders: 745-772. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. 1970. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. 2000. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-2005-author-year.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,732
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D/OL]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M/OL]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M/OL]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M/OL]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J/OL]. \newblock , 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J/OL]. \newblock (), 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J/OL]. \newblock , 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock Nature, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D/OL]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J/OL]. \newblock Columbia law review, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M/OL]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C/OL]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D/OL]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D/OL]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S/OL]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S/OL]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \allowbreak[M/OL]//\allowbreak . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J/OL]. \newblock , 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J/OL]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \allowbreak[N/OL]. \newblock , 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-no-doi.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,511
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N]. \newblock , 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J]. \newblock (), 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J]. \newblock , 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J]. \newblock Biology, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J]. \newblock Nature, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J]. \newblock Columbia law review, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J]. \newblock , 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J]. \newblock Biology, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \allowbreak[N]. \newblock , 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N]. \newblock , 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-no-medium-type.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,545
```unknown \begin{thebibliography}{128} \providecommand{\biband}{} \providecommand{\bibetal}{} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ {\bibetal}(2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ {\bibetal}(2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ {\bibetal}(2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ {\bibetal}(2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D/OL]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M/OL]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M/OL]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M/OL]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan {\bibetal}(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ {\bibetal}(1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ {\bibetal}(2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein {\bibetal}(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson {\bibetal}(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ {\bibetal}(2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J/OL]. \newblock , 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[\ {\bibetal}(2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J/OL]. \newblock (), 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ {\bibetal}(2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J/OL]. \newblock , 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese {\bibetal}(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg {\bibetal}(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock Nature, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana {\bibetal}(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D/OL]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell {\bibetal}(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker {\bibetal}(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J/OL]. \newblock Columbia law review, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ {\bibetal}(2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy {\bibetal}(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy {\bibetal}(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ {\bibetal}(2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ {\bibetal}(1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ {\bibetal}(2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M/OL]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford {\bibetal}(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C/OL]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu {\bibetal}(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ {\bibetal}(2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin {\bibetal}(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D/OL]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D/OL]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki {\bibetal}(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S/OL]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S/OL]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ {\bibetal}(2011) and ]{A.7:6} , . \newblock \allowbreak[M/OL]//\allowbreak . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck {\bibetal}(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ {\bibetal}(2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J/OL]. \newblock , 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais {\bibetal}(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito {\bibetal}(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls {\bibetal}(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz {\bibetal}(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J/OL]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park {\bibetal}(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ {\bibetal}(2000), , and ]{A.9:3} , , . \newblock \allowbreak[N/OL]. \newblock , 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ {\bibetal}(2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-macro.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,719
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2015,author-year}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> @misc{ch9-1, title = {ELIOS 2}, howpublished = {path_to_url} } @article{ch9-2, author = {Davide Falanga and Kevin Kleber and Stefano Mintchev and Dario Floreano and Davide Scaramuzza}, title = {The Foldable Drone: A Morphing Quadrotor That Can Squeeze and Fly}, journal = {IEEE Robotics and Automation Letters}, volume = {4}, number = {2}, pages = {209-216}, year = {2019}, doi = {10.1109/LRA.2018.2885575} } @article{ch9-3, author = {Kamel, Mina Samir and Verling, Sebastian and Elkhatib, Omar and Sprecher, Christian and Wulkop, Paula and Taylor, Zachary and Siegwart, Roland and Gilitschenski, Igor}, title = {Voliro: An Omnidirectional Hexacopter With Tiltable Rotors}, journal = {IEEE Robotics and Automation Magazine}, volume = {abs/18/01,04581}, number = {4}, pages = {33-34}, year = {2018}, doi = {10.1109/MRA.2018.2866758} } @misc{ch9-4, title = {Flying Autonomous Robots}, howpublished = {path_to_url} } @misc{ch9-5, title = {SkyTy}, howpublished = {path_to_url} } @misc{ch9-6, title = {MK Destiny}, howpublished = {path_to_url} } @misc{ch9-7, title = {}, howpublished = {path_to_url} } @misc{ch9-8, title = {The Fotokite Sigma}, howpublished = {path_to_url} } @misc{ch9-9, title = {CW-30}, howpublished = {path_to_url} } @misc{ch9-10, title = {CW-10}, howpublished = {path_to_url} } @misc{ch9-11, title = {JOUAV}, howpublished = {path_to_url} } @misc{ch9-12, title = {X-HAWK}, howpublished = {path_to_url} } @misc{ch9-13, title = {Quantix Recon}, howpublished = {path_to_url} } @article{ch9-14, author = {Xiao, Kun and Meng, Yao and Dai, Xunhua and Zhang, Haotian and Quan, Quan}, title = {A Lifting Wing Fixed on Multirotor UAVs for Long Flight Ranges}, journal = {2021 International Conference on Unmanned Aircraft Systems}, year = {2021} } @misc{ch9-15, title = {VERTIKUL 2}, howpublished = {path_to_url} } @misc{ch9-16, title = {Falcon}, howpublished = {path_to_url} } @misc{ch9-17, title = {v40}, howpublished = {path_to_url} } @misc{ch9-18, title = {Pegasus}, howpublished = {path_to_url} } @misc{ch9-19, title = {The HexH2o}, howpublished = {path_to_url} } @misc{ch9-20, title = {}, howpublished = {path_to_url} } @misc{ch9-21, title = {Drones}, howpublished = {path_to_url} } @misc{ch9-22, title = {}, howpublished = {path_to_url} } @misc{ch9-23, title = {Tando}, howpublished = {path_to_url} } @misc{ch9-24, title = {Ring}, howpublished = {path_to_url} } @misc{ch9-25, title = {2020-}, howpublished = {path_to_url } } @misc{ch9-26, title = {}, howpublished = {path_to_url} } @misc{ch9-27, title = {}, howpublished = {path_to_url} } @misc{ch9-28, title = {216}, howpublished = {path_to_url} } @misc{ch9-29, title = {VoloCity}, howpublished = {path_to_url} } @misc{ch9-30, title = {Joby}, howpublished = {path_to_url} } @misc{ch9-31, title = {216F}, howpublished = {path_to_url} } @misc{ch9-32, title = {+=}, howpublished = {path_to_url} } @article{ch9-33, author = { and and and and }, title = {}, journal = {}, volume = {48}, number = {4}, pages = {63-64}, year = {2021} } @misc{ch9-34, title = {ExynAero}, howpublished = {path_to_url} } @misc{ch9-35, title = {GPR+DRONE INTEGRATED SYSTEM}, howpublished = {path_to_url} } @misc{ch9-36, title = {AF-L100 }, howpublished = {path_to_url} } @misc{ch9-37, title = {BUG}, howpublished = {path_to_url} } @misc{ch9-38, title = {SONGAR}, howpublished = {path_to_url} } @misc{ch9-39, title = {LMADIS}, howpublished = {path_to_url} } @misc{ch9-40, title = {Sapsan-Bekas}, howpublished = {path_to_url} } @misc{ch9-41, title = {DRONEKILLER}, howpublished = {path_to_url} } @misc{ch9-42, title = {ATHENA}, howpublished = {path_to_url} } @misc{ch9-43, title = {CLWS}, howpublished = {path_to_url} } @misc{ch9-44, title = {High-Energy Lasers}, howpublished = {path_to_url} } @misc{ch9-45, title = {AUDS}, howpublished = {path_to_url} } @misc{ch9-46, title = {DRONEBULLET}, howpublished = {path_to_url} } @misc{ch9-47, title = {Leonidas}, howpublished = {path_to_url} } @misc{ch9-48, title = {DroneHunter}, howpublished = {path_to_url} } @misc{ch9-49, title = {FLYING SQUAD Amazing moment golden eagle tackles drone in mid-air as military chiefs train birds of prey to keep skies safe}, howpublished = {path_to_url} } @article{ch9-50, author = {Derui Ding and Qing-Long Han and Yang Xiang and Xiaohua Ge and Xian-Ming Zhang}, title = {A survey on security control and attack detection for industrial cyber-physical systems}, journal = {Neurocomputing}, volume = {48}, pages = {1674-1683}, year = {2018}, doi = {10.1016/j.neucom.2017.10.009} } @article{ch9-51, author = {}, title = {}, journal = {}, pages = {4}, year = {2019}, doi = {10.27307/d.cnki.gsjtu.2019.001909} } @article{ch9-52, author = {}, title = {}, journal = {}, year = {2019} } @article{ch9-53, author = { and and }, title = {}, journal = {}, pages = {1}, number = {16}, year = {2020} } @article{ch9-55, author = {Haitian Zhang and Z. Song and Q. Quan}, title = {Performance Evaluation and Design Method of Lifting-wing Multicopters}, journal = {IEEE/ASME Transactions on Mechatronics}, pages = {1-1}, year = {2021}, doi = {10.1109/TMECH.2021.3090667} } @article{ch9-56, author = {Quan Quan and Mengxin Li and Rao Fu}, title = {Sky Highway Design for Dense Traffic}, journal = {IFAC Symposium on Control in Transportation Systems}, doi = {10.1016/j.ifacol.2021.06.019} } @book{ch9-57, title = {}, author = {}, year = {2018}, pages = {337-337}, publisher = {} } @misc{ch9-58, title = {CityAirbus}, howpublished = {path_to_url#ove} } %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/year-suffix-overflow.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
2,399
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D/OL]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M/OL]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M/OL]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M/OL]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]. \newblock . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]. \newblock , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]. \newblock . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]. \newblock , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]. \newblock . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]. \newblock In: SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M/OL]. \newblock In: {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J/OL]. \newblock , 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J/OL]. \newblock (), 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J/OL]. \newblock , 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock Nature, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D/OL]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J/OL]. \newblock Columbia law review, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]. \newblock . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]. \newblock . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]. \newblock . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M/OL]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C/OL]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D/OL]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D/OL]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S/OL]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S/OL]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]. \newblock : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]. \newblock . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]. \newblock . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]. \newblock . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]. \newblock : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \allowbreak[M/OL]. \newblock . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]. \newblock In: Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]. \newblock In: Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J/OL]. \newblock , 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J/OL]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \allowbreak[N/OL]. \newblock , 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-in-collection.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,600
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2015,thu,author-year}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> @book{10-2:1, author = {}, title = {}, address = {}, publisher = {}, year = {1997}, pages = {16}, key = {wang1 bing1}, } @article{10-2:2, author = {}, title = {}, journal = {}, year = {1996}, number = {2}, pages = {24--29}, key = {yang2 zong1 ying1}, } @book{10-2:3, author = {Baker, S K and Jackson, M E}, title = {The Future of Resource Sharing}, address = {New York}, publisher = {The Haworth Press}, year = {1995}, } @book{10-2:4, author = {Crane, Diana}, year = {1972}, title = {Invisible College}, address = {Chicago}, publisher = {Univ. of Chicago Press}, } @article{10-2:5, author = {Jha, Manoj and Gassman, Philip W. and Secchi, Silvia and Gu, Roy and Arnold, Jeff}, year = {2004}, title = {Effect of Watershed Subdivision on {SWAT} Flow, Sediment, and Nutrient Predictions}, journal = {Journal of the American Water Resources Association}, volume = {40}, number = {3}, pages = {811--825}, } @article{10-2:6, author = {Kennedy, W L and Garrison, R E}, year = {1975}, title = {Morphology and Genesis of Nodular Chalks and Hardgrounds in the {Upper Cretaceous of southern England}}, journal = {Sedimentology}, volume = {22}, pages = {311}, } @article{10-2:7, author = {Stieg, Margaret F}, year = {1981}, title = {The Information Needs of Historians}, journal = {College and Research Libraries}, volume = {42}, number = {6}, pages = {549--560}, } %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/thu-author-year.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
771
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D]. \newblock : , 2012. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M]. \newblock : , 2001. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M]. \newblock : , 2011: 5-6. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M]. \newblock : , 2003. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M]. \newblock Rotterdam: Open University Press, 2011: 105. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N]. \newblock , 2013-01-12\allowbreak (2). \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-12. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J]. \newblock (), 2010, 4\allowbreak (3): 225-228. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J]. \newblock , 2008, 33\allowbreak (5): 8-9. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J]. \newblock Biology, 2013, 2\allowbreak (1): 378-398. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J]. \newblock Nature, 2014, 510: 356-362. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P]. \newblock 2002-03-06. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P]. \newblock 2005-07-05. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R]. \newblock 2012. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A]. \newblock 2005. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D]. \newblock : , 2000: 17-18. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D]. \newblock New York: John Wiley \& Sons, 2013: 21-22. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J]. \newblock Columbia law review, 1996, 96: 903. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M]. \newblock : , 2010: 119. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M]. \newblock Cambridge, Mass.: MIT Press, 2012: 50. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C]. \newblock : , 2011. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R]. \newblock 2013. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R]. \newblock 2013. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D]. \newblock : , 2011: 27. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D]. \newblock : , 2003. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P]. \newblock 2001-10-24. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P]. \newblock 2002-05-25. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S]. \newblock : , 1996: 2-3. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S]. \newblock 2009. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 2011: 011-012. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J]. \newblock , 2010, 7\allowbreak (10): 93. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J]. \newblock Biology, 2013, 2\allowbreak (1): 399-418. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \allowbreak[N]. \newblock , 2000-01-12. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N]. \newblock , 2013-01-12. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-no-url-doi.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
7,536
```unknown \begin{thebibliography}{22} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2016)]{2.14.1.2.1:1} . \newblock 19992010\allowbreak[M]. \newblock : , 2016: 222. \bibitem[(2016)]{2.14.1.2.1:2} . \newblock \allowbreak[M]. \newblock 2 . \newblock : , 2016: 61. \bibitem[(2014)]{2.14.1.2.1:3} . \newblock \allowbreak[M]. \newblock : , 2014. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{2.14.1.2.1:4} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{2.14.1.2.1:5} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usage for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA Internation Office for UBC, 1977. \bibitem[(1999)]{2.14.1.2.2:1} . \newblock 1998\allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 26-32. \bibitem[\ (1980), , , , and ]{2.14.1.2.2:2} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[Buseck et~al.(1980)Buseck, Nord, and Veblen]{2.14.1.2.2:3} BUSECK P~R, NORD G~L, Jr., VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak PREWITT C~T. \newblock Pyroxenes. \newblock Washington, D.C.: Mineralogical Society of America, 1980: 117-211. \bibitem[Fourney(1971)]{2.14.1.2.2:4} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak American Society of Mechanical EngineersApplied Mechanics DivisionSymposium on Applications of Holography in Mechanics, August 23-25,1971,University of Southern California, Los Angeles, California. \newblock New York: ASME, 1971: 17-38. \bibitem[\ (2015), , and ]{2.14.1.2.3:1} , , . \newblock \allowbreak[J]. \newblock , 2015, 26\allowbreak (10): 1100-1103. \bibitem[(2013)]{2.14.1.2.3:2} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[\ (2012), , , et~al.]{2.14.1.2.3:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1521. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{2.14.1.2.3:4} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[HEWITT(1984)]{2.14.1.2.3:5} HEWITT J~A. \newblock Technical services in 1983\allowbreak[J]. \newblock Library Resource Services, 1984. \bibitem[(2000)]{2.14.1.2.4:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(1989)]{2.14.1.2.5:1} . \newblock : , 88105607.3\allowbreak[P]. \newblock 1989-07-26. \bibitem[(1996)]{2.14.1.2.6:1} . \newblock 1983--1993\allowbreak[DB/CD]. \newblock : , 1996. \bibitem[Mlot(1998)]{2.14.1.2.6:2} MLOT C. \newblock Plant physiology: Plant biology in the {Genome Era}\allowbreak[J]. \newblock Science, 1998, 281: 331-332. \bibitem[(2000)]{2.14.1.2.7:1} . \newblock \allowbreak[D]. \newblock : , 2000. \bibitem[Cairns(1965)]{2.14.1.2.7:2} CAIRNS B~R. \newblock Infrared spectroscopic studies of solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(1990)]{2.14.1.2.8:1} . \newblock 3 \allowbreak[C]. \newblock , 1990. \bibitem[Rosenthall(1963)]{2.14.1.2.8:2} ROSENTHALL E~M. \newblock Proceedings of the fifth canadian mathematical congress, university of montreal, 1961\allowbreak[C]. \newblock Toronto: University of Toronto Press, 1963. \end{thebibliography} ```
/content/code_sandbox/test/testbst/ustc-numerical.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
1,559
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{ustc,2015,author-year}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> 2.14.2 - @book{2.14.2:1, author = {Baker, S K and Jackson, M E}, title = {The Future of Resource Sharing}, address = {New York}, publisher = {The Haworth Press}, year = {1995}, } @book{2.14.2:2, author = {}, title = {}, translator = { and }, address = {}, publisher = {}, year = {1996}, key = {ni2 ge3 luo4 pang2 di4}, } @article{2.14.2:3, author = {}, title = {}, journal = {}, year = {1996}, number = {2}, pages = {24--29}, key = {yang2 zong1 ying1}, } @book{2.14.2:4, author = {}, year = {2014}, title = {}, address = {}, puslisher = {}, key = {liu2 bin1}, } %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/ustc-author-year.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
509
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{ucas,2015,author-year}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/ucas-author-year.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
257
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2015,numerical,only-start-page}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/option-only-start-page.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
259
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D/OL]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M/OL]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M/OL]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M/OL]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, Random Variables, and Random Signal Principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and Computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing Early Childhood Services: Past, Present and Future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food Irradiation Research and Technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic Properties of Invading Microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking Water Standards, Regulations and Goals\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J/OL]. \newblock , 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J/OL]. \newblock (), 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J/OL]. \newblock , 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without Quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging Internet Resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation Sequencing: from Understanding Biology to Personalized Medicine\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The Genome of Eucalyptus Grandis\allowbreak[J/OL]. \newblock Nature, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic Watermarking Method and System: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and Concepts of Digital Literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of Cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and Metadata: Dublin Core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee Drinking and Cancer of the Pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D/OL]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A Companion to {California} History\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The Future of Resource Sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to Library Services for Library Technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The Research University's Dilemma: Resource Sharing and Research in a Transinstitutional Environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social Norms and Social Roles\allowbreak[J/OL]. \newblock Columbia law review, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the West Rules for Now: the Patterns of History, and What They Reveal about the Future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible College\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The Information Needs of Historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and Genesis of Nodular Chalks and Hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and Genesis of Nodular Phosphates in the Cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M/OL]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future Libraries: Dreams, Madness, \& Reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of Persons: National Usages for Entry in Catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to Information Systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, Sciences, and Struggle: the Global Politics of Transgenic Crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by Theory: a Tale of Mystery and Archaeological Theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C/OL]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A Comparative Risk Assessment Framework for Wildland Fire Management: the 2010 Cohesive Strategy Science Report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for Handling Excavated Acid-producing Material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors Regulating the Immune Response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D/OL]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D/OL]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared Spectroscopic Studies on Solid Oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S/OL]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} Information and Documentation---the {Dublin} Cord Metadata Element Set: ISO 15836: 2009\allowbreak[S/OL]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \allowbreak[M/OL]//\allowbreak . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus Phenomena in Pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in Holographic Photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J/OL]. \newblock , 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon Isotope Evidence for the Stepwise Oxidation of the Proterozoic Environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing Metagabbro in Serpentinite Mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, Deluge and Declines: the Impact of Precipitation Extremes on Amphibians in a Changing Climate\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic Screening with Oleaginous Microalgae Reveals Modulators of Lipid Productivity\allowbreak[J/OL]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata Quality Control in Digital Repositories and Collections: Criteria, Semantics, and Mechanisms\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \allowbreak[N/OL]. \newblock , 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania Library Laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin Core Metadata Element Set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-no-sentence-case.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,687
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2015,numerical,no-url}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/option-no-url.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
257
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \allowbreak[D/OL]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \allowbreak[M/OL]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \allowbreak[M/OL]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock : 2003\allowbreak[M/OL]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock Developing early childhood services: Past, present and future\allowbreak[M/OL]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock Food irradiation research and technology\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock Drinking water standards, regulations and goals\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock : \allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \allowbreak[J/OL]. \newblock , 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock : \allowbreak[J/OL]. \newblock (), 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \allowbreak[J/OL]. \newblock , 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock Next-generation sequencing: from understanding biology to personalized medicine\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock The genome of eucalyptus grandis\allowbreak[J/OL]. \newblock Nature, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock : 01128777.2\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock Electronic watermarking method and system: US6915001\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock 29 \allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock : [2005]37\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock Origins and concepts of digital literacy\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock About {OCLC}: History of cooperation\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock {UNIMARC} and metadata: Dublin core\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \allowbreak[D/OL]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock A companion to {California} history\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock Social norms and social roles\allowbreak[J/OL]. \newblock Columbia law review, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock : \allowbreak[M/OL]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock Seeds, sciences, and struggle: the global politics of transgenic crops\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock Death by theory: a tale of mystery and archaeological theory\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock : \allowbreak[C/OL]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock : \allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock : 7178999X-2006BAK04A10/10.2013\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \allowbreak[D/OL]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \allowbreak[D/OL]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock : 01129210.5\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock Compiler: US828402\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock : GB 156161995\allowbreak[S/OL]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009\allowbreak[S/OL]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \allowbreak[M/OL]//\allowbreak . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \allowbreak[J/OL]. \newblock , 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity\allowbreak[J/OL]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \allowbreak[N/OL]. \newblock , 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock , ?\allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock Pennsylvania library laws\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} Dublin core metadata element set: version 1.1\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/2015-numerical.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
8,641
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2015,numerical,no-doi}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/option-no-doi.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
258
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2015,numerical,no-mark}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/option-no-mark.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
257
```tex %<*internal> \begingroup \def\nameoflatex{LaTeX2e} \expandafter\endgroup\ifx\nameoflatexe\fmtname\else \csname fi\endcsname %</internal> %<*install> \input docstrip.tex \nopreamble \keepsilent \askforoverwritefalse \nopostamble \generate{ \file{test.aux}{\from{\jobname.dtx}{aux}} \file{test.bst}{\from{gbt7714.dtx}{2015,numerical,link-journal}} \file{test.bib}{\from{\jobname.dtx}{bib}} } \endbatchfile %</install> %<*internal> \fi %</internal> %<*driver> \ProvidesFile{\jobname.dtx} %</driver> % \fi % % \begin{macrocode} %<*aux> \bibstyle{test} \citation{*} \bibdata{test,standard} %</aux> % \end{macrocode} % % \begin{macrocode} %<*bib> %</bib> % \end{macrocode} \endinput ```
/content/code_sandbox/test/testbst/option-link-jounal.dtx
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
259
```tex \documentclass{ctexart} \usepackage{gbt7714} \usepackage{hyperref} \begin{document} \citestyle{super} Foo \nocite{*} \bibliographystyle{test} \bibliography{standard,test} \end{document} ```
/content/code_sandbox/test/testbst/support/test.tex
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
63
```tex \bibstyle{test} \citation{*} \bibdata{test,standard} ```
/content/code_sandbox/test/testbst/support/test.aux
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
19
```unknown \begin{thebibliography}{128} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{#1} \expandafter\ifx\csname urlstyle\endcsname\relax\else \urlstyle{same}\fi \expandafter\ifx\csname href\endcsname\relax \DeclareUrlCommand\doi{\urlstyle{rm}} \def\eprint#1#2{#2} \else \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}} \let\eprint\href \fi \bibitem[(2000)]{4.1.2:1} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2012)]{4.1.2:2} . \newblock \allowbreak[M]. \newblock , . \newblock : , 2012: 235-236. \bibitem[\ (2012) and ]{4.1.2:3} , . \newblock \allowbreak[M]. \newblock : , 2012: 112. \bibitem[(2010)]{4.1.2:4} . \newblock \quad : GB/T 251002010\allowbreak[S]. \newblock : , 2010: 2-3. \bibitem[\ (2010) and ]{4.1.2:5} , . \newblock \allowbreak[M]. \newblock : , 2010. \bibitem[(1992)]{4.1.2:6} . \newblock : \allowbreak[M]. \newblock : , 1992. \bibitem[(1865())]{4.1.2:7} . \newblock \allowbreak[M]. \newblock . \newblock : , 1865(). \bibitem[\ (2012), , and ]{4.1.2:8} , , . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[\ (2001) and ]{4.1.2:9} , . \newblock \allowbreak[A]. \newblock : , 2001. \bibitem[(2012)]{4.1.2:10} . \newblock \href{path_to_url}{}\allowbreak[D/OL]. \newblock : , 2012\allowbreak[2012-11-01]. \newblock \url{path_to_url}. \bibitem[(2001)]{4.1.2:11} . \newblock \href{path_to_url}{}\allowbreak[M/OL]. \newblock : , 2001\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[(2011)]{4.1.2:12} . \newblock \href{path_to_url}{}\allowbreak[M/OL]. \newblock : , 2011: 5-6\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[(2003)]{4.1.2:13} . \newblock \href{path_to_url}{: 2003}\allowbreak[M/OL]. \newblock : , 2003\allowbreak[2014-04-25]. \newblock \url{path_to_url}. \bibitem[Peebles(2001)]{4.1.2:14} PEEBLES P~Z, Jr. \newblock Probability, random variables, and random signal principles\allowbreak[M]. \newblock 4th ed. \newblock New York: McGraw-Hill, 2001. \bibitem[Yufin(2000)]{4.1.2:15} YUFIN S~A. \newblock Geoecology and computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000\allowbreak[C]. \newblock Rotterdam: A. A. Balkema, 2000. \bibitem[Baldock(2011)]{4.1.2:16} BALDOCK P. \newblock \href{path_to_url}{Developing early childhood services: Past, present and future}\allowbreak[M/OL]. \newblock Rotterdam: Open University Press, 2011: 105\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Fan et~al.(2013)Fan and Sommers]{4.1.2:17} FAN X, SOMMERS C~H. \newblock \href{path_to_url}{Food irradiation research and technology}\allowbreak[M/OL]. \newblock 2nd ed. \newblock Ames, Iowa: Blackwell Publishing, 2013: 25-26\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[4.2(2011)]{4.2.2:1} : 5\allowbreak[M]//\allowbreak . \newblock : 6 . \newblock : , 2011: 1109. \bibitem[(1999)]{4.2.2:2} . \newblock 1998 \allowbreak[M]//\allowbreak , . \newblock . \newblock : , 1999: 32-36. \bibitem[\ (1980), , , , and ]{4.2.2:3} , , , . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1980: 56-114. \bibitem[(2013)]{4.2.2:4} . \newblock \allowbreak[M]//\allowbreak , . \newblock : 35 . \newblock : , 2013: 302. \bibitem[\ (2011) and ]{4.2.2:5} , . \newblock \allowbreak[C]//\allowbreak . \newblock : 2011 . \newblock : , 2011: 45-52. \bibitem[Weinstein et~al.(1974)Weinstein and Swertz]{4.2.2:6} WEINSTEIN L, SWERTZ M~N. \newblock Pathogenic properties of invading microorganism\allowbreak[M]//\allowbreak SODEMAN W~A, Jr, SODEMAN W~A. \newblock Pathologic physiology: mechanisms of disease. \newblock Philadelphia: Saunders, 1974: 745-772. \bibitem[Roberson et~al.(2011)Roberson and Burneson]{4.2.2:7} ROBERSON J~A, BURNESON E~G. \newblock \href{path_to_url}{Drinking water standards, regulations and goals}\allowbreak[M/OL]//\allowbreak {American Water Works Association}. \newblock Water quality \& treatment: a handbook on drinking water. \newblock 6th ed. \newblock New York: McGraw-Hill, 2011: 1.1-1.36\allowbreak[2012-12-10]. \newblock \url{path_to_url}. \bibitem[(1984)]{4.3.2:1} . \newblock \allowbreak[J]. \newblock 1984, 1\allowbreak (1)--. \newblock : , 1984--. \bibitem[(1957/1990)]{4.3.2:2} . \newblock \allowbreak[J]. \newblock 1957\allowbreak (1)--1990\allowbreak (4). \newblock : , 1957--1990. \bibitem[{American Association for the Advancement of Science}(1883)]{4.3.2:3} {American Association for the Advancement of Science}. \newblock Science\allowbreak[J]. \newblock 1883, 1\allowbreak (1)--. \newblock Washington, D.C.: American Association for the Advancement of Science, 1883--. \bibitem[\ (2012), , , et~al.]{4.4.2:1} , , , . \newblock : \allowbreak[J]. \newblock , 2012, 57\allowbreak (34): 3219. \bibitem[(2013)]{4.4.2:2} . \newblock \href{path_to_url}{: }\allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak (2)\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \bibitem[(2008)]{4.4.2:3} . \newblock \href{path_to_url}{}\allowbreak[J/OL]. \newblock , 2008, 52\allowbreak (6): 6-12\allowbreak[2013-10-25]. \newblock \url{path_to_url}. \bibitem[\ (2010) and ]{4.4.2:4} , . \newblock \href{path_to_url}{: }\allowbreak[J/OL]. \newblock (), 2010, 4\allowbreak (3): 225-228\allowbreak[2014-06-09]. \newblock \url{path_to_url}. \bibitem[\ (2008), , , et~al.]{4.4.2:5} , , , . \newblock \href{path_to_url}{}\allowbreak[J/OL]. \newblock , 2008, 33\allowbreak (5): 8-9\allowbreak[2009-10-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3771/j.issn.1009-2307.2008.05.002}. \bibitem[Kanamori(1998)]{4.4.2:6} KANAMORI H. \newblock Shaking without quaking\allowbreak[J]. \newblock Science, 1998, 279\allowbreak (5359): 2063. \bibitem[Caplan(1993)]{4.4.2:7} CAPLAN P. \newblock Cataloging internet resources\allowbreak[J]. \newblock The public access computer systems review, 1993, 4\allowbreak (2): 61-66. \bibitem[Frese et~al.(2013)Frese, Katus, and Meder]{4.4.2:8} FRESE K~S, KATUS H~A, MEDER B. \newblock \href{path_to_url}{Next-generation sequencing: from understanding biology to personalized medicine}\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 378-398\allowbreak[2013-03-19]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010378}. \bibitem[Myburg et~al.(2014)Myburg, Grattapaglia, Tuskan, et~al.]{4.4.2:9} MYBURG A~A, GRATTAPAGLIA D, TUSKAN G~A, et~al. \newblock \href{path_to_url}{The genome of eucalyptus grandis}\allowbreak[J/OL]. \newblock Nature, 2014, 510: 356-362\allowbreak[2014-06-25]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.1038/nature13308}. \bibitem[(2006)]{4.5.2:1} . \newblock : 200610171314.3\allowbreak[P]. \newblock 2006-12-13. \bibitem[(2002)]{4.5.2:2} . \newblock \href{path_to_url}{: 01128777.2}\allowbreak[P/OL]. \newblock 2002-03-06\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Tachibana et~al.(2005)Tachibana, Shimizu, Kobayshi, and Nakamura]{4.5.2:3} TACHIBANA R, SHIMIZU S, KOBAYSHI S, et~al. \newblock \href{path_to_url}{Electronic watermarking method and system: US6915001}\allowbreak[P/OL]. \newblock 2005-07-05\allowbreak[2013-11-11]. \newblock \url{path_to_url}. \bibitem[(2012)]{4.6.2:1} . \newblock \href{path_to_url}{ 29 }\allowbreak[R/OL]. \newblock \allowbreak(2012-01-16)\allowbreak[2013-03-26]. \newblock \url{path_to_url}. \bibitem[(2005)]{4.6.2:2} . \newblock \href{path_to_url}{: [2005]37}\allowbreak[A/OL]. \newblock \allowbreak(2005-07-12)\allowbreak[2011-07-12]. \newblock \url{path_to_url}. \bibitem[Bawden(2008)]{4.6.2:3} BAWDEN D. \newblock \href{path_to_url~dbawden/digital%20literacy%20chapter.pdf}{Origins and concepts of digital literacy}\allowbreak[EB/OL]. \newblock \allowbreak(2008-05-04)\allowbreak[2013-03-08]. \newblock \url{path_to_url~dbawden/digital%20literacy%20chapter.pdf}. \bibitem[{Online Computer Library Center, Inc}({[2012]})]{4.6.2:4} {Online Computer Library Center, Inc}. \newblock \href{path_to_url}{About {OCLC}: History of cooperation}\allowbreak[EB/OL]. \newblock \allowbreak[2012-03-27]. \newblock \url{path_to_url}. \bibitem[Hopkinson(2009)]{4.6.2:5} HOPKINSON A. \newblock \href{path_to_url}{{UNIMARC} and metadata: Dublin core}\allowbreak[EB/OL]. \newblock \allowbreak(2009-04-22)\allowbreak[2013-03-27]. \newblock \url{path_to_url}. \bibitem[8.1(1981)]{8.1.3} Coffee drinking and cancer of the pancreas\allowbreak[J]. \newblock Br Med J, 1981, 283\allowbreak (6292): 628. \bibitem[(2000)]{8.7:1} . \newblock \href{path_to_url}{}\allowbreak[D/OL]. \newblock : , 2000: 17-18\allowbreak[2014-08-29]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.7666/d.y351065}. \bibitem[Deverell et~al.(2013)Deverell and Igler]{8.7:2} DEVERELL W, IGLER D. \newblock \href{path_to_url}{A companion to {California} history}\allowbreak[D/OL]. \newblock New York: John Wiley \& Sons, 2013: 21-22\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Baker et~al.(1995)Baker and Jackson]{9.1:1} BAKER S~K, JACKSON M~E. \newblock The future of resource sharing\allowbreak[M]. \newblock New York: The Haworth Press, 1995. \bibitem[Chernik(1982)]{9.1:2} CHERNIK B~E. \newblock Introduction to library services for library technicians\allowbreak[M]. \newblock Littleton, Colo.: Libraries Unlimited, Inc., 1982. \bibitem[(1996)]{9.1:3} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 1996. \bibitem[(1997)]{9.1:4} . \newblock \allowbreak[M]. \newblock : , 1997: 16. \bibitem[(1996)]{9.1:5} . \newblock \allowbreak[J]. \newblock , 1996\allowbreak (2): 24-29. \bibitem[Dowler(1995)]{9.1:6} DOWLER L. \newblock The research university's dilemma: Resource sharing and research in a transinstitutional environment\allowbreak[J]. \newblock Journal of library administration, 1995, 21\allowbreak (1/2): 5-26. \bibitem[Sunstein(1996)]{10.1.3:1} SUNSTEIN C~R. \newblock \href{path_to_url}{Social norms and social roles}\allowbreak[J/OL]. \newblock Columbia law review, 1996, 96: 903\allowbreak[2012-01-26]. \newblock \url{path_to_url}. \bibitem[Morri(2010)]{10.1.3:2} MORRI I. \newblock Why the west rules for now: the patterns of history, and what they reveal about the future\allowbreak[M]. \newblock New York: Farrar, Straus and Giroux, 2010. \bibitem[(2011)]{10.1.3:3} . \newblock : \allowbreak[M]. \newblock , , , . \newblock : , 2011: 15-16. \bibitem[Crane(1972)]{10.2.1:1} CRANE D. \newblock Invisible college\allowbreak[M]. \newblock Chicago: Univ. of Chicago Press, 1972. \bibitem[Stieg(1981)]{10.2.1:2} STIEG M~F. \newblock The information needs of historians\allowbreak[J]. \newblock College and research libraries, 1981, 42\allowbreak (6): 549-560. \bibitem[\ (2010), , and ]{10.2.3:1a} , , . \newblock \allowbreak[J]. \newblock (), 2010, 37\allowbreak (4): 147. \bibitem[(2010)]{10.2.3:1b} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2010: 138. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2a} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular chalks and hardgrounds in the {Upper Cretaceous of southern England}\allowbreak[J]. \newblock Sedimentology, 1975, 22: 311. \bibitem[Kennedy et~al.(1975)Kennedy and Garrison]{10.2.3:2b} KENNEDY W~L, GARRISON R~E. \newblock Morphology and genesis of nodular phosphates in the cenomanian of {South-east England}\allowbreak[J]. \newblock Lethaia, 1975, 8: 339. \bibitem[(1997)]{10.2.4:1} . \newblock ()\allowbreak[C]//\allowbreak . \newblock . \newblock : , 1997: 33-34. \bibitem[(1996)]{10.2.4:2} . \newblock \allowbreak[M]. \newblock . \newblock : , 1996. \bibitem[(1998)]{10.2.4:3} . \newblock : \allowbreak[J]. \newblock , 1998\allowbreak (5): 38-39. \bibitem[(1981)]{10.2.4:4} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 1981: 2-10. \bibitem[(2000)]{10.1.3:4} . \newblock : 1 \allowbreak[M]. \newblock : , 2000: 29. \bibitem[(2002)]{A.1:1} . \newblock \allowbreak[M]. \newblock : , 2002: 288. \bibitem[(2009)]{A.1:2} . \newblock : 4 \allowbreak[M]. \newblock : , 2009: 155. \bibitem[\ (2010), , and ]{A.1:3} , , . \newblock : \allowbreak[M]. \newblock : , 2010: 112. \bibitem[(2010)]{A.1:4} . \newblock \allowbreak[M]. \newblock , , . \newblock : , 2010: 38-39. \bibitem[A.1(1962)]{A.1:5} : : \allowbreak[M]. \newblock . \newblock : , 1962: 50. \bibitem[(1881)]{A.1:6} . \newblock : \allowbreak[M]. \newblock . \newblock : , 1881. \bibitem[\ (1998), , , et~al.]{A.1:7} , , , . \newblock \allowbreak[M]. \newblock : , 1998. \bibitem[\ (2013), , and ]{A.1:8} , , . \newblock : \allowbreak[M]. \newblock : , 2013. \bibitem[(2009)]{A.1:9} . \newblock \allowbreak[M]. \newblock , , , . \newblock : , 2009. \bibitem[(2012)]{A.1:10} . \newblock : 4 \allowbreak[M]. \newblock , , . 2 . \newblock : , 2012. \bibitem[(2010)]{A.1:11} . \newblock \href{path_to_url}{: }\allowbreak[M/OL]. \newblock : , 2010: 119\allowbreak[2012-11-27]. \newblock \url{path_to_url}. \bibitem[Crawford et~al.(1995)Crawford and Gorman]{A.1:12} CRAWFORD W, GORMAN M. \newblock Future libraries: Dreams, madness, \& reality\allowbreak[M]. \newblock Chicago: American Library Association, 1995. \bibitem[{International Federation of Library Association and Institutions}(1977)]{A.1:13} {International Federation of Library Association and Institutions}. \newblock Names of persons: National usages for entry in catalogues\allowbreak[M]. \newblock 3rd ed. \newblock London: IFLA International Office for UBC, 1977. \bibitem[O'Brien(1994)]{A.1:14} O'BRIEN J~A. \newblock Introduction to information systems\allowbreak[M]. \newblock 7th ed. \newblock Burr Ridge, III: Irwin, 1994. \bibitem[Kinchy(2012)]{A.1:15} KINCHY A. \newblock \href{path_to_url}{Seeds, sciences, and struggle: the global politics of transgenic crops}\allowbreak[M/OL]. \newblock Cambridge, Mass.: MIT Press, 2012: 50\allowbreak[2013-07-14]. \newblock \url{path_to_url}. \bibitem[Praetzellis(2011)]{A.1:16} PRAETZELLIS A. \newblock \href{path_to_url}{Death by theory: a tale of mystery and archaeological theory}\allowbreak[M/OL]. \newblock Rev. ed. ed. \newblock Rowman \& Littlefield Publishing Group, Inc., 2011: 13\allowbreak[2012-07-26]. \newblock \url{path_to_url}. \bibitem[(1985)]{A.2:1} . \newblock \allowbreak[G]. \newblock : , 1985. \bibitem[(2012)]{A.2:2} . \newblock \allowbreak[C]. \newblock : , 2012. \bibitem[(2012)]{A.2:3} . \newblock : \allowbreak[C]. \newblock : , 2012. \bibitem[(2011)]{A.2:4} . \newblock \href{path_to_url}{: }\allowbreak[C/OL]. \newblock : , 2011\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Babu et~al.(2014)Babu, Nagar, Deep, et~al.]{A.2:5} BABU B~V, NAGAR A~K, DEEP K, et~al. \newblock Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012\allowbreak[C]. \newblock New Delhi: Springer, 2014. \bibitem[(2013)]{A.3:1} . \newblock \href{path_to_url}{: }\allowbreak[R/OL]. \newblock \allowbreak(2013-04-16)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.3:2} , , , . \newblock \href{path_to_url}{: 7178999X-2006BAK04A10/10.2013}\allowbreak[R/OL]. \newblock \allowbreak(2013-09-30)\allowbreak[2014-06-24]. \newblock \url{path_to_url}. \bibitem[Calkin et~al.(2011)Calkin, Ager, and Thompson]{A.3:3} CALKIN D, AGER A, THOMPSON M. \newblock A comparative risk assessment framework for wildland fire management: the 2010 cohesive strategy science report: RMRS-GTR-262\allowbreak[R]. \newblock 2011: 8-9. \bibitem[{U.S. Department of Transportation Federal Highway Administration}(1990)]{A.3:4} {U.S. Department of Transportation Federal Highway Administration}. \newblock Guidelines for handling excavated acid-producing material: {PB 91-194001}\allowbreak[R]. \newblock Springfield: U.S. Department of Commerce National Information Service, 1990. \bibitem[{World Health Organization}(1970)]{A.3:5} {World Health Organization}. \newblock Factors regulating the immune response: Report of {WHO Scientific Group}\allowbreak[R]. \newblock Geneva: WHO, 1970. \bibitem[(2011)]{A.4:1} . \newblock \href{path_to_url}{}\allowbreak[D/OL]. \newblock : , 2011: 27\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[(2003)]{A.4:2} . \newblock \href{path_to_url}{}\allowbreak[D/OL]. \newblock : , 2003\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[Calms(1965)]{A.4:3} CALMS R~B. \newblock Infrared spectroscopic studies on solid oxygen\allowbreak[D]. \newblock Berkeley: Univ. of California, 1965. \bibitem[(2012)]{A.5:1} . \newblock : 201220158825.2\allowbreak[P]. \newblock 2012-04-05. \bibitem[(2001)]{A.5:2} . \newblock \href{path_to_url}{: 01129210.5}\allowbreak[P/OL]. \newblock 2001-10-24\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[Koseki et~al.(2002)Koseki, Momose, Kawahito, et~al.]{A.5:3} KOSEKI A, MOMOSE H, KAWAHITO M, et~al. \newblock \href{path_to_url}{Compiler: US828402}\allowbreak[P/OL]. \newblock 2002-05-25\allowbreak[2002-05-28]. \newblock \url{path_to_url}. \bibitem[(2010)]{A.6:1} . \newblock : 4 \quad : GB/T 3792.72009\allowbreak[S]. \newblock : , 2010: 3. \bibitem[(2007)]{A.6:2} . \newblock : 2 \quad : GY/T 202.22007\allowbreak[S]. \newblock : , 2007: 1. \bibitem[(1996)]{A.6:3} . \newblock \href{path_to_url}{: GB 156161995}\allowbreak[S/OL]. \newblock : , 1996: 2-3\allowbreak[2013-10-14]. \newblock \url{path_to_url}. \bibitem[A.6(2009)]{A.6:4} \href{path_to_url}{Information and documentation---the {Dublin} cord metadata element set: ISO 15836: 2009}\allowbreak[S/OL]. \newblock 2009\allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.7(1988)]{A.7:1} 39 \allowbreak[M]//\allowbreak : . \newblock : , 1988: 590. \bibitem[(1998)]{A.7:2} . \newblock \allowbreak[M]//\allowbreak . \newblock . \newblock : , 1998: 146-163. \bibitem[(2002)]{A.7:3} . \newblock \allowbreak[C]//\allowbreak . \newblock . \newblock : , 2002: 22-25. \bibitem[(1988)]{A.7:4} . \newblock : GB/T 26591986\allowbreak[S]//\allowbreak . \newblock : 3. \newblock : , 1988: 59-92. \bibitem[A.7(1977)]{A.7:5} : \allowbreak[M]//\allowbreak : 1 . \newblock : , 1977: 49. \bibitem[\ (2011) and ]{A.7:6} , . \newblock \href{path_to_url}{}\allowbreak[M/OL]//\allowbreak . \newblock . \newblock : , 2011: 011-012\allowbreak[2013-05-09]. \newblock \url{path_to_url}. \bibitem[Buseck et~al.(c1980)Buseck, Nord, and Veblen]{A.7:7} BUSECK P~R, NORD G~L, Jr, VEBLEN D~R. \newblock Subsolidus phenomena in pyroxenes\allowbreak[M]//\allowbreak Pyroxense. \newblock Washington, D.C.: Mineralogical Society of America, c1980: 117-211. \bibitem[Fourney(c1971)]{A.7:8} FOURNEY M~E. \newblock Advances in holographic photoelasticity\allowbreak[C]//\allowbreak Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}. \newblock New York: ASME, c1971: 17-38. \bibitem[(2013)]{A.8:1} . \newblock \allowbreak[J]. \newblock , 2013\allowbreak (1): 56-75. \bibitem[(2008)]{A.8:2} . \newblock \allowbreak[J]. \newblock , 2008, 52\allowbreak (6): 6-21. \bibitem[\ (2012), , , et~al.]{A.8:3} , , , . \newblock \allowbreak[J]. \newblock (), 2012, 52\allowbreak (11): 1518-1523. \bibitem[(2010)]{A.8:4} . \newblock \href{path_to_url}{}\allowbreak[J/OL]. \newblock , 2010, 7\allowbreak (10): 93\allowbreak[2013-03-20]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3969/j.issn.1672-5603.2010.10.038}. \bibitem[Des~Marais et~al.(1992)Des~Marais, Strauss, Summons, et~al.]{A.8:5} DES~MARAIS D~J, STRAUSS H, SUMMONS R~E, et~al. \newblock Carbon isotope evidence for the stepwise oxidation of the proterozoic environment\allowbreak[J]. \newblock Nature, 1992, 359: 605-609. \bibitem[Saito et~al.(2006)Saito and Miyazaki]{A.8:6} SAITO M, MIYAZAKI K. \newblock Jadeite-bearing metagabbro in serpentinite mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}\allowbreak[J]. \newblock Bulletin of the geological survey of Japan, 2006, 57\allowbreak (5/6): 169-176. \bibitem[Walls et~al.(2013)Walls, Barichivich, and Brown]{A.8:7} WALLS S~C, BARICHIVICH W~J, BROWN M~E. \newblock \href{path_to_url}{Drought, deluge and declines: the impact of precipitation extremes on amphibians in a changing climate}\allowbreak[J/OL]. \newblock Biology, 2013, 2\allowbreak (1): 399-418\allowbreak[2013-11-04]. \newblock \url{path_to_url}. \newblock DOI: \doi{10.3390/biology2010399}. \bibitem[Franz et~al.(2013)Franz, Danielewicz, Wong, Anderson, and Boothe]{A.8:8} FRANZ A~K, DANIELEWICZ M~A, WONG D~M, et~al. \newblock \href{path_to_url}{Phenotypic screening with oleaginous microalgae reveals modulators of lipid productivity}\allowbreak[J/OL]. \newblock ACS Chemical Biology, 2013, 8: 1053-1062\allowbreak[2014-06-26]. \newblock \url{path_to_url}. \bibitem[Park et~al.(2010)Park and Tosaka]{A.8:9} PARK J~R, TOSAKA Y. \newblock \href{path_to_url}{Metadata quality control in digital repositories and collections: Criteria, semantics, and mechanisms}\allowbreak[J/OL]. \newblock Cataloging \& classification quarterly, 2010, 48\allowbreak (8): 696-715\allowbreak[2013-09-05]. \newblock \url{path_to_url}. \bibitem[(2000)]{A.9:1} . \newblock \allowbreak[N]. \newblock , 2000-11-20\allowbreak (15). \bibitem[(2000)]{A.9:2} . \newblock DNA \allowbreak[N]. \newblock , 2000-11-12\allowbreak (7). \bibitem[\ (2000), , and ]{A.9:3} , , . \newblock \href{path_to_url}{}\allowbreak[N/OL]. \newblock , 2000-01-12\allowbreak[2005-09-28]. \newblock \url{path_to_url}. \bibitem[\ (2013), , , et~al.]{A.9:4} , , , . \newblock \href{path_to_url}{, ?}\allowbreak[N/OL]. \newblock , 2013-01-12\allowbreak[2013-11-06]. \newblock \url{path_to_url}. \bibitem[(2001)]{A.10:1} . \newblock \href{path_to_url}{}\allowbreak[EB/OL]. \newblock \allowbreak(2001-12-19)\allowbreak[2002-04-15]. \newblock \url{path_to_url}. \bibitem[(2012)]{A.10:2} . \newblock \href{path_to_url}{}\allowbreak[EB/OL]. \newblock \allowbreak(2012-05-03)\allowbreak[2013-03-25]. \newblock \url{path_to_url}. \bibitem[{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}({[2013]})]{A.10:3} {Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}. \newblock \href{path_to_url}{Pennsylvania library laws}\allowbreak[EB/OL]. \newblock \allowbreak[2013-03-24]. \newblock \url{path_to_url}. \bibitem[A.1(2012)]{A.10:4} \href{path_to_url}{Dublin core metadata element set: version 1.1}\allowbreak[EB/OL]. \newblock \allowbreak(2012-06-14)\allowbreak[2014-06-11]. \newblock \url{path_to_url}. \end{thebibliography} ```
/content/code_sandbox/test/testbst/option-link-title.bbl
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
9,071
```tex \documentclass{ctexart} \usepackage[sort]{gbt7714} \begin{document} \nocite{*} \bibliographystyle{gbt7714-numerical} \bibliography{standard} \end{document} ```
/content/code_sandbox/examples/gbt7714-2015-examples.tex
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
55
```tex 4 4.1 4.1.2 @book{4.1.2:1, author = {}, title = {}, volume = {1}, address = {}, publisher = {}, year = {2000}, pages = {29}, } @book{4.1.2:2, author = {}, translator = {}, title = {}, address = {}, publisher = {}, year = {2012}, pages = {235--236}, } @book{4.1.2:3, author = { and }, title = {}, address = {}, publisher = {}, year = {2012}, pages = {112}, } @standard{4.1.2:4, author = {}, title = {\quad }, number = {GB/T 251002010}, address = {}, publisher = {}, year = {2010}, pages = {2--3}, } @book{4.1.2:5, author = { and }, title = {}, address = {}, publisher = {}, year = {2010}, } @book{4.1.2:6, author = {}, title = {: }, address = {}, publisher = {}, year = {1992}, } @book{4.1.2:7, author = {}, title = {}, edition = {}, address = {}, publisher = {}, year = {1865()}, } @proceedings{4.1.2:8, editor = { and and }, title = {}, address = {}, publisher = {}, year = {2012}, } @archive{4.1.2:9, author = { and }, title = {}, address = {}, publisher = {}, year = {2001}, } @phdthesis{4.1.2:10, author = {}, title = {}, address = {}, publisher = {}, year = {2012}, urldate = {2012-11-01}, url = {path_to_url}, } @book{4.1.2:11, author = {}, title = {}, address = {}, publisher = {}, year = {2001}, urldate = {2014-06-11}, url = {path_to_url}, } @book{4.1.2:12, author = {}, title = {}, address = {}, publisher = {}, year = {2011}, pages = {5--6}, urldate = {2013-05-09}, url = {path_to_url}, } @book{4.1.2:13, author = {}, title = {: 2003}, address = {}, publisher = {}, year = {2003}, urldate = {2014-04-25}, url = {path_to_url}, } @book{4.1.2:14, author = {Peebles, Jr, Peyton Z.}, title = {Probability, Random Variables, and Random Signal Principles}, edition = {4}, address = {New York}, publisher = {McGraw-Hill}, year = {2001}, } @proceedings{4.1.2:15, editor = {Yufin, Sergey A}, title = {Geoecology and Computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000}, address = {Rotterdam}, publisher = {A. A. Balkema}, year = {2000}, } title = {Geoecology and Computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}}, eventdate = {2000-02-01/2000-02-04}, venue = {Moscow, Russia}, @book{4.1.2:16, author = {Baldock, Peter}, title = {Developing Early Childhood Services: Past, Present and Future}, address = {Rotterdam}, publisher = {Open University Press}, year = {2011}, pages = {105}, urldate = {2012-11-27}, url = {path_to_url}, } @book{4.1.2:17, author = {Fan, Xuetong and Sommers, Christopher H.}, title = {Food Irradiation Research and Technology}, edition = {2}, address = {Ames, Iowa}, publisher = {Blackwell Publishing}, year = {2013}, pages = {25--26}, urldate = {2014-06-26}, url = {path_to_url}, } 4.2 4.2.2 @incollection{4.2.2:1, title = {: 5}, editor = {}, booktitle = {}, number = {6}, address = {}, publisher = {}, year = {2011}, pages = {1109}, } @incollection{4.2.2:2, author = {}, title = {1998 }, editor = { and }, booktitle = {}, address = {}, publisher = {}, year = {1999}, pages = {32--36}, } @incollection{4.2.2:3, author = { and and and and }, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {1980}, pages = {56--114}, } @incollection{4.2.2:4, author = {}, title = {}, editor = { and }, booktitle = {}, volume = {35}, address = {}, publisher = {}, year = {2013}, pages = {302}, } @inproceedings{4.2.2:5, author = { and }, title = {}, editor = {}, booktitle = {}, volume = {2011 }, address = {}, publisher = {}, year = {2011}, pages = {45--52}, } @incollection{4.2.2:6, author = {Weinstein, L and Swertz, M N}, title = {Pathogenic Properties of Invading Microorganism}, editor = {Sodeman, Jr, William A and Sodeman, William A}, booktitle = {Pathologic physiology: mechanisms of disease}, address = {Philadelphia}, publisher = {Saunders}, year = {1974}, pages = {745--772}, } @incollection{4.2.2:7, author = {Roberson, J. Alan and Burneson, Eric G.}, title = {Drinking Water Standards, Regulations and Goals}, editor = {{American Water Works Association}}, booktitle = {Water quality \& treatment: a handbook on drinking water}, edition = {6}, address = {New York}, publisher = {McGraw-Hill}, year = {2011}, pages = {1.1--1.36}, urldate = {2012-12-10}, url = {path_to_url}, } 4.3 4.3.2 @periodical{4.3.2:1, author = {}, title = {}, year = {1984}, volume = {1}, number = {1}, address = {}, publisher = {}, } @periodical{4.3.2:2, author = {}, title = {}, year = {1957/1990}, number = {1--4}, address = {}, publisher = {}, } @periodical{4.3.2:3, author = {{American Association for the Advancement of Science}}, title = {Science}, year = {1883}, volume = {1}, number = {1}, address = {Washington, D.C.}, publisher = {American Association for the Advancement of Science}, } 4.4 4.4.2 @article{4.4.2:1, author = { and and and others}, title = {: }, journal = {}, year = {2012}, volume = {57}, number = {34}, pages = {3219}, } @newspaper{4.4.2:2, author = {}, title = {: }, journal = {}, entrysubtype = {newspaper}, year = {2013}, date = {2013-01-12}, number = {2}, urldate = {2013-03-20}, url = {path_to_url}, } @article{4.4.2:3, author = {}, title = {}, journal = {}, year = {2008}, volume = {52}, number = {6}, pages = {6--12}, urldate = {2013-10-25}, url = {path_to_url}, } @article{4.4.2:4, author = { and }, title = {: }, journal = {()}, year = {2010}, volume = {4}, number = {3}, pages = {225--228}, urldate = {2014-06-09}, url = {path_to_url}, } @article{4.4.2:5, author = { and and and others}, title = {}, journal = {}, year = {2008}, volume = {33}, number = {5}, pages = {8--9}, urldate = {2009-10-25}, url = {path_to_url}, doi = {10.3771/j.issn.1009-2307.2008.05.002}, } @article{4.4.2:6, author = {Kanamori, H}, title = {Shaking without Quaking}, journal = {Science}, year = {1998}, volume = {279}, number = {5359}, pages = {2063}, } @article{4.4.2:7, author = {Caplan, P}, title = {Cataloging Internet Resources}, journal = {The public access computer systems review}, year = {1993}, volume = {4}, number = {2}, pages = {61--66}, } @article{4.4.2:8, author = {Frese, Karen S. and Katus, Hugo A. and Meder, Benjamin}, title = {Next-generation Sequencing: from Understanding Biology to Personalized Medicine}, journal = {Biology}, year = {2013}, volume = {2}, number = {1}, pages = {378--398}, urldate = {2013-03-19}, url = {path_to_url}, doi = {10.3390/biology2010378}, } @article{4.4.2:9, author = {Myburg, Alexander A. and Grattapaglia, Dario and Tuskan, Gerald A. and others}, title = {The Genome of Eucalyptus Grandis}, journal = {Nature}, year = {2014}, volume = {510}, pages = {356--362}, date = {2014-06-19}, urldate = {2014-06-25}, url = {path_to_url}, doi = {10.1038/nature13308}, } 4.5 4.5.2 @patent{4.5.2:1, author = {}, title = {}, number = {200610171314.3}, year = {2006}, date = {2006-12-13}, } @patent{4.5.2:2, author = {}, title = {}, number = {01128777.2}, year = {2002}, date = {2002-03-06}, urldate = {2002-05-28}, url = {path_to_url}, } @patent{4.5.2:3, author = {Tachibana, Ryuki and Shimizu, Shuhichi and Kobayshi, Seiji and Nakamura, Taiga}, title = {Electronic Watermarking Method and System}, number = {US6915001}, year = {2005}, date = {2005-07-05}, urldate = {2013-11-11}, url = {path_to_url}, } 4.6 4.6.2 @techreport{4.6.2:1, author = {}, title = { 29 }, year = {2012}, date = {2012-01-16}, urldate = {2013-03-26}, url = {path_to_url}, } @archive{4.6.2:2, author = {}, title = {: [2005]37}, year = {2005}, date = {2005-07-12}, urldate = {2011-07-12}, url = {path_to_url}, } @online{4.6.2:3, author = {Bawden, D}, title = {Origins and Concepts of Digital Literacy}, year = {2008}, date = {2008-05-04}, urldate = {2013-03-08}, url = {path_to_url~dbawden/digital%20literacy%20chapter.pdf}, } @online{4.6.2:4, author = {{Online Computer Library Center, Inc}}, title = {About {OCLC}: History of Cooperation}, urldate = {2012-03-27}, url = {path_to_url}, } @online{4.6.2:5, author = {Hopkinson, A}, title = {{UNIMARC} and Metadata: Dublin Core}, year = {2009}, date = {2009-04-22}, urldate = {2013-03-27}, url = {path_to_url}, } 8 8.1 8.1.3 @article{8.1.3, title = {Coffee Drinking and Cancer of the Pancreas}, date = {1981}, journal = {Br Med J}, volume = {283}, number = {6292}, pages = {628}, } 8.7 @phdthesis{8.7:1, author = {}, title = {}, address = {}, school = {}, year = {2000}, pages = {17--18}, urldate = {2014-08-29}, url = {path_to_url}, doi = {10.7666/d.y351065}, } @phdthesis{8.7:2, author = {Deverell, William and Igler, David}, title = {A Companion to {California} History}, address = {New York}, school = {John Wiley \& Sons}, year = {2013}, pages = {21--22}, date = {2013-11-15}, urldate = {2014-06-24}, url = {path_to_url}, doi = {10.1002/9781444305036.ch2}, } 9 @book{9.1:1, author = {Baker, S K and Jackson, M E}, year = {1995}, title = {The Future of Resource Sharing}, address = {New York}, publisher = {The Haworth Press}, } @book{9.1:2, author = {Chernik, B E}, title = {Introduction to Library Services for Library Technicians}, address = {Littleton, Colo.}, publisher = {Libraries Unlimited, Inc.}, year = {1982}, } @book{9.1:3, author = {}, title = {}, translator = { and }, address = {}, publisher = {}, year = {1996}, key = {ni2 ge3 luo4 pang2 di4}, } @book{9.1:4, author = {}, title = {}, address = {}, publisher = {}, year = {1997}, pages = {16}, key = {wang1 bing1}, } @article{9.1:5, author = {}, title = {}, journal = {}, year = {1996}, number = {2}, pages = {24--29}, key = {yang2 zong1 ying1}, } @article{9.1:6, author = {Dowler, L}, title = {The Research University's Dilemma: Resource Sharing and Research in a Transinstitutional Environment}, journal = {Journal of library administration}, year = {1995}, volume = {21}, number = {1/2}, pages = {5--26}, } 10 10.1 10.1.3 @article{10.1.3:1, author = {Sunstein, Cass R.}, title = {Social Norms and Social Roles}, journal = {Columbia law review}, year = {1996}, volume = {96}, pages = {903}, urldate = {2012-01-26}, url = {path_to_url}, } @book{10.1.3:2, author = {Morri, I}, title = {Why the West Rules for Now: the Patterns of History, and What They Reveal about the Future}, address = {New York}, publisher = {Farrar, Straus and Giroux}, year = {2010}, } @book{10.1.3:3, author = {}, title = {: }, translator = { and and and }, address = {}, publisher = {}, year = {2011}, pages = {15--16}, } 10.2 - 10.2.1 @book{10.2.1:1, author = {Crane, Diana}, year = {1972}, title = {Invisible College}, address = {Chicago}, publisher = {Univ. of Chicago Press}, } @article{10.2.1:2, author = {Stieg, Margaret F}, year = {1981}, title = {The Information Needs of Historians}, journal = {College and research libraries}, volume = {42}, number = {6}, pages = {549--560}, } 10.2.3 @article{10.2.3:1a, author = { and and }, year = {2010}, title = {}, journal = {()}, volume = {37}, number = {4}, pages = {147}, key = {wang2 lin2 hui4 a}, } @inproceedings{10.2.3:1b, author = {}, year = {2010}, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, pages = {138}, key = {wang2 lin2 hui4 b}, } @article{10.2.3:2a, author = {Kennedy, W L and Garrison, R E}, year = {1975}, title = {Morphology and Genesis of Nodular Chalks and Hardgrounds in the {Upper Cretaceous of southern England}}, journal = {Sedimentology}, volume = {22}, pages = {311}, } @article{10.2.3:2b, author = {Kennedy, W L and Garrison, R E}, year = {1975}, title = {Morphology and Genesis of Nodular Phosphates in the Cenomanian of {South-east England}}, journal = {Lethaia}, volume = {8}, pages = {339}, } 10.2.4 @inproceedings{10.2.4:1, author = {}, title = {()}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {1997}, pages = {33--34}, key = {zhang1 zhi4 zhong1}, } @book{10.2.4:2, author = {}, title = {}, edition = {}, address = {}, publisher = {}, year = {1996}, key = {zhong1 guo2 she4 hui4 ke1 xue2 yuan4 yu3 yan2 yan1 jiu1 suo3}, } @article{10.2.4:3, author = {}, title = {: }, journal = {}, year = {1998}, number = {5}, pages = {38--39}, key = {liu2 che4 dong1}, } @inproceedings{10.2.4:4, author = {}, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {1981}, pages = {2--10}, key = {pei2 li4 sheng1}, } @book{10.1.3:4, author = {}, title = {}, volume = {1}, address = {}, publisher = {}, year = {2000}, pages = {29}, } A A.1 @book{A.1:1, author = {}, title = {}, address = {}, publisher = {}, year = {2002}, pages = {288}, } @book{A.1:2, author = {}, title = {}, number = {4}, address = {}, publisher = {}, year = {2009}, pages = {155}, } @book{A.1:3, author = { and and }, title = {: }, address = {}, publisher = {}, year = {2010}, pages = {112}, } @book{A.1:4, author = {}, title = {}, translator = { and }, address = {}, publisher = {}, year = {2010}, pages = {38--39}, } @book{A.1:5, title = {: : }, edition = {}, address = {}, publisher = {}, year = {1962}, pages = {50}, } @book{A.1:6, author = {}, title = {}, volume = {}, edition = {}, address = {}, publisher = {}, year = {1881}, } @book{A.1:7, author = { and and and others}, title = {}, address = {}, publisher = {}, year = {1998}, } @book{A.1:8, author = { and and }, title = {: }, address = {}, publisher = {}, year = {2013}, } @book{A.1:9, author = {}, title = {}, translator = { and and }, address = {}, publisher = {}, year = {2009}, } @book{A.1:10, author = {}, title = {: 4 }, translator = { and }, edition = {2}, address = {}, publisher = {}, year = {2012}, } @book{A.1:11, author = {}, title = {: }, address = {}, publisher = {}, year = {2010}, pages = {119}, urldate = {2012-11-27}, url = {path_to_url}, } @book{A.1:12, author = {Crawford, W and Gorman, M}, title = {Future Libraries: Dreams, Madness, \& Reality}, address = {Chicago}, publisher = {American Library Association}, year = {1995}, } @book{A.1:13, author = {{International Federation of Library Association and Institutions}}, title = {Names of Persons: National Usages for Entry in Catalogues}, edition = {3}, address = {London}, publisher = {IFLA International Office for UBC}, year = {1977}, } @book{A.1:14, author = {O'Brien, J A}, title = {Introduction to Information Systems}, edition = {7}, address = {Burr Ridge, III}, publisher = {Irwin}, year = {1994}, } @book{A.1:15, author = {Kinchy, A}, title = {Seeds, Sciences, and Struggle: the Global Politics of Transgenic Crops}, address = {Cambridge, Mass.}, publisher = {MIT Press}, year = {2012}, pages = {50}, urldate = {2013-07-14}, url = {path_to_url}, } @book{A.1:16, author = {Praetzellis, Adrian}, title = {Death by Theory: a Tale of Mystery and Archaeological Theory}, edition = {Rev. ed.}, publisher = {Rowman \& Littlefield Publishing Group, Inc.}, year = {2011}, pages = {13}, urldate = {2012-07-26}, url = {path_to_url}, } A.2 @collection{A.2:1, editor = {}, title = {}, address = {}, publisher = {}, year = {1985}, } @proceedings{A.2:2, editor = {}, title = {}, address = {}, publisher = {}, year = {2012}, } @proceedings{A.2:3, editor = {}, title = {: }, address = {}, publisher = {}, year = {2012}, } @proceedings{A.2:4, editor = {}, title = {: }, address = {}, publisher = {}, year = {2011}, urldate = {2013-10-14}, url = {path_to_url}, } @proceedings{A.2:5, editor = {Babu, B V and Nagar, A K and Deep, K and others}, title = {Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012}, address = {New Delhi}, publisher = {Springer}, year = {2014}, } title = {Proceedings of the {Second International Conference on Soft Computing for Problem Solving}}, eventdate = {2012-12-28/2012-12-30}, A.3 @techreport{A.3:1, author = {}, title = {: }, year = {2013}, date = {2013-04-16}, urldate = {2014-06-11}, url = {path_to_url}, } @techreport{A.3:2, author = { and and and others}, title = {}, number = {7178999X-2006BAK04A10/10.2013}, year = {2013}, date = {2013-09-30}, urldate = {2014-06-24}, url = {path_to_url}, } @techreport{A.3:3, author = {Calkin, D and Ager, A and Thompson, M}, title = {A Comparative Risk Assessment Framework for Wildland Fire Management: the 2010 Cohesive Strategy Science Report}, number = {RMRS-GTR-262}, year = {2011}, pages = {8--9}, } @techreport{A.3:4, author = {{U.S. Department of Transportation Federal Highway Administration}}, title = {Guidelines for Handling Excavated Acid-producing Material: {PB 91-194001}}, address = {Springfield}, publisher = {U.S. Department of Commerce National Information Service}, year = {1990}, } @techreport{A.3:5, author = {{World Health Organization}}, title = {Factors Regulating the Immune Response: Report of {WHO Scientific Group}}, address = {Geneva}, publisher = {WHO}, year = {1970}, } A.4 @phdthesis{A.4:1, author = {}, title = {}, address = {}, school = {}, year = {2011}, pages = {27}, urldate = {2013-10-14}, url = {path_to_url}, } @phdthesis{A.4:2, author = {}, title = {}, address = {}, school = {}, year = {2003}, urldate = {2013-10-14}, url = {path_to_url}, } @phdthesis{A.4:3, author = {Calms, R B}, title = {Infrared Spectroscopic Studies on Solid Oxygen}, address = {Berkeley}, school = {Univ. of California}, year = {1965}, } A.5 @patent{A.5:1, author = {}, title = {}, year = {2012}, date = {2012-04-05}, number = {201220158825.2}, } @patent{A.5:2, author = {}, title = {}, year = {2001}, date = {2001-10-24}, number = {01129210.5}, urldate = {2002-05-28}, url = {path_to_url}, } @patent{A.5:3, author = {Koseki, A and Momose, H and Kawahito, M and others}, title = {Compiler}, number = {US828402}, year = {2002}, date = {2002-05-25}, urldate = {2002-05-28}, url = {path_to_url}, } A.6 @standard{A.6:1, author = {}, title = {: 4 \quad }, number = {GB/T 3792.72009}, address = {}, publisher = {}, year = {2010}, pages = {3}, } @standard{A.6:2, author = {}, title = {: 2 \quad }, number = {GY/T 202.22007}, address = {}, publisher = {}, year = {2007}, pages = {1}, } @standard{A.6:3, author = {}, title = {}, number = {GB 156161995}, address = {}, publisher = {}, year = {1996}, pages = {2--3}, urldate = {2013-10-14}, url = {path_to_url}, } @standard{A.6:4, title = {Information and Documentation---the {Dublin} Cord Metadata Element Set}, number = {ISO 15836: 2009}, year = {2009}, urldate = {2013-03-24}, url = {path_to_url}, } A.7 @incollection{A.7:1, title = { 39 }, booktitle = {}, number = {}, address = {}, publisher = {}, year = {1988}, pages = {590}, } @incollection{A.7:2, author = {}, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {1998}, pages = {146--163}, } @inproceedings{A.7:3, author = {}, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {2002}, pages = {22--25}, } @standard{A.7:4, author = {}, title = {}, number = {GB/T 26591986}, editor = {}, booktitle = {: 3}, address = {}, publisher = {}, year = {1988}, pages = {59--92}, } @incollection{A.7:5, title = {: }, booktitle = {}, number = {1}, address = {}, publisher = {}, year = {1977}, pages = {49}, } @incollection{A.7:6, author = { and }, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {2011}, pages = {011--012}, urldate = {2013-05-09}, url = {path_to_url}, } @incollection{A.7:7, author = {Buseck, P R and Nord, Jr, G L and Veblen, D R}, title = {Subsolidus Phenomena in Pyroxenes}, booktitle = {Pyroxense}, address = {Washington, D.C.}, publisher = {Mineralogical Society of America}, year = {c1980}, pages = {117--211}, } @inproceedings{A.7:8, author = {Fourney, M E}, title = {Advances in Holographic Photoelasticity}, booktitle = {Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}}, address = {New York}, publisher = {ASME}, year = {c1971}, pages = {17--38}, } booktitle = {Symposium on {Applications of Holography in Mechanics}}, eventdate = {1971-08-23/1971-08-23}, venue = {University of Southern California, Los Angeles, California}, A.8 @article{A.8:1, author = {}, title = {}, journal = {}, year = {2013}, number = {1}, pages = {56--75}, } @article{A.8:2, author = {}, title = {}, journal = {}, year = {2008}, volume = {52}, number = {6}, pages = {6--21}, } @article{A.8:3, author = { and and and others}, title = {}, journal = {()}, year = {2012}, volume = {52}, number = {11}, pages = {1518--1523}, } @article{A.8:4, author = {}, title = {}, journal = {}, year = {2010}, volume = {7}, number = {10}, pages = {93}, urldate = {2013-03-20}, url = {path_to_url}, doi = {10.3969/j.issn.1672-5603.2010.10.038}, } @article{A.8:5, author = {Des Marais, David J and Strauss, H and Summons, R E and others}, title = {Carbon Isotope Evidence for the Stepwise Oxidation of the Proterozoic Environment}, journal = {Nature}, year = {1992}, volume = {359}, pages = {605--609}, } @article{A.8:6, author = {Saito, M and Miyazaki, K}, title = {Jadeite-bearing Metagabbro in Serpentinite Mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}}, journal = {Bulletin of the geological survey of Japan}, year = {2006}, volume = {57}, number = {5/6}, pages = {169--176}, } @article{A.8:7, author = {Walls, Susan C. and Barichivich, William J. and Brown, Mary E.}, title = {Drought, Deluge and Declines: the Impact of Precipitation Extremes on Amphibians in a Changing Climate}, journal = {Biology}, year = {2013}, volume = {2}, number = {1}, pages = {399--418}, urldate = {2013-11-04}, url = {path_to_url}, doi = {10.3390/biology2010399}, } @article{A.8:8, author = {Franz, Annaliese K. and Danielewicz, Megan A. and Wong, Diana M. and Anderson, Lisa A. and Boothe, Jordan R.}, title = {Phenotypic Screening with Oleaginous Microalgae Reveals Modulators of Lipid Productivity}, journal = {ACS Chemical Biology}, year = {2013}, volume = {8}, pages = {1053--1062}, urldate = {2014-06-26}, url = {path_to_url}, } @article{A.8:9, author = {Park, Jung-Ran and Tosaka, Yuji}, title = {Metadata Quality Control in Digital Repositories and Collections: Criteria, Semantics, and Mechanisms}, journal = {Cataloging \& classification quarterly}, year = {2010}, volume = {48}, number = {8}, pages = {696--715}, urldate = {2013-09-05}, url = {path_to_url}, } A.9 @newspaper{A.9:1, author = {}, title = {}, journal = {}, entrysubtype = {newspaper}, year = {2000}, date = {2000-11-20}, number = {15}, } @newspaper{A.9:2, author = {}, title = { DNA }, journal = {}, entrysubtype = {newspaper}, year = {2000}, date = {2000-11-12}, number = {7}, } @newspaper{A.9:3, author = { and and }, title = {}, journal = {}, entrysubtype = {newspaper}, year = {2000}, date = {2000-01-12}, urldate = {2005-09-28}, url = {path_to_url}, } @newspaper{A.9:4, author = { and and and others}, title = {, ?}, journal = {}, entrysubtype = {newspaper}, year = {2013}, date = {2013-01-12}, urldate = {2013-11-06}, url = {path_to_url}, } A.10 @online{A.10:1, author = {}, title = {}, year = {2001}, date = {2001-12-19}, urldate = {2002-04-15}, url = {path_to_url}, } @online{A.10:2, author = {}, title = {}, year = {2012}, date = {2012-05-03}, urldate = {2013-03-25}, url = {path_to_url}, } @online{A.10:3, author = {{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}}, title = {Pennsylvania Library Laws}, urldate = {2013-03-24}, url = {path_to_url}, } @online{A.10:4, title = {Dublin Core Metadata Element Set: version 1.1}, year = {2012}, date = {2012-06-14}, urldate = {2014-06-11}, url = {path_to_url}, } ```
/content/code_sandbox/test/testbst/support/standard.bib
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
9,787
```tex %% %% This is file `gbt7714.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% gbt7714.dtx (with options: `package') %% your_sha256_hash--- %% GB/T 7714 BibTeX Style %% path_to_url %% Version: 2024/03/08 v2.1.6 %% your_sha256_hash--- %% your_sha256_hash--- %% This file may be distributed and/or modified under the %% of this license or (at your option) any later version. %% The latest version of this license is in %% path_to_url %% and version 1.3c or later is part of all distributions of LaTeX %% version 2008 or later. %% your_sha256_hash--- \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{gbt7714} [2024/03/08 v2.1.6 GB/T 7714 BibTeX Style] \newif\ifgbt@legacy@interface \newif\ifgbt@mmxv \newif\ifgbt@numerical \newif\ifgbt@super \newcommand\gbt@obsolete@option[1]{% \PackageWarning{gbt7714}{The option "#1" is obsolete}% } \DeclareOption{2015}{% \gbt@obsolete@option{2015}% \gbt@legacy@interfacetrue \gbt@mmxvtrue } \DeclareOption{2005}{% \gbt@obsolete@option{2005}% \gbt@legacy@interfacetrue \gbt@mmxvfalse } \DeclareOption{super}{% \gbt@obsolete@option{super}% \gbt@legacy@interfacetrue \gbt@numericaltrue \gbt@supertrue } \DeclareOption{numbers}{% \gbt@obsolete@option{numbers}% \gbt@legacy@interfacetrue \gbt@numericaltrue \gbt@superfalse } \DeclareOption{authoryear}{% \gbt@obsolete@option{authoryear}% \gbt@legacy@interfacetrue \gbt@numericalfalse } \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{natbib}} \ProcessOptions\relax \RequirePackage{natbib} \RequirePackage{url} \def\NAT@cmprs{\@ne} \renewcommand\newblock{\space} \newcommand\bibstyle@super{\bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}} \newcommand\bibstyle@numbers{\bibpunct{[}{]}{,}{n}{,}{,}} \newcommand\bibstyle@authoryear{\bibpunct{(}{)}{;}{a}{,}{,}} \newcommand\bibstyle@inline{\bibstyle@numbers} \@namedef{bibstyle@gbt7714-numerical}{\bibstyle@super} \@namedef{bibstyle@gbt7714-author-year}{\bibstyle@authoryear} \@namedef{bibstyle@gbt7714-2005-numerical}{\bibstyle@super} \@namedef{bibstyle@gbt7714-2005-author-year}{\bibstyle@authoryear} \renewcommand\NAT@citesuper[3]{% \ifNAT@swa \if*#2*\else #2\NAT@spacechar \fi % \unskip\kern\p@\textsuperscript{\NAT@@open#1\NAT@@close}% % \if*#3*\else\NAT@spacechar#3\fi\else #1\fi\endgroup} \unskip\kern\p@ \textsuperscript{% \NAT@@open #1% \NAT@@close \if*#3*\else #3% \fi }% \kern\p@ \else #1% \fi \endgroup } \renewcommand\NAT@citenum[3]{% \ifNAT@swa \NAT@@open \if*#2*\else #2\NAT@spacechar \fi % #1\if*#3*\else\NAT@cmt#3\fi\NAT@@close\else#1\fi\endgroup} #1\NAT@@close \if*#3*\else \textsuperscript{#3}% \fi \else #1% \fi \endgroup } \def\NAT@citexnum[#1][#2]#3{% \NAT@reset@parser \NAT@sort@cites{#3}% \NAT@reset@citea \@cite{\def\NAT@num{-1}\let\NAT@last@yr\relax\let\NAT@nm\@empty \@for\@citeb:=\NAT@cite@list\do {\@safe@activestrue \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}% \@safe@activesfalse \@ifundefined{b@\@citeb\@extra@b@citeb}{% {\reset@font\bfseries?} \NAT@citeundefined\PackageWarning{natbib}% {Citation `\@citeb' on page \thepage \space undefined}}% {\let\NAT@last@num\NAT@num\let\NAT@last@nm\NAT@nm \NAT@parse{\@citeb}% \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{% \let\NAT@name=\NAT@all@names \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}% \fi \ifNAT@full\let\NAT@nm\NAT@all@names\else \let\NAT@nm\NAT@name\fi \ifNAT@swa \@ifnum{\NAT@ctype>\@ne}{% \@citea \NAT@hyper@{\@ifnum{\NAT@ctype=\tw@}{\NAT@test{\NAT@ctype}}{\NAT@alias}}% }{% \@ifnum{\NAT@cmprs>\z@}{% \NAT@ifcat@num\NAT@num {\let\NAT@nm=\NAT@num}% {\def\NAT@nm{-2}}% \NAT@ifcat@num\NAT@last@num {\@tempcnta=\NAT@last@num\relax}% {\@tempcnta\m@ne}% \@ifnum{\NAT@nm=\@tempcnta}{% \@ifnum{\NAT@merge>\@ne}{}{\NAT@last@yr@mbox}% }{% \advance\@tempcnta by\@ne \@ifnum{\NAT@nm=\@tempcnta}{% % \ifx\NAT@last@yr\relax % \def@NAT@last@yr{\@citea}% % \else % \def@NAT@last@yr{--\NAT@penalty}% % \fi \def@NAT@last@yr{-\NAT@penalty}% }{% \NAT@last@yr@mbox }% }% }{% \@tempswatrue \@ifnum{\NAT@merge>\@ne}{\@ifnum{\NAT@last@num=\NAT@num\relax}{\@tempswafalse}{}}{}% \if@tempswa\NAT@citea@mbox\fi }% }% \NAT@def@citea \else \ifcase\NAT@ctype \ifx\NAT@last@nm\NAT@nm \NAT@yrsep\NAT@penalty\NAT@space\else \@citea \NAT@test{\@ne}\NAT@spacechar\NAT@mbox{\NAT@super@kern\NAT@@open}% \fi \if*#1*\else#1\NAT@spacechar\fi \NAT@mbox{\NAT@hyper@{{\citenumfont{\NAT@num}}}}% \NAT@def@citea@box \or \NAT@hyper@citea@space{\NAT@test{\NAT@ctype}}% \or \NAT@hyper@citea@space{\NAT@test{\NAT@ctype}}% \or \NAT@hyper@citea@space\NAT@alias \fi \fi }% }% \@ifnum{\NAT@cmprs>\z@}{\NAT@last@yr}{}% \ifNAT@swa\else % \@ifnum{\NAT@ctype=\z@}{% % \if*#2*\else\NAT@cmt#2\fi % }{}% \NAT@mbox{\NAT@@close}% \@ifnum{\NAT@ctype=\z@}{% \if*#2*\else \textsuperscript{#2}% \fi }{}% \NAT@super@kern \fi }{#1}{#2}% }% \renewcommand\NAT@cite% [3]{\ifNAT@swa\NAT@@open\if*#2*\else#2\NAT@spacechar\fi #1\NAT@@close\if*#3*\else\textsuperscript{#3}\fi\else#1\fi\endgroup} \def\NAT@citex% [#1][#2]#3{% \NAT@reset@parser \NAT@sort@cites{#3}% \NAT@reset@citea \@cite{\let\NAT@nm\@empty\let\NAT@year\@empty \@for\@citeb:=\NAT@cite@list\do {\@safe@activestrue \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}% \@safe@activesfalse \@ifundefined{b@\@citeb\@extra@b@citeb}{\@citea% {\reset@font\bfseries ?}\NAT@citeundefined \PackageWarning{natbib}% {Citation `\@citeb' on page \thepage \space undefined}\def\NAT@date{}}% {\let\NAT@last@nm=\NAT@nm\let\NAT@last@yr=\NAT@year \NAT@parse{\@citeb}% \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{% \let\NAT@name=\NAT@all@names \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}% \fi \ifNAT@full\let\NAT@nm\NAT@all@names\else \let\NAT@nm\NAT@name\fi \ifNAT@swa\ifcase\NAT@ctype \if\relax\NAT@date\relax \@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}\NAT@date}% \else \ifx\NAT@last@nm\NAT@nm\NAT@yrsep \ifx\NAT@last@yr\NAT@year \def\NAT@temp{{?}}% \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}% {Multiple citation on page \thepage: same authors and year\MessageBreak without distinguishing extra letter,\MessageBreak appears as question mark}\fi \NAT@hyper@{\NAT@exlab}% \else\unskip\NAT@spacechar \NAT@hyper@{\NAT@date}% \fi \else \@citea\NAT@hyper@{% \NAT@nmfmt{\NAT@nm}% \hyper@natlinkbreak{% \NAT@aysep\NAT@spacechar}{\@citeb\@extra@b@citeb }% \NAT@date }% \fi \fi \or\@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}% \or\@citea\NAT@hyper@{\NAT@date}% \or\@citea\NAT@hyper@{\NAT@alias}% \fi \NAT@def@citea \else \ifcase\NAT@ctype \if\relax\NAT@date\relax \@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}% \else \ifx\NAT@last@nm\NAT@nm\NAT@yrsep \ifx\NAT@last@yr\NAT@year \def\NAT@temp{{?}}% \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}% {Multiple citation on page \thepage: same authors and year\MessageBreak without distinguishing extra letter,\MessageBreak appears as question mark}\fi \NAT@hyper@{\NAT@exlab}% \else \unskip\NAT@spacechar \NAT@hyper@{\NAT@date}% \fi \else \@citea\NAT@hyper@{% \NAT@nmfmt{\NAT@nm}% \hyper@natlinkbreak{\NAT@spacechar\NAT@@open\if*#1*\else#1\NAT@spacechar\fi}% {\@citeb\@extra@b@citeb}% \NAT@date }% \fi \fi \or\@citea\NAT@hyper@{\NAT@nmfmt{\NAT@nm}}% \or\@citea\NAT@hyper@{\NAT@date}% \or\@citea\NAT@hyper@{\NAT@alias}% \fi \if\relax\NAT@date\relax \NAT@def@citea \else \NAT@def@citea@close \fi \fi }}\ifNAT@swa\else % \if*#2*\else\NAT@cmt#2\fi \if\relax\NAT@date\relax\else\NAT@@close\fi \if*#2*\else\textsuperscript{#2}\fi \fi}{#1}{#2}} \renewcommand\@biblabel[1]{[#1]\hfill} \let\NAT@bare@aux\NAT@bare \def\NAT@bare#1(#2){% \begingroup\edef\x{\endgroup \unexpanded{\NAT@bare@aux#1}(\@firstofone#2)}\x} \g@addto@macro\UrlBreaks{% \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9% \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M \do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m \do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z } \Urlmuskip=0mu plus 0.1mu \newif\ifgbt@bib@style@written \@ifpackageloaded{chapterbib}{}{% \def\bibliography#1{% \ifgbt@bib@style@written\else \bibliographystyle{gbt7714-numerical}% \fi \if@filesw \immediate\write\@auxout{\string\bibdata{\zap@space#1 \@empty}}% \fi \@input@{\jobname.bbl}} \def\bibliographystyle#1{% \gbt@bib@style@writtentrue \ifx\@begindocumenthook\@undefined\else \expandafter\AtBeginDocument \fi {\if@filesw \immediate\write\@auxout{\string\bibstyle{#1}}% \fi}% }% } \ifgbt@legacy@interface \ifgbt@numerical \ifgbt@super\else \citestyle{numbers} \fi \bibliographystyle{gbt7714-numerical} \else \bibliographystyle{gbt7714-author-year} \fi \fi ```
/content/code_sandbox/examples/gbt7714.sty
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
4,274
```unknown %% %% This is file `gbt7714-numerical.bst', %% generated with the docstrip utility. %% %% The original source files were: %% %% gbt7714.dtx (with options: `2015,numerical') %% your_sha256_hash--- %% GB/T 7714 BibTeX Style %% path_to_url %% Version: 2024/03/08 v2.1.6 %% your_sha256_hash--- %% your_sha256_hash--- %% This file may be distributed and/or modified under the %% of this license or (at your option) any later version. %% The latest version of this license is in %% path_to_url %% and version 1.3c or later is part of all distributions of LaTeX %% version 2008 or later. %% your_sha256_hash--- INTEGERS { citation.et.al.min citation.et.al.use.first bibliography.et.al.min bibliography.et.al.use.first uppercase.name terms.in.macro year.after.author period.after.author italic.book.title sentence.case.title link.title title.in.journal show.patent.country show.mark space.before.mark show.medium.type short.journal italic.journal link.journal bold.journal.volume show.missing.address.publisher space.before.pages only.start.page wave.dash.in.pages show.urldate show.url show.doi show.preprint show.note show.english.translation end.with.period } STRINGS { component.part.label } FUNCTION {load.config} { #2 'citation.et.al.min := #1 'citation.et.al.use.first := #4 'bibliography.et.al.min := #3 'bibliography.et.al.use.first := #1 'uppercase.name := #0 'terms.in.macro := #0 'year.after.author := #1 'period.after.author := #0 'italic.book.title := #1 'sentence.case.title := #0 'link.title := #1 'title.in.journal := #0 'show.patent.country := #1 'show.mark := #0 'space.before.mark := #1 'show.medium.type := "slash" 'component.part.label := #0 'short.journal := #0 'italic.journal := #0 'link.journal := #0 'bold.journal.volume := #0 'show.missing.address.publisher := #1 'space.before.pages := #0 'only.start.page := #0 'wave.dash.in.pages := #1 'show.urldate := #1 'show.url := #1 'show.doi := #1 'show.preprint := #0 'show.note := #0 'show.english.translation := #1 'end.with.period := } ENTRY { address archivePrefix author booktitle date doi edition editor eprint eprinttype entrysubtype howpublished institution journal journaltitle key langid language location mark medium note number organization pages publisher school series shortjournal title translation translator url urldate volume year } { entry.lang entry.is.electronic is.pure.electronic entry.numbered } { label extra.label sort.label short.label short.list entry.mark entry.url } INTEGERS { output.state before.all mid.sentence after.sentence after.block after.slash } INTEGERS { lang.zh lang.ja lang.en lang.ru lang.other } INTEGERS { charptr len } FUNCTION {init.state.consts} { #0 'before.all := #1 'mid.sentence := #2 'after.sentence := #3 'after.block := #4 'after.slash := #3 'lang.zh := #4 'lang.ja := #1 'lang.en := #2 'lang.ru := #0 'lang.other := } FUNCTION {bbl.anonymous} { entry.lang lang.zh = { "" } { "Anon" } if$ } FUNCTION {bbl.space} { entry.lang lang.zh = { "\ " } { " " } if$ } FUNCTION {bbl.and} { "" } FUNCTION {bbl.et.al} { entry.lang lang.zh = { "" } { entry.lang lang.ja = { "" } { entry.lang lang.ru = { "" } { "et~al." } if$ } if$ } if$ } FUNCTION {citation.and} { terms.in.macro { "{\biband}" } 'bbl.and if$ } FUNCTION {citation.et.al} { terms.in.macro { "{\bibetal}" } 'bbl.et.al if$ } FUNCTION {bbl.colon} { ": " } FUNCTION {bbl.pages.colon} { space.before.pages { ": " } { ":\allowbreak " } if$ } FUNCTION {bbl.wide.space} { "\quad " } FUNCTION {bbl.slash} { "//\allowbreak " } FUNCTION {bbl.sine.loco} { entry.lang lang.zh = { "[]" } { "[S.l.]" } if$ } FUNCTION {bbl.sine.nomine} { entry.lang lang.zh = { "[]" } { "[s.n.]" } if$ } FUNCTION {bbl.sine.loco.sine.nomine} { entry.lang lang.zh = { "[: ]" } { "[S.l.: s.n.]" } if$ } FUNCTION {not} { { #0 } { #1 } if$ } FUNCTION {and} { 'skip$ { pop$ #0 } if$ } FUNCTION {or} { { pop$ #1 } 'skip$ if$ } STRINGS { x y } FUNCTION {contains} { 'y := 'x := y text.length$ 'len := x text.length$ len - #1 + 'charptr := { charptr #0 > x charptr len substring$ y = not and } { charptr #1 - 'charptr := } while$ charptr #0 > } STRINGS { s t } FUNCTION {output.nonnull} { 's := output.state mid.sentence = { ", " * write$ } { output.state after.block = { add.period$ write$ newline$ "\newblock " write$ } { output.state before.all = 'write$ { output.state after.slash = { bbl.slash * write$ newline$ } { add.period$ " " * write$ } if$ } if$ } if$ mid.sentence 'output.state := } if$ s } FUNCTION {output} { duplicate$ empty$ 'pop$ 'output.nonnull if$ } FUNCTION {output.after} { 't := duplicate$ empty$ 'pop$ { 's := output.state mid.sentence = { t * write$ } { output.state after.block = { add.period$ write$ newline$ "\newblock " write$ } { output.state before.all = 'write$ { output.state after.slash = { bbl.slash * write$ } { add.period$ " " * write$ } if$ } if$ } if$ mid.sentence 'output.state := } if$ s } if$ } FUNCTION {output.check} { 't := duplicate$ empty$ { pop$ "empty " t * " in " * cite$ * warning$ } 'output.nonnull if$ } FUNCTION {fin.entry} { end.with.period 'add.period$ 'skip$ if$ write$ show.english.translation entry.lang lang.zh = and { ")" write$ } 'skip$ if$ newline$ } FUNCTION {new.block} { output.state before.all = 'skip$ { output.state after.slash = 'skip$ { after.block 'output.state := } if$ } if$ } FUNCTION {new.sentence} { output.state after.block = 'skip$ { output.state before.all = 'skip$ { output.state after.slash = 'skip$ { after.sentence 'output.state := } if$ } if$ } if$ } FUNCTION {new.slash} { output.state before.all = 'skip$ { component.part.label "slash" = { after.slash 'output.state := } { new.block component.part.label "in" = { entry.lang lang.en = { "In: " output write$ "" before.all 'output.state := } 'skip$ if$ } 'skip$ if$ } if$ } if$ } FUNCTION {new.block.checka} { empty$ 'skip$ 'new.block if$ } FUNCTION {new.block.checkb} { empty$ swap$ empty$ and 'skip$ 'new.block if$ } FUNCTION {new.sentence.checka} { empty$ 'skip$ 'new.sentence if$ } FUNCTION {new.sentence.checkb} { empty$ swap$ empty$ and 'skip$ 'new.sentence if$ } FUNCTION {field.or.null} { duplicate$ empty$ { pop$ "" } 'skip$ if$ } FUNCTION {emphasize} { duplicate$ empty$ { pop$ "" } { "\emph{" swap$ * "}" * } if$ } FUNCTION {format.btitle} { italic.book.title entry.lang lang.en = and 'emphasize 'skip$ if$ } INTEGERS { byte second.byte } INTEGERS { char.lang tmp.lang } STRINGS { tmp.str } FUNCTION {get.str.lang} { 'tmp.str := lang.other 'tmp.lang := #1 'charptr := tmp.str text.length$ #1 + 'len := { charptr len < } { tmp.str charptr #1 substring$ chr.to.int$ 'byte := byte #128 < { charptr #1 + 'charptr := byte #64 > byte #91 < and byte #96 > byte #123 < and or { lang.en 'char.lang := } { lang.other 'char.lang := } if$ } { tmp.str charptr #1 + #1 substring$ chr.to.int$ 'second.byte := byte #224 < { charptr #2 + 'charptr := byte #207 > byte #212 < and byte #212 = second.byte #176 < and or { lang.ru 'char.lang := } { lang.other 'char.lang := } if$ } { byte #240 < { charptr #3 + 'charptr := byte #227 > byte #234 < and { lang.zh 'char.lang := } { byte #227 = { second.byte #143 > { lang.zh 'char.lang := } { second.byte #128 > second.byte #132 < and { lang.ja 'char.lang := } { lang.other 'char.lang := } if$ } if$ } { byte #239 = second.byte #163 > second.byte #172 < and and { lang.zh 'char.lang := } { lang.other 'char.lang := } if$ } if$ } if$ } { charptr #4 + 'charptr := byte #240 = second.byte #159 > and { lang.zh 'char.lang := } { lang.other 'char.lang := } if$ } if$ } if$ } if$ char.lang tmp.lang > { char.lang 'tmp.lang := } 'skip$ if$ } while$ tmp.lang } FUNCTION {check.entry.lang} { author field.or.null title field.or.null * get.str.lang } STRINGS { entry.langid } FUNCTION {set.entry.lang} { "" 'entry.langid := language empty$ not { language 'entry.langid := } 'skip$ if$ langid empty$ not { langid 'entry.langid := } 'skip$ if$ entry.langid empty$ { check.entry.lang } { entry.langid "english" = entry.langid "american" = or entry.langid "british" = or { lang.en } { entry.langid "chinese" = { lang.zh } { entry.langid "japanese" = { lang.ja } { entry.langid "russian" = { lang.ru } { check.entry.lang } if$ } if$ } if$ } if$ } if$ 'entry.lang := } FUNCTION {set.entry.numbered} { type$ "patent" = type$ "standard" = or type$ "techreport" = or { #1 'entry.numbered := } { #0 'entry.numbered := } if$ } INTEGERS { nameptr namesleft numnames name.lang } FUNCTION {format.name} { "{vv~}{ll}{, jj}{, ff}" format.name$ 't := t "others" = { bbl.et.al } { t get.str.lang 'name.lang := name.lang lang.en = { t #1 "{vv~}{ll}{ f{~}}" format.name$ uppercase.name { "u" change.case$ } 'skip$ if$ t #1 "{, jj}" format.name$ * } { t #1 "{ll}{ff}" format.name$ } if$ } if$ } FUNCTION {format.names} { 's := #1 'nameptr := s num.names$ 'numnames := "" numnames 'namesleft := { namesleft #0 > } { s nameptr format.name bbl.et.al = numnames bibliography.et.al.min #1 - > nameptr bibliography.et.al.use.first > and or { ", " * bbl.et.al * #1 'namesleft := } { nameptr #1 > { namesleft #1 = bbl.and "" = not and { bbl.and * } { ", " * } if$ } 'skip$ if$ s nameptr format.name * } if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ } FUNCTION {format.key} { empty$ { key field.or.null } { "" } if$ } FUNCTION {format.authors} { author empty$ not { author format.names } { "empty author in " cite$ * warning$ "" } if$ } FUNCTION {format.editors} { editor empty$ { "" } { editor format.names } if$ } FUNCTION {format.translators} { translator empty$ { "" } { translator format.names entry.lang lang.zh = { translator num.names$ #3 > { "" * } { ", " * } if$ } 'skip$ if$ } if$ } FUNCTION {format.full.names} {'s := #1 'nameptr := s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := t get.str.lang 'name.lang := name.lang lang.en = { t #1 "{vv~}{ll}" format.name$ 't := } { t #1 "{ll}{ff}" format.name$ 't := } if$ nameptr #1 > { namesleft #1 > { ", " * t * } { numnames #2 > { "," * } 'skip$ if$ t "others" = { " et~al." * } { " and " * t * } if$ } if$ } 't if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ } FUNCTION {author.editor.full} { author empty$ { editor empty$ { "" } { editor format.full.names } if$ } { author format.full.names } if$ } FUNCTION {author.full} { author empty$ { "" } { author format.full.names } if$ } FUNCTION {editor.full} { editor empty$ { "" } { editor format.full.names } if$ } FUNCTION {make.full.names} { type$ "book" = type$ "inbook" = booktitle empty$ not and or 'author.editor.full { type$ "collection" = type$ "proceedings" = or 'editor.full 'author.full if$ } if$ } FUNCTION {output.bibitem} { newline$ "\bibitem[" write$ label ")" * make.full.names duplicate$ short.list = { pop$ } { duplicate$ "]" contains { "{" swap$ * "}" * } 'skip$ if$ * } if$ "]{" * write$ cite$ write$ "}" write$ newline$ "" before.all 'output.state := } FUNCTION {change.sentence.case} { entry.lang lang.en = { "t" change.case$ } 'skip$ if$ } FUNCTION {add.link} { url empty$ not { "\href{" url * "}{" * swap$ * "}" * } { doi empty$ not { "\href{path_to_url" doi * "}{" * swap$ * "}" * } 'skip$ if$ } if$ } FUNCTION {format.title} { title empty$ { "" } { title sentence.case.title 'change.sentence.case 'skip$ if$ entry.numbered number empty$ not and { bbl.colon * type$ "patent" = show.patent.country and { address empty$ not { address * ", " * } { location empty$ not { location * ", " * } { entry.lang lang.zh = { "" * ", " * } 'skip$ if$ } if$ } if$ } 'skip$ if$ number * } 'skip$ if$ link.title 'add.link 'skip$ if$ } if$ } FUNCTION {tie.or.space.connect} { duplicate$ text.length$ #3 < { "~" } { " " } if$ swap$ * * } FUNCTION {either.or.check} { empty$ 'pop$ { "can't use both " swap$ * " fields in " * cite$ * warning$ } if$ } FUNCTION {is.digit} { duplicate$ empty$ { pop$ #0 } { chr.to.int$ duplicate$ "0" chr.to.int$ < { pop$ #0 } { "9" chr.to.int$ > { #0 } { #1 } if$ } if$ } if$ } FUNCTION {is.number} { 's := s empty$ { #0 } { s text.length$ 'charptr := { charptr #0 > s charptr #1 substring$ is.digit and } { charptr #1 - 'charptr := } while$ charptr not } if$ } FUNCTION {format.volume} { volume empty$ not { volume is.number { entry.lang lang.zh = { " " volume * " " * } { "Vol." volume tie.or.space.connect } if$ } { volume } if$ } { "" } if$ } FUNCTION {format.number} { number empty$ not { number is.number { entry.lang lang.zh = { " " number * " " * } { "No." number tie.or.space.connect } if$ } { number } if$ } { "" } if$ } FUNCTION {format.volume.number} { volume empty$ not { format.volume } { format.number } if$ } FUNCTION {format.title.vol.num} { title sentence.case.title 'change.sentence.case 'skip$ if$ entry.numbered { number empty$ not { bbl.colon * number * } 'skip$ if$ } { format.volume.number 's := s empty$ not { bbl.colon * s * } 'skip$ if$ } if$ } FUNCTION {format.series.vol.num.title} { format.volume.number 's := series empty$ not { series sentence.case.title 'change.sentence.case 'skip$ if$ entry.numbered { bbl.wide.space * } { bbl.colon * s empty$ not { s * bbl.wide.space * } 'skip$ if$ } if$ title * sentence.case.title 'change.sentence.case 'skip$ if$ entry.numbered number empty$ not and { bbl.colon * number * } 'skip$ if$ } { format.title.vol.num } if$ format.btitle link.title 'add.link 'skip$ if$ } FUNCTION {format.booktitle.vol.num} { booktitle entry.numbered 'skip$ { format.volume.number 's := s empty$ not { bbl.colon * s * } 'skip$ if$ } if$ } FUNCTION {format.series.vol.num.booktitle} { format.volume.number 's := series empty$ not { series bbl.colon * entry.numbered not s empty$ not and { s * bbl.wide.space * } 'skip$ if$ booktitle * } { format.booktitle.vol.num } if$ format.btitle } FUNCTION {remove.period} { 't := "" 's := { t empty$ not } { t #1 #1 substring$ 'tmp.str := tmp.str "." = not { s tmp.str * 's := } 'skip$ if$ t #2 global.max$ substring$ 't := } while$ s } FUNCTION {abbreviate} { remove.period 't := t "l" change.case$ 's := "" s "physical review letters" = { "Phys Rev Lett" } 'skip$ if$ 's := s empty$ { t } { pop$ s } if$ } FUNCTION {get.journal.title} { short.journal { shortjournal empty$ not { shortjournal } { journal empty$ not { journal abbreviate } { journaltitle empty$ not { journaltitle abbreviate } { "" } if$ } if$ } if$ } { journal empty$ not { journal } { journaltitle empty$ not { journaltitle } { shortjournal empty$ not { shortjournal } { "" } if$ } if$ } if$ } if$ } FUNCTION {check.arxiv.preprint} { #1 #5 substring$ purify$ "l" change.case$ "arxiv" = { #1 } { #0 } if$ } FUNCTION {format.journal} { get.journal.title duplicate$ empty$ not { italic.journal entry.lang lang.en = and 'emphasize 'skip$ if$ link.journal 'add.link 'skip$ if$ } 'skip$ if$ } FUNCTION {set.entry.mark} { entry.mark empty$ not 'pop$ { mark empty$ not { pop$ mark 'entry.mark := } { 'entry.mark := } if$ } if$ } FUNCTION {format.mark} { show.mark { entry.mark show.medium.type { medium empty$ not { "/" * medium * } { entry.is.electronic { "/OL" * } 'skip$ if$ } if$ } 'skip$ if$ 'entry.mark := space.before.mark { " " } { "\allowbreak" } if$ "[" * entry.mark * "]" * } { "" } if$ } FUNCTION {num.to.ordinal} { duplicate$ text.length$ 'charptr := duplicate$ charptr #1 substring$ 's := s "1" = { "st" * } { s "2" = { "nd" * } { s "3" = { "rd" * } { "th" * } if$ } if$ } if$ } FUNCTION {format.edition} { edition empty$ { "" } { edition is.number { edition "1" = not { entry.lang lang.zh = { edition " " * } { edition num.to.ordinal " ed." * } if$ } 'skip$ if$ } { entry.lang lang.en = { edition change.sentence.case 's := s "Revised" = s "Revised edition" = or { "Rev. ed." } { s " ed." * } if$ } { edition } if$ } if$ } if$ } FUNCTION {format.publisher} { publisher empty$ not { publisher } { school empty$ not { school } { organization empty$ not { organization } { institution empty$ not { institution } { "" } if$ } if$ } if$ } if$ } FUNCTION {format.address.publisher} { address empty$ not { address } { location empty$ not { location } { "" } if$ } if$ duplicate$ empty$ not { format.publisher empty$ not { bbl.colon * format.publisher * } { entry.is.electronic not show.missing.address.publisher and { bbl.colon * bbl.sine.nomine * } 'skip$ if$ } if$ } { pop$ entry.is.electronic not show.missing.address.publisher and { format.publisher empty$ not { bbl.sine.loco bbl.colon * format.publisher * } { bbl.sine.loco.sine.nomine } if$ } { format.publisher empty$ not { format.publisher } { "" } if$ } if$ } if$ } FUNCTION {extract.before.dash} { duplicate$ empty$ { pop$ "" } { 's := #1 'charptr := s text.length$ #1 + 'len := { charptr len < s charptr #1 substring$ "-" = not and } { charptr #1 + 'charptr := } while$ s #1 charptr #1 - substring$ } if$ } FUNCTION {extract.after.dash} { duplicate$ empty$ { pop$ "" } { 's := #1 'charptr := s text.length$ #1 + 'len := { charptr len < s charptr #1 substring$ "-" = not and } { charptr #1 + 'charptr := } while$ { charptr len < s charptr #1 substring$ "-" = and } { charptr #1 + 'charptr := } while$ s charptr global.max$ substring$ } if$ } FUNCTION {extract.before.slash} { duplicate$ empty$ { pop$ "" } { 's := #1 'charptr := s text.length$ #1 + 'len := { charptr len < s charptr #1 substring$ "/" = not and } { charptr #1 + 'charptr := } while$ s #1 charptr #1 - substring$ } if$ } FUNCTION {extract.after.slash} { duplicate$ empty$ { pop$ "" } { 's := #1 'charptr := s text.length$ #1 + 'len := { charptr len < s charptr #1 substring$ "-" = not and s charptr #1 substring$ "/" = not and } { charptr #1 + 'charptr := } while$ { charptr len < s charptr #1 substring$ "-" = s charptr #1 substring$ "/" = or and } { charptr #1 + 'charptr := } while$ s charptr global.max$ substring$ } if$ } FUNCTION {format.year} { year empty$ not { year extra.label * } { date empty$ not { date extract.before.dash extra.label * } { entry.is.electronic not { "empty year in " cite$ * warning$ } 'skip$ if$ urldate empty$ not { "[" urldate extract.before.dash * extra.label * "]" * } { "" } if$ } if$ } if$ } FUNCTION {format.periodical.year} { year empty$ not { year extract.before.slash "--" * year extract.after.slash duplicate$ empty$ 'pop$ { * } if$ } { date empty$ not { date extract.before.dash } { "empty year in " cite$ * warning$ urldate empty$ not { "[" urldate extract.before.dash * "]" * } { "" } if$ } if$ } if$ } FUNCTION {format.date} { date empty$ not { type$ "patent" = type$ "newspaper" = or { date } { entrysubtype empty$ not { type$ "article" = entrysubtype "newspaper" = and { date } { format.year } if$ } { format.year } if$ } if$ } { year empty$ not { format.year } { "" } if$ } if$ } FUNCTION {format.editdate} { date empty$ not { "\allowbreak(" date * ")" * } { "" } if$ } FUNCTION {format.urldate} { show.urldate show.url and entry.url empty$ not and is.pure.electronic or urldate empty$ not and { "\allowbreak[" urldate * "]" * } { "" } if$ } FUNCTION {hyphenate} { 't := "" { t empty$ not } { t #1 #1 substring$ "-" = { wave.dash.in.pages { "" * } { "-" * } if$ { t #1 #1 substring$ "-" = } { t #2 global.max$ substring$ 't := } while$ } { t #1 #1 substring$ * t #2 global.max$ substring$ 't := } if$ } while$ } FUNCTION {format.pages} { pages empty$ { "" } { pages hyphenate } if$ } FUNCTION {format.extracted.pages} { pages empty$ { "" } { pages only.start.page 'extract.before.dash 'hyphenate if$ } if$ } FUNCTION {format.journal.volume} { volume empty$ not { bold.journal.volume { "\textbf{" volume * "}" * } { volume } if$ } { "" } if$ } FUNCTION {format.journal.number} { number empty$ not { "\allowbreak (" number * ")" * } { "" } if$ } FUNCTION {format.journal.pages} { pages empty$ { "" } { format.extracted.pages } if$ } FUNCTION {format.periodical.year.volume.number} { year empty$ not { year extract.before.slash } { "empty year in periodical " cite$ * warning$ } if$ volume empty$ not { ", " * volume extract.before.dash * } 'skip$ if$ number empty$ not { "\allowbreak (" * number extract.before.dash * ")" * } 'skip$ if$ "--" * year extract.after.slash empty$ volume extract.after.dash empty$ and number extract.after.dash empty$ and not { year extract.after.slash empty$ not { year extract.after.slash * } { year extract.before.slash * } if$ volume empty$ not { ", " * volume extract.after.dash * } 'skip$ if$ number empty$ not { "\allowbreak (" * number extract.after.dash * ")" * } 'skip$ if$ } 'skip$ if$ } FUNCTION {check.url} { url empty$ not { url 'entry.url := #1 'entry.is.electronic := } { howpublished empty$ not { howpublished #1 #5 substring$ "\url{" = { howpublished 'entry.url := #1 'entry.is.electronic := } 'skip$ if$ } { note empty$ not { note #1 #5 substring$ "\url{" = { note 'entry.url := #1 'entry.is.electronic := } 'skip$ if$ } 'skip$ if$ } if$ } if$ } FUNCTION {output.url} { show.url is.pure.electronic or entry.url empty$ not and { new.block entry.url #1 #5 substring$ "\url{" = { entry.url } { "\url{" entry.url * "}" * } if$ output } 'skip$ if$ } FUNCTION {check.doi} { doi empty$ not { #1 'entry.is.electronic := } 'skip$ if$ } FUNCTION {is.in.url} { 's := s empty$ { #1 } { entry.url empty$ { #0 } { s text.length$ 'len := entry.url "l" change.case$ text.length$ 'charptr := { entry.url "l" change.case$ charptr len substring$ s "l" change.case$ = not charptr #0 > and } { charptr #1 - 'charptr := } while$ charptr } if$ } if$ } FUNCTION {format.doi} { "" doi empty$ not { "" 's := doi 't := #0 'numnames := { t empty$ not} { t #1 #1 substring$ 'tmp.str := tmp.str "," = tmp.str " " = or t #2 #1 substring$ empty$ or { t #2 #1 substring$ empty$ { s tmp.str * 's := } 'skip$ if$ s empty$ s is.in.url or 'skip$ { numnames #1 + 'numnames := numnames #1 > { ", " * } { "DOI: " * } if$ "\doi{" s * "}" * * } if$ "" 's := } { s tmp.str * 's := } if$ t #2 global.max$ substring$ 't := } while$ } 'skip$ if$ } FUNCTION {output.doi} { doi empty$ not show.doi and show.english.translation entry.lang lang.zh = and not and { new.block format.doi output } 'skip$ if$ } FUNCTION {check.electronic} { "" 'entry.url := #0 'entry.is.electronic := 'check.doi 'skip$ if$ 'check.url 'skip$ if$ medium empty$ not { medium "MT" = medium "DK" = or medium "CD" = or medium "OL" = or { #1 'entry.is.electronic := } 'skip$ if$ } 'skip$ if$ } FUNCTION {format.eprint} { archivePrefix empty$ not { archivePrefix } { eprinttype empty$ not { archivePrefix } { "" } if$ } if$ 's := s empty$ not { s ": \eprint{" * url empty$ not { url } { "https://" s "l" change.case$ * ".org/abs/" * eprint * } if$ * "}{" * eprint * "}" * } { eprint } if$ } FUNCTION {output.eprint} { show.preprint eprint empty$ not and { new.block format.eprint output } 'skip$ if$ } FUNCTION {format.note} { note empty$ not show.note and { note } { "" } if$ } FUNCTION {output.translation} { show.english.translation entry.lang lang.zh = and { translation empty$ not { translation } { "[English translation missing!]" } if$ " (in Chinese)" * output write$ format.doi duplicate$ empty$ not { newline$ write$ } 'pop$ if$ " \\" write$ newline$ "(" write$ "" before.all 'output.state := } 'skip$ if$ } FUNCTION {empty.misc.check} { author empty$ title empty$ year empty$ and and key empty$ not and { "all relevant fields are empty in " cite$ * warning$ } 'skip$ if$ } FUNCTION {monograph} { output.bibitem output.translation author empty$ not { format.authors } { editor empty$ not { format.editors } { "empty author and editor in " cite$ * warning$ "" } if$ } if$ output year.after.author { period.after.author 'new.sentence 'skip$ if$ format.year "year" output.check } 'skip$ if$ new.block format.series.vol.num.title "title" output.check "M" set.entry.mark format.mark "" output.after new.block format.translators output new.sentence format.edition output new.block format.address.publisher output year.after.author not { format.year "year" output.check } 'skip$ if$ format.pages bbl.pages.colon output.after format.urldate "" output.after output.url output.doi new.block format.note output fin.entry } FUNCTION {incollection} { output.bibitem output.translation format.authors output author format.key output year.after.author { period.after.author 'new.sentence 'skip$ if$ format.year "year" output.check } 'skip$ if$ new.block format.title "title" output.check "M" set.entry.mark format.mark "" output.after new.block format.translators output new.slash format.editors output new.block format.series.vol.num.booktitle "booktitle" output.check new.block format.edition output new.block format.address.publisher output year.after.author not { format.year "year" output.check } 'skip$ if$ format.extracted.pages bbl.pages.colon output.after format.urldate "" output.after output.url output.doi new.block format.note output fin.entry } FUNCTION {periodical} { output.bibitem output.translation format.authors output author format.key output year.after.author { period.after.author 'new.sentence 'skip$ if$ format.year "year" output.check } 'skip$ if$ new.block format.title "title" output.check "J" set.entry.mark format.mark "" output.after new.block format.periodical.year.volume.number output new.block format.address.publisher output year.after.author not { format.periodical.year "year" output.check } 'skip$ if$ format.urldate "" output.after output.url output.doi new.block format.note output fin.entry } FUNCTION {journal.article} { output.bibitem output.translation format.authors output author format.key output year.after.author { period.after.author 'new.sentence 'skip$ if$ format.year "year" output.check } 'skip$ if$ new.block title.in.journal { format.title "title" output.check entrysubtype empty$ not { entrysubtype "newspaper" = { "N" set.entry.mark } { "J" set.entry.mark } if$ } { "J" set.entry.mark } if$ format.mark "" output.after new.block } 'skip$ if$ format.journal "journal" output.check year.after.author not { format.date "year" output.check } 'skip$ if$ format.journal.volume output format.journal.number "" output.after format.journal.pages bbl.pages.colon output.after format.urldate "" output.after output.url output.doi new.block format.note output fin.entry } FUNCTION {patent} { output.bibitem output.translation format.authors output author format.key output year.after.author { period.after.author 'new.sentence 'skip$ if$ format.year "year" output.check } 'skip$ if$ new.block format.title "title" output.check "P" set.entry.mark format.mark "" output.after new.block format.date "year" output.check format.urldate "" output.after output.url output.doi new.block format.note output fin.entry } FUNCTION {electronic} { #1 #1 check.electronic #1 'entry.is.electronic := #1 'is.pure.electronic := output.bibitem output.translation format.authors output author format.key output year.after.author { period.after.author 'new.sentence 'skip$ if$ format.year "year" output.check } 'skip$ if$ new.block format.series.vol.num.title "title" output.check "EB" set.entry.mark format.mark "" output.after new.block format.address.publisher output year.after.author not { date empty$ { format.date output } 'skip$ if$ } 'skip$ if$ format.pages bbl.pages.colon output.after format.editdate "" output.after format.urldate "" output.after output.url output.doi new.block format.note output fin.entry } FUNCTION {preprint} { output.bibitem output.translation author empty$ not { format.authors } { editor empty$ not { format.editors } { "empty author and editor in " cite$ * warning$ "" } if$ } if$ output year.after.author { period.after.author 'new.sentence 'skip$ if$ format.year "year" output.check } 'skip$ if$ new.block title.in.journal { format.series.vol.num.title "title" output.check "A" set.entry.mark format.mark "" output.after new.block } 'skip$ if$ format.translators output new.sentence format.edition output new.block year.after.author not { date empty$ { format.date output } 'skip$ if$ } 'skip$ if$ format.pages bbl.pages.colon output.after format.editdate "" output.after format.urldate "" output.after output.eprint output.url show.preprint not eprint empty$ or 'output.doi 'skip$ if$ new.block format.note output fin.entry } FUNCTION {misc} { get.journal.title duplicate$ empty$ not { check.arxiv.preprint 'preprint 'journal.article if$ } { pop$ booktitle empty$ not 'incollection { publisher empty$ not 'monograph { eprint empty$ not archivePrefix empty$ not or 'preprint { entry.is.electronic 'electronic { "Z" set.entry.mark monograph } if$ } if$ } if$ } if$ } if$ empty.misc.check } FUNCTION {archive} { "A" set.entry.mark misc } FUNCTION {article} { misc } FUNCTION {book} { monograph } FUNCTION {booklet} { book } FUNCTION {collection} { "G" set.entry.mark monograph } FUNCTION {database} { "DB" set.entry.mark electronic } FUNCTION {dataset} { "DS" set.entry.mark electronic } FUNCTION {inbook} { booktitle empty$ 'book 'incollection if$ } FUNCTION {inproceedings} { "C" set.entry.mark incollection } FUNCTION {conference} { inproceedings } FUNCTION {legislation} { archive } FUNCTION {map} { "CM" set.entry.mark misc } FUNCTION {manual} { monograph } FUNCTION {mastersthesis} { "D" set.entry.mark monograph } FUNCTION {newspaper} { "N" set.entry.mark article } FUNCTION {online} { "EB" set.entry.mark electronic } FUNCTION {phdthesis} { mastersthesis } FUNCTION {proceedings} { "C" set.entry.mark monograph } FUNCTION {software} { "CP" set.entry.mark electronic } FUNCTION {standard} { "S" set.entry.mark misc } FUNCTION {techreport} { "R" set.entry.mark misc } FUNCTION {unpublished} { misc } FUNCTION {default.type} { misc } MACRO {jan} {"January"} MACRO {feb} {"February"} MACRO {mar} {"March"} MACRO {apr} {"April"} MACRO {may} {"May"} MACRO {jun} {"June"} MACRO {jul} {"July"} MACRO {aug} {"August"} MACRO {sep} {"September"} MACRO {oct} {"October"} MACRO {nov} {"November"} MACRO {dec} {"December"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} MACRO {ibmjrd} {"IBM Journal of Research and Development"} MACRO {ibmsj} {"IBM Systems Journal"} MACRO {ieeese} {"IEEE Transactions on Software Engineering"} MACRO {ieeetc} {"IEEE Transactions on Computers"} MACRO {ieeetcad} {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} MACRO {ipl} {"Information Processing Letters"} MACRO {jacm} {"Journal of the ACM"} MACRO {jcss} {"Journal of Computer and System Sciences"} MACRO {scp} {"Science of Computer Programming"} MACRO {sicomp} {"SIAM Journal on Computing"} MACRO {tocs} {"ACM Transactions on Computer Systems"} MACRO {tods} {"ACM Transactions on Database Systems"} MACRO {tog} {"ACM Transactions on Graphics"} MACRO {toms} {"ACM Transactions on Mathematical Software"} MACRO {toois} {"ACM Transactions on Office Information Systems"} MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} MACRO {tcs} {"Theoretical Computer Science"} FUNCTION {sortify} { purify$ "l" change.case$ } FUNCTION {chop.word} { 's := 'len := s #1 len substring$ = { s len #1 + global.max$ substring$ } 's if$ } FUNCTION {format.lab.name} { "{vv~}{ll}{, jj}{, ff}" format.name$ 't := t "others" = { citation.et.al } { t get.str.lang 'name.lang := name.lang lang.zh = name.lang lang.ja = or { t #1 "{ll}{ff}" format.name$ } { t #1 "{vv~}{ll}" format.name$ } if$ } if$ } FUNCTION {format.lab.names} { 's := s #1 format.lab.name 'short.label := #1 'nameptr := s num.names$ 'numnames := "" numnames 'namesleft := { namesleft #0 > } { s nameptr format.lab.name citation.et.al = numnames citation.et.al.min #1 - > nameptr citation.et.al.use.first > and or { bbl.space * citation.et.al * #1 'namesleft := } { nameptr #1 > { namesleft #1 = citation.and "" = not and { citation.and * } { ", " * } if$ } 'skip$ if$ s nameptr format.lab.name * } if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ } FUNCTION {author.key.label} { author empty$ { key empty$ { cite$ #1 #3 substring$ } 'key if$ } { author format.lab.names } if$ } FUNCTION {author.editor.key.label} { author empty$ { editor empty$ { key empty$ { cite$ #1 #3 substring$ } 'key if$ } { editor format.lab.names } if$ } { author format.lab.names } if$ } FUNCTION {author.key.organization.label} { author empty$ { key empty$ { organization empty$ { cite$ #1 #3 substring$ } { "The " #4 organization chop.word #3 text.prefix$ } if$ } 'key if$ } { author format.lab.names } if$ } FUNCTION {editor.key.organization.label} { editor empty$ { key empty$ { organization empty$ { cite$ #1 #3 substring$ } { "The " #4 organization chop.word #3 text.prefix$ } if$ } 'key if$ } { editor format.lab.names } if$ } FUNCTION {calc.short.authors} { "" 'short.label := type$ "book" = type$ "inbook" = booktitle empty$ not and or 'author.editor.key.label { type$ "collection" = type$ "proceedings" = or { editor empty$ not 'editor.key.organization.label 'author.key.organization.label if$ } 'author.key.label if$ } if$ 'short.list := short.label empty$ { short.list 'short.label := } 'skip$ if$ } FUNCTION {calc.label} { calc.short.authors short.list "]" contains { "{" short.list * "}" * } { short.list } if$ "(" * format.year duplicate$ empty$ short.list key field.or.null = or { pop$ "" } 'skip$ if$ duplicate$ "]" contains { "{" swap$ * "}" * } 'skip$ if$ * 'label := short.label "(" * format.year duplicate$ empty$ short.list key field.or.null = or { pop$ "" } 'skip$ if$ * 'short.label := } INTEGERS { seq.num } FUNCTION {init.seq} { #0 'seq.num :=} FUNCTION {int.to.fix} { "000000000" swap$ int.to.str$ * #-1 #10 substring$ } FUNCTION {presort} { set.entry.lang set.entry.numbered show.url show.doi check.electronic #0 'is.pure.electronic := calc.label label sortify " " * seq.num #1 + 'seq.num := seq.num int.to.fix 'sort.label := sort.label * #1 entry.max$ substring$ 'sort.key$ := } STRINGS { longest.label last.label next.extra last.extra.label } INTEGERS { longest.label.width number.label } FUNCTION {initialize.longest.label} { "" 'longest.label := #0 int.to.chr$ 'last.label := "" 'next.extra := #0 'longest.label.width := #0 'number.label := "" 'last.extra.label := } FUNCTION {forward.pass} { number.label #1 + 'number.label := } FUNCTION {reverse.pass} { label extra.label * 'label := } FUNCTION {bib.sort.order} { sort.label 'sort.key$ := } FUNCTION {begin.bib} { preamble$ empty$ 'skip$ { preamble$ write$ newline$ } if$ "\begin{thebibliography}{" number.label int.to.str$ * "}" * write$ newline$ terms.in.macro { "\providecommand{\biband}{}" write$ newline$ "\providecommand{\bibetal}{}" write$ newline$ } 'skip$ if$ "\providecommand{\natexlab}[1]{#1}" write$ newline$ "\providecommand{\url}[1]{#1}" write$ newline$ "\expandafter\ifx\csname urlstyle\endcsname\relax\else" write$ newline$ " \urlstyle{same}\fi" write$ newline$ "\expandafter\ifx\csname href\endcsname\relax" write$ newline$ " \DeclareUrlCommand\doi{\urlstyle{rm}}" write$ newline$ " \def\eprint#1#2{#2}" write$ newline$ "\else" write$ newline$ " \def\doi#1{\href{path_to_url#1}{\nolinkurl{#1}}}" write$ newline$ " \let\eprint\href" write$ newline$ "\fi" write$ newline$ } FUNCTION {end.bib} { newline$ "\end{thebibliography}" write$ newline$ } READ EXECUTE {init.state.consts} EXECUTE {load.config} EXECUTE {init.seq} ITERATE {presort} SORT EXECUTE {initialize.longest.label} ITERATE {forward.pass} REVERSE {reverse.pass} ITERATE {bib.sort.order} SORT EXECUTE {begin.bib} ITERATE {call.type$} EXECUTE {end.bib} ```
/content/code_sandbox/examples/gbt7714-numerical.bst
unknown
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
12,561
```tex 4 4.1 4.1.2 @book{4.1.2:1, author = {}, title = {}, volume = {1}, address = {}, publisher = {}, year = {2000}, pages = {29}, } @book{4.1.2:2, author = {}, translator = {}, title = {}, address = {}, publisher = {}, year = {2012}, pages = {235--236}, } @book{4.1.2:3, author = { and }, title = {}, address = {}, publisher = {}, year = {2012}, pages = {112}, } @standard{4.1.2:4, author = {}, title = {\quad }, number = {GB/T 251002010}, address = {}, publisher = {}, year = {2010}, pages = {2--3}, } @book{4.1.2:5, author = { and }, title = {}, address = {}, publisher = {}, year = {2010}, } @book{4.1.2:6, author = {}, title = {: }, address = {}, publisher = {}, year = {1992}, } @book{4.1.2:7, author = {}, title = {}, edition = {}, address = {}, publisher = {}, year = {1865()}, } @proceedings{4.1.2:8, editor = { and and }, title = {}, address = {}, publisher = {}, year = {2012}, } @archive{4.1.2:9, author = { and }, title = {}, address = {}, publisher = {}, year = {2001}, } @phdthesis{4.1.2:10, author = {}, title = {}, address = {}, publisher = {}, year = {2012}, urldate = {2012-11-01}, url = {path_to_url}, } @book{4.1.2:11, author = {}, title = {}, address = {}, publisher = {}, year = {2001}, urldate = {2014-06-11}, url = {path_to_url}, } @book{4.1.2:12, author = {}, title = {}, address = {}, publisher = {}, year = {2011}, pages = {5--6}, urldate = {2013-05-09}, url = {path_to_url}, } @book{4.1.2:13, author = {}, title = {: 2003}, address = {}, publisher = {}, year = {2003}, urldate = {2014-04-25}, url = {path_to_url}, } @book{4.1.2:14, author = {Peebles, Jr, Peyton Z.}, title = {Probability, Random Variables, and Random Signal Principles}, edition = {4}, address = {New York}, publisher = {McGraw-Hill}, year = {2001}, } @proceedings{4.1.2:15, editor = {Yufin, Sergey A}, title = {Geoecology and Computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}, {Moscow, Russia}, {February} 1--4, 2000}, address = {Rotterdam}, publisher = {A. A. Balkema}, year = {2000}, } title = {Geoecology and Computers: Proceedings of the {Third International Conference on Advances of Computer Methods in Geotechnical and Geoenvironmental Engineering}}, eventdate = {2000-02-01/2000-02-04}, venue = {Moscow, Russia}, @book{4.1.2:16, author = {Baldock, Peter}, title = {Developing Early Childhood Services: Past, Present and Future}, address = {Rotterdam}, publisher = {Open University Press}, year = {2011}, pages = {105}, urldate = {2012-11-27}, url = {path_to_url}, } @book{4.1.2:17, author = {Fan, Xuetong and Sommers, Christopher H.}, title = {Food Irradiation Research and Technology}, edition = {2}, address = {Ames, Iowa}, publisher = {Blackwell Publishing}, year = {2013}, pages = {25--26}, urldate = {2014-06-26}, url = {path_to_url}, } 4.2 4.2.2 @incollection{4.2.2:1, title = {: 5}, editor = {}, booktitle = {}, number = {6}, address = {}, publisher = {}, year = {2011}, pages = {1109}, } @incollection{4.2.2:2, author = {}, title = {1998 }, editor = { and }, booktitle = {}, address = {}, publisher = {}, year = {1999}, pages = {32--36}, } @incollection{4.2.2:3, author = { and and and and }, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {1980}, pages = {56--114}, } @incollection{4.2.2:4, author = {}, title = {}, editor = { and }, booktitle = {}, volume = {35}, address = {}, publisher = {}, year = {2013}, pages = {302}, } @inproceedings{4.2.2:5, author = { and }, title = {}, editor = {}, booktitle = {}, volume = {2011 }, address = {}, publisher = {}, year = {2011}, pages = {45--52}, } @incollection{4.2.2:6, author = {Weinstein, L and Swertz, M N}, title = {Pathogenic Properties of Invading Microorganism}, editor = {Sodeman, Jr, William A and Sodeman, William A}, booktitle = {Pathologic physiology: mechanisms of disease}, address = {Philadelphia}, publisher = {Saunders}, year = {1974}, pages = {745--772}, } @incollection{4.2.2:7, author = {Roberson, J. Alan and Burneson, Eric G.}, title = {Drinking Water Standards, Regulations and Goals}, editor = {{American Water Works Association}}, booktitle = {Water quality \& treatment: a handbook on drinking water}, edition = {6}, address = {New York}, publisher = {McGraw-Hill}, year = {2011}, pages = {1.1--1.36}, urldate = {2012-12-10}, url = {path_to_url}, } 4.3 4.3.2 @periodical{4.3.2:1, author = {}, title = {}, year = {1984}, volume = {1}, number = {1}, address = {}, publisher = {}, } @periodical{4.3.2:2, author = {}, title = {}, year = {1957/1990}, number = {1--4}, address = {}, publisher = {}, } @periodical{4.3.2:3, author = {{American Association for the Advancement of Science}}, title = {Science}, year = {1883}, volume = {1}, number = {1}, address = {Washington, D.C.}, publisher = {American Association for the Advancement of Science}, } 4.4 4.4.2 @article{4.4.2:1, author = { and and and others}, title = {: }, journal = {}, year = {2012}, volume = {57}, number = {34}, pages = {3219}, } @newspaper{4.4.2:2, author = {}, title = {: }, journal = {}, entrysubtype = {newspaper}, year = {2013}, date = {2013-01-12}, number = {2}, urldate = {2013-03-20}, url = {path_to_url}, } @article{4.4.2:3, author = {}, title = {}, journal = {}, year = {2008}, volume = {52}, number = {6}, pages = {6--12}, urldate = {2013-10-25}, url = {path_to_url}, } @article{4.4.2:4, author = { and }, title = {: }, journal = {()}, year = {2010}, volume = {4}, number = {3}, pages = {225--228}, urldate = {2014-06-09}, url = {path_to_url}, } @article{4.4.2:5, author = { and and and others}, title = {}, journal = {}, year = {2008}, volume = {33}, number = {5}, pages = {8--9}, urldate = {2009-10-25}, url = {path_to_url}, doi = {10.3771/j.issn.1009-2307.2008.05.002}, } @article{4.4.2:6, author = {Kanamori, H}, title = {Shaking without Quaking}, journal = {Science}, year = {1998}, volume = {279}, number = {5359}, pages = {2063}, } @article{4.4.2:7, author = {Caplan, P}, title = {Cataloging Internet Resources}, journal = {The public access computer systems review}, year = {1993}, volume = {4}, number = {2}, pages = {61--66}, } @article{4.4.2:8, author = {Frese, Karen S. and Katus, Hugo A. and Meder, Benjamin}, title = {Next-generation Sequencing: from Understanding Biology to Personalized Medicine}, journal = {Biology}, year = {2013}, volume = {2}, number = {1}, pages = {378--398}, urldate = {2013-03-19}, url = {path_to_url}, doi = {10.3390/biology2010378}, } @article{4.4.2:9, author = {Myburg, Alexander A. and Grattapaglia, Dario and Tuskan, Gerald A. and others}, title = {The Genome of Eucalyptus Grandis}, journal = {Nature}, year = {2014}, volume = {510}, pages = {356--362}, date = {2014-06-19}, urldate = {2014-06-25}, url = {path_to_url}, doi = {10.1038/nature13308}, } 4.5 4.5.2 @patent{4.5.2:1, author = {}, title = {}, number = {200610171314.3}, year = {2006}, date = {2006-12-13}, } @patent{4.5.2:2, author = {}, title = {}, number = {01128777.2}, year = {2002}, date = {2002-03-06}, urldate = {2002-05-28}, url = {path_to_url}, } @patent{4.5.2:3, author = {Tachibana, Ryuki and Shimizu, Shuhichi and Kobayshi, Seiji and Nakamura, Taiga}, title = {Electronic Watermarking Method and System}, number = {US6915001}, year = {2005}, date = {2005-07-05}, urldate = {2013-11-11}, url = {path_to_url}, } 4.6 4.6.2 @techreport{4.6.2:1, author = {}, title = { 29 }, year = {2012}, date = {2012-01-16}, urldate = {2013-03-26}, url = {path_to_url}, } @archive{4.6.2:2, author = {}, title = {: [2005]37}, year = {2005}, date = {2005-07-12}, urldate = {2011-07-12}, url = {path_to_url}, } @online{4.6.2:3, author = {Bawden, D}, title = {Origins and Concepts of Digital Literacy}, year = {2008}, date = {2008-05-04}, urldate = {2013-03-08}, url = {path_to_url~dbawden/digital%20literacy%20chapter.pdf}, } @online{4.6.2:4, author = {{Online Computer Library Center, Inc}}, title = {About {OCLC}: History of Cooperation}, urldate = {2012-03-27}, url = {path_to_url}, } @online{4.6.2:5, author = {Hopkinson, A}, title = {{UNIMARC} and Metadata: Dublin Core}, year = {2009}, date = {2009-04-22}, urldate = {2013-03-27}, url = {path_to_url}, } 8 8.1 8.1.3 @article{8.1.3, title = {Coffee Drinking and Cancer of the Pancreas}, date = {1981}, journal = {Br Med J}, volume = {283}, number = {6292}, pages = {628}, } 8.7 @phdthesis{8.7:1, author = {}, title = {}, address = {}, school = {}, year = {2000}, pages = {17--18}, urldate = {2014-08-29}, url = {path_to_url}, doi = {10.7666/d.y351065}, } @phdthesis{8.7:2, author = {Deverell, William and Igler, David}, title = {A Companion to {California} History}, address = {New York}, school = {John Wiley \& Sons}, year = {2013}, pages = {21--22}, date = {2013-11-15}, urldate = {2014-06-24}, url = {path_to_url}, doi = {10.1002/9781444305036.ch2}, } 9 @book{9.1:1, author = {Baker, S K and Jackson, M E}, year = {1995}, title = {The Future of Resource Sharing}, address = {New York}, publisher = {The Haworth Press}, } @book{9.1:2, author = {Chernik, B E}, title = {Introduction to Library Services for Library Technicians}, address = {Littleton, Colo.}, publisher = {Libraries Unlimited, Inc.}, year = {1982}, } @book{9.1:3, author = {}, title = {}, translator = { and }, address = {}, publisher = {}, year = {1996}, key = {ni2 ge3 luo4 pang2 di4}, } @book{9.1:4, author = {}, title = {}, address = {}, publisher = {}, year = {1997}, pages = {16}, key = {wang1 bing1}, } @article{9.1:5, author = {}, title = {}, journal = {}, year = {1996}, number = {2}, pages = {24--29}, key = {yang2 zong1 ying1}, } @article{9.1:6, author = {Dowler, L}, title = {The Research University's Dilemma: Resource Sharing and Research in a Transinstitutional Environment}, journal = {Journal of library administration}, year = {1995}, volume = {21}, number = {1/2}, pages = {5--26}, } 10 10.1 10.1.3 @article{10.1.3:1, author = {Sunstein, Cass R.}, title = {Social Norms and Social Roles}, journal = {Columbia law review}, year = {1996}, volume = {96}, pages = {903}, urldate = {2012-01-26}, url = {path_to_url}, } @book{10.1.3:2, author = {Morri, I}, title = {Why the West Rules for Now: the Patterns of History, and What They Reveal about the Future}, address = {New York}, publisher = {Farrar, Straus and Giroux}, year = {2010}, } @book{10.1.3:3, author = {}, title = {: }, translator = { and and and }, address = {}, publisher = {}, year = {2011}, pages = {15--16}, } 10.2 - 10.2.1 @book{10.2.1:1, author = {Crane, Diana}, year = {1972}, title = {Invisible College}, address = {Chicago}, publisher = {Univ. of Chicago Press}, } @article{10.2.1:2, author = {Stieg, Margaret F}, year = {1981}, title = {The Information Needs of Historians}, journal = {College and research libraries}, volume = {42}, number = {6}, pages = {549--560}, } 10.2.3 @article{10.2.3:1a, author = { and and }, year = {2010}, title = {}, journal = {()}, volume = {37}, number = {4}, pages = {147}, key = {wang2 lin2 hui4 a}, } @inproceedings{10.2.3:1b, author = {}, year = {2010}, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, pages = {138}, key = {wang2 lin2 hui4 b}, } @article{10.2.3:2a, author = {Kennedy, W L and Garrison, R E}, year = {1975}, title = {Morphology and Genesis of Nodular Chalks and Hardgrounds in the {Upper Cretaceous of southern England}}, journal = {Sedimentology}, volume = {22}, pages = {311}, } @article{10.2.3:2b, author = {Kennedy, W L and Garrison, R E}, year = {1975}, title = {Morphology and Genesis of Nodular Phosphates in the Cenomanian of {South-east England}}, journal = {Lethaia}, volume = {8}, pages = {339}, } 10.2.4 @inproceedings{10.2.4:1, author = {}, title = {()}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {1997}, pages = {33--34}, key = {zhang1 zhi4 zhong1}, } @book{10.2.4:2, author = {}, title = {}, edition = {}, address = {}, publisher = {}, year = {1996}, key = {zhong1 guo2 she4 hui4 ke1 xue2 yuan4 yu3 yan2 yan1 jiu1 suo3}, } @article{10.2.4:3, author = {}, title = {: }, journal = {}, year = {1998}, number = {5}, pages = {38--39}, key = {liu2 che4 dong1}, } @inproceedings{10.2.4:4, author = {}, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {1981}, pages = {2--10}, key = {pei2 li4 sheng1}, } @book{10.1.3:4, author = {}, title = {}, volume = {1}, address = {}, publisher = {}, year = {2000}, pages = {29}, } A A.1 @book{A.1:1, author = {}, title = {}, address = {}, publisher = {}, year = {2002}, pages = {288}, } @book{A.1:2, author = {}, title = {}, number = {4}, address = {}, publisher = {}, year = {2009}, pages = {155}, } @book{A.1:3, author = { and and }, title = {: }, address = {}, publisher = {}, year = {2010}, pages = {112}, } @book{A.1:4, author = {}, title = {}, translator = { and }, address = {}, publisher = {}, year = {2010}, pages = {38--39}, } @book{A.1:5, title = {: : }, edition = {}, address = {}, publisher = {}, year = {1962}, pages = {50}, } @book{A.1:6, author = {}, title = {}, volume = {}, edition = {}, address = {}, publisher = {}, year = {1881}, } @book{A.1:7, author = { and and and others}, title = {}, address = {}, publisher = {}, year = {1998}, } @book{A.1:8, author = { and and }, title = {: }, address = {}, publisher = {}, year = {2013}, } @book{A.1:9, author = {}, title = {}, translator = { and and }, address = {}, publisher = {}, year = {2009}, } @book{A.1:10, author = {}, title = {: 4 }, translator = { and }, edition = {2}, address = {}, publisher = {}, year = {2012}, } @book{A.1:11, author = {}, title = {: }, address = {}, publisher = {}, year = {2010}, pages = {119}, urldate = {2012-11-27}, url = {path_to_url}, } @book{A.1:12, author = {Crawford, W and Gorman, M}, title = {Future Libraries: Dreams, Madness, \& Reality}, address = {Chicago}, publisher = {American Library Association}, year = {1995}, } @book{A.1:13, author = {{International Federation of Library Association and Institutions}}, title = {Names of Persons: National Usages for Entry in Catalogues}, edition = {3}, address = {London}, publisher = {IFLA International Office for UBC}, year = {1977}, } @book{A.1:14, author = {O'Brien, J A}, title = {Introduction to Information Systems}, edition = {7}, address = {Burr Ridge, III}, publisher = {Irwin}, year = {1994}, } @book{A.1:15, author = {Kinchy, A}, title = {Seeds, Sciences, and Struggle: the Global Politics of Transgenic Crops}, address = {Cambridge, Mass.}, publisher = {MIT Press}, year = {2012}, pages = {50}, urldate = {2013-07-14}, url = {path_to_url}, } @book{A.1:16, author = {Praetzellis, Adrian}, title = {Death by Theory: a Tale of Mystery and Archaeological Theory}, edition = {Rev. ed.}, publisher = {Rowman \& Littlefield Publishing Group, Inc.}, year = {2011}, pages = {13}, urldate = {2012-07-26}, url = {path_to_url}, } A.2 @collection{A.2:1, editor = {}, title = {}, address = {}, publisher = {}, year = {1985}, } @proceedings{A.2:2, editor = {}, title = {}, address = {}, publisher = {}, year = {2012}, } @proceedings{A.2:3, editor = {}, title = {: }, address = {}, publisher = {}, year = {2012}, } @proceedings{A.2:4, editor = {}, title = {: }, address = {}, publisher = {}, year = {2011}, urldate = {2013-10-14}, url = {path_to_url}, } @proceedings{A.2:5, editor = {Babu, B V and Nagar, A K and Deep, K and others}, title = {Proceedings of the {Second International Conference on Soft Computing for Problem Solving}, {December} 28--30, 2012}, address = {New Delhi}, publisher = {Springer}, year = {2014}, } title = {Proceedings of the {Second International Conference on Soft Computing for Problem Solving}}, eventdate = {2012-12-28/2012-12-30}, A.3 @techreport{A.3:1, author = {}, title = {: }, year = {2013}, date = {2013-04-16}, urldate = {2014-06-11}, url = {path_to_url}, } @techreport{A.3:2, author = { and and and others}, title = {}, number = {7178999X-2006BAK04A10/10.2013}, year = {2013}, date = {2013-09-30}, urldate = {2014-06-24}, url = {path_to_url}, } @techreport{A.3:3, author = {Calkin, D and Ager, A and Thompson, M}, title = {A Comparative Risk Assessment Framework for Wildland Fire Management: the 2010 Cohesive Strategy Science Report}, number = {RMRS-GTR-262}, year = {2011}, pages = {8--9}, } @techreport{A.3:4, author = {{U.S. Department of Transportation Federal Highway Administration}}, title = {Guidelines for Handling Excavated Acid-producing Material: {PB 91-194001}}, address = {Springfield}, publisher = {U.S. Department of Commerce National Information Service}, year = {1990}, } @techreport{A.3:5, author = {{World Health Organization}}, title = {Factors Regulating the Immune Response: Report of {WHO Scientific Group}}, address = {Geneva}, publisher = {WHO}, year = {1970}, } A.4 @phdthesis{A.4:1, author = {}, title = {}, address = {}, school = {}, year = {2011}, pages = {27}, urldate = {2013-10-14}, url = {path_to_url}, } @phdthesis{A.4:2, author = {}, title = {}, address = {}, school = {}, year = {2003}, urldate = {2013-10-14}, url = {path_to_url}, } @phdthesis{A.4:3, author = {Calms, R B}, title = {Infrared Spectroscopic Studies on Solid Oxygen}, address = {Berkeley}, school = {Univ. of California}, year = {1965}, } A.5 @patent{A.5:1, author = {}, title = {}, year = {2012}, date = {2012-04-05}, number = {201220158825.2}, } @patent{A.5:2, author = {}, title = {}, year = {2001}, date = {2001-10-24}, number = {01129210.5}, urldate = {2002-05-28}, url = {path_to_url}, } @patent{A.5:3, author = {Koseki, A and Momose, H and Kawahito, M and others}, title = {Compiler}, number = {US828402}, year = {2002}, date = {2002-05-25}, urldate = {2002-05-28}, url = {path_to_url}, } A.6 @standard{A.6:1, author = {}, title = {: 4 \quad }, number = {GB/T 3792.72009}, address = {}, publisher = {}, year = {2010}, pages = {3}, } @standard{A.6:2, author = {}, title = {: 2 \quad }, number = {GY/T 202.22007}, address = {}, publisher = {}, year = {2007}, pages = {1}, } @standard{A.6:3, author = {}, title = {}, number = {GB 156161995}, address = {}, publisher = {}, year = {1996}, pages = {2--3}, urldate = {2013-10-14}, url = {path_to_url}, } @standard{A.6:4, title = {Information and Documentation---the {Dublin} Cord Metadata Element Set}, number = {ISO 15836: 2009}, year = {2009}, urldate = {2013-03-24}, url = {path_to_url}, } A.7 @incollection{A.7:1, title = { 39 }, booktitle = {}, number = {}, address = {}, publisher = {}, year = {1988}, pages = {590}, } @incollection{A.7:2, author = {}, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {1998}, pages = {146--163}, } @inproceedings{A.7:3, author = {}, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {2002}, pages = {22--25}, } @standard{A.7:4, author = {}, title = {}, number = {GB/T 26591986}, editor = {}, booktitle = {: 3}, address = {}, publisher = {}, year = {1988}, pages = {59--92}, } @incollection{A.7:5, title = {: }, booktitle = {}, number = {1}, address = {}, publisher = {}, year = {1977}, pages = {49}, } @incollection{A.7:6, author = { and }, title = {}, editor = {}, booktitle = {}, address = {}, publisher = {}, year = {2011}, pages = {011--012}, urldate = {2013-05-09}, url = {path_to_url}, } @incollection{A.7:7, author = {Buseck, P R and Nord, Jr, G L and Veblen, D R}, title = {Subsolidus Phenomena in Pyroxenes}, booktitle = {Pyroxense}, address = {Washington, D.C.}, publisher = {Mineralogical Society of America}, year = {c1980}, pages = {117--211}, } @inproceedings{A.7:8, author = {Fourney, M E}, title = {Advances in Holographic Photoelasticity}, booktitle = {Symposium on {Applications of Holography in Mechanics}, {August} 23--25, 1971, {University of Southern California, Los Angeles, California}}, address = {New York}, publisher = {ASME}, year = {c1971}, pages = {17--38}, } booktitle = {Symposium on {Applications of Holography in Mechanics}}, eventdate = {1971-08-23/1971-08-23}, venue = {University of Southern California, Los Angeles, California}, A.8 @article{A.8:1, author = {}, title = {}, journal = {}, year = {2013}, number = {1}, pages = {56--75}, } @article{A.8:2, author = {}, title = {}, journal = {}, year = {2008}, volume = {52}, number = {6}, pages = {6--21}, } @article{A.8:3, author = { and and and others}, title = {}, journal = {()}, year = {2012}, volume = {52}, number = {11}, pages = {1518--1523}, } @article{A.8:4, author = {}, title = {}, journal = {}, year = {2010}, volume = {7}, number = {10}, pages = {93}, urldate = {2013-03-20}, url = {path_to_url}, doi = {10.3969/j.issn.1672-5603.2010.10.038}, } @article{A.8:5, author = {Des Marais, David J and Strauss, H and Summons, R E and others}, title = {Carbon Isotope Evidence for the Stepwise Oxidation of the Proterozoic Environment}, journal = {Nature}, year = {1992}, volume = {359}, pages = {605--609}, } @article{A.8:6, author = {Saito, M and Miyazaki, K}, title = {Jadeite-bearing Metagabbro in Serpentinite Mlange of the {Kurosegawa Belt in Izumi Town, Yatsushiro City, Kumamoto Prefecture, central Kyushu}}, journal = {Bulletin of the geological survey of Japan}, year = {2006}, volume = {57}, number = {5/6}, pages = {169--176}, } @article{A.8:7, author = {Walls, Susan C. and Barichivich, William J. and Brown, Mary E.}, title = {Drought, Deluge and Declines: the Impact of Precipitation Extremes on Amphibians in a Changing Climate}, journal = {Biology}, year = {2013}, volume = {2}, number = {1}, pages = {399--418}, urldate = {2013-11-04}, url = {path_to_url}, doi = {10.3390/biology2010399}, } @article{A.8:8, author = {Franz, Annaliese K. and Danielewicz, Megan A. and Wong, Diana M. and Anderson, Lisa A. and Boothe, Jordan R.}, title = {Phenotypic Screening with Oleaginous Microalgae Reveals Modulators of Lipid Productivity}, journal = {ACS Chemical Biology}, year = {2013}, volume = {8}, pages = {1053--1062}, urldate = {2014-06-26}, url = {path_to_url}, } @article{A.8:9, author = {Park, Jung-Ran and Tosaka, Yuji}, title = {Metadata Quality Control in Digital Repositories and Collections: Criteria, Semantics, and Mechanisms}, journal = {Cataloging \& classification quarterly}, year = {2010}, volume = {48}, number = {8}, pages = {696--715}, urldate = {2013-09-05}, url = {path_to_url}, } A.9 @newspaper{A.9:1, author = {}, title = {}, journal = {}, entrysubtype = {newspaper}, year = {2000}, date = {2000-11-20}, number = {15}, } @newspaper{A.9:2, author = {}, title = { DNA }, journal = {}, entrysubtype = {newspaper}, year = {2000}, date = {2000-11-12}, number = {7}, } @newspaper{A.9:3, author = { and and }, title = {}, journal = {}, entrysubtype = {newspaper}, year = {2000}, date = {2000-01-12}, urldate = {2005-09-28}, url = {path_to_url}, } @newspaper{A.9:4, author = { and and and others}, title = {, ?}, journal = {}, entrysubtype = {newspaper}, year = {2013}, date = {2013-01-12}, urldate = {2013-11-06}, url = {path_to_url}, } A.10 @online{A.10:1, author = {}, title = {}, year = {2001}, date = {2001-12-19}, urldate = {2002-04-15}, url = {path_to_url}, } @online{A.10:2, author = {}, title = {}, year = {2012}, date = {2012-05-03}, urldate = {2013-03-25}, url = {path_to_url}, } @online{A.10:3, author = {{Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office}}, title = {Pennsylvania Library Laws}, urldate = {2013-03-24}, url = {path_to_url}, } @online{A.10:4, title = {Dublin Core Metadata Element Set: version 1.1}, year = {2012}, date = {2012-06-14}, urldate = {2014-06-11}, url = {path_to_url}, } ```
/content/code_sandbox/examples/standard.bib
tex
2016-03-19T04:16:10
2024-08-16T08:50:19
gbt7714-bibtex-style
zepinglee/gbt7714-bibtex-style
1,167
9,787
```ruby Pod::Spec.new do |s| s.name = "UPCarouselFlowLayout" s.version = "1.1.2" s.summary = "A fancy carousel flow layout for UICollectionView." s.description = "UPCarouselFlowLayout is a fancy carousel flow layout for UICollectionView. It comes with a paginated effect and it shrinks and makes transparent the side items." s.homepage = "path_to_url" # s.screenshots = "path_to_url" s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'Paul Ulric' => 'ink.and.spot@gmail.com' } s.source = { :git => 'path_to_url :tag => s.version.to_s } s.ios.deployment_target = '8.1' s.swift_version = '4.2' s.source_files = 'UPCarouselFlowLayout/**/*.{h,swift}' end ```
/content/code_sandbox/UPCarouselFlowLayout.podspec
ruby
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
210
```unknown <?xml version="1.0" encoding="UTF-8"?> <Scheme LastUpgradeVersion = "1000" version = "1.3"> <BuildAction parallelizeBuildables = "YES" buildImplicitDependencies = "YES"> <BuildActionEntries> <BuildActionEntry buildForTesting = "YES" buildForRunning = "YES" buildForProfiling = "YES" buildForArchiving = "YES" buildForAnalyzing = "YES"> <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "841C94FC1DDEE57F00B997F5" BuildableName = "UPCarouselFlowLayout.framework" BlueprintName = "UPCarouselFlowLayout" ReferencedContainer = "container:UPCarouselFlowLayoutDemo.xcodeproj"> </BuildableReference> </BuildActionEntry> </BuildActionEntries> </BuildAction> <TestAction buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> <Testables> </Testables> <AdditionalOptions> </AdditionalOptions> </TestAction> <LaunchAction buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> <MacroExpansion> <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "841C94FC1DDEE57F00B997F5" BuildableName = "UPCarouselFlowLayout.framework" BlueprintName = "UPCarouselFlowLayout" ReferencedContainer = "container:UPCarouselFlowLayoutDemo.xcodeproj"> </BuildableReference> </MacroExpansion> <AdditionalOptions> </AdditionalOptions> </LaunchAction> <ProfileAction buildConfiguration = "Release" shouldUseLaunchSchemeArgsEnv = "YES" savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> <MacroExpansion> <BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "841C94FC1DDEE57F00B997F5" BuildableName = "UPCarouselFlowLayout.framework" BlueprintName = "UPCarouselFlowLayout" ReferencedContainer = "container:UPCarouselFlowLayoutDemo.xcodeproj"> </BuildableReference> </MacroExpansion> </ProfileAction> <AnalyzeAction buildConfiguration = "Debug"> </AnalyzeAction> <ArchiveAction buildConfiguration = "Release" revealArchiveInOrganizer = "YES"> </ArchiveAction> </Scheme> ```
/content/code_sandbox/UPCarouselFlowLayoutDemo.xcodeproj/xcshareddata/xcschemes/UPCarouselFlowLayout.xcscheme
unknown
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
671
```unknown <?xml version="1.0" encoding="UTF-8"?> <Workspace version = "1.0"> <FileRef location = "self:/Users/paul_ulric/Dropbox/Work/UPCardCollectionViewLayoutDemo/UPCarouselFlowLayoutDemo.xcodeproj"> </FileRef> </Workspace> ```
/content/code_sandbox/UPCarouselFlowLayoutDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
unknown
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
70
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url"> <plist version="1.0"> <dict> <key>IDEDidComputeMac32BitWarning</key> <true/> </dict> </plist> ```
/content/code_sandbox/UPCarouselFlowLayoutDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
xml
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
72
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>FMWK</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleVersion</key> <string>$(CURRENT_PROJECT_VERSION)</string> <key>NSPrincipalClass</key> <string></string> </dict> </plist> ```
/content/code_sandbox/UPCarouselFlowLayout/Info.plist
xml
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
229
```objective-c // // UPCarouselFlowLayout.h // UPCarouselFlowLayout // // Created by Alex K. on 18/11/16. // #import <UIKit/UIKit.h> //! Project version number for UPCarouselFlowLayout. FOUNDATION_EXPORT double UPCarouselFlowLayoutVersionNumber; //! Project version string for UPCarouselFlowLayout. FOUNDATION_EXPORT const unsigned char UPCarouselFlowLayoutVersionString[]; // In this header, you should import all the public headers of your framework using statements like #import <UPCarouselFlowLayout/PublicHeader.h> ```
/content/code_sandbox/UPCarouselFlowLayout/UPCarouselFlowLayout.h
objective-c
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
110
```swift // // UPCarouselFlowLayout.swift // UPCarouselFlowLayoutDemo // // Created by Paul Ulric on 23/06/2016. // import UIKit public enum UPCarouselFlowLayoutSpacingMode { case fixed(spacing: CGFloat) case overlap(visibleOffset: CGFloat) } open class UPCarouselFlowLayout: UICollectionViewFlowLayout { fileprivate struct LayoutState { var size: CGSize var direction: UICollectionView.ScrollDirection func isEqual(_ otherState: LayoutState) -> Bool { return self.size.equalTo(otherState.size) && self.direction == otherState.direction } } @IBInspectable open var sideItemScale: CGFloat = 0.6 @IBInspectable open var sideItemAlpha: CGFloat = 0.6 @IBInspectable open var sideItemShift: CGFloat = 0.0 open var spacingMode = UPCarouselFlowLayoutSpacingMode.fixed(spacing: 40) fileprivate var state = LayoutState(size: CGSize.zero, direction: .horizontal) override open func prepare() { super.prepare() let currentState = LayoutState(size: self.collectionView!.bounds.size, direction: self.scrollDirection) if !self.state.isEqual(currentState) { self.setupCollectionView() self.updateLayout() self.state = currentState } } fileprivate func setupCollectionView() { guard let collectionView = self.collectionView else { return } if collectionView.decelerationRate != UIScrollView.DecelerationRate.fast { collectionView.decelerationRate = UIScrollView.DecelerationRate.fast } } fileprivate func updateLayout() { guard let collectionView = self.collectionView else { return } let collectionSize = collectionView.bounds.size let isHorizontal = (self.scrollDirection == .horizontal) let yInset = (collectionSize.height - self.itemSize.height) / 2 let xInset = (collectionSize.width - self.itemSize.width) / 2 self.sectionInset = UIEdgeInsets.init(top: yInset, left: xInset, bottom: yInset, right: xInset) let side = isHorizontal ? self.itemSize.width : self.itemSize.height let scaledItemOffset = (side - side*self.sideItemScale) / 2 switch self.spacingMode { case .fixed(let spacing): self.minimumLineSpacing = spacing - scaledItemOffset case .overlap(let visibleOffset): let fullSizeSideItemOverlap = visibleOffset + scaledItemOffset let inset = isHorizontal ? xInset : yInset self.minimumLineSpacing = inset - fullSizeSideItemOverlap } } override open func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool { return true } override open func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? { guard let superAttributes = super.layoutAttributesForElements(in: rect), let attributes = NSArray(array: superAttributes, copyItems: true) as? [UICollectionViewLayoutAttributes] else { return nil } return attributes.map({ self.transformLayoutAttributes($0) }) } fileprivate func transformLayoutAttributes(_ attributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes { guard let collectionView = self.collectionView else { return attributes } let isHorizontal = (self.scrollDirection == .horizontal) let collectionCenter = isHorizontal ? collectionView.frame.size.width/2 : collectionView.frame.size.height/2 let offset = isHorizontal ? collectionView.contentOffset.x : collectionView.contentOffset.y let normalizedCenter = (isHorizontal ? attributes.center.x : attributes.center.y) - offset let maxDistance = (isHorizontal ? self.itemSize.width : self.itemSize.height) + self.minimumLineSpacing let distance = min(abs(collectionCenter - normalizedCenter), maxDistance) let ratio = (maxDistance - distance)/maxDistance let alpha = ratio * (1 - self.sideItemAlpha) + self.sideItemAlpha let scale = ratio * (1 - self.sideItemScale) + self.sideItemScale let shift = (1 - ratio) * self.sideItemShift attributes.alpha = alpha attributes.transform3D = CATransform3DScale(CATransform3DIdentity, scale, scale, 1) attributes.zIndex = Int(alpha * 10) if isHorizontal { attributes.center.y = attributes.center.y + shift } else { attributes.center.x = attributes.center.x + shift } return attributes } override open func targetContentOffset(forProposedContentOffset proposedContentOffset: CGPoint, withScrollingVelocity velocity: CGPoint) -> CGPoint { guard let collectionView = collectionView , !collectionView.isPagingEnabled, let layoutAttributes = self.layoutAttributesForElements(in: collectionView.bounds) else { return super.targetContentOffset(forProposedContentOffset: proposedContentOffset) } let isHorizontal = (self.scrollDirection == .horizontal) let midSide = (isHorizontal ? collectionView.bounds.size.width : collectionView.bounds.size.height) / 2 let proposedContentOffsetCenterOrigin = (isHorizontal ? proposedContentOffset.x : proposedContentOffset.y) + midSide var targetContentOffset: CGPoint if isHorizontal { let closest = layoutAttributes.sorted { abs($0.center.x - proposedContentOffsetCenterOrigin) < abs($1.center.x - proposedContentOffsetCenterOrigin) }.first ?? UICollectionViewLayoutAttributes() targetContentOffset = CGPoint(x: floor(closest.center.x - midSide), y: proposedContentOffset.y) } else { let closest = layoutAttributes.sorted { abs($0.center.y - proposedContentOffsetCenterOrigin) < abs($1.center.y - proposedContentOffsetCenterOrigin) }.first ?? UICollectionViewLayoutAttributes() targetContentOffset = CGPoint(x: proposedContentOffset.x, y: floor(closest.center.y - midSide)) } return targetContentOffset } } ```
/content/code_sandbox/UPCarouselFlowLayout/UPCarouselFlowLayout.swift
swift
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
1,260
```unknown // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 01D387971D229BFC00CE4E1F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01D3878B1D229BFC00CE4E1F /* AppDelegate.swift */; }; 01D387981D229BFC00CE4E1F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 01D3878C1D229BFC00CE4E1F /* Assets.xcassets */; }; 01D387991D229BFC00CE4E1F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 01D3878D1D229BFC00CE4E1F /* LaunchScreen.storyboard */; }; 01D3879A1D229BFC00CE4E1F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 01D3878F1D229BFC00CE4E1F /* Main.storyboard */; }; 01D3879B1D229BFC00CE4E1F /* CarouselCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01D387911D229BFC00CE4E1F /* CarouselCollectionViewCell.swift */; }; 01D3879C1D229BFC00CE4E1F /* Character.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01D387921D229BFC00CE4E1F /* Character.swift */; }; 01D3879D1D229BFC00CE4E1F /* GradientView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01D387931D229BFC00CE4E1F /* GradientView.swift */; }; 01D387A01D229BFC00CE4E1F /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01D387961D229BFC00CE4E1F /* ViewController.swift */; }; 01D387A31D229E4A00CE4E1F /* UPCarouselFlowLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01D387A21D229E4A00CE4E1F /* UPCarouselFlowLayout.swift */; }; 841C95011DDEE57F00B997F5 /* UPCarouselFlowLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = 841C94FF1DDEE57F00B997F5 /* UPCarouselFlowLayout.h */; settings = {ATTRIBUTES = (Public, ); }; }; 841C95041DDEE57F00B997F5 /* UPCarouselFlowLayout.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 841C94FD1DDEE57F00B997F5 /* UPCarouselFlowLayout.framework */; }; 841C95051DDEE57F00B997F5 /* UPCarouselFlowLayout.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 841C94FD1DDEE57F00B997F5 /* UPCarouselFlowLayout.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 841C950A1DDEE5A100B997F5 /* UPCarouselFlowLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01D387A21D229E4A00CE4E1F /* UPCarouselFlowLayout.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ 841C95021DDEE57F00B997F5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 01D387631D1C4B9D00CE4E1F /* Project object */; proxyType = 1; remoteGlobalIDString = 841C94FC1DDEE57F00B997F5; remoteInfo = UPCarouselFlowLayout; }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ 841C95091DDEE57F00B997F5 /* Embed Frameworks */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; dstPath = ""; dstSubfolderSpec = 10; files = ( 841C95051DDEE57F00B997F5 /* UPCarouselFlowLayout.framework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ 01D3876B1D1C4B9D00CE4E1F /* UPCarouselFlowLayoutDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UPCarouselFlowLayoutDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 01D3878B1D229BFC00CE4E1F /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 01D3878C1D229BFC00CE4E1F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; 01D3878E1D229BFC00CE4E1F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; 01D387901D229BFC00CE4E1F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; 01D387911D229BFC00CE4E1F /* CarouselCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CarouselCollectionViewCell.swift; sourceTree = "<group>"; }; 01D387921D229BFC00CE4E1F /* Character.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Character.swift; sourceTree = "<group>"; }; 01D387931D229BFC00CE4E1F /* GradientView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GradientView.swift; sourceTree = "<group>"; }; 01D387941D229BFC00CE4E1F /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 01D387961D229BFC00CE4E1F /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; }; 01D387A21D229E4A00CE4E1F /* UPCarouselFlowLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UPCarouselFlowLayout.swift; sourceTree = "<group>"; }; 841C94F01DDEE4E300B997F5 /* UPCarouselFlowLayout.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UPCarouselFlowLayout.h; sourceTree = "<group>"; }; 841C94F11DDEE4E300B997F5 /* UPCarouselFlowLayout.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UPCarouselFlowLayout.m; sourceTree = "<group>"; }; 841C94FD1DDEE57F00B997F5 /* UPCarouselFlowLayout.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = UPCarouselFlowLayout.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 841C94FF1DDEE57F00B997F5 /* UPCarouselFlowLayout.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UPCarouselFlowLayout.h; sourceTree = "<group>"; }; 841C95001DDEE57F00B997F5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ 01D387681D1C4B9D00CE4E1F /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 841C95041DDEE57F00B997F5 /* UPCarouselFlowLayout.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; 841C94F91DDEE57F00B997F5 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 01D387621D1C4B9D00CE4E1F = { isa = PBXGroup; children = ( 01D3878A1D229BFC00CE4E1F /* UPCarouselFlowLayoutDemo */, 841C94EF1DDEE4E300B997F5 /* UPCarouselFlowLayout */, 841C94FE1DDEE57F00B997F5 /* UPCarouselFlowLayout */, 01D3876C1D1C4B9D00CE4E1F /* Products */, ); sourceTree = "<group>"; }; 01D3876C1D1C4B9D00CE4E1F /* Products */ = { isa = PBXGroup; children = ( 01D3876B1D1C4B9D00CE4E1F /* UPCarouselFlowLayoutDemo.app */, 841C94FD1DDEE57F00B997F5 /* UPCarouselFlowLayout.framework */, ); name = Products; sourceTree = "<group>"; }; 01D3878A1D229BFC00CE4E1F /* UPCarouselFlowLayoutDemo */ = { isa = PBXGroup; children = ( 01D387A11D229E4A00CE4E1F /* UPCarouselFlowLayout */, 01D3878B1D229BFC00CE4E1F /* AppDelegate.swift */, 01D387931D229BFC00CE4E1F /* GradientView.swift */, 01D387961D229BFC00CE4E1F /* ViewController.swift */, 01D387921D229BFC00CE4E1F /* Character.swift */, 01D387911D229BFC00CE4E1F /* CarouselCollectionViewCell.swift */, 01D3878C1D229BFC00CE4E1F /* Assets.xcassets */, 01D3878D1D229BFC00CE4E1F /* LaunchScreen.storyboard */, 01D3878F1D229BFC00CE4E1F /* Main.storyboard */, 01D387941D229BFC00CE4E1F /* Info.plist */, ); path = UPCarouselFlowLayoutDemo; sourceTree = "<group>"; }; 01D387A11D229E4A00CE4E1F /* UPCarouselFlowLayout */ = { isa = PBXGroup; children = ( 01D387A21D229E4A00CE4E1F /* UPCarouselFlowLayout.swift */, ); path = UPCarouselFlowLayout; sourceTree = SOURCE_ROOT; }; 841C94EF1DDEE4E300B997F5 /* UPCarouselFlowLayout */ = { isa = PBXGroup; children = ( 841C94F01DDEE4E300B997F5 /* UPCarouselFlowLayout.h */, 841C94F11DDEE4E300B997F5 /* UPCarouselFlowLayout.m */, ); path = UPCarouselFlowLayout; sourceTree = "<group>"; }; 841C94FE1DDEE57F00B997F5 /* UPCarouselFlowLayout */ = { isa = PBXGroup; children = ( 841C94FF1DDEE57F00B997F5 /* UPCarouselFlowLayout.h */, 841C95001DDEE57F00B997F5 /* Info.plist */, ); path = UPCarouselFlowLayout; sourceTree = "<group>"; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ 841C94FA1DDEE57F00B997F5 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( 841C95011DDEE57F00B997F5 /* UPCarouselFlowLayout.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ 01D3876A1D1C4B9D00CE4E1F /* UPCarouselFlowLayoutDemo */ = { isa = PBXNativeTarget; buildConfigurationList = 01D3877D1D1C4B9D00CE4E1F /* Build configuration list for PBXNativeTarget "UPCarouselFlowLayoutDemo" */; buildPhases = ( 01D387671D1C4B9D00CE4E1F /* Sources */, 01D387681D1C4B9D00CE4E1F /* Frameworks */, 01D387691D1C4B9D00CE4E1F /* Resources */, 841C95091DDEE57F00B997F5 /* Embed Frameworks */, ); buildRules = ( ); dependencies = ( 841C95031DDEE57F00B997F5 /* PBXTargetDependency */, ); name = UPCarouselFlowLayoutDemo; productName = UPCardCollectionViewLayoutDemo; productReference = 01D3876B1D1C4B9D00CE4E1F /* UPCarouselFlowLayoutDemo.app */; productType = "com.apple.product-type.application"; }; 841C94FC1DDEE57F00B997F5 /* UPCarouselFlowLayout */ = { isa = PBXNativeTarget; buildConfigurationList = 841C95061DDEE57F00B997F5 /* Build configuration list for PBXNativeTarget "UPCarouselFlowLayout" */; buildPhases = ( 841C94F81DDEE57F00B997F5 /* Sources */, 841C94F91DDEE57F00B997F5 /* Frameworks */, 841C94FA1DDEE57F00B997F5 /* Headers */, 841C94FB1DDEE57F00B997F5 /* Resources */, ); buildRules = ( ); dependencies = ( ); name = UPCarouselFlowLayout; productName = UPCarouselFlowLayout; productReference = 841C94FD1DDEE57F00B997F5 /* UPCarouselFlowLayout.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 01D387631D1C4B9D00CE4E1F /* Project object */ = { isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0730; LastUpgradeCheck = 1000; ORGANIZATIONNAME = "Paul Ulric"; TargetAttributes = { 01D3876A1D1C4B9D00CE4E1F = { CreatedOnToolsVersion = 7.3.1; LastSwiftMigration = 1000; }; 841C94FC1DDEE57F00B997F5 = { CreatedOnToolsVersion = 8.1; LastSwiftMigration = 1000; ProvisioningStyle = Automatic; }; }; }; buildConfigurationList = 01D387661D1C4B9D00CE4E1F /* Build configuration list for PBXProject "UPCarouselFlowLayoutDemo" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = 01D387621D1C4B9D00CE4E1F; productRefGroup = 01D3876C1D1C4B9D00CE4E1F /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( 01D3876A1D1C4B9D00CE4E1F /* UPCarouselFlowLayoutDemo */, 841C94FC1DDEE57F00B997F5 /* UPCarouselFlowLayout */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ 01D387691D1C4B9D00CE4E1F /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( 01D387981D229BFC00CE4E1F /* Assets.xcassets in Resources */, 01D3879A1D229BFC00CE4E1F /* Main.storyboard in Resources */, 01D387991D229BFC00CE4E1F /* LaunchScreen.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; 841C94FB1DDEE57F00B997F5 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ 01D387671D1C4B9D00CE4E1F /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 01D3879C1D229BFC00CE4E1F /* Character.swift in Sources */, 01D3879B1D229BFC00CE4E1F /* CarouselCollectionViewCell.swift in Sources */, 01D387A31D229E4A00CE4E1F /* UPCarouselFlowLayout.swift in Sources */, 01D3879D1D229BFC00CE4E1F /* GradientView.swift in Sources */, 01D387A01D229BFC00CE4E1F /* ViewController.swift in Sources */, 01D387971D229BFC00CE4E1F /* AppDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; 841C94F81DDEE57F00B997F5 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 841C950A1DDEE5A100B997F5 /* UPCarouselFlowLayout.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ 841C95031DDEE57F00B997F5 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 841C94FC1DDEE57F00B997F5 /* UPCarouselFlowLayout */; targetProxy = 841C95021DDEE57F00B997F5 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ 01D3878D1D229BFC00CE4E1F /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( 01D3878E1D229BFC00CE4E1F /* Base */, ); name = LaunchScreen.storyboard; sourceTree = "<group>"; }; 01D3878F1D229BFC00CE4E1F /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( 01D387901D229BFC00CE4E1F /* Base */, ); name = Main.storyboard; sourceTree = "<group>"; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ 01D3877B1D1C4B9D00CE4E1F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 10.1; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; name = Debug; }; 01D3877C1D1C4B9D00CE4E1F /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 10.1; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; VALIDATE_PRODUCT = YES; }; name = Release; }; 01D3877E1D1C4B9D00CE4E1F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = UPCarouselFlowLayoutDemo/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = UP.UPCarouselFlowLayoutDemo; PRODUCT_NAME = UPCarouselFlowLayoutDemo; SWIFT_SWIFT3_OBJC_INFERENCE = Default; SWIFT_VERSION = 4.2; }; name = Debug; }; 01D3877F1D1C4B9D00CE4E1F /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = UPCarouselFlowLayoutDemo/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = UP.UPCarouselFlowLayoutDemo; PRODUCT_NAME = UPCarouselFlowLayoutDemo; SWIFT_SWIFT3_OBJC_INFERENCE = Default; SWIFT_VERSION = 4.2; }; name = Release; }; 841C95071DDEE57F00B997F5 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CODE_SIGN_IDENTITY = ""; CURRENT_PROJECT_VERSION = 1; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = UPCarouselFlowLayout/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.ramotion.UPCarouselFlowLayout; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_SWIFT3_OBJC_INFERENCE = Default; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; 841C95081DDEE57F00B997F5 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CODE_SIGN_IDENTITY = ""; CURRENT_PROJECT_VERSION = 1; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = UPCarouselFlowLayout/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.ramotion.UPCarouselFlowLayout; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; SWIFT_SWIFT3_OBJC_INFERENCE = Default; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 01D387661D1C4B9D00CE4E1F /* Build configuration list for PBXProject "UPCarouselFlowLayoutDemo" */ = { isa = XCConfigurationList; buildConfigurations = ( 01D3877B1D1C4B9D00CE4E1F /* Debug */, 01D3877C1D1C4B9D00CE4E1F /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 01D3877D1D1C4B9D00CE4E1F /* Build configuration list for PBXNativeTarget "UPCarouselFlowLayoutDemo" */ = { isa = XCConfigurationList; buildConfigurations = ( 01D3877E1D1C4B9D00CE4E1F /* Debug */, 01D3877F1D1C4B9D00CE4E1F /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 841C95061DDEE57F00B997F5 /* Build configuration list for PBXNativeTarget "UPCarouselFlowLayout" */ = { isa = XCConfigurationList; buildConfigurations = ( 841C95071DDEE57F00B997F5 /* Debug */, 841C95081DDEE57F00B997F5 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = 01D387631D1C4B9D00CE4E1F /* Project object */; } ```
/content/code_sandbox/UPCarouselFlowLayoutDemo.xcodeproj/project.pbxproj
unknown
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
7,414
```swift // // GradientView.swift // UPCarouselFlowLayoutDemo // // Created by Paul Ulric on 28/06/2016. // import UIKit class GradientView: UIView { override func draw(_ rect: CGRect) { let colorSpace: CGColorSpace = CGColorSpaceCreateDeviceRGB() let context: CGContext = UIGraphicsGetCurrentContext()! context.saveGState() let startColor: UIColor = UIColor(red: 79.0/255.0, green: 30.0/255.0, blue: 122.0/255.0, alpha: 1.0) let endColor: UIColor = UIColor(red: 46.0/255.0, green: 12.0/255.0, blue: 80.0/255.0, alpha: 1.0) let colors = [startColor.cgColor, endColor.cgColor] let locations: [CGFloat] = [0, 1] let gradient: CGGradient = CGGradient(colorsSpace: colorSpace, colors: colors as CFArray, locations: locations)! let startPoint: CGPoint = CGPoint(x:rect.midX, y: rect.minY) let endPoint: CGPoint = CGPoint(x: rect.midX, y: rect.maxY) context.drawLinearGradient(gradient, start: startPoint, end: endPoint, options: []) context.restoreGState() } } ```
/content/code_sandbox/UPCarouselFlowLayoutDemo/GradientView.swift
swift
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
304
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1</string> <key>LSRequiresIPhoneOS</key> <true/> <key>UILaunchStoryboardName</key> <string>LaunchScreen</string> <key>UIMainStoryboardFile</key> <string>Main</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> </array> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> </dict> </plist> ```
/content/code_sandbox/UPCarouselFlowLayoutDemo/Info.plist
xml
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
365
```swift // // CarouselCollectionViewCell.swift // UPCarouselFlowLayoutDemo // // Created by Paul Ulric on 23/06/2016. // import UIKit class CarouselCollectionViewCell: UICollectionViewCell { @IBOutlet weak var image: UIImageView! static let identifier = "CarouselCollectionViewCell" required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) self.layer.cornerRadius = max(self.frame.size.width, self.frame.size.height) / 2 self.layer.borderWidth = 10 self.layer.borderColor = UIColor(red: 110.0/255.0, green: 80.0/255.0, blue: 140.0/255.0, alpha: 1.0).cgColor } } ```
/content/code_sandbox/UPCarouselFlowLayoutDemo/CarouselCollectionViewCell.swift
swift
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
163
```swift // // Character.swift // UPCarouselFlowLayoutDemo // // Created by Paul Ulric on 28/06/2016. // import Foundation struct Character { let imageName: String! let name: String! let movie: String! } ```
/content/code_sandbox/UPCarouselFlowLayoutDemo/Character.swift
swift
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
58
```swift // // AppDelegate.swift // UPCarouselFlowLayoutDemo // // Created by Paul Ulric on 23/06/2016. // import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true } func applicationWillResignActive(_ application: UIApplication) { // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. } func applicationDidEnterBackground(_ application: UIApplication) { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. } func applicationWillEnterForeground(_ application: UIApplication) { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. } func applicationDidBecomeActive(_ application: UIApplication) { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. } func applicationWillTerminate(_ application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } } ```
/content/code_sandbox/UPCarouselFlowLayoutDemo/AppDelegate.swift
swift
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
397
```swift // // ViewController.swift // UPCarouselFlowLayoutDemo // // Created by Paul Ulric on 23/06/2016. // import UIKit class ViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource { @IBOutlet weak var infoLabel: UILabel! @IBOutlet weak var detailLabel: UILabel! @IBOutlet weak var collectionView: UICollectionView! fileprivate var items = [Character]() fileprivate var currentPage: Int = 0 { didSet { let character = self.items[self.currentPage] self.infoLabel.text = character.name.uppercased() self.detailLabel.text = character.movie.uppercased() } } fileprivate var pageSize: CGSize { let layout = self.collectionView.collectionViewLayout as! UPCarouselFlowLayout var pageSize = layout.itemSize if layout.scrollDirection == .horizontal { pageSize.width += layout.minimumLineSpacing } else { pageSize.height += layout.minimumLineSpacing } return pageSize } fileprivate var orientation: UIDeviceOrientation { return UIDevice.current.orientation } override func viewDidLoad() { super.viewDidLoad() self.setupLayout() self.items = self.createItems() self.currentPage = 0 NotificationCenter.default.addObserver(self, selector: #selector(ViewController.rotationDidChange), name: UIDevice.orientationDidChangeNotification, object: nil) } fileprivate func setupLayout() { let layout = self.collectionView.collectionViewLayout as! UPCarouselFlowLayout layout.spacingMode = UPCarouselFlowLayoutSpacingMode.overlap(visibleOffset: 30) } fileprivate func createItems() -> [Character] { let characters = [ Character(imageName: "wall-e", name: "Wall-E", movie: "Wall-E"), Character(imageName: "nemo", name: "Nemo", movie: "Finding Nemo"), Character(imageName: "ratatouille", name: "Remy", movie: "Ratatouille"), Character(imageName: "buzz", name: "Buzz Lightyear", movie: "Toy Story"), Character(imageName: "monsters", name: "Mike & Sullivan", movie: "Monsters Inc."), Character(imageName: "brave", name: "Merida", movie: "Brave") ] return characters } @objc fileprivate func rotationDidChange() { guard !orientation.isFlat else { return } let layout = self.collectionView.collectionViewLayout as! UPCarouselFlowLayout let direction: UICollectionView.ScrollDirection = orientation.isPortrait ? .horizontal : .vertical layout.scrollDirection = direction if currentPage > 0 { let indexPath = IndexPath(item: currentPage, section: 0) let scrollPosition: UICollectionView.ScrollPosition = orientation.isPortrait ? .centeredHorizontally : .centeredVertically self.collectionView.scrollToItem(at: indexPath, at: scrollPosition, animated: false) } } // MARK: - Card Collection Delegate & DataSource func numberOfSections(in collectionView: UICollectionView) -> Int { return 1 } func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { return items.count } func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { let cell = collectionView.dequeueReusableCell(withReuseIdentifier: CarouselCollectionViewCell.identifier, for: indexPath) as! CarouselCollectionViewCell let character = items[(indexPath as NSIndexPath).row] cell.image.image = UIImage(named: character.imageName) return cell } func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { let character = items[(indexPath as NSIndexPath).row] let alert = UIAlertController(title: character.name, message: nil, preferredStyle: .alert) alert.addAction(UIAlertAction(title: "OK", style: .default, handler: nil)) present(alert, animated: true, completion: nil) } // MARK: - UIScrollViewDelegate func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) { let layout = self.collectionView.collectionViewLayout as! UPCarouselFlowLayout let pageSide = (layout.scrollDirection == .horizontal) ? self.pageSize.width : self.pageSize.height let offset = (layout.scrollDirection == .horizontal) ? scrollView.contentOffset.x : scrollView.contentOffset.y currentPage = Int(floor((offset - pageSide / 2) / pageSide) + 1) } } ```
/content/code_sandbox/UPCarouselFlowLayoutDemo/ViewController.swift
swift
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
929
```xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM"> <dependencies> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/> </dependencies> <scenes> <!--View Controller--> <scene sceneID="EHf-IW-A2E"> <objects> <viewController id="01J-lp-oVM" sceneMemberID="viewController"> <layoutGuides> <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/> <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/> </layoutGuides> <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"> <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <animations/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> </view> </viewController> <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> <point key="canvasLocation" x="53" y="375"/> </scene> </scenes> </document> ```
/content/code_sandbox/UPCarouselFlowLayoutDemo/Base.lproj/LaunchScreen.storyboard
xml
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
402
```xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1217" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> <device id="retina4_7" orientation="portrait"> <adaptation id="fullscreen"/> </device> <dependencies> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/> <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <scenes> <!--View Controller--> <scene sceneID="tne-QT-ifu"> <objects> <viewController id="BYZ-38-t0r" customClass="ViewController" customModule="UPCarouselFlowLayoutDemo" customModuleProvider="target" sceneMemberID="viewController"> <layoutGuides> <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/> <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/> </layoutGuides> <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC" customClass="GradientView" customModule="UPCarouselFlowLayoutDemo" customModuleProvider="target"> <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" prefetchingEnabled="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CSe-4J-2Li"> <rect key="frame" x="0.0" y="20" width="375" height="380"/> <color key="backgroundColor" red="1" green="0.9815479684956897" blue="0.96438705760446453" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="HCZ-1a-9IA" customClass="UPCarouselFlowLayout" customModule="UPCarouselFlowLayoutDemo" customModuleProvider="target"> <size key="itemSize" width="200" height="200"/> <size key="headerReferenceSize" width="0.0" height="0.0"/> <size key="footerReferenceSize" width="0.0" height="0.0"/> <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="number" keyPath="sideItemScale"> <real key="value" value="0.59999999999999998"/> </userDefinedRuntimeAttribute> <userDefinedRuntimeAttribute type="number" keyPath="sideItemAlpha"> <real key="value" value="0.40000000000000002"/> </userDefinedRuntimeAttribute> </userDefinedRuntimeAttributes> </collectionViewFlowLayout> <cells> <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="CarouselCollectionViewCell" id="llp-X3-Mte" customClass="CarouselCollectionViewCell" customModule="UPCarouselFlowLayoutDemo" customModuleProvider="target"> <rect key="frame" x="0.0" y="90" width="200" height="200"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center"> <rect key="frame" x="0.0" y="0.0" width="200" height="200"/> <autoresizingMask key="autoresizingMask"/> <subviews> <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="2I7-1D-ZWH"> <rect key="frame" x="0.0" y="0.0" width="200" height="200"/> </imageView> </subviews> </view> <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="trailing" secondItem="2I7-1D-ZWH" secondAttribute="trailing" id="HhG-2M-bdx"/> <constraint firstItem="2I7-1D-ZWH" firstAttribute="top" secondItem="llp-X3-Mte" secondAttribute="top" id="Rmt-aH-mlt"/> <constraint firstAttribute="bottom" secondItem="2I7-1D-ZWH" secondAttribute="bottom" id="ZFl-Jb-MFk"/> <constraint firstItem="2I7-1D-ZWH" firstAttribute="leading" secondItem="llp-X3-Mte" secondAttribute="leading" id="z5b-8I-ce0"/> </constraints> <connections> <outlet property="image" destination="2I7-1D-ZWH" id="o9L-GH-CUb"/> </connections> </collectionViewCell> </cells> <connections> <outlet property="dataSource" destination="BYZ-38-t0r" id="Baa-lY-usA"/> <outlet property="delegate" destination="BYZ-38-t0r" id="NCQ-u6-q8e"/> </connections> </collectionView> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="din-gq-Vb3"> <rect key="frame" x="0.0" y="400" width="375" height="267"/> <subviews> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="fgc-1N-0GE"> <rect key="frame" x="148" y="103" width="80.5" height="60.5"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ACZ-N4-qgi"> <rect key="frame" x="0.0" y="0.0" width="80.5" height="35"/> <constraints> <constraint firstAttribute="height" constant="50" id="hbf-aZ-YMw"/> </constraints> <fontDescription key="fontDescription" name="ArialRoundedMTBold" family="Arial Rounded MT Bold" pointSize="30"/> <color key="textColor" red="0.92156862745098034" green="0.92156862745098034" blue="0.92156862745098034" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> <variation key="default"> <mask key="constraints"> <exclude reference="hbf-aZ-YMw"/> </mask> </variation> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0RQ-Wg-X6w"> <rect key="frame" x="19" y="40" width="42" height="20.5"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.50980392156862742" green="0.45098039215686275" blue="0.58823529411764708" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> </stackView> </subviews> <color key="backgroundColor" red="0.062745098039215685" green="0.086274509803921567" blue="0.13333333333333333" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstItem="fgc-1N-0GE" firstAttribute="centerY" secondItem="din-gq-Vb3" secondAttribute="centerY" id="BlO-xb-xZx"/> <constraint firstItem="fgc-1N-0GE" firstAttribute="centerX" secondItem="din-gq-Vb3" secondAttribute="centerX" id="tqu-8s-2gJ"/> </constraints> </view> </subviews> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="trailing" secondItem="din-gq-Vb3" secondAttribute="trailing" id="2dP-2J-Vo8"/> <constraint firstItem="din-gq-Vb3" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" id="31u-8m-Zjd"/> <constraint firstItem="CSe-4J-2Li" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="33Q-DG-4JW"/> <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="din-gq-Vb3" secondAttribute="bottom" id="4Jf-1W-QZC"/> <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="din-gq-Vb3" secondAttribute="bottom" id="8Qf-gD-yTW"/> <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="CSe-4J-2Li" secondAttribute="bottom" id="LOk-63-a9f"/> <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="CSe-4J-2Li" secondAttribute="bottom" id="MGY-FF-O9w"/> <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="din-gq-Vb3" secondAttribute="bottom" id="RDW-Le-HWI"/> <constraint firstItem="CSe-4J-2Li" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" id="Vbz-sP-ICd"/> <constraint firstItem="din-gq-Vb3" firstAttribute="top" secondItem="CSe-4J-2Li" secondAttribute="bottom" id="Xy4-hW-pvo"/> <constraint firstItem="CSe-4J-2Li" firstAttribute="leading" secondItem="din-gq-Vb3" secondAttribute="trailing" id="ZYy-B2-BeC"/> <constraint firstItem="din-gq-Vb3" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" id="djN-Mw-eyO"/> <constraint firstItem="CSe-4J-2Li" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="200" id="h6X-gM-XrS"> <variation key="heightClass=compact" constant="0.0"/> </constraint> <constraint firstItem="din-gq-Vb3" firstAttribute="width" secondItem="8bC-Xf-vdC" secondAttribute="width" multiplier="0.5" id="iEI-DS-AV2"/> <constraint firstItem="CSe-4J-2Li" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="kHY-UP-OcB"/> <constraint firstItem="CSe-4J-2Li" firstAttribute="top" secondItem="din-gq-Vb3" secondAttribute="bottom" id="kHm-Pn-smc"/> <constraint firstItem="CSe-4J-2Li" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" id="lEz-dg-fv4"/> <constraint firstItem="din-gq-Vb3" firstAttribute="leading" secondItem="CSe-4J-2Li" secondAttribute="trailing" id="oNO-Gk-yuM"/> <constraint firstItem="din-gq-Vb3" firstAttribute="height" secondItem="8bC-Xf-vdC" secondAttribute="height" multiplier="0.4" id="qQe-M6-aGp"/> <constraint firstAttribute="trailing" secondItem="CSe-4J-2Li" secondAttribute="trailing" id="wGM-5y-63h"/> <constraint firstAttribute="trailing" secondItem="din-gq-Vb3" secondAttribute="trailing" id="x3h-8N-Fx2"/> <constraint firstItem="din-gq-Vb3" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="z7b-lu-A5J"/> </constraints> <variation key="default"> <mask key="constraints"> <exclude reference="Vbz-sP-ICd"/> <exclude reference="ZYy-B2-BeC"/> <exclude reference="h6X-gM-XrS"/> <exclude reference="kHY-UP-OcB"/> <exclude reference="kHm-Pn-smc"/> <exclude reference="31u-8m-Zjd"/> <exclude reference="djN-Mw-eyO"/> <exclude reference="iEI-DS-AV2"/> <exclude reference="oNO-Gk-yuM"/> <exclude reference="x3h-8N-Fx2"/> <exclude reference="4Jf-1W-QZC"/> <exclude reference="8Qf-gD-yTW"/> <exclude reference="LOk-63-a9f"/> <exclude reference="MGY-FF-O9w"/> </mask> </variation> <variation key="heightClass=compact"> <mask key="constraints"> <exclude reference="33Q-DG-4JW"/> <include reference="Vbz-sP-ICd"/> <exclude reference="ZYy-B2-BeC"/> <exclude reference="h6X-gM-XrS"/> <include reference="kHY-UP-OcB"/> <exclude reference="kHm-Pn-smc"/> <exclude reference="lEz-dg-fv4"/> <exclude reference="wGM-5y-63h"/> <exclude reference="2dP-2J-Vo8"/> <include reference="31u-8m-Zjd"/> <exclude reference="Xy4-hW-pvo"/> <include reference="iEI-DS-AV2"/> <include reference="oNO-Gk-yuM"/> <exclude reference="qQe-M6-aGp"/> <include reference="x3h-8N-Fx2"/> <exclude reference="z7b-lu-A5J"/> <include reference="4Jf-1W-QZC"/> <exclude reference="8Qf-gD-yTW"/> <include reference="LOk-63-a9f"/> <exclude reference="RDW-Le-HWI"/> </mask> </variation> </view> <connections> <outlet property="collectionView" destination="CSe-4J-2Li" id="S7q-gO-wo5"/> <outlet property="detailLabel" destination="0RQ-Wg-X6w" id="dCl-2y-lzR"/> <outlet property="infoLabel" destination="ACZ-N4-qgi" id="SH0-wd-E1u"/> </connections> </viewController> <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> </objects> <point key="canvasLocation" x="480" y="463"/> </scene> </scenes> </document> ```
/content/code_sandbox/UPCarouselFlowLayoutDemo/Base.lproj/Main.storyboard
xml
2016-06-28T11:43:43
2024-08-06T06:52:49
UPCarouselFlowLayout
zepojo/UPCarouselFlowLayout
1,659
3,901
```unknown --- Language: Cpp # BasedOnStyle: Google AccessModifierOffset: -4 AlignAfterOpenBracket: false AlignConsecutiveAssignments: false AlignEscapedNewlinesLeft: false AlignOperands: false AlignTrailingComments: false AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: true AllowShortLoopsOnASingleLine: true AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakBeforeMultilineStrings: true AlwaysBreakTemplateDeclarations: true BinPackArguments: true BinPackParameters: true BreakBeforeBinaryOperators: NonAssignment BreakBeforeBraces: Attach BreakBeforeTernaryOperators: true BreakConstructorInitializersBeforeComma: false ColumnLimit: 90 CommentPragmas: "^ IWYU pragma:" ConstructorInitializerAllOnOneLineOrOnePerLine: false ConstructorInitializerIndentWidth: 4 ContinuationIndentWidth: 4 Cpp11BracedListStyle: true DerivePointerAlignment: false DisableFormat: false ExperimentalAutoDetectBinPacking: false FixNamespaceComments: false ForEachMacros: [foreach, Q_FOREACH, BOOST_FOREACH] IndentCaseLabels: false IndentWidth: 4 IndentWrappedFunctionNames: false KeepEmptyLinesAtTheStartOfBlocks: false MacroBlockBegin: "" MacroBlockEnd: "" MaxEmptyLinesToKeep: 1 NamespaceIndentation: None ObjCBlockIndentWidth: 2 ObjCSpaceAfterProperty: false ObjCSpaceBeforeProtocolList: false PenaltyBreakBeforeFirstCallParameter: 1 PenaltyBreakComment: 300 PenaltyBreakFirstLessLess: 120 PenaltyBreakString: 1000 PenaltyExcessCharacter: 1000000 PenaltyReturnTypeOnItsOwnLine: 200 PointerAlignment: Left SpaceAfterCStyleCast: false SpaceBeforeAssignmentOperators: true SpaceBeforeParens: ControlStatements SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 2 SpacesInAngles: "Never" SpacesInContainerLiterals: true SpacesInCStyleCastParentheses: false SpacesInParentheses: false SpacesInSquareBrackets: false Standard: Auto TabWidth: 4 UseTab: Never IncludeBlocks: Regroup IncludeCategories: # # Specific external headers in <> to put first - Regex: "<(catch2|gtest).*>" Priority: 1 # External headers in <> with extension or / - Regex: '<[-\w\/-_]+[\.\/][-\w\/-_]+>' Priority: 2 # Standard headers in <> - Regex: '<[-\w\/-_]+>' Priority: 3 # Local headers in "" - Regex: '"[-\w\/-_]*"' Priority: 4 SortUsingDeclarations: true ```
/content/code_sandbox/.clang-format
unknown
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
663
```xml export * from "./lib/draft" ```
/content/code_sandbox/draft.d.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
9
```javascript /** * @type {import('mocha').MochaOptions} */ const config = { require: ["ts-node/register"], spec: ["test/unit/*-test.ts", "test/unit/compat/*-test.js"], "expose-gc": true, "v8-expose-gc": true, exit: true, parallel: true, } module.exports = config ```
/content/code_sandbox/.mocharc.js
javascript
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
85
```javascript if (require(".").capability.draft) { process.emitWarning( "ZeroMQ draft features are experimental and could change at any time.", ) } else { throw new Error( "ZeroMQ draft features are not enabled in this build. " + "To enable support, (re)compile this library with --zmq-draft.", ) } module.exports = require("./lib/draft") ```
/content/code_sandbox/draft.js
javascript
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
87
```javascript module.exports = require("./lib/compat") ```
/content/code_sandbox/v5-compat.js
javascript
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
10
```unknown CompileFlags: CompilationDatabase: build/Debug ```
/content/code_sandbox/.clangd
unknown
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
12
```unknown # Zmq settings build-from-source=true ```
/content/code_sandbox/.npmrc
unknown
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
11
```xml export * from "./lib/compat" ```
/content/code_sandbox/v5-compat.d.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
9
```xml import * as zmq from "../src" import {getGcOrSkipTest} from "./unit/helpers" async function main() { const gc = getGcOrSkipTest() let weakRef: undefined | WeakRef<zmq.Context> const task = async () => { const context: zmq.Context | undefined = new zmq.Context() const dealer = new zmq.Dealer({context, linger: 0}) weakRef = new WeakRef(context) // dealer.close() } await task() await gc() console.log(weakRef?.deref()) } main().catch(err => { console.error(err) process.exit(1) }) ```
/content/code_sandbox/test/debug.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
143
```python { 'variables': { 'zmq_shared%': 'false', 'zmq_draft%': 'false', 'zmq_no_sync_resolve%': 'false', 'sanitizers%': 'false', 'openssl_fips': '', 'runtime%': 'node', }, 'targets': [ { 'target_name': 'libzmq', 'type': 'none', 'actions': [{ 'action_name': 'build_libzmq', 'inputs': [], 'conditions': [ ['OS != "win"', { 'outputs': ['<(module_root_dir)/build/libzmq/lib/libzmq.a', '<(module_root_dir)/build/libzmq/include/zmq.h', '<(module_root_dir)/build/libzmq/include/zmq_utils.h'], }], ['OS == "win"', { 'outputs': ['<(module_root_dir)/build/libzmq/lib/libzmq.lib', '<(module_root_dir)/build/libzmq/include/zmq.h', '<(module_root_dir)/build/libzmq/include/zmq_utils.h'], }], ], 'action': ['node', '<(module_root_dir)/script/build.js'], }], }, { 'target_name': 'zeromq', 'dependencies': ['libzmq'], 'sources': [ 'src/context.cc', 'src/incoming_msg.cc', 'src/module.cc', 'src/observer.cc', 'src/outgoing_msg.cc', 'src/proxy.cc', 'src/socket.cc', ], 'include_dirs': [ '<(module_root_dir)/build/libzmq/include', "<!@(node -p \"require('node-addon-api').include\")" ], 'defines': [ 'ZMQ_STATIC', ], 'conditions': [ ["zmq_draft == 'true'", { 'defines': [ 'ZMQ_BUILD_DRAFT_API', ], }], ["zmq_no_sync_resolve == 'true'", { 'defines': [ 'ZMQ_NO_SYNC_RESOLVE', ], }], ["zmq_shared == 'true'", { 'link_settings': { 'libraries': ['-lzmq'], }, }, { 'conditions': [ ['OS != "win"', { 'libraries': [ '<(module_root_dir)/build/libzmq/lib/libzmq.a', ], }], ['OS == "mac"', { 'libraries': [ '<(module_root_dir)/build/libzmq/lib/libzmq.a', ], }], ['OS == "win"', { 'libraries': [ '<(module_root_dir)/build/libzmq/lib/libzmq', 'ws2_32.lib', 'iphlpapi', ], }], ], }], ['runtime=="electron"', { "defines": ["NODE_RUNTIME_ELECTRON=1"] }], ], 'configurations': { 'Debug': { 'defines': ['NAPI_CPP_EXCEPTIONS', 'DEBUG', '_DEBUG'], 'cflags_cc!': [ "-fno-exceptions", ], "cflags_cc": [ "-fexceptions" ], 'conditions': [ ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { # flag removal 'cflags_cc!': [ '-std=gnu++0x', '-std=gnu++1y' ], 'cflags_cc+': [ '-std=c++17', '-Wno-missing-field-initializers', ], }], ['OS == "mac"', { 'xcode_settings': { # path_to_url 'CLANG_CXX_LIBRARY': 'libc++', 'CLANG_CXX_LANGUAGE_STANDARD': 'c++17', 'MACOSX_DEPLOYMENT_TARGET': '10.9', 'WARNING_CFLAGS': [ '-Wextra', '-Wno-unused-parameter', '-Wno-missing-field-initializers', ], 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'GCC_ENABLE_EXCEPTIONS': 'YES', }, }], ['OS == "win"', { 'msvs_settings': { 'conditions': [ ['"<@(sanitizers)" != "true"', { # without sanitizer 'VCCLCompilerTool': { 'ExceptionHandling': 2, # /EHsc # 0 - MultiThreaded (/MT) # 1 - MultiThreadedDebug (/MTd) # 2 - MultiThreadedDLL (/MD) # 3 - MultiThreadedDebugDLL (/MDd) 'RuntimeLibrary': 3, 'AdditionalOptions': [ '-std:c++17', "/DEBUG", ], }, 'VCLinkerTool': { 'BasicRuntimeChecks': 3, # /RTC1 }, }, { # with sanitizer # Build with `node-gyp rebuild --debug --sanitizers='true'` # Make sure to add the followings (or what your MSVC use) to the PATH and run `refreshenv`. # # C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.29.29917/lib/x64/ # # C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.29.29917/bin/Hostx64/x64/ 'VCCLCompilerTool': { 'ExceptionHandling': 2, # /EHsc 'RuntimeLibrary': 3, "DebugInformationFormat": "ProgramDatabase", # /Zi 'AdditionalOptions': [ '-std:c++17', "/DEBUG", "/fsanitize=address", ], }, 'VCLinkerTool': { 'BasicRuntimeChecks': 0, # not supported with fsanitize "LinkIncremental": "NO", # /INCREMENTAL:NO }, }], ], }, }], ], }, 'Release': { 'defines': [ 'NAPI_CPP_EXCEPTIONS', ], # flag removal 'cflags_cc!': [ "-fno-exceptions", ], "cflags_cc": [ "-fexceptions", ], 'conditions': [ ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { 'cflags_cc!': [ '-std=gnu++0x', '-std=gnu++1y' ], 'cflags_cc+': [ '-std=c++17', # '-flto', '-Wno-missing-field-initializers', ], }], ['OS == "mac"', { # path_to_url 'xcode_settings': { 'CLANG_CXX_LIBRARY': 'libc++', 'CLANG_CXX_LANGUAGE_STANDARD': 'c++17', 'MACOSX_DEPLOYMENT_TARGET': '10.15', # 'LLVM_LTO': 'YES', 'GCC_OPTIMIZATION_LEVEL': '3', 'DEPLOYMENT_POSTPROCESSING': 'YES', 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', 'DEAD_CODE_STRIPPING': 'YES', 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'GCC_ENABLE_EXCEPTIONS': 'YES', }, }], ['OS == "win"', { 'msvs_settings': { 'VCCLCompilerTool': { # 0 - MultiThreaded (/MT) # 1 - MultiThreadedDebug (/MTd) # 2 - MultiThreadedDLL (/MD) # 3 - MultiThreadedDebugDLL (/MDd) 'RuntimeLibrary': 2, 'AdditionalOptions': [ '-std:c++17', '/EHsc' ], }, 'VCLinkerTool': { 'AdditionalOptions': ['/ignore:4099'], }, }, }], ], }, }, }, ], } ```
/content/code_sandbox/binding.gyp
python
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
1,767
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`proxy with ${proto} router/dealer`, function () { /* ZMQ < 4.0.5 has no steerable proxy support. */ if (semver.satisfies(zmq.version, "< 4.0.5")) { return } let proxy: zmq.Proxy let frontAddress: string let backAddress: string let req: zmq.Request let rep: zmq.Reply beforeEach(async function () { proxy = new zmq.Proxy(new zmq.Router(), new zmq.Dealer()) frontAddress = await uniqAddress(proto) backAddress = await uniqAddress(proto) req = new zmq.Request() rep = new zmq.Reply() }) afterEach(function () { /* Closing proxy sockets is only necessary if run() fails. */ proxy.frontEnd.close() proxy.backEnd.close() req.close() rep.close() global.gc?.() }) describe("run", function () { it("should proxy messages", async function () { /* REQ -> foo -> ROUTER <-> DEALER -> foo -> REP <- foo <- <- foo <- -> bar -> -> bar -> <- bar <- <- bar <- pause resume -> baz -> -> baz -> <- baz <- <- baz <- -> qux -> -> qux -> <- qux <- <- qux <- */ await proxy.frontEnd.bind(frontAddress) await proxy.backEnd.bind(backAddress) const done = proxy.run() const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] await req.connect(frontAddress) await rep.connect(backAddress) const echo = async () => { for await (const msg of rep) { await rep.send(msg) } } const send = async () => { for (const msg of messages) { if (received.length === 2) { proxy.pause() proxy.resume() } await req.send(Buffer.from(msg)) const [res] = await req.receive() received.push(res.toString()) if (received.length === messages.length) { break } } rep.close() } console.log("waiting for messages") await Promise.all([echo(), send()]) assert.deepEqual(received, messages) proxy.terminate() await done }) }) }) } ```
/content/code_sandbox/test/unit/proxy-router-dealer-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
584
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {createProcess} from "./helpers" describe("context process exit", function () { describe("with default context", function () { it("should occur when sockets are closed", async function () { this.slow(200) const {code} = await createProcess(() => { const socket1 = new zmq.Dealer() socket1.close() const socket2 = new zmq.Router() socket2.close() }) assert.equal(code, 0) }) it("should occur when sockets are not closed", async function () { this.slow(200) const {code} = await createProcess(() => { const socket1 = new zmq.Dealer() const socket2 = new zmq.Router() }) assert.equal(code, 0) }) it("should not occur when sockets are open and polling", async function () { this.slow(1000) const {code, isTimeout} = await createProcess(() => { const socket1 = new zmq.Dealer() socket1.connect("inproc://foo") socket1.receive().catch(err => { throw err }) }) assert.equal(isTimeout, true) assert.equal(code, -1) }) it("should produce warning when messages are queued with blocky", async function () { this.slow(2000) const {stderr} = await createProcess(() => { zmq.context.blocky = true const socket1 = new zmq.Dealer({linger: 1000}) socket1.connect("tcp://127.0.0.1:4567") socket1.send(null).catch(err => { throw err }) }) if (semver.satisfies(zmq.version, ">= 4.2")) { assert.match( stderr.toString(), /\(node:\d+\) WARNING: Waiting for queued ZeroMQ messages to be delivered\. Set 'context\.blocky = false' to change this behaviour\.\r?\n/, ) } else { assert.match( stderr.toString(), /\(node:\d+\) WARNING: Waiting for queued ZeroMQ messages to be delivered\.\r?\n/, ) } }) it("should produce warning when messages are queued without blocky", async function () { this.slow(2000) const {stderr} = await createProcess(() => { zmq.context.blocky = false const socket1 = new zmq.Dealer({linger: 1000}) socket1.connect("tcp://127.0.0.1:4567") socket1.send(null).catch(err => { throw err }) }) assert.match( stderr.toString(), /\(node:\d+\) WARNING: Waiting for queued ZeroMQ messages to be delivered\.\r?\n/, ) }) it("should not produce warning when messages are queued for a short time", async function () { this.slow(1000) const {stderr} = await createProcess(() => { zmq.context.blocky = true const socket1 = new zmq.Dealer({linger: 50}) socket1.connect("tcp://127.0.0.1:4567") socket1.send(null).catch(err => { throw err }) }) assert.equal(stderr.toString(), "") }) }) describe("with custom context", function () { it("should occur when sockets are closed", async function () { this.slow(200) const {code} = await createProcess(() => { const context = new zmq.Context() const socket1 = new zmq.Dealer({context}) socket1.close() const socket2 = new zmq.Router({context}) socket2.close() }) assert.equal(code, 0) }) it("should occur when sockets are closed and context is gced", async function () { this.slow(200) const {code} = await createProcess(() => { function run() { const context = new zmq.Context() const socket1 = new zmq.Dealer({context}) socket1.close() const socket2 = new zmq.Router({context}) socket2.close() } run() global.gc?.() }) assert.equal(code, 0) }) it("should occur when sockets are not closed", async function () { this.slow(200) const {code} = await createProcess(() => { const context = new zmq.Context() const socket1 = new zmq.Dealer({context}) const socket2 = new zmq.Router({context}) }) assert.equal(code, 0) }) it("should not occur when sockets are open and polling", async function () { this.slow(1000) const {code, isTimeout} = await createProcess(() => { const context = new zmq.Context() const socket1 = new zmq.Dealer({context}) socket1.connect("inproc://foo") socket1.receive() }) assert.equal(isTimeout, true) assert.equal(code, -1) }) }) }) ```
/content/code_sandbox/test/unit/context-process-exit-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
1,121
```xml import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress, getGcOrSkipTest} from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} send/receive`, function () { let sockA: zmq.Pair let sockB: zmq.Pair beforeEach(function () { sockA = new zmq.Pair({linger: 0}) sockB = new zmq.Pair({linger: 0}) }) afterEach(function () { sockA.close() sockB.close() global.gc?.() }) describe("when not applicable", function () { it("should fail sending", function () { try { ;(new zmq.Subscriber() as any).send() } catch (err) { if (!isFullError(err)) { throw err } assert.include(err.message, "Message must be present") } }) it("should fail receiving", function () { try { ;(new zmq.Publisher() as any).receive() } catch (err) { if (!isFullError(err)) { throw err } assert.include(err.message, "receive is not a function") } }) it("should fail iterating", async function () { this.test?.skip() // TODO this test timeouts try { /* eslint-disable-next-line no-empty */ for await (const msg of new zmq.Publisher() as any) { } } catch (err) { if (!isFullError(err)) { throw err } assert.include(err.message, "receive is not a function") } }) }) describe("when not connected", function () { beforeEach(async function () { sockA.sendHighWaterMark = 1 await sockA.connect(await uniqAddress(proto)) }) it("should be writable", async function () { assert.equal(sockA.writable, true) }) it("should not be readable", async function () { assert.equal(sockA.readable, false) }) it("should honor send high water mark and timeout", async function () { sockA.sendTimeout = 2 await sockA.send(Buffer.alloc(8192)) try { await sockA.send(Buffer.alloc(8192)) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Operation was not possible or timed out") assert.equal(err.code, "EAGAIN") assert.typeOf(err.errno, "number") } }) it("should copy and release small buffers", async function () { const gc = getGcOrSkipTest(this) let weakRef: undefined | WeakRef<Buffer> sockA.connect(await uniqAddress(proto)) const send = async (size: number) => { const msg = Buffer.alloc(size) weakRef = new WeakRef(msg) await sockA.send(msg) } await send(16) await gc() assert.isDefined(weakRef) assert.isUndefined(weakRef!.deref()) }) it("should retain large buffers", async function () { const gc = getGcOrSkipTest(this) let weakRef: undefined | WeakRef<Buffer> sockA.connect(await uniqAddress(proto)) const send = async (size: number) => { const msg = Buffer.alloc(size) weakRef = new WeakRef(msg) await sockA.send(msg) } await send(1025) await gc() assert.isDefined(weakRef) assert.isDefined(weakRef.deref()) }) }) describe("when connected", function () { beforeEach(async function () { const address = await uniqAddress(proto) await sockB.bind(address) await sockA.connect(address) }) it("should be writable", async function () { assert.equal(sockA.writable, true) }) it("should not be readable", async function () { assert.equal(sockA.readable, false) }) it("should be readable if message is available", async function () { await sockB.send(Buffer.from("foo")) await new Promise(resolve => { setTimeout(resolve, 15) }) assert.equal(sockA.readable, true) }) it("should deliver single string message", async function () { const sent = "foo" await sockA.send(sent) const recv = await sockB.receive() assert.deepEqual( [sent], recv.map((buf: Buffer) => buf.toString()), ) }) it("should deliver single buffer message", async function () { const sent = Buffer.from("foo") await sockA.send(sent) const recv = await sockB.receive() assert.deepEqual([sent], recv) }) it("should deliver single multipart string message", async function () { const sent = ["foo", "bar"] await sockA.send(sent) const recv = await sockB.receive() assert.deepEqual( sent, recv.map((buf: Buffer) => buf.toString()), ) }) it("should deliver single multipart buffer message", async function () { const sent = [Buffer.from("foo"), Buffer.from("bar")] await sockA.send(sent) const recv = await sockB.receive() assert.deepEqual(sent, recv) }) it("should deliver multiple messages", async function () { const messages = ["foo", "bar", "baz", "qux"] for (const msg of messages) { await sockA.send(msg) } const received: string[] = [] for await (const msg of sockB) { received.push(msg.toString()) if (received.length === messages.length) { break } } assert.deepEqual(received, messages) }) it("should deliver typed array and array buffer messages", async function () { const messages = [ Uint8Array.from([0x66, 0x6f, 0x6f]), Uint8Array.from([0x66, 0x6f, 0x6f]).buffer, Int32Array.from([0x66, 0x6f, 0x6f]), Int32Array.from([0x66, 0x6f, 0x6f]).buffer, ] for (const msg of messages) { await sockA.send(msg) } const received: string[] = [] for await (const msg of sockB) { received.push(msg.toString()) if (received.length === messages.length) { break } } assert.deepEqual(received, [ "foo", "foo", "f\x00\x00\x00o\x00\x00\x00o\x00\x00\x00", "f\x00\x00\x00o\x00\x00\x00o\x00\x00\x00", ]) }) it("should deliver messages coercible to string", async function () { const messages = [ null, // eslint-disable-next-line no-empty-function function () {}, 16.19, true, {}, Promise.resolve(), ] for (const msg of messages) { await sockA.send(msg as zmq.MessageLike) } const received: string[] = [] for await (const msg of sockB) { received.push(msg.toString()) if (received.length === messages.length) { break } } /* Unify different output across Node/TypeScript versions. */ received[1] = received[1].replace("function()", "function ()") received[1] = received[1].replace("function () { }", "function () {}") assert.deepEqual(received, [ "", "function () {}", "16.19", "true", "[object Object]", "[object Promise]", ]) }) it("should poll simultaneously", async function () { this.timeout(5000) const sendReceiveA = async () => { const [msg1] = await Promise.all([ sockA.receive(), sockA.send(Buffer.from("foo")), ]) return msg1.toString() } const sendReceiveB = async () => { const [msg2] = await Promise.all([ sockB.receive(), sockB.send(Buffer.from("bar")), ]) return msg2.toString() } const msgs = await Promise.all([sendReceiveA(), sendReceiveB()]) assert.deepEqual(msgs, ["bar", "foo"]) }) it("should poll simultaneously after delay", async function () { await new Promise(resolve => { setTimeout(resolve, 15) }) const sendReceiveA = async () => { const [msg1] = await Promise.all([ sockA.receive(), sockA.send(Buffer.from("foo")), ]) return msg1.toString() } const sendReceiveB = async () => { const [msg2] = await Promise.all([ sockB.receive(), sockB.send(Buffer.from("bar")), ]) return msg2.toString() } const msgs = await Promise.all([sendReceiveA(), sendReceiveB()]) assert.deepEqual(msgs, ["bar", "foo"]) }) it("should honor receive timeout", async function () { sockA.receiveTimeout = 2 try { await sockA.receive() assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Operation was not possible or timed out") assert.equal(err.code, "EAGAIN") assert.typeOf(err.errno, "number") } }) it("should release buffers", async function () { const gc = await getGcOrSkipTest(this) const weakRefs: WeakRef<any>[] = [] const n = 10 const send = async (size: number) => { for (let i = 0; i < n; i++) { const msg = Buffer.alloc(size) weakRefs.push(new WeakRef(msg)) await sockA.send(msg) } } const receive = async () => { for (let i = 0; i < n; i++) { const msg = await sockB.receive() weakRefs.push(new WeakRef(msg)) } } await Promise.all([send(2048), receive()]) /* Repeated GC to allow inproc messages from being collected. */ for (let i = 0; i < 5; i++) { await gc() await new Promise(resolve => { setTimeout(resolve, 2) }) } assert.equal(weakRefs.length, n * 2) const unreleased = weakRefs.filter(x => x.deref() !== undefined) assert.isEmpty(unreleased) }) it("should release buffers after echo", async function () { const gc = getGcOrSkipTest(this) const weakRefs: WeakRef<any>[] = [] const n = 10 const echo = async () => { for (let i = 0; i < n; i++) { const [msg] = await sockB.receive() await sockB.send(msg) weakRefs.push(new WeakRef(msg)) } } const send = async (size: number) => { for (let i = 0; i < n; i++) { const msg = Buffer.alloc(size) weakRefs.push(new WeakRef(msg)) await sockA.send(msg) const [rep] = await sockA.receive() weakRefs.push(new WeakRef(rep)) } sockA.close() sockB.close() } await Promise.all([send(2048), echo()]) /* Repeated GC to allow inproc messages from being collected. */ for (let i = 0; i < 5; i++) { await new Promise(resolve => { setTimeout(resolve, 2) }) await gc() } assert.lengthOf(weakRefs, n * 3) assert.isEmpty(weakRefs.filter(r => r.deref() !== undefined)) }) if (proto === "inproc") { it("should share memory of large buffers", async function () { const orig = Buffer.alloc(2048) await sockA.send(orig) const echo = async (sock: zmq.Pair) => { const msg = await sock.receive() await sock.send(msg) } await echo(sockB) const [final] = await sockA.receive() final.writeUInt8(0x40, 0) assert.equal(orig.slice(0, 1).toString(), "@") }) } it("should not starve event loop", async function () { this.slow(250) sockA.sendHighWaterMark = 5000 sockB.receiveHighWaterMark = 5000 const countDelays = async (fn: () => Promise<void>) => { let delays = 0 await new Promise(resolve => { setTimeout(resolve, 15) }) const interval = setInterval(() => { delays++ }, 0) await new Promise(setImmediate) /* Move to check phase. */ await fn() clearInterval(interval) await new Promise(resolve => { setTimeout(resolve, 15) }) return delays } /* Send should not starve. */ const sendDelays = await countDelays(async () => { for (let i = 0; i < 2500; i++) { await sockA.send("x") } }) /* Receive should not starve. */ const recvDelays = await countDelays(async () => { for (let i = 0; i < 2500; i++) { await sockB.receive() } }) /* Should equal 4 under most circumstances. */ assert.isAtLeast(sendDelays, 3) assert.isAtLeast(recvDelays, 3) }) }) if (proto !== "inproc") { describe("when connected after send/receive", function () { it("should deliver message", async function () { const address = await uniqAddress(proto) const sent = "foo" const promise = Promise.all([sockB.receive(), sockA.send(sent)]) await sockB.bind(address) await sockA.connect(address) const [recv] = await promise assert.deepEqual( [sent], recv.map((buf: Buffer) => buf.toString()), ) }) }) } describe("when closed", function () { beforeEach(function () { sockA.close() sockB.close() }) it("should not be writable", async function () { assert.equal(sockA.writable, false) }) it("should not be readable", async function () { assert.equal(sockA.readable, false) }) it("should not be able to send", async function () { try { await sockA.send(Buffer.alloc(8192)) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Socket is closed") assert.equal(err.code, "EBADF") assert.typeOf(err.errno, "number") } }) it("should not be able to receive", async function () { try { await sockA.receive() assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Socket is closed") assert.equal(err.code, "EBADF") assert.typeOf(err.errno, "number") } }) }) describe("during close", function () { it("should gracefully stop async iterator", async function () { process.nextTick(() => sockA.close()) /* eslint-disable-next-line no-empty */ for await (const _ of sockA) { } }) it("should not mask other error type in async iterator", async function () { sockA = new zmq.Request() process.nextTick(() => sockA.close()) try { /* eslint-disable-next-line no-empty */ for await (const _ of sockA) { } assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal( err.message, "Operation cannot be accomplished in current state", ) assert.equal(err.code, "EFSM") assert.typeOf(err.errno, "number") } }) }) describe("concurrently", function () { it("should throw error on concurrent send", async function () { sockA.sendTimeout = 20 const done = sockA.send(null).catch(() => null) try { sockA.send(null).catch(() => null) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal( err.message, "Socket is busy writing; only one send operation may be in progress at any time", ) assert.equal(err.code, "EBUSY") assert.typeOf(err.errno, "number") } finally { await done } }) it("should throw error on concurrent receive", async function () { sockA.receiveTimeout = 20 const done = sockA.receive().catch(() => null) try { sockA.receive().catch(() => null) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal( err.message, "Socket is busy reading; only one receive operation may be in progress at any time", ) assert.equal(err.code, "EBUSY") assert.typeOf(err.errno, "number") } finally { await done } }) }) }) } ```
/content/code_sandbox/test/unit/socket-send-receive-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
3,917
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" describe("zmq", function () { describe("exports", function () { it("should include functions and constructors", function () { const expected = [ /* Utility functions. */ "version", "capability", "curveKeyPair", /* The global/default context. */ "context", /* Generic constructors. */ "Context", "Socket", "Observer", "Proxy", /* Specific socket constructors. */ "Pair", "Publisher", "Subscriber", "Request", "Reply", "Dealer", "Router", "Pull", "Push", "XPublisher", "XSubscriber", "Stream", ] /* ZMQ < 4.0.5 has no steerable proxy support. */ if (semver.satisfies(zmq.version, "< 4.0.5")) { expected.splice(expected.indexOf("Proxy"), 1) } assert.sameMembers(Object.keys(zmq), expected) }) }) describe("version", function () { it("should return version string", function () { if (typeof process.env.ZMQ_VERSION === "string") { assert.equal(zmq.version, process.env.ZMQ_VERSION) } else { assert.match(zmq.version, /^\d+\.\d+\.\d+$/) } }) }) describe("capability", function () { it("should return library capability booleans", function () { assert.equal( Object.values(zmq.capability).every(c => typeof c === "boolean"), true, ) }) }) describe("curve keypair", function () { beforeEach(function () { if (zmq.capability.curve !== true) { this.skip() } }) it("should return keypair", function () { const {publicKey, secretKey} = zmq.curveKeyPair() assert.match(publicKey, /^[\x20-\x7F]{40}$/) assert.match(secretKey, /^[\x20-\x7F]{40}$/) }) }) }) ```
/content/code_sandbox/test/unit/zmq-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
468
```xml import * as path from "path" import * as semver from "semver" import * as fs from "fs" import * as lockfile from "proper-lockfile" import {spawn} from "child_process" import * as zmq from "../../src" console.log(`ZeroMQ version ${zmq.version}`) if (semver.satisfies(zmq.version, ">= 4.2")) { /* Stop pending messages in test suite from preventing process exit. */ zmq.context.blocky = false } /** * Get a unique id to be used as a port number or IPC path. * This function is thread-safe and will use a lock file to ensure that the id is unique. */ let idFallback = 5000 async function getUniqueId() { const idPath = path.resolve(__dirname, "../../tmp/id") await fs.promises.mkdir(path.dirname(idPath), {recursive: true}) try { // Create the file if it doesn't exist if (!fs.existsSync(idPath)) { await fs.promises.writeFile(idPath, "5000", "utf8") /* Windows cannot bind on a ports just above 1014; start higher to be safe. */ return 5000 } await lockfile.lock(idPath, {retries: 10}) // Read the current number from the file const idString = await fs.promises.readFile(idPath, "utf8") let id = parseInt(idString, 10) // Increment the number id++ // Ensure the number is within the valid port range if (id > 65535) { idFallback++ id = idFallback } // Write the new number back to the file await fs.promises.writeFile(idPath, id.toString(), "utf8") return id } catch (err) { console.error(`Error getting unique id via id file: ${err}`) return idFallback++ } finally { // Release the lock try { await lockfile.unlock(idPath) } catch { // ignore } } } type Proto = "ipc" | "tcp" | "udp" | "inproc" export async function uniqAddress(proto: Proto) { const id = await getUniqueId() switch (proto) { case "ipc": { const sock = path.resolve(__dirname, `../../tmp/${proto}-${id}`) return `${proto}://${sock}` } case "tcp": case "udp": return `${proto}://127.0.0.1:${id}` case "inproc": default: return `${proto}://${proto}-${id}` } } export function testProtos(...requested: Proto[]) { const set = new Set(requested) /* Do not test with ipc if unsupported. */ if (zmq.capability.ipc !== true) { set.delete("ipc") } /* Only test inproc with version 4.2+, earlier versions are unreliable. */ if (semver.satisfies(zmq.version, "< 4.2")) { set.delete("inproc") } if (!set.size) { console.error("Warning: test protocol set is empty") } return [...set] } export async function createWorker<T, D extends {}>( data: D, fn: (data: D) => Promise<T>, ): Promise<T> { const src = ` const {parentPort, workerData} = require("worker_threads") const zmq = require(${JSON.stringify(path.resolve(__dirname, "../.."))}) async function run() { const fn = ${fn.toString()} const msg = await fn(workerData) parentPort.postMessage(msg) } run() ` const {Worker} = await import("worker_threads") return new Promise<T>((resolve, reject) => { const worker = new Worker(src, { eval: true, workerData: data, }) let message: T worker.on("message", msg => { message = msg }) worker.on("exit", code => { if (code === 0) { resolve(message) } else { reject(new Error(`Worker stopped with exit code ${code}`)) } }) }) } interface Result { code: number stdout: Buffer stderr: Buffer isTimeout: boolean } export function createProcess(fn: () => void): Promise<Result> { const src = ` const zmq = require(${JSON.stringify(path.resolve(__dirname, "../.."))}) const fn = ${fn.toString()} const result = fn() if (result instanceof Promise) { result.catch(err => { if (error instanceof Error) { console.error(error.message) console.error(error.stack) } else { console.error(error) } process.exit(10) }) } ` const child = spawn(process.argv[0], ["--expose_gc"]) child.stdin.write(src) child.stdin.end() let stdout: Buffer = Buffer.alloc(0) let stderr: Buffer = Buffer.alloc(0) child.stdout.on("data", (data: Buffer) => { stdout = Buffer.concat([stdout, data]) }) child.stderr.on("data", (data: Buffer) => { stderr = Buffer.concat([stderr, data]) }) return new Promise((resolve, reject) => { child.on("close", (code: number, signal: string) => { if (signal) { reject( new Error( `Child exited with ${signal}:\n${stdout.toString()}\n${stderr.toString()}`, ), ) } else { if (code !== 0) { console.error( `Child exited with code ${code}:\n${stdout.toString()}\n${stderr.toString()}`, ) } resolve({code, stdout, stderr, isTimeout: false}) } }) setTimeout(() => { resolve({code: -1, stdout, stderr, isTimeout: true}) console.error( `Child timed out\n${stdout.toString()}\n${stderr.toString()}`, ) child.kill() }, 750) }) } export function captureEvent<E extends zmq.EventType>( socket: zmq.Socket, type: E, ): Promise<zmq.EventOfType<E>> { return new Promise(resolve => { socket.events.on<E>(type, resolve) }) } export async function captureEventsUntil( socket: zmq.Socket, type: zmq.EventType, ): Promise<zmq.Event[]> { const events = [] for await (const event of socket.events) { events.push(event) if (event.type === type) { break } } return events } // REAL typings for global.gc per // path_to_url interface GCFunction { (options: { execution?: "sync" flavor?: "regular" | "last-resort" type?: "major-snapshot" | "major" | "minor" filename?: string }): void (options: { execution?: "async" flavor?: "regular" | "last-resort" type?: "major-snapshot" | "major" | "minor" filename?: string }): Promise<void> (options: { execution?: "async" | "sync" flavor?: "regular" | "last-resort" type?: "major-snapshot" | "major" | "minor" filename?: string }): void | Promise<void> } export function getGcOrSkipTest(test?: Mocha.Context) { if (process.env.SKIP_GC_TESTS === "true") { test?.skip() } const gc = global.gc as undefined | GCFunction if (typeof gc !== "function") { throw new Error( "Garbage collection is not exposed. It may be enabled by the node --expose-gc flag or v8-expose-gc flag in Mocha. To skip GC tests, set the environment variable `SKIP_GC_TESTS`", ) } // path_to_url // per docs, we we're using use case 2 (Test that certain objects indeed are reclaimed) const asyncMajorGc = () => gc({type: "major", execution: "async"}) return asyncMajorGc } ```
/content/code_sandbox/test/unit/helpers.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
1,801
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`proxy with ${proto} terminate`, function () { /* ZMQ < 4.0.5 has no steerable proxy support. */ if (semver.satisfies(zmq.version, "< 4.0.5")) { return } let proxy: zmq.Proxy beforeEach(async function () { proxy = new zmq.Proxy(new zmq.Router(), new zmq.Dealer()) }) afterEach(function () { proxy.frontEnd.close() proxy.backEnd.close() global.gc?.() }) const terminator_test = () => { try { proxy.terminate() assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Socket is closed") assert.equal(err.code, "EBADF") assert.typeOf(err.errno, "number") } } it("should throw if not started yet", async function () { await proxy.frontEnd.bind(await uniqAddress(proto)) await proxy.backEnd.bind(await uniqAddress(proto)) terminator_test() }) it("should throw if called after termination", async function () { await proxy.frontEnd.bind(await uniqAddress(proto)) await proxy.backEnd.bind(await uniqAddress(proto)) setTimeout(() => { proxy.terminate() }, 50) await proxy.run() // TODO throws Operation not supported terminator_test() }) }) } ```
/content/code_sandbox/test/unit/proxy-terminate-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
374
```xml import * as zmq from "../../src" import * as draft from "../../src/draft" import {assert} from "chai" describe("zmq draft", function () { if (zmq.capability.draft !== true) { if (process.env.ZMQ_DRAFT === "true") { throw new Error("Draft API requested but not available at runtime.") } return } describe("exports", function () { it("should include functions and constructors", function () { const expected = [ /* Specific socket constructors. */ "Server", "Client", "Radio", "Dish", "Gather", "Scatter", "Datagram", ] assert.sameMembers(Object.keys(draft), expected) }) }) }) ```
/content/code_sandbox/test/unit/zmq-draft-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
166
```xml import * as zmq from "../../src" import * as draft from "../../src/draft" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc", "inproc", "udp")) { describe(`draft socket with ${proto} radio/dish`, function () { if (zmq.capability.draft !== true) { if (process.env.ZMQ_DRAFT === "true") { throw new Error("Draft API requested but not available at runtime.") } return } let radio: draft.Radio let dish: draft.Dish beforeEach(function () { radio = new draft.Radio() dish = new draft.Dish() }) afterEach(function () { global.gc?.() radio.close() dish.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { /* RADIO -> foo -> DISH -> bar -> joined all -> baz -> -> qux -> */ const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] /* Max 15 non-null bytes. */ const uuid = Buffer.from([ 0xf6, 0x46, 0x1f, 0x03, 0xd2, 0x0d, 0xc8, 0x66, 0xe5, 0x5f, 0xf5, 0xa1, 0x65, 0x62, 0xb2, ]) const received: string[] = [] dish.join(uuid) await dish.bind(address) await radio.connect(address) const send = async () => { /* Wait briefly before publishing to avoid slow joiner syndrome. */ await new Promise(resolve => { setTimeout(resolve, 25) }) for (const msg of messages) { await radio.send(msg, {group: uuid}) } } const receive = async () => { for await (const [msg, {group}] of dish) { assert.instanceOf(msg, Buffer) assert.instanceOf(group, Buffer) assert.deepEqual(group, uuid) received.push(msg.toString()) if (received.length === messages.length) { break } } } await Promise.all([send(), receive()]) assert.deepEqual(received, messages) }) }) describe("join/leave", function () { it("should filter messages", async function () { /* RADIO -> foo -X DISH -> bar -> joined "ba" -> baz -> -> qux -X */ const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] /* Everything after null byte should be ignored. */ dish.join(Buffer.from("fo\x00ba"), Buffer.from("ba\x00fo")) dish.leave(Buffer.from("fo")) await dish.bind(address) await radio.connect(address) const send = async () => { /* Wait briefly before publishing to avoid slow joiner syndrome. */ await new Promise(resolve => { setTimeout(resolve, 25) }) for (const msg of messages) { await radio.send(msg, {group: msg.slice(0, 2)}) } } const receive = async () => { for await (const [msg, {group}] of dish) { assert.instanceOf(msg, Buffer) assert.deepEqual(group, msg.slice(0, 2)) received.push(msg.toString()) if (received.length === 2) { break } } } await Promise.all([send(), receive()]) assert.deepEqual(received, ["bar", "baz"]) }) }) }) } ```
/content/code_sandbox/test/unit/socket-draft-radio-dish-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
845
```xml import * as zmq from "../../src" import * as draft from "../../src/draft" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`draft socket with ${proto} server/client`, function () { if (zmq.capability.draft !== true) { if (process.env.ZMQ_DRAFT === "true") { throw new Error("Draft API requested but not available at runtime.") } return } let server: draft.Server let clientA: draft.Client let clientB: draft.Client beforeEach(function () { server = new draft.Server() clientA = new draft.Client() clientB = new draft.Client() }) afterEach(function () { server.close() clientA.close() clientB.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const receivedA: string[] = [] const receivedB: string[] = [] await server.bind(address) clientA.connect(address) clientB.connect(address) const echo = async () => { for await (const [msg, {routingId}] of server) { assert.typeOf(routingId, "number") await server.send(msg, {routingId}) } } const send = async () => { for (const msg of messages) { await clientA.send(msg) await clientB.send(msg) } for await (const msg of clientA) { receivedA.push(msg.toString()) if (receivedA.length === messages.length) { break } } for await (const msg of clientB) { receivedB.push(msg.toString()) if (receivedB.length === messages.length) { break } } server.close() } await Promise.all([echo(), send()]) assert.deepEqual(receivedA, messages) assert.deepEqual(receivedB, messages) }) it("should fail with unroutable message", async function () { try { await server.send("foo", {routingId: 12345}) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Host unreachable") assert.equal(err.code, "EHOSTUNREACH") assert.typeOf(err.errno, "number") } }) }) }) } ```
/content/code_sandbox/test/unit/socket-draft-server-client-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
587
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {isFullError} from "../../src/errors" describe("proxy construction", function () { beforeEach(function () { /* ZMQ < 4.0.5 has no steerable proxy support. */ if (semver.satisfies(zmq.version, "< 4.0.5")) { this.skip() } }) afterEach(function () { global.gc?.() }) describe("with constructor", function () { it("should throw if called as function", function () { assert.throws( () => (zmq.Proxy as any)(), TypeError, "Class constructors cannot be invoked without 'new'", ) }) it("should throw with too few arguments", function () { assert.throws( () => new (zmq.Proxy as any)(), TypeError, "Front-end must be a socket object", ) }) it("should throw with too many arguments", function () { assert.throws( () => new (zmq.Proxy as any)( new zmq.Dealer(), new zmq.Dealer(), new zmq.Dealer(), ), TypeError, "Expected 2 arguments", ) }) it("should throw with invalid socket", function () { try { new (zmq.Proxy as any)({}, {}) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.oneOf((err as Error).message, [ "Invalid pointer passed as argument" /* before 8.7 */, "Invalid argument" /* as of 8.7 */, ]) } }) }) }) ```
/content/code_sandbox/test/unit/proxy-construction-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
380
```xml import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} pair/pair`, function () { let sockA: zmq.Pair let sockB: zmq.Pair beforeEach(function () { sockA = new zmq.Pair() sockB = new zmq.Pair() }) afterEach(function () { sockA.close() sockB.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { /* PAIR -> foo -> PAIR [A] -> bar -> [B] -> baz -> responds when received -> qux -> <- foo <- <- bar <- <- baz <- <- qux <- */ const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] await sockA.bind(address) await sockB.connect(address) const echo = async () => { for await (const msg of sockB) { await sockB.send(msg) } } const send = async () => { for (const msg of messages) { await sockA.send(msg) } for await (const msg of sockA) { received.push(msg.toString()) if (received.length === messages.length) { break } } sockB.close() } await Promise.all([echo(), send()]) assert.deepEqual(received, messages) }) }) }) } ```
/content/code_sandbox/test/unit/socket-pair-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
380
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} connect/disconnect`, function () { let sock: zmq.Dealer | zmq.Router beforeEach(function () { sock = new zmq.Dealer() }) afterEach(function () { sock.close() global.gc?.() }) describe("connect", function () { it("should throw error for invalid uri", async function () { try { await sock.connect("foo-bar") assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Invalid argument") assert.equal(err.code, "EINVAL") assert.typeOf(err.errno, "number") assert.equal(err.address, "foo-bar") } }) it("should throw error for invalid protocol", async function () { try { await sock.connect("foo://bar") assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Protocol not supported") assert.equal(err.code, "EPROTONOSUPPORT") assert.typeOf(err.errno, "number") assert.equal(err.address, "foo://bar") } }) if (semver.satisfies(zmq.version, ">= 4.1")) { it("should allow setting routing id on router", async function () { sock = new zmq.Router({mandatory: true, linger: 0}) await sock.connect(await uniqAddress(proto), {routingId: "remoteId"}) await sock.send(["remoteId", "hi"]) }) } }) describe("disconnect", function () { it("should throw error if not connected to endpoint", async function () { const address = await uniqAddress(proto) try { await sock.disconnect(address) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "No such endpoint") assert.equal(err.code, "ENOENT") assert.typeOf(err.errno, "number") assert.equal(err.address, address) } }) it("should throw error for invalid uri", async function () { try { await sock.disconnect("foo-bar") assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Invalid argument") assert.equal(err.code, "EINVAL") assert.typeOf(err.errno, "number") assert.equal(err.address, "foo-bar") } }) it("should throw error for invalid protocol", async function () { try { await sock.disconnect("foo://bar") assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Protocol not supported") assert.equal(err.code, "EPROTONOSUPPORT") assert.typeOf(err.errno, "number") assert.equal(err.address, "foo://bar") } }) }) }) } ```
/content/code_sandbox/test/unit/socket-connect-disconnect-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
736
```xml import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} bind/unbind`, function () { let sock: zmq.Dealer beforeEach(function () { sock = new zmq.Dealer() }) afterEach(function () { sock.close() global.gc?.() }) describe("bind", function () { it("should resolve", async function () { await sock.bind(await uniqAddress(proto)) assert.ok(true) }) it("should throw error if not bound to endpoint", async function () { const address = await uniqAddress(proto) try { await sock.unbind(address) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "No such endpoint") assert.equal(err.code, "ENOENT") assert.typeOf(err.errno, "number") assert.equal(err.address, address) } }) it("should throw error for invalid uri", async function () { try { await sock.bind("foo-bar") assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Invalid argument") assert.equal(err.code, "EINVAL") assert.typeOf(err.errno, "number") assert.equal(err.address, "foo-bar") } }) it("should throw error for invalid protocol", async function () { try { await sock.bind("foo://bar") assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Protocol not supported") assert.equal(err.code, "EPROTONOSUPPORT") assert.typeOf(err.errno, "number") assert.equal(err.address, "foo://bar") } }) it("should fail during other bind", async function () { let promise try { const address = await uniqAddress(proto) const address2 = await uniqAddress(proto) promise = sock.bind(address) await sock.bind(address2) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal( err.message, "Socket is blocked by a bind or unbind operation", ) assert.equal(err.code, "EBUSY") assert.typeOf(err.errno, "number") } await promise }) }) describe("unbind", function () { it("should unbind", async function () { const address = await uniqAddress(proto) await sock.bind(address) await sock.unbind(address) assert.ok(true) }) it("should throw error for invalid uri", async function () { try { await sock.unbind("foo-bar") assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Invalid argument") assert.equal(err.code, "EINVAL") assert.typeOf(err.errno, "number") assert.equal(err.address, "foo-bar") } }) it("should throw error for invalid protocol", async function () { try { await sock.unbind("foo://bar") assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Protocol not supported") assert.equal(err.code, "EPROTONOSUPPORT") assert.typeOf(err.errno, "number") assert.equal(err.address, "foo://bar") } }) it("should fail during other unbind", async function () { let promise const address = await uniqAddress(proto) await sock.bind(address) try { promise = sock.unbind(address) await sock.unbind(address) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal( err.message, "Socket is blocked by a bind or unbind operation", ) assert.equal(err.code, "EBUSY") assert.typeOf(err.errno, "number") } await promise }) }) }) } ```
/content/code_sandbox/test/unit/socket-bind-unbind-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
967
```xml import * as zmq from "../../src" import {assert} from "chai" import {createServer, get, Server} from "http" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp")) { describe(`socket with ${proto} stream`, function () { let stream: zmq.Stream beforeEach(function () { stream = new zmq.Stream() }) afterEach(function () { stream.close() global.gc?.() }) describe("send/receive as server", function () { it("should deliver messages", async function () { const address = await uniqAddress(proto) await stream.bind(address) const serve = async () => { for await (const [id, msg] of stream) { if (!msg.length) { continue } assert.equal(msg.toString().split("\r\n")[0], "GET /foo HTTP/1.1") await stream.send([ id, "HTTP/1.0 200 OK\r\n" + "Content-Type: text/plan\r\n" + "\r\n" + "Hello world!", ]) stream.close() } } let body = "" const request = async () => { return new Promise(resolve => { get(`${address.replace("tcp:", "http:")}/foo`, res => { res.on("data", buffer => { body += buffer.toString() }) res.on("end", resolve) }) }) } await Promise.all([request(), serve()]) assert.equal(body, "Hello world!") }) }) describe("send/receive as client", function () { it("should deliver messages", async function () { const address = await uniqAddress(proto) const port = parseInt(address.split(":").pop()!, 10) const server = await new Promise<Server>(resolve => { const http = createServer((_req, res) => { res.writeHead(200, { "Content-Type": "text/plain", "Content-Length": 12, }) res.end("Hello world!") }) http.listen(port, () => resolve(http)) }) const routingId = "abcdef1234567890" stream.connect(address, {routingId}) let body = "" const request = async () => { await stream.send([ routingId, "GET /foo HTTP/1.1\r\n" + `Host: ${address.replace("tcp://", "")}\r\n\r\n`, ]) for await (const [id, data] of stream) { assert.equal(id.toString(), routingId) if (data.length) { body += data break } } stream.close() server.close() } await Promise.all([request()]) assert.equal(body.split("\r\n\r\n").pop(), "Hello world!") }) }) }) } ```
/content/code_sandbox/test/unit/socket-stream-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
625
```xml import * as zmq from "../../src" import * as draft from "../../src/draft" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} scatter/gather`, function () { if (zmq.capability.draft !== true) { if (process.env.ZMQ_DRAFT === "true") { throw new Error("Draft API requested but not available at runtime.") } return } let scatter: draft.Scatter let gather: draft.Gather beforeEach(function () { scatter = new draft.Scatter() gather = new draft.Gather() }) afterEach(function () { scatter.close() gather.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { /* SCATTER -> foo -> GATHER -> bar -> -> baz -> -> qux -> */ const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] await gather.bind(address) await scatter.connect(address) for (const msg of messages) { await scatter.send(msg) } for await (const [msg] of gather) { assert.instanceOf(msg, Buffer) received.push(msg.toString()) if (received.length === messages.length) { break } } assert.deepEqual(received, messages) }) if (proto !== "inproc") { it("should deliver messages with immediate", async function () { const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] await gather.bind(address) scatter.immediate = true await scatter.connect(address) /* Never connected, without immediate: true it would cause lost msgs. */ await scatter.connect(await uniqAddress(proto)) for (const msg of messages) { await scatter.send(msg) } for await (const [msg] of gather) { assert.instanceOf(msg, Buffer) received.push(msg.toString()) if (received.length === messages.length) { break } } assert.deepEqual(received, messages) }) } }) }) } ```
/content/code_sandbox/test/unit/socket-draft-scatter-gather-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
522
```xml import * as zmq from "../../src" import {assert} from "chai" describe("context construction", function () { afterEach(function () { global.gc?.() }) it("should throw if called as function", function () { assert.throws( () => (zmq.Context as any)(), TypeError, "Class constructors cannot be invoked without 'new'", ) }) it("should throw with wrong options argument", function () { assert.throws( () => new (zmq.Context as any)(1), TypeError, "Options must be an object", ) }) it("should throw with too many arguments", function () { assert.throws( () => new (zmq.Context as any)({}, 2), TypeError, "Expected 1 argument", ) }) it("should set option", function () { const context = new zmq.Context({ioThreads: 5}) assert.equal(context.ioThreads, 5) }) it("should throw with invalid option value", function () { assert.throws( () => new (zmq.Context as any)({ioThreads: "hello"}), TypeError, "Option value must be a number", ) }) it("should throw with readonly option", function () { assert.throws( () => new (zmq.Context as any)({maxSocketsLimit: 1}), TypeError, "Cannot set property maxSocketsLimit of #<Context> which has only a getter", ) }) it("should throw with unknown option", function () { assert.throws( () => new (zmq.Context as any)({doesNotExist: 1}), TypeError, "Cannot add property doesNotExist, object is not extensible", ) }) }) ```
/content/code_sandbox/test/unit/context-construction-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
386
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {createWorker} from "./helpers" describe("context in thread", function () { this.slow(2000) this.timeout(5000) beforeEach(function () { /* Node.js worker support introduced in version 10.5. */ if (semver.satisfies(process.versions.node, "< 10.5")) { this.skip() } }) describe("with default context", function () { it("should be shared", async function () { try { zmq.context.ioThreads = 3 const val = await createWorker({}, async () => { return zmq.context.ioThreads }) assert.equal(val, 3) } finally { zmq.context.ioThreads = 1 } }) }) }) ```
/content/code_sandbox/test/unit/context-thread-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
190
```xml import * as zmq from "../../src" import {assert} from "chai" describe("context options", function () { afterEach(function () { global.gc?.() }) it("should set and get bool socket option", function () { const context = new zmq.Context() assert.equal(context.ipv6, false) context.ipv6 = true assert.equal(context.ipv6, true) }) it("should set and get int socket option", function () { const context = new zmq.Context() assert.equal(context.ioThreads, 1) context.ioThreads = 75 assert.equal(context.ioThreads, 75) }) it("should throw for readonly option", function () { const context = new zmq.Context() assert.throws( () => ((context as any).maxSocketsLimit = 1), TypeError, "Cannot set property maxSocketsLimit of #<Context> which has only a getter", ) }) it("should throw for unknown option", function () { const context = new zmq.Context() assert.throws( () => ((context as any).doesNotExist = 1), TypeError, "Cannot add property doesNotExist, object is not extensible", ) }) }) ```
/content/code_sandbox/test/unit/context-options-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
267
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} xpub/xsub`, function () { let pub: zmq.Publisher let sub: zmq.Subscriber let xpub: zmq.XPublisher let xsub: zmq.XSubscriber beforeEach(function () { pub = new zmq.Publisher() sub = new zmq.Subscriber() xpub = new zmq.XPublisher() xsub = new zmq.XSubscriber() }) afterEach(function () { pub.close() sub.close() xpub.close() xsub.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { /* PUB -> foo -> XSUB -> XPUB -> SUB -> bar -> subscribed to all -> baz -> -> qux -> */ const address1 = await uniqAddress(proto) const address2 = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] /* Subscribe to all. */ sub.subscribe() await pub.bind(address1) await xpub.bind(address2) await xsub.connect(address1) await sub.connect(address2) const send = async () => { /* Wait briefly before publishing to avoid slow joiner syndrome. */ await new Promise(resolve => { setTimeout(resolve, 25) }) for (const msg of messages) { await pub.send(msg) } } let subbed = 0 const forward = async () => { for await (const [msg] of xpub) { assert.instanceOf(msg, Buffer) await xsub.send(msg) if (++subbed === 1) { break } } } let pubbed = 0 const publish = async () => { for await (const [msg] of xsub) { assert.instanceOf(msg, Buffer) await xpub.send(msg) if (++pubbed === messages.length) { break } } } const receive = async () => { for await (const [msg] of sub) { assert.instanceOf(msg, Buffer) received.push(msg.toString()) if (received.length === messages.length) { break } } } await Promise.all([send(), forward(), publish(), receive()]) assert.deepEqual(received, messages) }) }) describe("subscribe/unsubscribe", function () { it("should filter messages", async function () { /* PUB -> foo -X XSUB -> XPUB -> SUB -> bar -> subscribed to "ba" -> baz -> -> qux -X */ const address1 = await uniqAddress(proto) const address2 = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] sub.subscribe("fo", "ba", "qu") sub.unsubscribe("fo", "qu") await pub.bind(address1) await xpub.bind(address2) await xsub.connect(address1) await sub.connect(address2) const send = async () => { /* Wait briefly before publishing to avoid slow joiner syndrome. */ await new Promise(resolve => { setTimeout(resolve, 25) }) for (const msg of messages) { await pub.send(msg) } } let subbed = 0 const forward = async () => { for await (const [msg] of xpub) { assert.instanceOf(msg, Buffer) await xsub.send(msg) if (++subbed === 1) { break } } } let pubbed = 0 const publish = async () => { for await (const [msg] of xsub) { assert.instanceOf(msg, Buffer) await xpub.send(msg) if (++pubbed === 2) { break } } } const receive = async () => { for await (const [msg] of sub) { assert.instanceOf(msg, Buffer) received.push(msg.toString()) if (received.length === 2) { break } } } await Promise.all([send(), forward(), publish(), receive()]) assert.deepEqual(received, ["bar", "baz"]) }) }) describe("verbosity", function () { it("should deduplicate subscriptions/unsubscriptions", async function () { const address = await uniqAddress(proto) const subs: Buffer[] = [] xpub.verbosity = null const sub1 = sub const sub2 = new zmq.Subscriber() await xpub.bind(address) await sub1.connect(address) await sub2.connect(address) const subscribe = async () => { await new Promise(resolve => { setTimeout(resolve, 25) }) sub1.subscribe("fo") sub2.subscribe("fo") sub2.unsubscribe("fo") } const forward = async () => { for await (const [msg] of xpub) { assert.instanceOf(msg, Buffer) await xsub.send(msg) subs.push(msg) if (subs.length === 1) { break } } } await Promise.all([subscribe(), forward()]) assert.sameDeepMembers(subs, [Buffer.from("\x01fo")]) sub2.close() }) it("should forward all subscriptions", async function () { const address = await uniqAddress(proto) const subs: Buffer[] = [] xpub.verbosity = "allSubs" const sub1 = sub const sub2 = new zmq.Subscriber() await xpub.bind(address) await sub1.connect(address) await sub2.connect(address) const subscribe = async () => { await new Promise(resolve => { setTimeout(resolve, 25) }) sub1.subscribe("fo") sub2.subscribe("fo") sub2.unsubscribe("fo") } const forward = async () => { for await (const [msg] of xpub) { assert.instanceOf(msg, Buffer) await xsub.send(msg) subs.push(msg) if (subs.length === 2) { break } } } await Promise.all([subscribe(), forward()]) assert.sameDeepMembers(subs, [ Buffer.from("\x01fo"), Buffer.from("\x01fo"), ]) sub2.close() }) it("should forward all subscriptions/unsubscriptions", async function () { /* ZMQ 4.2 first introduced ZMQ_XPUB_VERBOSER. */ if (semver.satisfies(zmq.version, "< 4.2")) { this.skip() } const address = await uniqAddress(proto) const subs: Buffer[] = [] xpub.verbosity = "allSubsUnsubs" const sub1 = sub const sub2 = new zmq.Subscriber() await xpub.bind(address) await sub1.connect(address) await sub2.connect(address) const subscribe = async () => { await new Promise(resolve => { setTimeout(resolve, 25) }) sub1.subscribe("fo") sub2.subscribe("fo") sub2.unsubscribe("fo") } const forward = async () => { for await (const [msg] of xpub) { assert.instanceOf(msg, Buffer) await xsub.send(msg) subs.push(msg) if (subs.length === 3) { break } } } await Promise.all([subscribe(), forward()]) assert.sameDeepMembers(subs, [ Buffer.from("\x01fo"), Buffer.from("\x01fo"), Buffer.from("\x00fo"), ]) sub2.close() }) }) }) } ```
/content/code_sandbox/test/unit/socket-xpub-xsub-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
1,750
```xml import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress, getGcOrSkipTest} from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} close`, function () { let sock: zmq.Dealer beforeEach(function () { sock = new zmq.Dealer() }) afterEach(function () { sock.close() global.gc?.() }) describe("with explicit call", function () { it("should close socket", function () { assert.equal(sock.closed, false) sock.close() assert.equal(sock.closed, true) }) it("should close socket and cancel send", async function () { assert.equal(sock.closed, false) const promise = sock.send(Buffer.from("foo")) sock.close() assert.equal(sock.closed, true) try { await promise } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Operation was not possible or timed out") assert.equal(err.code, "EAGAIN") assert.typeOf(err.errno, "number") } }) it("should close socket and cancel receive", async function () { assert.equal(sock.closed, false) const promise = sock.receive() sock.close() assert.equal(sock.closed, true) try { await promise } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Operation was not possible or timed out") assert.equal(err.code, "EAGAIN") assert.typeOf(err.errno, "number") } }) it("should close after successful bind", async function () { const promise = sock.bind(await uniqAddress(proto)) sock.close() assert.equal(sock.closed, false) await promise assert.equal(sock.closed, true) }) it("should close after unsuccessful bind", async function () { const address = await uniqAddress(proto) await sock.bind(address) const promise = sock.bind(address) sock.close() assert.equal(sock.closed, false) try { await promise assert.ok(false) } catch (err) { /* Ignore */ } assert.equal(sock.closed, true) }) it("should close after successful unbind", async function () { const address = await uniqAddress(proto) await sock.bind(address) const promise = sock.unbind(address) sock.close() assert.equal(sock.closed, false) await promise assert.equal(sock.closed, true) }) it("should close after unsuccessful unbind", async function () { const address = await uniqAddress(proto) const promise = sock.unbind(address) sock.close() assert.equal(sock.closed, false) try { await promise assert.ok(false) } catch (err) { console.log(err) /* Ignore */ } assert.equal(sock.closed, true) }) it("should release reference to context", async function () { const gc = getGcOrSkipTest(this) this.slow(200) let weakRef: undefined | WeakRef<zmq.Context> const task = async () => { const context: zmq.Context | undefined = new zmq.Context() const socket = new zmq.Dealer({context, linger: 0}) weakRef = new WeakRef(context) socket.connect(await uniqAddress(proto)) await socket.send(Buffer.from("foo")) socket.close() } await task() await gc() assert.isDefined(weakRef) assert.isUndefined(weakRef.deref()) }) }) // // Because context is shared in the global module, it is not GC'd until the end of the process // // Unless dealer is closed explicitly. // describe("in gc finalizer", function () { // it("should release reference to context", async function () { // const gc = getGcOrSkipTest(this) // if (process.env.SKIP_GC_FINALIZER_TESTS) { // this.skip() // } // this.slow(200) // let weakRef: undefined | WeakRef<zmq.Context> // const task = async () => { // const context: zmq.Context | undefined = new zmq.Context() // const _dealer = new zmq.Dealer({context, linger: 0}) // weakRef = new WeakRef(context) // } // await task() // await gc() // assert.isDefined(weakRef) // assert.isUndefined(weakRef.deref()) // }) // }) }) } ```
/content/code_sandbox/test/unit/socket-close-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
1,034
```xml import * as zmq from "../../src" import {assert} from "chai" import {createProcess} from "./helpers" describe("socket process exit", function () { /* Reported: path_to_url */ it.skip("should occur cleanly when sending in exit hook", async function () { this.slow(200) const {code} = await createProcess(async () => { const sockA = new zmq.Pair() const sockB = new zmq.Pair() await sockA.bind("inproc://test-1") sockB.connect("inproc://test-1") process.on("exit", () => { console.log("hook") sockB.receive() sockA.send("foo") }) }) assert.equal(code, 0) }) it("should occur cleanly when sending on unbound socket", async function () { this.slow(200) const {code} = await createProcess(async () => { const sock = new zmq.Publisher() await sock.send("test") }) assert.equal(code, 0) }) it("should not occur when sending and blocked on unbound socket", async function () { this.slow(1000) const {code} = await createProcess(async () => { const sock = new zmq.Dealer() await sock.send("test") }) assert.equal(code, -1) }) it("should occur cleanly on socket close when reading events", async function () { this.slow(200) const {code} = await createProcess(() => { const sock = new zmq.Dealer() async function readEvents() { const events = [] for await (const event of sock.events) { events.push(event) } } readEvents() sock.close() }) assert.equal(code, 0) }) it("should not occur while reading events", async function () { this.slow(1000) const {code} = await createProcess(async () => { const sock = new zmq.Dealer() const events = [] for await (const event of sock.events) { events.push(event) } }) assert.equal(code, -1) }) }) ```
/content/code_sandbox/test/unit/socket-process-exit-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
476
```xml import * as zmq from "../../src" import * as draft from "../../src/draft" import {assert} from "chai" import {createSocket} from "dgram" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("udp")) { describe(`draft socket with ${proto} dgram`, function () { if (zmq.capability.draft !== true) { if (process.env.ZMQ_DRAFT === "true") { throw new Error("Draft API requested but not available at runtime.") } return } let dgram: draft.Datagram beforeEach(function () { dgram = new draft.Datagram() }) afterEach(function () { dgram.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { const messages = ["foo", "bar", "baz", "qux"] const address = await uniqAddress(proto) const port = parseInt(address.split(":").pop()!, 10) await dgram.bind(address) const echo = async () => { for await (const [id, msg] of dgram) { await dgram.send([id, msg]) } } const received: string[] = [] const send = async () => { for (const msg of messages) { const client = createSocket("udp4") await new Promise(resolve => { client.on("message", res => { received.push(res.toString()) client.close() resolve(undefined) }) client.send(msg, port, "localhost") }) } dgram.close() } await Promise.all([echo(), send()]) assert.deepEqual(received, messages) }) }) }) } ```
/content/code_sandbox/test/unit/socket-draft-dgram-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
387
```xml import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} pub/sub`, function () { let pub: zmq.Publisher let sub: zmq.Subscriber beforeEach(function () { pub = new zmq.Publisher() sub = new zmq.Subscriber() }) afterEach(function () { pub.close() sub.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { /* PUB -> foo -> SUB -> bar -> subscribed to all -> baz -> -> qux -> */ const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] /* Subscribe to all. */ sub.subscribe() await sub.bind(address) await pub.connect(address) const send = async () => { /* Wait briefly before publishing to avoid slow joiner syndrome. */ await new Promise(resolve => { setTimeout(resolve, 25) }) for (const msg of messages) { await pub.send(msg) } } const receive = async () => { for await (const [msg] of sub) { assert.instanceOf(msg, Buffer) received.push(msg.toString()) if (received.length === messages.length) { break } } } await Promise.all([send(), receive()]) assert.deepEqual(received, messages) }) }) describe("subscribe/unsubscribe", function () { it("should filter messages", async function () { /* PUB -> foo -X SUB -> bar -> subscribed to "ba" -> baz -> -> qux -X */ const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] sub.subscribe("fo", "ba", "qu") sub.unsubscribe("fo", "qu") await sub.bind(address) await pub.connect(address) const send = async () => { /* Wait briefly before publishing to avoid slow joiner syndrome. */ await new Promise(resolve => { setTimeout(resolve, 25) }) for (const msg of messages) { await pub.send(msg) } } const receive = async () => { for await (const [msg] of sub) { assert.instanceOf(msg, Buffer) received.push(msg.toString()) if (received.length === 2) { break } } } await Promise.all([send(), receive()]) assert.deepEqual(received, ["bar", "baz"]) }) }) }) } ```
/content/code_sandbox/test/unit/socket-pub-sub-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
621
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {captureEvent, testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc")) { describe(`socket with ${proto} zap`, function () { let sockA: zmq.Pair let sockB: zmq.Pair let handler: ZapHandler | undefined beforeEach(function () { sockA = new zmq.Pair() sockB = new zmq.Pair() }) afterEach(function () { if (handler) { handler.stop() } sockA.close() sockB.close() global.gc?.() }) describe("with plain mechanism", function () { it("should deliver message", async function () { handler = new ValidatingZapHandler({ domain: "test", mechanism: "PLAIN", credentials: ["user", "pass"], }) sockA.plainServer = true sockA.zapDomain = "test" sockB.plainUsername = "user" sockB.plainPassword = "pass" assert.equal(sockA.securityMechanism, "plain") assert.equal(sockB.securityMechanism, "plain") const address = await uniqAddress(proto) await sockA.bind(address) await sockB.connect(address) const sent = "foo" await sockA.send(sent) const recv = await sockB.receive() assert.deepEqual( [sent], recv.map((buf: Buffer) => buf.toString()), ) }) it("should report authentication error", async function () { /* ZMQ < 4.3.0 does not have these event details. */ if (semver.satisfies(zmq.version, "< 4.3.0")) { this.skip() } handler = new ValidatingZapHandler({ domain: "test", mechanism: "PLAIN", credentials: ["user", "pass"], }) sockA.plainServer = true sockA.zapDomain = "test" sockB.plainUsername = "user" sockB.plainPassword = "BAD PASS" const address = await uniqAddress(proto) const [eventA, eventB] = await Promise.all([ captureEvent(sockA, "handshake:error:auth"), captureEvent(sockB, "handshake:error:auth"), sockA.bind(address), sockB.connect(address), ]) assert.equal(eventA.type, "handshake:error:auth") assert.equal(eventB.type, "handshake:error:auth") assert.equal(eventA.address, address) assert.equal(eventB.address, address) assert.instanceOf(eventA.error, Error) assert.instanceOf(eventB.error, Error) assert.equal(eventA.error.message, "Authentication failure") assert.equal(eventB.error.message, "Authentication failure") assert.equal(eventA.error.status, 400) assert.equal(eventB.error.status, 400) }) it("should report protocol version error", async function () { /* ZMQ < 4.3.0 does not have these event details. */ if (semver.satisfies(zmq.version, "< 4.3.0")) { this.skip() } handler = new CustomZapHandler( ([path, delim, version, id, ...rest]) => { return [path, delim, "9.9", id, "200", "OK", null, null] }, ) sockA.plainServer = true sockA.zapDomain = "test" sockB.plainUsername = "user" const address = await uniqAddress(proto) const [eventA] = await Promise.all([ captureEvent(sockA, "handshake:error:protocol"), sockA.bind(address), sockB.connect(address), ]) assert.equal(eventA.type, "handshake:error:protocol") assert.equal(eventA.address, address) assert.instanceOf(eventA.error, Error) assert.equal(eventA.error.message, "ZAP protocol error") assert.equal(eventA.error.code, "ERR_ZAP_BAD_VERSION") }) it("should report protocol format error", async function () { /* ZMQ < 4.3.0 does not have these event details. */ if (semver.satisfies(zmq.version, "< 4.3.0")) { this.skip() } handler = new CustomZapHandler(([path, delim, ...rest]) => { return [path, delim, null, null] }) sockA.plainServer = true sockA.zapDomain = "test" sockB.plainUsername = "user" const address = await uniqAddress(proto) const [eventA] = await Promise.all([ captureEvent(sockA, "handshake:error:protocol"), sockA.bind(address), sockB.connect(address), ]) assert.equal(eventA.type, "handshake:error:protocol") assert.equal(eventA.address, address) assert.instanceOf(eventA.error, Error) assert.equal(eventA.error.message, "ZAP protocol error") assert.equal(eventA.error.code, "ERR_ZAP_MALFORMED_REPLY") }) it("should report mechanism mismatch error", async function () { /* ZMQ < 4.3.0 does not have these event details. */ if (semver.satisfies(zmq.version, "< 4.3.0")) { this.skip() } if (zmq.capability.curve !== true) { console.warn("Curve not supported by this zmq build") this.skip() } this.slow(250) sockA.plainServer = true sockB.curveServer = true const address = await uniqAddress(proto) const [eventA, eventB] = await Promise.all([ captureEvent(sockA, "handshake:error:protocol"), captureEvent(sockB, "handshake:error:protocol"), sockA.bind(address), sockB.connect(address), ]) assert.equal(eventA.type, "handshake:error:protocol") assert.equal(eventB.type, "handshake:error:protocol") assert.equal(eventA.address, address) assert.equal(eventB.address, address) assert.instanceOf(eventA.error, Error) assert.instanceOf(eventB.error, Error) assert.equal(eventA.error.message, "ZMTP protocol error") assert.equal(eventB.error.message, "ZMTP protocol error") assert.equal(eventA.error.code, "ERR_ZMTP_MECHANISM_MISMATCH") assert.equal(eventB.error.code, "ERR_ZMTP_MECHANISM_MISMATCH") }) }) }) } interface ZapDetails { domain: string mechanism: "NULL" | "PLAIN" | "CURVE" credentials: string[] } abstract class ZapHandler { socket = new zmq.Router() async run() { await this.socket.bind("inproc://zeromq.zap.01") /* See path_to_url */ for await (const msg of this.socket) { await this.socket.send(this.handle(msg)) } } stop() { this.socket.close() } protected abstract handle(request: Buffer[]): Array<Buffer | string | null> } class ValidatingZapHandler extends ZapHandler { details: ZapDetails constructor(details: ZapDetails) { super() this.details = details this.run().catch(err => { throw err }) } handle(request: Buffer[]) { const [ path, delimiter, version, id, domain, address, identity, mechanism, ...credentials ] = request let status = ["200", "OK"] if (mechanism.toString() === "NULL" && credentials.length !== 0) { status = ["300", "Expected no credentials"] } else if (mechanism.toString() === "PLAIN" && credentials.length !== 2) { status = ["300", "Expected 2 credentials"] } else if (mechanism.toString() === "CURVE" && credentials.length !== 1) { status = ["300", "Expected 1 credential"] } else if (domain.toString() !== this.details.domain) { status = ["400", "Unknown domain"] } else { for (const [i, credential] of credentials.entries()) { if (this.details.credentials[i] !== credential.toString()) { status = ["400", "Bad credentials"] break } } } return [path, delimiter, version, id, ...status, null, null] } } class CustomZapHandler extends ZapHandler { handle: ZapHandler["handle"] constructor(handler: ZapHandler["handle"]) { super() this.handle = handler this.run().catch(err => { throw err }) } } ```
/content/code_sandbox/test/unit/socket-zap-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
1,926
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} router/dealer`, function () { let router: zmq.Router let dealerA: zmq.Dealer let dealerB: zmq.Dealer beforeEach(function () { router = new zmq.Router() dealerA = new zmq.Dealer() dealerB = new zmq.Dealer() }) afterEach(function () { router.close() dealerA.close() dealerB.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const receivedA: string[] = [] const receivedB: string[] = [] await router.bind(address) dealerA.connect(address) dealerB.connect(address) const echo = async () => { for await (const [sender, msg] of router) { await router.send([sender, msg]) } } const send = async () => { for (const msg of messages) { await dealerA.send(msg) await dealerB.send(msg) } for await (const msg of dealerA) { receivedA.push(msg.toString()) if (receivedA.length === messages.length) { break } } for await (const msg of dealerB) { receivedB.push(msg.toString()) if (receivedB.length === messages.length) { break } } router.close() } await Promise.all([echo(), send()]) assert.deepEqual(receivedA, messages) assert.deepEqual(receivedB, messages) }) /* This only works reliably with ZMQ 4.2.3+ */ if (semver.satisfies(zmq.version, ">= 4.2.3")) { it("should fail with unroutable message if mandatory", async function () { router.mandatory = true router.sendTimeout = 0 try { await router.send(["fooId", "foo"]) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Host unreachable") assert.equal(err.code, "EHOSTUNREACH") assert.typeOf(err.errno, "number") } }) } }) }) } ```
/content/code_sandbox/test/unit/socket-router-dealer-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
583
```xml import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} req/rep`, function () { let req: zmq.Request let rep: zmq.Reply beforeEach(function () { req = new zmq.Request() rep = new zmq.Reply() }) afterEach(function () { req.close() rep.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { /* REQ -> foo -> REP <- foo <- -> bar -> <- bar <- -> baz -> <- baz <- -> qux -> <- qux <- */ const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] await rep.bind(address) await req.connect(address) const echo = async () => { for await (const msg of rep) { await rep.send(msg) } } const send = async () => { for (const msg of messages) { await req.send(Buffer.from(msg)) const [res] = await req.receive() received.push(res.toString()) if (received.length === messages.length) { break } } rep.close() } await Promise.all([echo(), send()]) assert.deepEqual(received, messages) }) it("should throw when waiting for a response", async function () { /* REQ -> foo -> REP -X foo <- foo <- */ const address = await uniqAddress(proto) /* FIXME: Also trigger EFSM without setting timeout. */ req.sendTimeout = 2 await rep.bind(address) await req.connect(address) const echo = async () => { const msg = await rep.receive() await rep.send(msg) } const send = async () => { await req.send(Buffer.from("foo")) assert.equal(req.writable, false) try { await req.send(Buffer.from("bar")) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal( err.message, "Operation cannot be accomplished in current state", ) assert.equal(err.code, "EFSM") assert.typeOf(err.errno, "number") } const [msg] = await req.receive() assert.deepEqual(msg, Buffer.from("foo")) rep.close() } await Promise.all([echo(), send()]) }) }) }) } ```
/content/code_sandbox/test/unit/socket-req-rep-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
611
```xml import * as path from "path" import {exec} from "child_process" import { emptyDir, remove, readJson, writeJson, readFile, writeFile, } from "fs-extra" import which from "which" import {assert} from "chai" /** * Testing typings compatibility for TypeScript versions, i.e. when zeromq.js is * used in projects that use a certain TypeScript version. * * NOTE: Disable (skip) test by setting environment variable * EXCLUDE_TYPINGS_COMPAT_TESTS=true */ type TestDef = { tscVersion: string nodeTypesVersion: string minTarget: string requiredLibs?: string[] } const tsVersions: TestDef[] = [ // the oldest supported version {tscVersion: "3.7.x", nodeTypesVersion: "10.x", minTarget: "es3"}, // 4.0 {tscVersion: "4.0", nodeTypesVersion: "14.x", minTarget: "es5"}, // 4.x {tscVersion: "4.x", nodeTypesVersion: "18.x", minTarget: "es6"}, // 5.x {tscVersion: "5.x", nodeTypesVersion: "22.x", minTarget: "ES2022"}, ] // use ./typings-test.ts for tsc test, but change the import location for zmq // to be used from `test/typings-compatibility/ts-x.x.x/typings-test.ts`: const zmqImportLoc = "../../../lib" const srcFile = path.resolve(__dirname, "typings-test.ts") const srcStr = readFile(srcFile, "utf8").then(content => { // replace import statement `import * as zmq from ...`: return content.replace( /^(\s*import\s+\*\s+as\s+zmq\s+from\s+)(.*)$/m, `$1"${zmqImportLoc}"`, ) }) const tscTestBasePath = path.resolve(__dirname, "..", "typings-compatibility") const templateSrcPath = path.resolve(tscTestBasePath, "template") function addLibs(libs: string[], targetList: string[] | undefined): string[] { if (targetList === undefined) { return libs } else { libs.forEach(l => { if (!targetList.find(e => e.toLowerCase() === l.toLowerCase())) { targetList.push(l) } }) } return targetList } async function run( cmd: string, cwd: string, errorAsString: boolean, ): Promise<string | Error | undefined> { return new Promise((resolve, reject) => { exec(cmd, {cwd}, (error, stdout, stderr) => { if (error) { resolve(errorAsString ? `${stdout}\n${stderr}` : error) } else { resolve(undefined) } }) }) } function getItLabelDetails(tsVer: TestDef): string { const lbl = `v${ tsVer.tscVersion } for (minimal) compile target ${JSON.stringify(tsVer.minTarget)}` if (!tsVer.requiredLibs || tsVer.requiredLibs.length === 0) { return lbl } return `${lbl}, and required compile lib: ${JSON.stringify( tsVer.requiredLibs, )}` } describe("compatibility of typings for typescript versions", async function () { let execCmd: string before(async function () { this.timeout(10000) if (/^true$/.test(process.env.EXCLUDE_TYPINGS_COMPAT_TESTS as string)) { this.skip() } execCmd = await getPackageManager() }) for (const tsVer of tsVersions) { // must increase timeout for allowing `npm install`'ing the version of // the typescript package to complete this.timeout(30000) const tscTargetPath = path.resolve( tscTestBasePath, `ts-${tsVer.tscVersion}`, ) it(`it should compile successfully with typescript version ${ tsVer.tscVersion // eslint-disable-next-line no-loop-func }, tsc ${getItLabelDetails(tsVer)}`, async () => { await prepareTestPackage(tscTargetPath, tsVer, execCmd) const cmd = ["npm", "pnpm"].includes(execCmd) ? `${execCmd} run` : execCmd const errMsg = (await run(`${cmd} test`, tscTargetPath, true)) as | string | undefined assert.isUndefined(errMsg, errMsg) }) afterEach(async () => { await remove(tscTargetPath) }) } }) async function prepareTestPackage( tscTargetPath: string, tsVer: TestDef, execCmd: string, ) { await emptyDir(tscTargetPath) await Promise.all([ (async () => { const tsConfig = await readJson( path.resolve(templateSrcPath, "tsconfig.json"), ) tsConfig.compilerOptions.target = tsVer.minTarget if (tsVer.requiredLibs) { tsConfig.compilerOptions.lib = addLibs( tsVer.requiredLibs, tsConfig.compilerOptions.lib as string[] | undefined, ) } return writeJson(path.resolve(tscTargetPath, "tsconfig.json"), tsConfig) })(), (async () => { const pkgJson = await readJson( path.resolve(templateSrcPath, "package.json"), ) pkgJson.name = `test-typings-ts-${tsVer.tscVersion}` pkgJson.devDependencies.typescript = `${tsVer.tscVersion}` pkgJson.devDependencies["@types/node"] = tsVer.nodeTypesVersion return writeJson(path.resolve(tscTargetPath, "package.json"), pkgJson) })(), (async () => { const content = await srcStr return writeFile( path.resolve(tscTargetPath, "typings-test.ts"), content, "utf8", ) })(), ]) await run(`${execCmd} install`, tscTargetPath, false) } /// detect package manager (pnpm, npm, yarn) for installing typescript versions async function getPackageManager() { const packageManagers = ["pnpm", "yarn", "npm"] const versionResults: Array<string | null> = await Promise.all( packageManagers.map(pm => which(pm, {nothrow: true})), ) const packageManagerIndex = versionResults.findIndex( versionResult => typeof versionResult === "string", ) if (packageManagerIndex === -1) { throw new Error( "Cannot run typings compatibility test, because pnpm, npm, and yarn are not available.", ) } return packageManagers[packageManagerIndex] } ```
/content/code_sandbox/test/unit/typings-compatibility-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
1,478
```xml import * as zmq from "../../src" describe("typings", function () { it("should compile successfully", function () { /* To test the TypeScript typings this file should compile successfully. We don't actually execute the code in this function. */ function _test() { const version: string = zmq.version console.log(version) const capability = zmq.capability if (capability.ipc) { console.log("ipc") } if (capability.pgm) { console.log("pgm") } if (capability.tipc) { console.log("tipc") } if (capability.norm) { console.log("norm") } if (capability.curve) { console.log("curve") } if (capability.gssapi) { console.log("gssapi") } if (capability.draft) { console.log("draft") } const keypair = zmq.curveKeyPair() console.log(keypair.publicKey) console.log(keypair.secretKey) const context = new zmq.Context({ ioThreads: 1, ipv6: true, }) context.threadPriority = 4 console.log(context.ioThreads) console.log(context.ipv6) zmq.context.ioThreads = 5 zmq.context.ipv6 = true const socket = new zmq.Dealer({ context: zmq.context, sendTimeout: 200, probeRouter: true, routingId: "foobar", }) const router = new zmq.Router() if (router.type !== 6) { throw new Error() } console.log(socket.context) console.log(socket.sendTimeout) console.log(socket.routingId) const exec = async () => { await socket.bind("tcp://foobar") await socket.unbind("tcp://foobar") socket.connect("tcp://foobar") socket.disconnect("tcp://foobar") router.connect("tcp://foobar", {routingId: "remote_id"}) for await (const [p1, p2] of socket) { console.log(p1) console.log(p2) } const [part1, part2] = await socket.receive() await socket.send(part1) await socket.send([part1, part2]) await socket.send([null, Buffer.alloc(1), "foo"]) await socket.send(null) await socket.send(Buffer.alloc(1)) await socket.send("foo") socket.close() socket.events.on("bind", details => { console.log(details.address) }) socket.events.off("bind", details => { console.log(details.address) }) socket.events.on("connect:retry", details => { console.log(details.interval) console.log(details.address) }) socket.events.on("accept:error", details => { console.log(details.error.code) console.log(details.error.errno) console.log(details.address) }) for await (const event of socket.events) { switch (event.type) { case "end": case "unknown": break case "connect:retry": console.log(event.interval) console.log(event.address) break case "accept:error": case "bind:error": case "close:error": case "handshake:error:other": console.log(event.error.code) console.log(event.error.errno) console.log(event.address) break default: console.log(event.address) } } const proxy = new zmq.Proxy(new zmq.Router(), new zmq.Dealer()) await proxy.run() proxy.pause() proxy.resume() proxy.terminate() proxy.frontEnd.close() proxy.backEnd.close() } exec().catch(err => { throw err }) } }) }) ```
/content/code_sandbox/test/unit/typings-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
805
```xml import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} push/pull`, function () { let push: zmq.Push let pull: zmq.Pull beforeEach(function () { push = new zmq.Push() pull = new zmq.Pull() }) afterEach(function () { push.close() pull.close() global.gc?.() }) describe("send/receive", function () { it("should deliver messages", async function () { /* PUSH -> foo -> PULL -> bar -> -> baz -> -> qux -> */ const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] await pull.bind(address) await push.connect(address) for (const msg of messages) { await push.send(msg) } for await (const [msg] of pull) { assert.instanceOf(msg, Buffer) received.push(msg.toString()) if (received.length === messages.length) { break } } assert.deepEqual(received, messages) }) if (proto !== "inproc") { it("should deliver messages with immediate", async function () { const address = await uniqAddress(proto) const messages = ["foo", "bar", "baz", "qux"] const received: string[] = [] await pull.bind(address) push.immediate = true await push.connect(address) /* Never connected, without immediate: true it would cause lost msgs. */ await push.connect(await uniqAddress(proto)) for (const msg of messages) { await push.send(msg) } for await (const [msg] of pull) { assert.instanceOf(msg, Buffer) received.push(msg.toString()) if (received.length === messages.length) { break } } assert.deepEqual(received, messages) }) } }) }) } ```
/content/code_sandbox/test/unit/socket-push-pull-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
460
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`proxy with ${proto} run`, function () { let proxy: zmq.Proxy beforeEach(async function () { /* ZMQ < 4.0.5 has no steerable proxy support. */ if (semver.satisfies(zmq.version, "< 4.0.5")) { this.skip() } proxy = new zmq.Proxy(new zmq.Router(), new zmq.Dealer()) }) afterEach(function () { proxy.frontEnd.close() proxy.backEnd.close() global.gc?.() }) it("should fail if front end is not bound or connected", async function () { await proxy.backEnd.bind(await uniqAddress(proto)) try { await proxy.run() assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Front-end socket must be bound or connected") } }) it("should fail if front end is not open", async function () { await proxy.frontEnd.bind(await uniqAddress(proto)) await proxy.backEnd.bind(await uniqAddress(proto)) proxy.frontEnd.close() try { await proxy.run() assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Front-end socket must be bound or connected") } }) it("should fail if back end is not bound or connected", async function () { await proxy.frontEnd.bind(await uniqAddress(proto)) try { await proxy.run() assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Back-end socket must be bound or connected") assert.equal(err.code, "EINVAL") assert.typeOf(err.errno, "number") } }) it("should fail if back end is not open", async function () { await proxy.frontEnd.bind(await uniqAddress(proto)) await proxy.backEnd.bind(await uniqAddress(proto)) proxy.backEnd.close() try { await proxy.run() assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Back-end socket must be bound or connected") assert.equal(err.code, "EINVAL") assert.typeOf(err.errno, "number") } }) }) } ```
/content/code_sandbox/test/unit/proxy-run-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
592
```xml import * as zmq from "../../src" import {assert} from "chai" import {isFullError} from "../../src/errors" describe("socket construction", function () { afterEach(function () { global.gc?.() }) describe("with constructor", function () { it("should throw if called as function", function () { assert.throws( () => (zmq.Socket as any)(1, new zmq.Context()), TypeError, "Class constructors cannot be invoked without 'new'", ) }) it("should throw with too few arguments", function () { assert.throws( () => new (zmq.Socket as any)(), TypeError, "Socket type must be a number", ) }) it("should throw with too many arguments", function () { assert.throws( () => new (zmq.Socket as any)(1, new zmq.Context(), 2), TypeError, "Expected 2 arguments", ) }) it("should throw with wrong options argument", function () { assert.throws( () => new (zmq.Socket as any)(3, 1), TypeError, "Options must be an object", ) }) it("should throw with wrong type argument", function () { assert.throws( () => new (zmq.Socket as any)("foo", new zmq.Context()), TypeError, "Socket type must be a number", ) }) it("should throw with wrong type id", function () { try { new (zmq.Socket as any)(37, new zmq.Context()) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Invalid argument") assert.equal(err.code, "EINVAL") assert.typeOf(err.errno, "number") } }) it("should throw with invalid context", function () { try { new (zmq.Socket as any)(1, {context: {}}) assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.oneOf(err.message, [ "Invalid pointer passed as argument" /* before 8.7 */, "Invalid argument" /* as of 8.7 */, ]) } }) it("should create socket with default context", function () { class MySocket extends zmq.Socket { constructor() { super(1) } } const sock1 = new MySocket() const sock2 = new MySocket() assert.equal(sock1.context, sock2.context) }) it("should create socket with given context", function () { class MySocket extends zmq.Socket { constructor(opts: zmq.SocketOptions<MySocket>) { super(1, opts) } } const context = new zmq.Context() const socket = new MySocket({context}) assert.equal(socket.context, context) }) }) describe("with child constructor", function () { it("should throw if called as function", function () { assert.throws( () => (zmq.Dealer as any)(), TypeError, "Class constructor Dealer cannot be invoked without 'new'", ) }) it("should create socket with default context", function () { const sock = new zmq.Dealer() assert.instanceOf(sock, zmq.Dealer) assert.equal(sock.context, zmq.context) }) it("should create socket with given context", function () { const ctxt = new zmq.Context() const sock = new zmq.Dealer({context: ctxt}) assert.equal(sock.context, ctxt) }) it("should set option", function () { const sock = new zmq.Dealer({recoveryInterval: 5}) assert.equal(sock.recoveryInterval, 5) }) it("should throw with invalid option value", function () { assert.throws( () => new (zmq.Dealer as any)({recoveryInterval: "hello"}), TypeError, "Option value must be a number", ) }) it("should throw with readonly option", function () { assert.throws( () => new (zmq.Dealer as any)({securityMechanism: 1}), TypeError, "Cannot set property securityMechanism of #<Socket> which has only a getter", ) }) it("should throw with unknown option", function () { assert.throws( () => new (zmq.Dealer as any)({doesNotExist: 1}), TypeError, "Cannot add property doesNotExist, object is not extensible", ) }) it("should throw with invalid type", function () { assert.throws( () => new (zmq.Socket as any)(4591), Error, "Invalid argument", ) }) it("should throw with draft type", function () { if (zmq.capability.draft === true) { this.skip() } assert.throws( () => new (zmq.Socket as any)(14), Error, "Invalid argument", ) }) it("should throw error on file descriptor limit", async function () { const context = new zmq.Context({maxSockets: 10}) const sockets = [] const n = 10 try { for (let i = 0; i < n; i++) { sockets.push(new zmq.Dealer({context})) } } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Too many open file descriptors") assert.equal(err.code, "EMFILE") assert.typeOf(err.errno, "number") } finally { for (const socket of sockets) { socket.close() } } }) }) }) ```
/content/code_sandbox/test/unit/socket-construction-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
1,255
```xml import * as semver from "semver" import * as zmq from "../../src" import {assert} from "chai" import {createWorker, testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} in thread`, function () { this.slow(2000) this.timeout(5000) beforeEach(function () { /* Node.js worker support introduced in version 10.5. */ if (semver.satisfies(process.versions.node, "< 10.5")) { this.skip() } }) describe("when connected within thread", function () { it("should deliver messages", async function () { const data = {address: await uniqAddress(proto)} const recv = await createWorker(data, async ({address}) => { const sockA = new zmq.Pair({linger: 0}) const sockB = new zmq.Pair({linger: 0}) await sockB.bind(address) await sockA.connect(address) await sockA.send(["foo", "bar"]) return sockB.receive() }) assert.deepEqual( ["foo", "bar"], recv.map(buf => Buffer.from(buf).toString()), ) }) }) describe("when connected to thread", function () { it("should deliver messages", async function () { const address = await uniqAddress(proto) const sockA = new zmq.Pair({linger: 0}) await sockA.bind(address) sockA.send(["foo", "bar"]) await createWorker({address}, async ({address}) => { const sockB = new zmq.Pair({linger: 0}) await sockB.connect(address) for await (const msg of sockB) { await sockB.send(msg) return } }) const recv = await sockA.receive() sockA.close() assert.deepEqual( ["foo", "bar"], recv.map(buf => buf.toString()), ) }) }) describe("when connected between threads", function () { it("should deliver messages", async function () { const address = await uniqAddress(proto) const worker1 = createWorker({address}, async ({address}) => { const sockA = new zmq.Pair({linger: 0}) await sockA.bind(address) await sockA.send(["foo", "bar"]) return sockA.receive() }) const worker2 = createWorker({address}, async ({address}) => { const sockB = new zmq.Pair({linger: 0}) await sockB.connect(address) for await (const msg of sockB) { await sockB.send(msg) return } }) const [recv] = await Promise.all([worker1, worker2]) assert.deepEqual( ["foo", "bar"], recv.map(buf => Buffer.from(buf).toString()), ) }) }) }) } ```
/content/code_sandbox/test/unit/socket-thread-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
639
```xml import * as zmq from "../../src" import {assert} from "chai" import {testProtos, uniqAddress} from "./helpers" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} curve send/receive`, function () { if (zmq.capability.curve !== true) { return } let sockA: zmq.Pair let sockB: zmq.Pair beforeEach(function () { const serverKeypair = zmq.curveKeyPair() const clientKeypair = zmq.curveKeyPair() sockA = new zmq.Pair({ linger: 0, curveServer: true, curvePublicKey: serverKeypair.publicKey, curveSecretKey: serverKeypair.secretKey, }) sockB = new zmq.Pair({ linger: 0, curveServerKey: serverKeypair.publicKey, curvePublicKey: clientKeypair.publicKey, curveSecretKey: clientKeypair.secretKey, }) }) afterEach(function () { sockA.close() sockB.close() global.gc?.() }) describe("when connected", function () { beforeEach(async function () { const address = await uniqAddress(proto) await sockB.bind(address) await sockA.connect(address) }) it("should deliver single string message", async function () { const sent = "foo" await sockA.send(sent) const recv = await sockB.receive() assert.deepEqual( [sent], recv.map((buf: Buffer) => buf.toString()), ) }) }) }) } ```
/content/code_sandbox/test/unit/socket-curve-send-receive-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
356
```xml import * as zmq from "../../src" import {assert} from "chai" import { captureEvent, captureEventsUntil, testProtos, uniqAddress, } from "./helpers" import {isFullError} from "../../src/errors" for (const proto of testProtos("tcp", "ipc", "inproc")) { describe(`socket with ${proto} events`, function () { let sockA: zmq.Dealer let sockB: zmq.Dealer beforeEach(function () { sockA = new zmq.Dealer() sockB = new zmq.Dealer() }) afterEach(function () { sockA.close() sockB.close() global.gc?.() }) describe("when not connected", function () { it("should receive events", async function () { const done = captureEventsUntil(sockA, "end") sockA.close() const events = await done assert.deepEqual(events, [{type: "end"}]) }) }) describe("when connected", function () { it("should return same object", function () { assert.equal(sockA.events, sockA.events) }) if (proto !== "inproc") { it("should receive bind events", async function () { const address = await uniqAddress(proto) const [event] = await Promise.all([ captureEvent(sockA, "bind"), sockA.bind(address), sockB.connect(address), ]) assert.deepEqual(event, {type: "bind", address}) }) it("should receive connect events", async function () { this.slow(250) const address = await uniqAddress(proto) const [event] = await Promise.all([ captureEvent(sockB, "connect"), sockA.bind(address), sockB.connect(address), ]) assert.deepEqual(event, {type: "connect", address}) }) } if (proto === "tcp") { it("should receive error events", async function () { const address = await uniqAddress(proto) await sockA.bind(address) const [event] = await Promise.all([ captureEvent(sockB, "bind:error"), sockB.bind(address).catch(() => { /* Ignore */ }), ]) assert.equal(`tcp://${event.address}`, address) assert.instanceOf(event.error, Error) assert.equal(event.error.message, "Address already in use") assert.equal(event.error.code, "EADDRINUSE") assert.typeOf(event.error.errno, "number") }) } it("should receive events with emitter", async function () { const address = await uniqAddress(proto) const events: zmq.Event[] = [] sockA.events.on("bind", event => { events.push(event) }) sockA.events.on("accept", event => { events.push(event) }) sockA.events.on("close", event => { events.push(event) }) sockA.events.on("end", event => { events.push(event) }) assert.throws( () => sockA.events.receive(), Error, "Observer is in event emitter mode. After a call to events.on() it " + "is not possible to read events with events.receive().", ) const connected = captureEvent(sockB, "connect") const done = Promise.all([ captureEvent(sockA, "end"), sockA.bind(address), sockB.connect(address), ]) if (proto !== "inproc") { await connected } sockA.close() sockB.close() await done if (proto === "inproc") { assert.deepEqual(events, [{type: "end"}]) } else { assert.deepInclude(events, {type: "bind", address}) assert.deepInclude(events, {type: "accept", address}) assert.deepInclude(events, {type: "close", address}) assert.deepInclude(events, {type: "end"}) } }) }) describe("when closed automatically", function () { it("should not be able to receive", async function () { const events = sockA.events sockA.close() const {type} = await events.receive() assert.equal(type, "end") try { await events.receive() assert.ok(false) } catch (err) { if (!isFullError(err)) { throw err } assert.equal(err.message, "Socket is closed") assert.equal(err.code, "EBADF") assert.typeOf(err.errno, "number") } }) it("should be closed", async function () { const events = sockA.events sockA.close() await events.receive() assert.equal(events.closed, true) }) }) }) } ```
/content/code_sandbox/test/unit/socket-events-test.ts
xml
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
1,020
```javascript if (process.env.INCLUDE_COMPAT_TESTS) { const zmq = require("./load") const semver = require("semver") const {assert} = require("chai") const {testProtos, uniqAddress} = require("../helpers") const {isFullError} = require("../../src/errors") /* This test case only seems to work reliably with TCP. */ for (const proto of testProtos("tcp")) { describe(`compat socket with ${proto} monitor`, function () { beforeEach(function () { /* ZMQ < 4.2 occasionally fails with assertion errors. */ if (semver.satisfies(zmq.version, "< 4.2")) { this.skip() } this.warningListeners = process.listeners("warning") }) afterEach(function () { process.removeAllListeners("warning") for (const listener of this.warningListeners) { process.on("warning", listener) } }) it("should be able to monitor the socket", function (done) { const rep = zmq.socket("rep") const req = zmq.socket("req") const address = uniqAddress(proto) rep.on("message", function (msg) { assert.instanceOf(msg, Buffer) assert.equal(msg.toString(), "hello") rep.send("world") }) const testedEvents = ["listen", "accept", "disconnect"] testedEvents.forEach(function (e) { rep.on(e, function (event_value, event_endpoint_addr) { assert.equal(event_endpoint_addr.toString(), address) testedEvents.pop() if (testedEvents.length === 0) { rep.unmonitor() rep.close() done() } }) }) // enable monitoring for this socket rep.monitor() rep.bind(address, err => { if (err) { throw err } }) rep.on("bind", function () { req.connect(address) req.send("hello") req.on("message", function (msg) { assert.instanceOf(msg, Buffer) assert.equal(msg.toString(), "world") req.close() }) // Test that bind errors pass an Error both to the callback // and to the monitor event const doubleRep = zmq.socket("rep") doubleRep.monitor() doubleRep.on("bind_error", function (errno, bindAddr, ex) { assert.instanceOf(ex, Error) doubleRep.close() }) doubleRep.bind(address, err => { if (!isFullError(err)) { throw err } }) }) }) }) } } ```
/content/code_sandbox/test/unit/compat/socket-monitor-test.js
javascript
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
554
```javascript if (process.env.INCLUDE_COMPAT_TESTS) { const zmq = require("./load") const {assert} = require("chai") describe("compat context", function () { it("should support setting max io threads", function () { zmq.Context.setMaxThreads(3) assert.equal(zmq.Context.getMaxThreads(), 3) zmq.Context.setMaxThreads(1) }) it("should support setting max number of sockets", function () { const currMaxSockets = zmq.Context.getMaxSockets() zmq.Context.setMaxSockets(256) assert.equal(zmq.Context.getMaxSockets(), 256) zmq.Context.setMaxSockets(currMaxSockets) }) }) } ```
/content/code_sandbox/test/unit/compat/context-test.js
javascript
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
146
```javascript if (process.env.INCLUDE_COMPAT_TESTS) { const zmq = require("./load") const {assert} = require("chai") const {testProtos, uniqAddress} = require("../helpers") const http = require("http") describe("compat socket stream", function () { it("should support a stream socket type", function (done) { const stream = zmq.socket("stream") const address = uniqAddress("tcp") stream.on("message", function (id, msg) { assert.instanceOf(msg, Buffer) if (msg.length == 0) { return } const raw_header = String(msg).split("\r\n") const method = raw_header[0].split(" ")[0] assert.equal(method, "GET") //finding an HTTP GET method, prepare HTTP response for TCP socket const httpProtocolString = "HTTP/1.0 200 OK\r\n" + //status code "Content-Type: text/html\r\n" + //headers "\r\n" + "<!DOCTYPE html>" + //response body "<head>" + //make it xml, json, html or something else "<meta charset='UTF-8'>" + "</head>" + "<body>" + "<p>derpin over protocols</p>" + "</body>" + "</html>" //zmq streaming prefixed by envelope"s routing identifier stream.send([id, httpProtocolString]) }) stream.bind(address, err => { if (err) { throw err } //send non-peer request to zmq, like an http GET method with URI path http.get( `${address.replace("tcp:", "http:")}/aRandomRequestPath`, function (httpMsg) { assert.equal(httpMsg.socket._readableState.reading, false) httpMsg.on("data", function (msg) { assert.instanceOf(msg, Buffer) assert.equal( msg.toString(), "<!DOCTYPE html><head><meta charset='UTF-8'></head>" + "<body>" + "<p>derpin over protocols</p>" + "</body>" + "</html>", ) stream.close() done() }) }, ) }) }) }) } ```
/content/code_sandbox/test/unit/compat/socket-stream-test.js
javascript
2016-02-04T04:42:22
2024-08-15T08:36:05
zeromq.js
zeromq/zeromq.js
1,440
493