josephwright / achemso

LaTeX class for submissions to the American Chemical Society (ACS), and BibTeX styles for all ACS journals
Other
24 stars 13 forks source link

Setting etalmode=truncate and maxauthors=0 in the class options still truncates to et~al #7

Closed josephwright closed 11 years ago

josephwright commented 11 years ago

I have a manuscript for JCTC, and I have put the following on top of my LaTeX file (manuscript.tex):

\documentclass[english,journal=jctcce,etalmode=truncate,maxauthors=0]{achemso}

I expected this to not truncate any author lists in the references, but unfortunately the behaviour is the same as without the options: lists longer than 15 names are truncated.

Oddly, when running latex, a file acs-manuscript.bib is created: **

This is an auxiliary file used by the `achemso' bundle.
This file may safely be deleted. It will be recreated as required.

@Control{achemso-control,
ctrl-use-title     =  "no",
ctrl-etal-number   =  "15",
ctrl-etal-firstonly =  "yes",
}

So it seems that the options do not get set correctly in this temporary file. If I change the values in acs-manuscript.bib, e.g. setting ctrl-etal-number = "0", and ctrl-etal-firstonly = "no", then the correct full author list is generated when running BibTeX.

josephwright commented 11 years ago

The class file deliberately reset any options given at load time other than those which are not specified by the journal configuration. You need to do \setkeys{acs}{etalmode=truncate,maxauthors=0} after loading the class in order to override the standard settings.

If you can point me to an appropriate example in the published journal then I can of course alter the configuration file if appropriate.

josephwright commented 11 years ago

When submitting to JCTC, they told me I should include the full author list in my references. I had a look to see if I could find an example which had the same reference as I had, and indeed an actual published paper contains the full author list, it is reference 47 in this paper: http://pubs.acs.org/doi/full/10.1021/ct200512e

If you cannot access it, I could send you the PDF file of the paper (can I do that through bitbucket?)

josephwright commented 11 years ago

Fixed by 4a218a58c0fd743ee9f2c8d1fd275b474075399f.

salotz commented 3 years ago

I know this is really old. But I am having this issue. This code:

\documentclass[journal = acsodf, manuscript = article, layout = traditional]{achemso}
\usepackage[articletitle=true, etalmode = truncate, maxauthors = 10]{achemso}

Is giving me the acs-{my-file}.bib as:

This is an auxiliary file used by the `achemso' bundle.
This file may safely be deleted. It will be recreated as required.

@Control{achemso-control,
  ctrl-article-title  = "yes",
  ctrl-chapter-title  = "no",
  ctrl-doi            = "no",
  ctrl-etal-number    = "15",
  ctrl-etal-firstonly = "yes",
}

No matter what. If I use the setkeys like this:

\documentclass[journal = acsodf, manuscript = article, layout = traditional]{achemso}

\usepackage[]{achemso}
\setkeys{acs}{articletitle = true}
\setkeys{acs}{etalmode = truncate}
\setkeys{acs}{maxauthors = 10}

I get the correct acs-{file}.bib:

This is an auxiliary file used by the `achemso' bundle.
This file may safely be deleted. It will be recreated as required.

@Control{achemso-control,
  ctrl-article-title = "yes",
  ctrl-chapter-title = "no",
  ctrl-doi = "no",
  ctrl-etal-number = "10",
  ctrl-etal-firstonly = "no",
}
josephwright commented 3 years ago

If you load the class and the package, all bets are off!