The fix is a little tricky due to the recursive algorithm that lib/modsin.c uses on names. (The MODS files that bibutils writes are parsed a bit more finely than your example, which is why I haven't noticed this bug before. But bibutils should "do the right thing" with that file too.) I just fixed it after changing the way the algorithm works. The new version (5.9) should fix these cases.
Thanks for letting me know.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
xml2bib seems to be re-ordering components of a given name if there
are spaces in the field. For example, with the input file:
I get the output file:
Is this a bug?
Thanks.
It's unexpected behavior, so it's a bug.
The fix is a little tricky due to the recursive algorithm that lib/modsin.c uses on names. (The MODS files that bibutils writes are parsed a bit more finely than your example, which is why I haven't noticed this bug before. But bibutils should "do the right thing" with that file too.) I just fixed it after changing the way the algorithm works. The new version (5.9) should fix these cases.
Thanks for letting me know.
Thank you so much! That really helps me out.