Conditional statements in BibTeX format?!

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
kourosh
Posts: 26
Joined: Tue Jan 09, 2018 12:31 pm

Conditional statements in BibTeX format?!

Post by kourosh »

Hi,

I was wondering if there is any functionality in Bookends to have conditional statements in BibTeX format. Below is my use case,
For my CV, resume, etc. when listing my publications, I want to highlight my name. I can do this by adding

Code: Select all

author+an = {1=highlight}(number 1 here is the order of my name in the list of authors)
in the BibTeX of that particular reference. I was wondering if somehow I can automate this in Bookends. So whenever there is my name in the list of authors it add that field in the generated BibTeX file.
Thanks
Kourosh

Jon
Site Admin
Posts: 9119
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Conditional statements in BibTeX format?!

Post by Jon »

No. Bookends conditional formatting can change the output depending upon whether a field has content or not (is empty), but it can't do that based upon the nature of the content. That's the kind of complicated logic that you could conceivably perform on the bibliography, once it's generated, using a programming or scripting language.

Jon
Sonny Software

kourosh
Posts: 26
Joined: Tue Jan 09, 2018 12:31 pm

Re: Conditional statements in BibTeX format?!

Post by kourosh »

Got you, thanks Jon.

Kourosh

Post Reply