0
Voltooid

Highlighting (e.g. boldfacing) own name.

David Knowles 7 jaar geleden bijgewerkt door Christian Fritz 7 jaar geleden 4

Firstly, great tool. 


Secondly, something I have previously done when manually maintaining an HTML list of publications was to bold my own name the list of authors. In genomics author lists can be pretty long and it's nice to be able to see at a glance where I'm listed! I'm sure this is true for those particle physicists at CERN etc. as well... Right now I'm hacking this by putting <b> tags around my last name in the bibtex: http://cs.stanford.edu/people/davidknowles/

Is there a more elegant solution? 


Thirdly, +1 to more flexible citation styles. 


Thanks for your hard work on this! 

Antwoord

Antwoord
Voltooid

1. Thanks!

2. Yes, you can accomplish that with CSS. You just need to find a good CSS selector for yourself in the HTML, which is pretty easy, because bibbase turns your name into a link to the page itself. If you add this CSS to your page style it will work:

a.bibbase.author.link[href="http://cs.stanford.edu/people/davidknowles/"] {
  font-weight: bold;
}

3. What kind of citation style would you like to see?


Thanks for using BibBase!


Antwoord
Voltooid

1. Thanks!

2. Yes, you can accomplish that with CSS. You just need to find a good CSS selector for yourself in the HTML, which is pretty easy, because bibbase turns your name into a link to the page itself. If you add this CSS to your page style it will work:

a.bibbase.author.link[href="http://cs.stanford.edu/people/davidknowles/"] {
  font-weight: bold;
}

3. What kind of citation style would you like to see?


Thanks for using BibBase!


Thanks for the swift response.


2. I've added that to my bibbase.css file but it's not bolding it. From "inspect element" in Chrome you're clearing giving the correct class+link. There is an "== null" in the page source, maybe something to do with that? 


3. It's only minor things, my top would be putting names as FirstName MiddleInitials LastName and , instead of ; between authors. It seems like other changes I would want can all be achieved with CSS. 

Thanks again,

David. 

Hmm... so 2 is working on a) my friend's machine b) my desktop. Maybe something is cached on my laptop, oh well.

You can try a hard-refresh. If you are using Chrome then open the Developer tools, and then long-press the reload button. It should then give you a drop-down where you can select a harder version of refresh (including clearing cache).