You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the newly released v1.0, the CitationBibliography plugin can now be instantiated with a style keyword parameter. For the built-in styles, this is just a name (symbol). However, in general it can be an arbitrary object, enabling the "style" to have options or hold internal state. Thus, it would be conceivable to have, e.g.,
in docs/make.jl (randomly using one of the many CSL styles as an example). The various internal DocumenterCitations routines would then receive the CSLStyle object as a parameter and specialize to generate the appropriate output.
We would be open to any PR implementing the CSLStyle and the methods to render the bibliography according to the CSL specification. Or, support for CSL could also be implemented as an independent package extending DocumenterCitations.
Maybe something that @Azzaare would be interested in.
The text was updated successfully, but these errors were encountered:
Following up on ali-ramadhan/DocumenterCitations.jl#22 (comment), it could be nice to support arbitrary CSL styles. Even though personally, I'm happy with the new built-in styles, I just want to give an outline of how this could be implemented:
In the newly released v1.0, the
CitationBibliography
plugin can now be instantiated with astyle
keyword parameter. For the built-in styles, this is just a name (symbol). However, in general it can be an arbitrary object, enabling the "style" to have options or hold internal state. Thus, it would be conceivable to have, e.g.,in
docs/make.jl
(randomly using one of the many CSL styles as an example). The various internalDocumenterCitations
routines would then receive theCSLStyle
object as a parameter and specialize to generate the appropriate output.We would be open to any PR implementing the
CSLStyle
and the methods to render the bibliography according to the CSL specification. Or, support for CSL could also be implemented as an independent package extendingDocumenterCitations
.Maybe something that @Azzaare would be interested in.
The text was updated successfully, but these errors were encountered: