-
-
Notifications
You must be signed in to change notification settings - Fork 58
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 when converting Bibtex to Hayagriva #72
Comments
I seems that both Lines 565 to 567 in 8dce242
Can you provide an example BibTeX entry and the expected output? |
Here is a small example. Testfile apatest.typ with two items. The only difference between the two items is that the Bibttex item type is Outputfile: The first item (inbook) in the output shows how incollection items should be formatted with apa. The second item (incollection) is formatted in the wrong way. Testfile:
Bibtex file:
Attachments: Please strip off the txt-Extension. Best, Michael |
The mappings of these types should work as expected. Lines 170 to 171 in 8dce242
It seems that Lines 735 to 773 in 8dce242
I'm happy to make a PR but I've not figured out how to test the modified code (as I'm newbie to Rust). |
Just add an |
There is a small error in the conversion from Bibtex to Hayagriva. Bibtex items of type
incollection
are converted to Hayagriva items of typechapter
. However, they should be converted to typeanthos
. On the other hand, Bibtex items of typeinbook
are converted to Hayagriva items of typeanthos
. However, they should be converted to typechapter
. Both Bibtex items are simply confused in the conversion, so output of the references of these types is wrong in Typst, at least with the APA style. I hope this is enough information to fix the error.The text was updated successfully, but these errors were encountered: