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

Local path to .bib doesn't display? #73

Open
daydin opened this issue Feb 19, 2024 · 1 comment
Open

Local path to .bib doesn't display? #73

daydin opened this issue Feb 19, 2024 · 1 comment

Comments

@daydin
Copy link

daydin commented Feb 19, 2024

Hi!

I'm testing out this package for our academic purposes, and I came across this issue.

In the documents, it says that I should be able to enter the desired bibliography file as follows:

<bibtex src="test.bib"></bibtex>
<bibtex src="text1.bib"></bibtex>

or

<textarea id="bibtex_input" style="display:none;">
@book{book1,
  author = "Donald Knuth",
  title = "Concrete Mathematics"
}
</textarea>

However, the first option doesn't seem to work for me for a local file placed at the current working directory. For example, "test.bib" does not render, neither does anything else I place in the project dir tree.

That being said, if I add the contents of test.bib in the textarea tags, that works. Also, I am able to visualize the default demo libraries that are hosted on GitHub. It just doesn't seem to work for .bibs that I place inside the project. Any insight?

@kopeckyf
Copy link

Hi, this might be a duplicate of #41. It seems that bibtex-js needs to pull .bib files from web server (possibly localhost)

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

2 participants