Open tobiasBora opened 2 years ago
It is an interesting suggestion to allow for (more) local execution of some options. But this definitely cannot work for all options. The style
option for example is implemented in such a way that it can only be passed at loading time as it determines which style files are read. You cannot switch the style
mid-document, much less mid-command.
At the moment, I see style options as a quick way to set things for end-users. If you begin writing your own commands and heavily modifying existing ones, you are sort of expected to go a bit deeper and implement things on a more basic level.
Imho it would be nice to have some interface for local execution. And to have a list with the options for which such local execution actually works.
I'm trying to redefine
fullcite
to include doi,giveninits=false
... Unfortunately, I can't use\ExecuteBibliographyOptions{style=trad-alpha,doi=false,giveninits=false}
inside\DeclareCiteCommand
, and I'm forced to dig into the source and type things like\settoggle{abx@bool@giveninits}{false} \settoggle{bbx:doi}{true}
, which is really ugly. Also, I can't find how to change the style, I tried\def\blx@opt@eldt@style{ieee}
but it does nothing. Similarly, I may also need to change the value ofmaxnames
and many more options.Note that I may have missed an option, in that case I'm curious to learn about it.
MWE