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

Bibtex file with preamble definitions #67

Open
danyaljj opened this issue Jun 12, 2022 · 0 comments
Open

Bibtex file with preamble definitions #67

danyaljj opened this issue Jun 12, 2022 · 0 comments

Comments

@danyaljj
Copy link

First, thank you for your excellent library!
I tried the following BibTeX:

@string{iit = "{IEEE} Trans. on Info. Theory"}
@preamble{"\providecommand{\CNFX}[1]{{\em{\textrm{(#1)}}}}" }
@book{locke1836an,
	title        = {An essay concerning human understanding},
	author       = {Locke, John},
	year         = 1836,
	publisher    = iit,
}

and got this error:

bibtex_js.js:869 TypeError: Cannot set properties of undefined (setting 'BIBTEXRAW')
    at BibtexParser.bibtex (bibtex_js.js:287:58)
    at BibtexDisplay.displayBibtex (bibtex_js.js:866:15)
    at Object.<anonymous> (bibtex_js.js:938:35)
    at j (jquery.min.js:2:29999)
    at k (jquery.min.js:2:30313)

Wondering if it is expected or I am missing anything.

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