Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option clash for package natbib when using rsc citation styles #173

Open
ZuweiWang opened this issue Dec 9, 2022 · 0 comments
Open

Option clash for package natbib when using rsc citation styles #173

ZuweiWang opened this issue Dec 9, 2022 · 0 comments

Comments

@ZuweiWang
Copy link

I was trying to use the rsc citation style instead of the default plainnat. I added \usepackage{rsc} to the preamble and changed \bibliography{sample-handout} to \bibliography{rsc}, the compilation terminated with following errors:

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.41   \IfFileExists
                    {natmove.sty}{%
The package natbib has already been loaded with options:
  []
There has now been an attempt to load it with options
  [sort&compress,numbers,super]
Adding the global options:
  ,sort&compress,numbers,super
to your \documentclass declaration may fix this.
Try typing  <return>  to proceed.

(/usr/local/texlive/2022/texmf-dist/tex/latex/achemso/natmove.sty
Package: natmove 2010/01/15 v1.1a Automatic citation moving with natbib
)
\rsc@bib@file=\write3
(/usr/local/texlive/2022/texmf-dist/tex/latex/mciteplus/mciteplus.sty
Package: mciteplus 2013/09/13 v1.2 enhanced mcite
\@mcitetmptoksA=\toks26
\@mcitetmpdima=\dimen178
\@mcitetmpdimb=\dimen179
\@mcitetmpcnta=\count302
\@mcitetmpcntb=\count303
\c@mcitebibitemcount=\count304
\c@mcitesubitemcount=\count305
** mciteplus: Detected natbib.sty. Invoking hooks.
)) (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
) (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 107.
)
\Gin@req@height=\dimen180
\Gin@req@width=\dimen181
) (/usr/local/texlive/2022/texmf-dist/tex/latex/booktabs/booktabs.sty
Package: booktabs 2020/01/12 v1.61803398 Publication quality tables
\heavyrulewidth=\dimen182
\lightrulewidth=\dimen183
\cmidrulewidth=\dimen184
\belowrulesep=\dimen185
\belowbottomsep=\dimen186
\aboverulesep=\dimen187
\abovetopsep=\dimen188
\cmidrulesep=\dimen189
\cmidrulekern=\dimen190
\defaultaddspace=\dimen191
\@cmidla=\count306
\@cmidlb=\count307
\@aboverulesep=\dimen192
\@belowrulesep=\dimen193
\@thisruleclass=\count308
\@lastruleclass=\count309
\@thisrulewidth=\dimen194
) (/usr/local/texlive/2022/texmf-dist/tex/latex/units/units.sty
Package: units 1998/08/04 v0.9b Typesetting units
(/usr/local/texlive/2022/texmf-dist/tex/latex/units/nicefrac.sty
Package: nicefrac 1998/08/04 v0.9b Nice fractions
\L@UnitsRaiseDisplaystyle=\skip95
\L@UnitsRaiseTextstyle=\skip96
\L@UnitsRaiseScriptstyle=\skip97
)) (/usr/local/texlive/2022/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Package: fancyvrb 2022/06/06 4.5 verbatim text (tvz,hv)
\FV@CodeLineNo=\count310
\FV@InFile=\read2
\FV@TabBox=\box102
\c@FancyVerbLine=\count311
\FV@StepNumber=\count312
\FV@OutFile=\write4
) (/usr/local/texlive/2022/texmf-dist/tex/latex/lipsum/lipsum.sty (/usr/local/texlive/2022/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty (/usr/local/texlive/2022/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2022-08-05 L3 programming layer (loader) 
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2022-08-05 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count313
\l__pdf_internal_box=\box103
))
Package: l3keys2e 2022-06-22 LaTeX2e option processing using LaTeX3 keys
)
Package: lipsum 2021-09-20 v2.7 150 paragraphs of Lorem Ipsum dummy text
\g__lipsum_par_int=\count314
\l__lipsum_a_int=\count315
\l__lipsum_b_int=\count316
(/usr/local/texlive/2022/texmf-dist/tex/latex/lipsum/lipsum.ltd.tex)) (./output.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 44.
LaTeX Font Info:    ... okay on input line 44.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 44.
LaTeX Font Info:    ... okay on input line 44.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 44.
LaTeX Font Info:    ... okay on input line 44.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 44.
LaTeX Font Info:    ... okay on input line 44.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 44.
LaTeX Font Info:    ... okay on input line 44.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 44.
LaTeX Font Info:    ... okay on input line 44.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 44.
LaTeX Font Info:    ... okay on input line 44.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 44.
LaTeX Font Info:    ... okay on input line 44.
LaTeX Font Info:    Checking defaults for PU/pdf/m/n on input line 44.
LaTeX Font Info:    ... okay on input line 44.
Package hyperref Info: Link coloring OFF on input line 44.
(./output.out) (./output.out)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: letterpaper
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes: twoside asymmetric 
* h-part:(L,W,R)=(72.26999pt, 312.0pt, 230.02501pt)
* v-part:(T,H,B)=(72.26999pt, 616.0pt, 106.7pt)
* \paperwidth=614.295pt
* \paperheight=794.96999pt
* \textwidth=312.0pt
* \textheight=616.0pt
* \oddsidemargin=0.0pt
* \evensidemargin=0.0pt
* \topmargin=-42.0pt
* \headheight=14.0pt
* \headsep=28.0pt
* \topskip=10.0pt
* \footskip=30.0pt
* \marginparwidth=144.0pt
* \marginparsep=24.0pt
* \columnsep=10.0pt
* \skip\footins=9.0pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidetrue
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)

This problem can be reproduced with the template given on Overleaf, any idea on how to fix it? Or is it possible to switch to biblatex instead of using natbib?

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant