3. Selecting the DOI highlights it in the Example Panel and causes the Style Overview to display its location. We can see from the tree structure of the Style Overview that the DOI is 'called' as part of a series of conditional arguments. A style is compiled of a series of these queries and instructions - which follow the standard logic format of IF (X) THEN (Y) ELSE (Z). With styles these arguments usually apply to the type of document which is applied to a reference - is it a book? Is it a journal article? And so on.
In this case, we can see that the argument can be read as 'IF the reference is anything other than a thesis, AND IF the reference contains a DOI THEN display DOI'.
It's important to note that this is just a fraction of the whole argument - there needs to be an extra component to provide instructions for what to do in the case that the reference does not contain a DOI and, indeed, if we look at the style we can see that this is the case - in the event that that a reference does not contain a DOI, a further conditional exists to check if the reference is a webpage and applies further instructions depending on the outcome.
Back to top
To achieve this we will need to amend the style instructions that are applied to the author names. As we’re using IEEE as a basis, we can open this style for editing. By default the CSL Editor will add your name to the end of the existing style name to create a new style - the editor will always prevent you from overwriting the IEEE style, which you may need in the future.
With your new style open, the first step is to identify the component you intend to amend. In this instance, we know that we want to amend the author names - which are prominently visible in the Example Panel. Simply click on the author names from the first example citation. You should note that the active element in the Style Overview panel updates to reflect that the Names attribute is now the active element - the relevant element (in this case Bibliography > Layout > Author (macro) > Names ) will have expanded and been highlighted. You’ll also note that the Info Panel changes to reflect the options available to apply to this element.
Back to top