-
Notifications
You must be signed in to change notification settings - Fork 101
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
Highlight one or more authors #361
Comments
Good idea! The first approach that comes to mind is to do this by using a bibliography template. In the template you have access to the rendered reference string as well as to the all the entry's individual fields. This means you could, for example, check the entry's authors to see if the author you want to highlight is is present, and if so use a regular expression to wrap the first occurrence of the author in the reference string. |
I also asked myself this today and looked into changing the templates. Here was my solution, feel free to use it:
This way I can simply define the names in the standard
|
Hey @DerAndereJohannes, I am trying to apply your template but I don’t manage to get it to work. I have created a bib.html file into _layouts and referenced in _config.yml. Its content is exactly the one that you provide above. The _config.yml looks like this:
In name one, I have written my full name. Can I ask for some help? |
Hi @robaru, For you, the change would look like this:
Let me know if this helped! |
It worked! Thanks! |
It would be very useful to have an option to highlight one or more authors in the list of publications.
PS: sorry, I didn't find how to tag this comment as inprove or suggestion.
The text was updated successfully, but these errors were encountered: