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

Error with particular csl and one word author #109

Closed
a-typhoon opened this issue Jun 6, 2022 · 2 comments
Closed

Error with particular csl and one word author #109

a-typhoon opened this issue Jun 6, 2022 · 2 comments
Assignees
Labels

Comments

@a-typhoon
Copy link

Using:

#+cite_export: csl ~/Templates/csl/AGLC-intext.csl

where AGLC-intext.csl is a custom csl file.

The CSL file may be found at http://www2.austlii.edu.au/~alan/AGLC-intext.csl

The file validates at https://validator.citationstyles.org/

Exporting to html gives this error:

"citeproc-s-slice-by-matches: Wrong type argument: stringp, nil"

The error does not occur with different csl files.

The export chokes on bibtex entries that have a single word for the author field.

author = {BIS} chokes
author = {{BIS}} chokes
author = {{Bank for International Settlements}} works just fine.

The bibtex entry is:

@TechReport{international18:_annual_econom_repor,
title = {Annual Economic Report 2018},
author = {{Bank for International Settlements}},
year = 2018,
address = {Basle},
institution = {{Bank for International Settlements}}
}

System is:

Emacs 27.1 on Debian stable.
Org verion 9.5.4 from Melpa-stable

@andras-simonyi
Copy link
Owner

Thanks for reporting this and sorry for reacting only now! I've merged a PR (#110) which should fix the problem -- the new version should become available in MELPA in a few hours.

@andras-simonyi andras-simonyi self-assigned this Jun 19, 2022
@a-typhoon
Copy link
Author

a-typhoon commented Jun 19, 2022 via email

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

No branches or pull requests

2 participants