summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/achemso/achemso.bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/achemso/achemso.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/achemso/achemso.bst25
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/bibtex/bst/achemso/achemso.bst b/Master/texmf-dist/bibtex/bst/achemso/achemso.bst
index 68b192791ab..886a8ca1841 100644
--- a/Master/texmf-dist/bibtex/bst/achemso/achemso.bst
+++ b/Master/texmf-dist/bibtex/bst/achemso/achemso.bst
@@ -21,6 +21,8 @@ ENTRY
author
booktitle
chapter
+ ctrl-article-title
+ ctrl-chapter-title
ctrl-etal-firstonly
ctrl-etal-number
ctrl-use-title
@@ -711,21 +713,25 @@ FUNCTION { end.bib } {
INTEGERS {
- ctrl.use.title.bool
+ ctrl.article.title.bool
+ ctrl.chapter.title.bool
ctrl.etal.firstonly.bool
ctrl.etal.number.int
}
FUNCTION { initialize.control.values } {
- #0 'ctrl.use.title.bool :=
+ #0 'ctrl.article.title.bool :=
+ #0 'ctrl.chapter.title.bool :=
#1 'ctrl.etal.firstonly.bool :=
#15 'ctrl.etal.number.int :=
}
FUNCTION { control } {
- ctrl-use-title yes.no.to.bool 'ctrl.use.title.bool :=
+ ctrl-article-title yes.no.to.bool 'ctrl.article.title.bool :=
+ ctrl-chapter-title yes.no.to.bool 'ctrl.chapter.title.bool :=
ctrl-etal-firstonly yes.no.to.bool 'ctrl.etal.firstonly.bool :=
- ctrl-etal-number str.to.int 'ctrl.etal.number.int :=
+ ctrl-etal-number str.to.int 'ctrl.etal.number.int :=
+ ctrl-use-title yes.no.to.bool 'ctrl.article.title.bool :=
}
@@ -1226,7 +1232,7 @@ FUNCTION { format.title } {
}
FUNCTION { format.title.article } {
- ctrl.use.title.bool
+ ctrl.article.title.bool
{
title empty$
{ }
@@ -1287,6 +1293,15 @@ FUNCTION { format.title.booktitle.book } {
title 'book.title :=
}
{
+ ctrl.chapter.title.bool
+ {
+ title empty$
+ 'skip$
+ { title 'chapter.title := }
+ if$
+ }
+ 'skip$
+ if$
maintitle empty$
{ booktitle 'book.title := }
{ maintitle add.period booktitle * 'book.title := }