Debian Codegraph @

texmf-dist/bibtex/bst/achemso/achemso.bst

raw
1 %%
2 %% This is file `achemso.bst',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% achemso.dtx (with options: `bst')
8 %%
9 %% IMPORTANT NOTICE:
10 %%
11 %% For the copyright see the source file.
12 %%
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from achemso.bst.
15 %%
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file achemso.dtx.
18 %%
19 %% This generated file may be distributed as long as the
20 %% original source files, as listed above, are part of the
21 %% same distribution. (The sources need not necessarily be
22 %% in the same archive or directory.)
23
24 ENTRY
25 {
26 address
27 author
28 booktitle
29 chapter
30 ctrl-article-title
31 ctrl-chapter-title
32 ctrl-doi
33 ctrl-etal-firstonly
34 ctrl-etal-number
35 ctrl-use-title
36 doi
37 edition
38 editor
39 howpublished
40 institution
41 journal
42 key
43 maintitle
44 note
45 number
46 organization
47 pages
48 publisher
49 school
50 series
51 title
52 type
53 url
54 version
55 volume
56 year
57 }
58 { }
59 {
60 label
61 short.names
62 }
63
64
65 FUNCTION { and } {
66 { }
67 {
68 pop$
69 #0
70 }
71 if$
72 }
73
74 FUNCTION { not } {
75 { #0 }
76 { #1 }
77 if$
78 }
79
80 FUNCTION { or } {
81 {
82 pop$
83 #1
84 }
85 { }
86 if$
87 }
88
89 FUNCTION { xor } {
90 { not }
91 { }
92 if$
93 }
94
95
96 FUNCTION { chr.to.value.error } {
97 #48 +
98 int.to.chr$
99 "'" swap$ *
100 "'" *
101 " is not a number: treated as zero." *
102 warning$
103 #0
104 }
105
106 FUNCTION { chr.to.value } {
107 chr.to.int$ #48 -
108 duplicate$
109 #0 <
110 { chr.to.value.error }
111 {
112 duplicate$
113 #9 >
114 { chr.to.value.error }
115 { }
116 if$
117 }
118 if$
119 }
120
121 STRINGS {
122 extract.input.str
123 extract.output.str
124 }
125
126 FUNCTION { is.a.digit } {
127 duplicate$
128 "" =
129 {
130 pop$
131 #0
132 }
133 {
134 chr.to.int$
135 #48 -
136 duplicate$
137 #0 < swap$ #9 > or not
138 }
139 if$
140 }
141
142 FUNCTION{ is.a.number } {
143 {
144 duplicate$
145 #1 #1 substring$
146 is.a.digit
147 }
148 { #2 global.max$ substring$ }
149 while$
150 "" =
151 }
152
153 FUNCTION { extract.number } {
154 duplicate$
155 'extract.input.str :=
156 "" 'extract.output.str :=
157 { extract.input.str empty$ not }
158 {
159 extract.input.str #1 #1 substring$
160 extract.input.str #2 global.max$ substring$ 'extract.input.str :=
161 duplicate$
162 is.a.number
163 { extract.output.str swap$ * 'extract.output.str := }
164 {
165 pop$
166 "" 'extract.input.str :=
167 }
168 if$
169 }
170 while$
171 extract.output.str empty$
172 { }
173 {
174 pop$
175 extract.output.str
176 }
177 if$
178 }
179
180 FUNCTION { field.or.null } {
181 duplicate$
182 empty$
183 {
184 pop$
185 ""
186 }
187 { }
188 if$
189 }
190
191 INTEGERS {
192 multiply.a.int
193 multiply.b.int
194 }
195
196 FUNCTION { multiply } {
197 'multiply.a.int :=
198 'multiply.b.int :=
199 multiply.b.int #0 <
200 {
201 #-1
202 #0 multiply.b.int - 'multiply.b.int :=
203 }
204 { #1 }
205 if$
206 #0
207 { multiply.b.int #0 > }
208 {
209 multiply.a.int +
210 multiply.b.int #1 - 'multiply.b.int :=
211 }
212 while$
213 swap$
214 { }
215 { #0 swap$ - }
216 if$
217 }
218
219 INTEGERS { str.conversion.int }
220
221 FUNCTION { str.to.int.aux.ii } {
222 {
223 duplicate$
224 empty$ not
225 }
226 {
227 swap$
228 #10 multiply 'str.conversion.int :=
229 duplicate$
230 #1 #1 substring$
231 chr.to.value
232 str.conversion.int +
233 swap$
234 #2 global.max$ substring$
235 }
236 while$
237 pop$
238 }
239
240 FUNCTION { str.to.int.aux.i } {
241 duplicate$
242 #1 #1 substring$
243 "-" =
244 {
245 #1 swap$
246 #2 global.max$ substring$
247 }
248 {
249 #0 swap$
250 }
251 if$
252 #0
253 swap$
254 str.to.int.aux.ii
255 swap$
256 { #0 swap$ - }
257 { }
258 if$
259 }
260
261 FUNCTION { str.to.int } {
262 duplicate$
263 empty$
264 {
265 pop$
266 #0
267 }
268 { str.to.int.aux.i }
269 if$
270 }
271
272 FUNCTION { tie.or.space.connect } {
273 duplicate$
274 text.length$ #3 <
275 { "~" }
276 { " " }
277 if$
278 swap$ * *
279 }
280
281 FUNCTION { yes.no.to.bool } {
282 duplicate$
283 empty$
284 {
285 pop$
286 #0
287 }
288 {
289 "l" change.case$
290 "yes" =
291 { #1 }
292 { #0 }
293 if$
294 }
295 if$
296 }
297
298
299 FUNCTION { bold } {
300 duplicate$
301 empty$
302 {
303 pop$
304 ""
305 }
306 { "\textbf{" swap$ * "}" * }
307 if$
308 }
309
310 FUNCTION { emph } {
311 duplicate$
312 empty$
313 {
314 pop$
315 ""
316 }
317 { "\emph{" swap$ * "}" * }
318 if$
319 }
320
321 FUNCTION { paren } {
322 duplicate$
323 empty$
324 {
325 pop$
326 ""
327 }
328 { "(" swap$ * ")" * }
329 if$
330 }
331
332
333 FUNCTION { add.comma } { ", " * }
334
335 FUNCTION { add.colon } { ": " * }
336
337 FUNCTION { add.period } { add.period$ " " * }
338
339 FUNCTION { add.semicolon } { "; " * }
340
341 FUNCTION { add.space } { " " * }
342
343
344 FUNCTION { bbl.and } { "and" }
345
346 FUNCTION { bbl.chapter } { "Chapter" }
347
348 FUNCTION { bbl.doi } { "DOI:" }
349
350 FUNCTION { bbl.editor } { "Ed." }
351
352 FUNCTION { bbl.editors } { "Eds." }
353
354 FUNCTION { bbl.edition } { "ed." }
355
356 FUNCTION { bbl.etal } { "\latin{et~al.}" }
357
358 FUNCTION { bbl.in } { "In" }
359
360 FUNCTION { bbl.inpress } { "in press" }
361
362 FUNCTION { bbl.msc } { "M.Sc.\ thesis" }
363
364 FUNCTION { bbl.page } { "p" }
365
366 FUNCTION { bbl.pages } { "pp" }
367
368 FUNCTION { bbl.phd } { "Ph.D.\ thesis" }
369
370 FUNCTION { bbl.version } { "version" }
371
372 FUNCTION { bbl.volume } { "Vol." }
373
374
375 STRINGS { pages.str }
376
377 FUNCTION { hyphen.to.dash } {
378 'pages.str :=
379 ""
380 { pages.str empty$ not }
381 {
382 pages.str #1 #1 substring$
383 "-" =
384 {
385 "--" *
386 {
387 pages.str #1 #1 substring$
388 "-" =
389 }
390 { pages.str #2 global.max$ substring$ 'pages.str := }
391 while$
392 }
393 {
394 pages.str #1 #1 substring$
395 *
396 pages.str #2 global.max$ substring$ 'pages.str :=
397 }
398 if$
399 }
400 while$
401 }
402
403 INTEGERS { multiresult.bool }
404
405 FUNCTION { multi.page.check } {
406 'pages.str :=
407 #0 'multiresult.bool :=
408 {
409 multiresult.bool not
410 pages.str empty$ not
411 and
412 }
413 {
414 pages.str #1 #1 substring$
415 duplicate$
416 "-" = swap$ duplicate$
417 "," = swap$
418 "+" =
419 or or
420 { #1 'multiresult.bool := }
421 { pages.str #2 global.max$ substring$ 'pages.str := }
422 if$
423 }
424 while$
425 multiresult.bool
426 }
427
428
429 INTEGERS {
430 current.name.int
431 names.separate.comma
432 names.separate.semicolon
433 names.separate.comma.bool
434 remaining.names.int
435 total.names.int
436 }
437
438 STRINGS {
439 current.name.str
440 names.str
441 }
442
443 FUNCTION { full.format.names } {
444 'names.str :=
445 #1 'current.name.int :=
446 names.str num.names$ 'remaining.names.int :=
447 { remaining.names.int #0 > }
448 {
449 names.str current.name.int "{vv~}{ll}" format.name$
450 current.name.int #1 >
451 {
452 swap$ add.comma swap$
453 remaining.names.int #1 >
454 { }
455 {
456 duplicate$
457 "others" =
458 { bbl.etal }
459 { bbl.and }
460 if$
461 add.space swap$ *
462 }
463 if$
464 *
465 }
466 { }
467 if$
468 remaining.names.int #1 - 'remaining.names.int :=
469 current.name.int #1 + 'current.name.int :=
470 }
471 while$
472 }
473
474 FUNCTION { full.author } {
475 author empty$
476 { "" }
477 { author full.format.names }
478 if$
479 }
480
481 FUNCTION { full.author.editor } {
482 author empty$
483 {
484 editor empty$
485 { "" }
486 { editor full.format.names }
487 if$
488 }
489 { author full.format.names }
490 if$
491 }
492
493 FUNCTION { full.editor } {
494 editor empty$
495 { "" }
496 { editor full.format.names }
497 if$
498 }
499
500 FUNCTION { short.format.names } {
501 'names.str :=
502 names.str #1 "{vv~}{ll}" format.name$
503 names.str num.names$
504 duplicate$
505 #2 >
506 {
507 pop$
508 add.space bbl.etal *
509 }
510 {
511 #2 <
512 { }
513 {
514 names.str #2 "{ff }{vv }{ll}{ jj}" format.name$
515 "others" =
516 { add.space bbl.etal * }
517 {
518 add.space
519 bbl.and add.space
520 *
521 names.str #2 "{vv~}{ll}" format.name$
522 *
523 }
524 if$
525 }
526 if$
527 }
528 if$
529 }
530
531 FUNCTION { short.author.key } {
532 author empty$
533 {
534 key empty$
535 { cite$ #1 #3 substring$ }
536 { key }
537 if$
538 }
539 { author short.format.names }
540 if$
541 }
542
543 FUNCTION { short.author.editor.key } {
544 author empty$
545 {
546 editor empty$
547 {
548 key empty$
549 { cite$ #1 #3 substring$ }
550 { key }
551 if$
552 }
553 { editor short.format.names }
554 if$
555 }
556 { author short.format.names }
557 if$
558 }
559
560 FUNCTION { short.author.key.organization } {
561 author empty$
562 {
563 key empty$
564 {
565 organization empty$
566 { cite$ #1 #3 substring$ }
567 {
568 organization #1 #4 substring$
569 "The " =
570 { organization }
571 { organization #5 global.max$ substring$ }
572 if$
573 #3 text.prefix$
574 }
575 if$
576 }
577 { key }
578 if$
579 }
580 { author short.format.names }
581 if$
582 }
583
584 FUNCTION { short.editor.key.organization } {
585 editor empty$
586 {
587 key empty$
588 {
589 organization empty$
590 { cite$ #1 #3 substring$ }
591 {
592 organization #1 #4 substring$
593 "The " =
594 { organization }
595 { organization #5 global.max$ substring$ }
596 if$
597 #3 text.prefix$
598 }
599 if$
600 }
601 { key }
602 if$
603 }
604 { editor short.format.names }
605 if$
606 }
607
608 FUNCTION { calculate.full.names } {
609 type$ "book" =
610 type$ "inbook" =
611 or
612 { full.author.editor }
613 {
614 type$ "proceedings" =
615 { full.editor }
616 { full.author }
617 if$
618 }
619 if$
620 }
621
622 FUNCTION { calculate.short.names } {
623 type$ "book" =
624 type$ "inbook" =
625 or
626 { short.author.editor.key }
627 {
628 type$ "proceedings" =
629 { short.editor.key.organization }
630 {
631 type$ "manual" =
632 { short.author.key.organization }
633 { short.author.key }
634 if$
635 }
636 if$
637 }
638 if$
639 'short.names :=
640 }
641
642 FUNCTION { calculate.names } {
643 calculate.short.names
644 short.names
645 year empty$
646 { "()" }
647 { "(" year * ")" * }
648 if$
649 *
650 'label :=
651 }
652
653
654 INTEGERS { entries.int }
655
656 FUNCTION { initialize.count.entries } {
657 #0 'entries.int :=
658 }
659
660 FUNCTION { count.entries } {
661 entries.int #1 + 'entries.int :=
662 }
663
664
665 FUNCTION { begin.bib } {
666 "achemso 2025-09-22 v3.14" top$
667 preamble$ empty$
668 { }
669 {
670 preamble$ write$
671 newline$
672 }
673 if$
674 "\providecommand{\latin}[1]{#1}" write$
675 newline$
676 "\makeatletter" write$
677 newline$
678 "\providecommand{\doi}" write$
679 newline$
680 " {\begingroup\let\do\@makeother\dospecials" write$
681 newline$
682 " \catcode`\{=1 \catcode`\}=2 \doi@aux}" write$
683 newline$
684 "\providecommand{\doi@aux}[1]{\endgroup\texttt{#1}}" write$
685 newline$
686 "\makeatother" write$
687 newline$
688 "\providecommand*\mcitethebibliography{\thebibliography}" write$
689 newline$
690 "\csname @ifundefined\endcsname{endmcitethebibliography}" write$
691 " {\let\endmcitethebibliography\endthebibliography}{}" write$
692 newline$
693 "\begin{mcitethebibliography}{"
694 entries.int int.to.str$ * "}" * write$
695 newline$
696 "\providecommand*\natexlab[1]{#1}" write$
697 newline$
698 "\providecommand*\mciteSetBstSublistMode[1]{}" write$
699 newline$
700 "\providecommand*\mciteSetBstMaxWidthForm[2]{}" write$
701 newline$
702 "\providecommand*\mciteBstWouldAddEndPuncttrue" write$
703 newline$
704 " {\def\EndOfBibitem{\unskip.}}" write$
705 newline$
706 "\providecommand*\mciteBstWouldAddEndPunctfalse" write$
707 newline$
708 " {\let\EndOfBibitem\relax}" write$
709 newline$
710 "\providecommand*\mciteSetBstMidEndSepPunct[3]{}" write$
711 newline$
712 "\providecommand*\mciteSetBstSublistLabelBeginEnd[3]{}" write$
713 newline$
714 "\providecommand*\EndOfBibitem{}" write$
715 newline$
716 "\mciteSetBstSublistMode{f}" write$
717 newline$
718 "\mciteSetBstMaxWidthForm{subitem}{(\alph{mcitesubitemcount})}" write$
719 newline$
720 "\mciteSetBstSublistLabelBeginEnd" write$
721 newline$
722 " {\mcitemaxwidthsubitemform\space}" write$
723 newline$
724 " {\relax}" write$
725 newline$
726 " {\relax}" write$
727 newline$
728 }
729
730 FUNCTION { end.bib } {
731 newline$
732 "\end{mcitethebibliography}" write$
733 newline$
734 }
735
736
737 INTEGERS {
738 ctrl.article.title.bool
739 ctrl.chapter.title.bool
740 ctrl.doi.bool
741 ctrl.etal.firstonly.bool
742 ctrl.etal.number.int
743 }
744
745 FUNCTION { initialize.control.values } {
746 #1 'ctrl.article.title.bool :=
747 #0 'ctrl.chapter.title.bool :=
748 #0 'ctrl.doi.bool :=
749 #1 'ctrl.etal.firstonly.bool :=
750 #15 'ctrl.etal.number.int :=
751 }
752
753 FUNCTION { control } {
754 ctrl-article-title yes.no.to.bool 'ctrl.article.title.bool :=
755 ctrl-chapter-title yes.no.to.bool 'ctrl.chapter.title.bool :=
756 ctrl-doi yes.no.to.bool 'ctrl.doi.bool :=
757 ctrl-etal-firstonly yes.no.to.bool 'ctrl.etal.firstonly.bool :=
758 ctrl-etal-number str.to.int 'ctrl.etal.number.int :=
759 ctrl-use-title empty$
760 'skip$
761 { ctrl-use-title yes.no.to.bool 'ctrl.article.title.bool := }
762 if$
763 }
764
765
766 INTEGERS {
767 next.punct.comma
768 next.punct.period
769 next.punct.semicolon
770 next.punct.space
771 }
772
773 FUNCTION { initialize.tracker } {
774 #0 'next.punct.comma :=
775 #1 'next.punct.period :=
776 #2 'next.punct.semicolon :=
777 #3 'next.punct.space :=
778 }
779
780 INTEGERS { next.punct.int }
781
782 FUNCTION { output } {
783 swap$
784 duplicate$ empty$
785 { pop$ }
786 {
787 next.punct.int next.punct.space =
788 { add.space }
789 {
790 next.punct.int next.punct.comma =
791 { add.comma }
792 {
793 next.punct.int next.punct.semicolon =
794 { add.semicolon }
795 { add.period }
796 if$
797 }
798 if$
799 }
800 if$
801 write$
802 }
803 if$
804 next.punct.comma 'next.punct.int :=
805 }
806
807
808 FUNCTION { begin.bibitem } {
809 newline$
810 "\bibitem" write$
811 label
812 calculate.full.names
813 duplicate$
814 short.names =
815 { pop$ }
816 { * }
817 if$
818 "[" swap$ * "]" * write$
819 "{" cite$ * "}" * write$
820 newline$
821 ""
822 next.punct.comma 'next.punct.int :=
823 }
824
825 INTEGERS { add.period.length.int }
826
827 FUNCTION { would.add.period } {
828 duplicate$
829 add.period$
830 text.length$ 'add.period.length.int :=
831 duplicate$
832 text.length$
833 add.period.length.int =
834 { #0 }
835 { #1 }
836 if$
837 }
838
839 FUNCTION { end.bibitem } {
840 would.add.period
841 {
842 "\relax" * write$
843 newline$
844 "\mciteBstWouldAddEndPuncttrue" write$
845 newline$
846 "\mciteSetBstMidEndSepPunct{\mcitedefaultmidpunct}" write$
847 newline$
848 "{\mcitedefaultendpunct}{\mcitedefaultseppunct}\relax"
849 }
850 {
851 "\relax" * write$
852 newline$
853 "\mciteBstWouldAddEndPunctfalse" write$
854 newline$
855 "\mciteSetBstMidEndSepPunct{\mcitedefaultmidpunct}" write$
856 newline$
857 "{}{\mcitedefaultseppunct}\relax"
858 }
859 if$
860 write$
861 newline$
862 "\EndOfBibitem" write$
863 }
864
865
866 FUNCTION { initialize.name.separator } {
867 #1 'names.separate.comma :=
868 #0 'names.separate.semicolon :=
869 }
870
871 FUNCTION { format.names.loop } {
872 { remaining.names.int #0 > }
873 {
874 names.str current.name.int "{vv~}{ll}{,~f.}{,~jj}" format.name$
875 duplicate$
876 'current.name.str :=
877 current.name.int #1 >
878 {
879 duplicate$
880 "others," =
881 {
882 pop$
883 *
884 bbl.etal
885 add.space
886 remaining.names.int #1 - 'remaining.names.int :=
887 }
888 {
889 swap$
890 names.separate.comma.bool
891 { add.comma }
892 { add.semicolon }
893 if$
894 swap$
895 *
896 }
897 if$
898 }
899 { }
900 if$
901 remaining.names.int #1 - 'remaining.names.int :=
902 current.name.int #1 + 'current.name.int :=
903 }
904 while$
905 }
906
907 FUNCTION { format.names.all } {
908 total.names.int 'remaining.names.int :=
909 format.names.loop
910 }
911
912 FUNCTION { format.names.etal } {
913 ctrl.etal.firstonly.bool
914 { #1 'remaining.names.int := }
915 { ctrl.etal.number.int 'remaining.names.int := }
916 if$
917 format.names.loop
918 current.name.str "others," =
919 { }
920 {
921 add.space
922 bbl.etal
923 add.space
924 *
925 }
926 if$
927 }
928
929 FUNCTION { format.names } {
930 'names.separate.comma.bool :=
931 'names.str :=
932 #1 'current.name.int :=
933 names.str num.names$ 'total.names.int :=
934 total.names.int ctrl.etal.number.int >
935 {
936 ctrl.etal.number.int #0 =
937 { format.names.all }
938 { format.names.etal }
939 if$
940 }
941 { format.names.all }
942 if$
943 }
944
945
946 FUNCTION { bbl.first } { "1st" }
947
948 FUNCTION { bbl.second } { "2nd" }
949
950 FUNCTION { bbl.third } { "3rd" }
951
952 FUNCTION { bbl.fourth } { "4th" }
953
954 FUNCTION { bbl.fifth } { "5th" }
955
956 FUNCTION { bbl.st } { "st" }
957
958 FUNCTION { bbl.nd } { "nd" }
959
960 FUNCTION { bbl.rd } { "rd" }
961
962 FUNCTION { bbl.th } { "th" }
963
964 STRINGS {
965 ord.input.str
966 ord.output.str
967 }
968
969 FUNCTION { make.ordinal } {
970 duplicate$
971 "1" swap$
972 *
973 #-2 #1 substring$
974 "1" =
975 {
976 bbl.th *
977 }
978 {
979 duplicate$
980 #-1 #1 substring$
981 duplicate$
982 "1" =
983 {
984 pop$
985 bbl.st *
986 }
987 {
988 duplicate$
989 "2" =
990 {
991 pop$
992 bbl.nd *
993 }
994 {
995 "3" =
996 { bbl.rd * }
997 { bbl.th * }
998 if$
999 }
1000 if$
1001 }
1002 if$
1003 }
1004 if$
1005 }
1006
1007 FUNCTION { convert.to.ordinal } {
1008 extract.number
1009 "l" change.case$ 'ord.input.str :=
1010 ord.input.str "first" = ord.input.str "1" = or
1011 { bbl.first 'ord.output.str := }
1012 {
1013 ord.input.str "second" = ord.input.str "2" = or
1014 { bbl.second 'ord.output.str := }
1015 {
1016 ord.input.str "third" = ord.input.str "3" = or
1017 { bbl.third 'ord.output.str := }
1018 {
1019 ord.input.str "fourth" = ord.input.str "4" = or
1020 { bbl.fourth 'ord.output.str := }
1021 {
1022 ord.input.str "fifth" = ord.input.str "5" = or
1023 { bbl.fifth 'ord.output.str := }
1024 {
1025 ord.input.str #1 #1 substring$
1026 is.a.number
1027 { ord.input.str make.ordinal }
1028 { ord.input.str }
1029 if$
1030 'ord.output.str :=
1031 }
1032 if$
1033 }
1034 if$
1035 }
1036 if$
1037 }
1038 if$
1039 }
1040 if$
1041 ord.output.str
1042 }
1043
1044
1045 FUNCTION { format.address } {
1046 address empty$
1047 { }
1048 {
1049 address
1050 output
1051 }
1052 if$
1053 }
1054
1055 FUNCTION { format.authors } {
1056 author empty$
1057 { }
1058 {
1059 author names.separate.semicolon format.names
1060 output
1061 next.punct.space 'next.punct.int :=
1062 }
1063 if$
1064 }
1065
1066 FUNCTION { format.editors } {
1067 editor empty$
1068 { }
1069 {
1070 editor names.separate.comma format.names
1071 add.comma
1072 editor num.names$ #1 >
1073 { bbl.editors }
1074 { bbl.editor }
1075 if$
1076 *
1077 output
1078 next.punct.semicolon 'next.punct.int :=
1079 }
1080 if$
1081 }
1082
1083 FUNCTION { format.authors.or.editors } {
1084 author empty$
1085 { format.editors }
1086 { format.authors }
1087 if$
1088 next.punct.space 'next.punct.int :=
1089 }
1090
1091 FUNCTION { format.chapter } {
1092 chapter empty$
1093 { }
1094 {
1095 bbl.chapter add.space
1096 chapter
1097 *
1098 output
1099 }
1100 if$
1101 }
1102
1103 FUNCTION { format.doi } {
1104 doi empty$
1105 'skip$
1106 {
1107 bbl.doi add.space
1108 "\doi{" * doi * "}" *
1109 output
1110 }
1111 if$
1112 }
1113
1114 FUNCTION { format.edition } {
1115 edition empty$
1116 { }
1117 {
1118 edition convert.to.ordinal
1119 add.space bbl.edition *
1120 output
1121 }
1122 if$
1123 next.punct.semicolon 'next.punct.int :=
1124 }
1125
1126 FUNCTION { format.group.address } {
1127 duplicate$
1128 empty$
1129 { pop$ }
1130 {
1131 address empty$
1132 { }
1133 {
1134 add.colon
1135 address
1136 *
1137 }
1138 if$
1139 output
1140 }
1141 if$
1142 }
1143
1144 FUNCTION { format.howpublished } {
1145 howpublished empty$
1146 { }
1147 {
1148 howpublished
1149 output
1150 }
1151 if$
1152 }
1153
1154 FUNCTION { format.journal } {
1155 journal emph
1156 output
1157 next.punct.space 'next.punct.int :=
1158 }
1159
1160 FUNCTION { format.journal.unpub } {
1161 journal emph
1162 output
1163 }
1164
1165 FUNCTION { format.note } {
1166 note empty$
1167 { }
1168 {
1169 note
1170 output
1171 }
1172 if$
1173 }
1174
1175 FUNCTION { format.number.series } {
1176 series empty$
1177 { }
1178 {
1179 series
1180 number empty$
1181 { }
1182 {
1183 add.space
1184 number *
1185 }
1186 if$
1187 output
1188 next.punct.semicolon 'next.punct.int :=
1189 }
1190 if$
1191 }
1192
1193 FUNCTION { format.organization } {
1194 organization empty$
1195 { }
1196 {
1197 organization paren
1198 output
1199 next.punct.period 'next.punct.int :=
1200 }
1201 if$
1202 }
1203
1204 FUNCTION { format.organization.address } {
1205 organization format.group.address
1206 }
1207
1208 FUNCTION { format.pages } {
1209 pages empty$
1210 { }
1211 {
1212 pages multi.page.check
1213 {
1214 bbl.pages
1215 pages hyphen.to.dash
1216 }
1217 { bbl.page pages }
1218 if$
1219 tie.or.space.connect
1220 output
1221 }
1222 if$
1223 ctrl.doi.bool
1224 { format.doi }
1225 'skip$
1226 if$
1227 }
1228
1229 FUNCTION { format.pages.article } {
1230 pages empty$
1231 { }
1232 {
1233 pages hyphen.to.dash
1234 output
1235 }
1236 if$
1237 ctrl.doi.bool
1238 { format.doi }
1239 'skip$
1240 if$
1241 }
1242
1243 FUNCTION { format.publisher.address } {
1244 publisher format.group.address
1245 }
1246
1247 FUNCTION { format.school.address } {
1248 school
1249 duplicate$
1250 empty$
1251 { pop$ }
1252 {
1253 address empty$
1254 { }
1255 {
1256 add.comma
1257 address
1258 *
1259 }
1260 if$
1261 output
1262 }
1263 if$
1264 }
1265
1266 FUNCTION { format.title } {
1267 title empty$
1268 { }
1269 {
1270 title
1271 output
1272 next.punct.period 'next.punct.int :=
1273 }
1274 if$
1275 }
1276
1277 FUNCTION { format.title.article } {
1278 ctrl.article.title.bool
1279 {
1280 title empty$
1281 { }
1282 {
1283 title
1284 output
1285 next.punct.period 'next.punct.int :=
1286 }
1287 if$
1288 }
1289 { }
1290 if$
1291 }
1292
1293 FUNCTION { format.title.techreport } {
1294 title empty$
1295 { }
1296 {
1297 title emph
1298 output
1299 next.punct.semicolon 'next.punct.int :=
1300 }
1301 if$
1302 }
1303
1304 FUNCTION { format.title.booktitle } {
1305 title empty$
1306 { }
1307 {
1308 title
1309 output
1310 next.punct.period 'next.punct.int :=
1311 }
1312 if$
1313 booktitle empty$
1314 { }
1315 {
1316 booktitle
1317 output
1318 next.punct.period 'next.punct.int :=
1319 }
1320 if$
1321 }
1322
1323 STRINGS {
1324 book.title
1325 chapter.title
1326 }
1327
1328 FUNCTION { format.title.booktitle.book } {
1329 "" 'chapter.title :=
1330 booktitle empty$
1331 {
1332 "" 'chapter.title :=
1333 title 'book.title :=
1334 }
1335 {
1336 ctrl.chapter.title.bool
1337 {
1338 title empty$
1339 'skip$
1340 { title 'chapter.title := }
1341 if$
1342 }
1343 'skip$
1344 if$
1345 maintitle empty$
1346 { booktitle 'book.title := }
1347 { maintitle add.period booktitle * 'book.title := }
1348 if$
1349 }
1350 if$
1351 chapter.title empty$
1352 { }
1353 {
1354 chapter.title
1355 output
1356 next.punct.period 'next.punct.int :=
1357 }
1358 if$
1359 book.title emph
1360 chapter.title empty$
1361 {
1362 author empty$
1363 { }
1364 {
1365 editor empty$
1366 { }
1367 { bbl.in add.space swap$ * }
1368 if$
1369 }
1370 if$
1371 }
1372 { bbl.in add.space swap$ * }
1373 if$
1374 output
1375 }
1376
1377 FUNCTION { format.type } {
1378 type empty$
1379 { }
1380 {
1381 pop$
1382 type
1383 }
1384 if$
1385 output
1386 }
1387
1388 FUNCTION { format.type.number } {
1389 type empty$
1390 { }
1391 {
1392 type
1393 number empty$
1394 { }
1395 { number tie.or.space.connect }
1396 if$
1397 output
1398 }
1399 if$
1400 }
1401
1402 FUNCTION { format.url } {
1403 url empty$
1404 { }
1405 {
1406 "\url{" url * "}" *
1407 output
1408 }
1409 if$
1410 }
1411
1412 FUNCTION { format.year } {
1413 year empty$
1414 { }
1415 {
1416 year
1417 output
1418 next.punct.semicolon 'next.punct.int :=
1419 }
1420 if$
1421 }
1422
1423 FUNCTION { format.year.article } {
1424 year empty$
1425 { }
1426 {
1427 year bold
1428 output
1429 }
1430 if$
1431 }
1432
1433 FUNCTION { format.version } {
1434 version empty$
1435 { }
1436 {
1437 bbl.version add.space
1438 version
1439 *
1440 output
1441 }
1442 if$
1443 }
1444
1445 FUNCTION { format.volume.article } {
1446 volume emph
1447 output
1448 }
1449
1450 FUNCTION { format.volume } {
1451 volume empty$
1452 { }
1453 {
1454 bbl.volume
1455 volume
1456 tie.or.space.connect
1457 output
1458 next.punct.semicolon 'next.punct.int :=
1459 }
1460 if$
1461 }
1462
1463
1464 FUNCTION { article } {
1465 begin.bibitem
1466 format.authors
1467 format.title.article
1468 format.journal
1469 format.year.article
1470 format.volume.article
1471 format.pages.article
1472 format.note
1473 end.bibitem
1474 }
1475
1476 FUNCTION { book } {
1477 begin.bibitem
1478 format.authors.or.editors
1479 format.title.booktitle.book
1480 format.edition
1481 author empty$
1482 { }
1483 { format.editors }
1484 if$
1485 format.number.series
1486 format.publisher.address
1487 format.year
1488 format.volume
1489 format.chapter
1490 format.pages
1491 format.note
1492 end.bibitem
1493 }
1494
1495 FUNCTION { inbook } { book }
1496
1497 FUNCTION { booklet } {
1498 begin.bibitem
1499 format.authors
1500 format.title
1501 format.howpublished
1502 format.address
1503 format.year
1504 format.note
1505 end.bibitem
1506 }
1507
1508 FUNCTION { collection } { book }
1509
1510 FUNCTION { incollection } { book }
1511
1512 FUNCTION { inpress } {
1513 begin.bibitem
1514 format.authors
1515 format.journal.unpub
1516 doi empty$
1517 {
1518 bbl.inpress
1519 output
1520 }
1521 {
1522 format.year.article
1523 next.punct.comma 'next.punct.int :=
1524 format.doi
1525 }
1526 if$
1527 format.note
1528 end.bibitem
1529 }
1530
1531 FUNCTION { inproceedings } {
1532 begin.bibitem
1533 format.authors
1534 format.title.booktitle
1535 format.address
1536 format.year
1537 format.pages
1538 format.note
1539 end.bibitem
1540 }
1541
1542 FUNCTION { manual } {
1543 begin.bibitem
1544 format.authors
1545 format.title
1546 format.version
1547 format.organization.address
1548 format.year
1549 format.note
1550 end.bibitem
1551 }
1552
1553 FUNCTION { mastersthesis } {
1554 begin.bibitem
1555 format.authors
1556 format.title
1557 bbl.msc format.type
1558 format.school.address
1559 format.year
1560 format.note
1561 end.bibitem
1562 }
1563
1564 FUNCTION { misc } {
1565 begin.bibitem
1566 format.authors
1567 format.title
1568 format.howpublished
1569 format.year
1570 format.url
1571 format.note
1572 end.bibitem
1573 }
1574
1575 FUNCTION { patent } {
1576 begin.bibitem
1577 format.authors
1578 format.organization
1579 format.title
1580 format.type.number
1581 format.year
1582 format.note
1583 end.bibitem
1584 }
1585
1586 FUNCTION { phdthesis } {
1587 begin.bibitem
1588 format.authors
1589 format.title
1590 bbl.phd format.type
1591 format.school.address
1592 format.year
1593 format.note
1594 end.bibitem
1595 }
1596
1597 FUNCTION { proceeding } {
1598 begin.bibitem
1599 format.title
1600 format.address
1601 format.year
1602 format.pages
1603 format.note
1604 end.bibitem
1605 }
1606
1607 FUNCTION { techreport } {
1608 begin.bibitem
1609 format.authors.or.editors
1610 format.title.techreport
1611 format.type.number
1612 format.organization.address
1613 format.year
1614 format.volume
1615 format.pages
1616 format.note
1617 end.bibitem
1618 }
1619
1620 FUNCTION { unpublished } {
1621 begin.bibitem
1622 format.authors
1623 format.journal.unpub
1624 doi empty$
1625 { format.howpublished }
1626 {
1627 format.year
1628 next.punct.comma 'next.punct.int :=
1629 format.doi
1630 }
1631 if$
1632 format.note
1633 end.bibitem
1634 }
1635
1636 FUNCTION { default.type } { misc }
1637
1638
1639 MACRO { jan } { "Jan." }
1640 MACRO { feb } { "Feb." }
1641 MACRO { mar } { "Mar." }
1642 MACRO { apr } { "Apr." }
1643 MACRO { may } { "May" }
1644 MACRO { jun } { "June" }
1645 MACRO { jul } { "July" }
1646 MACRO { aug } { "Aug." }
1647 MACRO { sep } { "Sept." }
1648 MACRO { oct } { "Oct." }
1649 MACRO { nov } { "Nov." }
1650 MACRO { dec } { "Dec." }
1651
1652 MACRO { acbcct } { "ACS Chem.\ Biol." }
1653 MACRO { achre4 } { "Acc.\ Chem.\ Res." }
1654 MACRO { acncdm } { "ACS Chem.\ Neurosci." }
1655 MACRO { ancac3 } { "ACS Nano" }
1656 MACRO { ancham } { "Anal.\ Chem." }
1657 MACRO { bichaw } { "Biochemistry" }
1658 MACRO { bcches } { "Bioconjugate Chem." }
1659 MACRO { bomaf6 } { "Biomacromolecules" }
1660 MACRO { bipret } { "Biotechnol.\ Prog." }
1661 MACRO { crtoec } { "Chem.\ Res.\ Toxicol." }
1662 MACRO { chreay } { "Chem.\ Rev." }
1663 MACRO { cmatex } { "Chem.\ Mater." }
1664 MACRO { cgdefu } { "Cryst.\ Growth Des." }
1665 MACRO { enfuem } { "Energy Fuels" }
1666 MACRO { esthag } { "Environ.\ Sci.\ Technol." }
1667 MACRO { iechad } { "Ind.\ Eng.\ Chem.\ Res." }
1668 MACRO { inoraj } { "Inorg.\ Chem." }
1669 MACRO { jafcau } { "J.~Agric.\ Food Chem." }
1670 MACRO { jceaax } { "J.~Chem.\ Eng.\ Data" }
1671 MACRO { jceda8 } { "J.~Chem.\ Ed." }
1672 MACRO { jcisd8 } { "J.~Chem.\ Inf.\ Model." }
1673 MACRO { jctcce } { "J.~Chem.\ Theory Comput." }
1674 MACRO { jcchff } { "J. Comb. Chem." }
1675 MACRO { jmcmar } { "J. Med. Chem." }
1676 MACRO { jnprdf } { "J. Nat. Prod." }
1677 MACRO { joceah } { "J.~Org.\ Chem." }
1678 MACRO { jpcafh } { "J.~Phys.\ Chem.~A" }
1679 MACRO { jpcbfk } { "J.~Phys.\ Chem.~B" }
1680 MACRO { jpccck } { "J.~Phys.\ Chem.~C" }
1681 MACRO { jpclcd } { "J.~Phys.\ Chem.\ Lett." }
1682 MACRO { jprobs } { "J.~Proteome Res." }
1683 MACRO { jacsat } { "J.~Am.\ Chem.\ Soc." }
1684 MACRO { langd5 } { "Langmuir" }
1685 MACRO { mamobx } { "Macromolecules" }
1686 MACRO { mpohbp } { "Mol.\ Pharm." }
1687 MACRO { nalefd } { "Nano Lett." }
1688 MACRO { orlef7 } { "Org.\ Lett." }
1689 MACRO { oprdfk } { "Org.\ Proc.\ Res.\ Dev." }
1690 MACRO { orgnd7 } { "Organometallics" }
1691
1692
1693 READ
1694
1695 EXECUTE { initialize.control.values }
1696
1697 EXECUTE { initialize.count.entries }
1698
1699 EXECUTE { initialize.name.separator }
1700
1701 EXECUTE { initialize.tracker }
1702
1703 ITERATE { calculate.names }
1704
1705 ITERATE { count.entries }
1706
1707 EXECUTE { begin.bib }
1708
1709 ITERATE { call.type$ }
1710
1711 EXECUTE { end.bib }
1712 %%
1713 %% Originally developed by Mats Dahlgren
1714 %% Copyright (C) 1996-1998 by Mats Dahlgren
1715 %% Copyright (C) 2008-2025 by
1716 %% Joseph Wright <[email protected]>
1717 %%
1718 %% Part of this bundle is derived from cite.sty, to which the
1719 %% following license applies:
1720 %% Copyright (C) 1989-2009 by Donald Arseneau
1721 %% These macros may be freely transmitted, reproduced, or
1722 %% modified provided that this notice is left intact.
1723 %%
1724 %% It may be distributed and/or modified under the conditions of
1725 %% the LaTeX Project Public License (LPPL), either version 1.3c of
1726 %% this license or (at your option) any later version. The latest
1727 %% version of this license is in the file:
1728 %%
1729 %% http://www.latex-project.org/lppl.txt
1730 %%
1731 %% This work is "maintained" (as per LPPL maintenance status) by
1732 %% Joseph Wright.
1733 %%
1734 %% This work consists of the files achemso.dtx,
1735 %% achemso-demo.bib and
1736 %% achemso-demo.tex,
1737 %% and the derived files achemso.cls,
1738 %% achemso.ins,
1739 %% achemso.pdf,
1740 %% achemso.sty,
1741 %% natmove.sty and
1742 %% a number of configuration files.
1743 %%
1744 %%
1745 %% End of file `achemso.bst'.