You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I generally use Overleaf to write my articles. I am submitting to a journal that provide its own csl file, I am using the following commands:
`
\usepackage{citation-style-language} % your CSL package
\cslsetup{style = journal}
% \cslsetup{ref-section = section+}
\addbibresource{references.bib, getwriting.bib}
`
The journal also requires the references for the main and supplementary files to be separate, so I was thinking about using the ref-section argument to separate their reference lists. However, whenever I try to pass ref-section as an argument, I get the following error:
LaTeX Error: The key 'csl/ref-section' is unknown and is being ignored.
In more detail:
`
\TeXr@lab=\toks22
) (/usr/local/texlive/2024/texmf-dist/tex/latex/citation-style-language/citation-style-language.sty
Package: citation-style-language 2024-03-12 v0.4.8 Citation Style Language for LaTeX
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty
Package: l3keys2e 2024-03-14 LaTeX2e option processing using LaTeX3 keys
)
\l__csl_ccf_iow=\write4
The the refsection feature of citation-style-language was added since v0.6.0 2024-07-31 but the package on Overleaf (2024-03-12 v0.4.8) is outdated. You can load the latest version by copying all of the .lua and .sty files in citeproc/ and latex/ directories to your project along with the main .tex document. I know there are many files and look messy but I don't know other way to load the latest version.
Hello,
I generally use Overleaf to write my articles. I am submitting to a journal that provide its own csl file, I am using the following commands:
`
\usepackage{citation-style-language} % your CSL package
\cslsetup{style = journal}
% \cslsetup{ref-section = section+}
\addbibresource{references.bib, getwriting.bib}
`
The journal also requires the references for the main and supplementary files to be separate, so I was thinking about using the ref-section argument to separate their reference lists. However, whenever I try to pass ref-section as an argument, I get the following error:
LaTeX Error: The key 'csl/ref-section' is unknown and is being ignored.
In more detail:
`
\TeXr@lab=\toks22
) (/usr/local/texlive/2024/texmf-dist/tex/latex/citation-style-language/citation-style-language.sty
Package: citation-style-language 2024-03-12 v0.4.8 Citation Style Language for LaTeX
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty
Package: l3keys2e 2024-03-14 LaTeX2e option processing using LaTeX3 keys
)
\l__csl_ccf_iow=\write4
\openout4 = output.ccf
(/usr/local/texlive/2024/texmf-dist/tex/latex/citation-style-language/citation-style-language-init.sty) (/usr/local/texlive/2024/texmf-dist/tex/latex/citation-style-language/citation-style-language-data.sty) (/usr/local/texlive/2024/texmf-dist/tex/latex/citation-style-language/citation-style-language-cite.sty
\l__csl_citation_count_int=\count281
\g__csl_pseudo_note_index_int=\count282
) (/usr/local/texlive/2024/texmf-dist/tex/latex/citation-style-language/citation-style-language-bib.sty
\g__bib_list_index_int=\count283
\l__csl_bib_hang_dim=\dimen155
\l__csl_url_big_break_penalty_int=\count284
\l__csl_url_break_penalty_int=\count285
\l__csl_url_num_penalty_int=\count286
\l__csl_url_uc_penalty_int=\count287
\l__csl_url_lc_penalty_int=\count288
\l__csl_url_big_muskip=\muskip17
\l__csl_url_num_muskip=\muskip18
\l__csl_url_uc_muskip=\muskip19
\l__csl_url_lc_muskip=\muskip20
) (/usr/local/texlive/2024/texmf-dist/tex/latex/citation-style-language/citation-style-language-compatible.sty))
! LaTeX Error: The key 'csl/ref-section' is unknown and is being ignored.
For immediate help type H .
...
l.20 \cslsetup{ref-section = section+}
The module 'csl' does not have a key called 'csl/ref-section'.
Check that you have spelled the key name correctly.
`
I am using LuaLatex with 2024 Tex Live as this seems to be the only one that supports the citation-style-language package.
Can you please help me with this one? The other modules I am using are as follows:
`
\documentclass[nonatbib,12pt]{elsarticle}
\usepackage{textcomp}
\usepackage{hyperref}
\usepackage{multirow}
\usepackage{makecell}
\usepackage{graphicx}
\usepackage{array}
`
I cannot even use other existing commands, such as \refsection or \bibunits, because they all throw incompatibility errors with the csl package.
Is there a way to solve this issue?
The text was updated successfully, but these errors were encountered: