-
Notifications
You must be signed in to change notification settings - Fork 15
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
Feature request: parse author names #15
Comments
Yes, it's :) I think it could be a nice feature to add to this library Thanks for the references, the parser code is "already" done and looks good at a glance https://github.com/pear/Structures_BibTex/blob/master/Structures/BibTex.php#L619-L751 Do you think the usage below is reasonable? $listener->setTagValueProcessor(new AuthorProcessor()); Could you have time to start implementing this? If not, no problem |
Yes, that seems very reasonable. I'll try to write a PR.
…On Fri, Jun 9, 2017 at 10:10 AM, Renan de Lima ***@***.***> wrote:
Is it possible to implement this parsing of names on bibtex-parser?
Yes, it's :) I think it could be a nice feature to add to this library
Thanks for the references, the parser code is "already" done and looks
good at a glance https://github.com/pear/Structures_BibTex/blob/master/
Structures/BibTex.php#L619-L751
Do you think the usage below is reasonable?
$listener->setTagValueProcessor(new AuthorProcessor());
Could you have time to start implementing this? If not, no problem
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB5w9YDZGQWsCFAaumu3fDD-OCZ4mn87ks5sCUQ_gaJpZM4N00Xq>
.
|
BibTex recognizes four parts of an author's name: First Von Last Jr.
For instance, the entry "Ludwig von Beethoven" has First: "Ludwig", von-part: "von" and Last: "Beethoven" and no Junior-part. The entry "Ford, Jr., Henry" has First: "Henry", no von-part, Last: "Ford" and Junior-part: "Jr.".
Is it possible to implement this parsing of names on
bibtex-parser
? The only PHP library I found that implements this is a very old and unmantained one, called Structures_BibTex.References:
https://nwalsh.com/tex/texhelp/bibtx-23.html
https://github.com/pear/Structures_BibTex/blob/master/Structures/BibTex.php
The text was updated successfully, but these errors were encountered: